From cd4db7a78af7e74ed7105265af0301482c7f330d Mon Sep 17 00:00:00 2001 From: James Date: Mon, 29 Sep 2025 23:38:16 +0200 Subject: [PATCH 01/13] add graphql in package --- packages/intuition-graphql/.dockerignore | 5 + packages/intuition-graphql/.env.example | 0 packages/intuition-graphql/.eslintrc.base.cjs | 103 + packages/intuition-graphql/.gitignore | 31 + packages/intuition-graphql/.prettierignore | 2 + packages/intuition-graphql/.prettierrc | 25 + packages/intuition-graphql/CHANGELOG.md | 32 + packages/intuition-graphql/CONTRIBUTING.md | 110 + packages/intuition-graphql/LICENSE | 9 + packages/intuition-graphql/README.md | 98 + .../backend-cli-prediction-markets-rule.md | 69 + packages/intuition-graphql/codegen.ts | 66 + packages/intuition-graphql/package.json | 62 + packages/intuition-graphql/pnpm-lock.yaml | 6500 ++ .../intuition-graphql/pnpm-workspace.yaml | 5 + packages/intuition-graphql/render.yaml | 55 + packages/intuition-graphql/schema.graphql | 15753 ++++ packages/intuition-graphql/src/client.ts | 76 + packages/intuition-graphql/src/constants.ts | 5 + .../src/fragments/account.graphql | 175 + .../src/fragments/atom.graphql | 178 + .../src/fragments/deposit.graphql | 14 + .../src/fragments/event.graphql | 63 + .../src/fragments/follow.graphql | 48 + .../src/fragments/position.graphql | 108 + .../src/fragments/redemption.graphql | 9 + .../src/fragments/stat.graphql | 9 + .../src/fragments/triple.graphql | 107 + .../src/fragments/vault.graphql | 61 + .../intuition-graphql/src/generated/index.ts | 60640 ++++++++++++++++ packages/intuition-graphql/src/index.ts | 8 + .../src/mutations/pin-thing.graphql | 12 + .../src/queries/accounts.graphql | 169 + .../src/queries/atoms.graphql | 271 + .../src/queries/events.graphql | 221 + .../src/queries/follows.graphql | 237 + .../src/queries/lists.graphql | 498 + .../src/queries/points.graphql | 27 + .../src/queries/positions.graphql | 141 + .../src/queries/signals.graphql | 211 + .../src/queries/stats.graphql | 5 + .../src/queries/tags.graphql | 18 + .../src/queries/triples.graphql | 148 + .../src/queries/vaults.graphql | 58 + .../intuition-graphql/tests/client.test.ts | 24 + packages/intuition-graphql/tsconfig.base.json | 27 + packages/intuition-graphql/tsconfig.json | 11 + packages/intuition-graphql/tsconfig.lib.json | 3 + packages/intuition-graphql/tsup.config.ts | 13 + packages/intuition-graphql/turbo.json | 39 + packages/intuition-graphql/vitest.config.ts | 6 + 51 files changed, 86565 insertions(+) create mode 100644 packages/intuition-graphql/.dockerignore create mode 100644 packages/intuition-graphql/.env.example create mode 100644 packages/intuition-graphql/.eslintrc.base.cjs create mode 100644 packages/intuition-graphql/.gitignore create mode 100644 packages/intuition-graphql/.prettierignore create mode 100644 packages/intuition-graphql/.prettierrc create mode 100644 packages/intuition-graphql/CHANGELOG.md create mode 100644 packages/intuition-graphql/CONTRIBUTING.md create mode 100644 packages/intuition-graphql/LICENSE create mode 100644 packages/intuition-graphql/README.md create mode 100644 packages/intuition-graphql/backend-cli-prediction-markets-rule.md create mode 100644 packages/intuition-graphql/codegen.ts create mode 100644 packages/intuition-graphql/package.json create mode 100644 packages/intuition-graphql/pnpm-lock.yaml create mode 100644 packages/intuition-graphql/pnpm-workspace.yaml create mode 100644 packages/intuition-graphql/render.yaml create mode 100644 packages/intuition-graphql/schema.graphql create mode 100644 packages/intuition-graphql/src/client.ts create mode 100644 packages/intuition-graphql/src/constants.ts create mode 100644 packages/intuition-graphql/src/fragments/account.graphql create mode 100644 packages/intuition-graphql/src/fragments/atom.graphql create mode 100644 packages/intuition-graphql/src/fragments/deposit.graphql create mode 100644 packages/intuition-graphql/src/fragments/event.graphql create mode 100644 packages/intuition-graphql/src/fragments/follow.graphql create mode 100644 packages/intuition-graphql/src/fragments/position.graphql create mode 100644 packages/intuition-graphql/src/fragments/redemption.graphql create mode 100644 packages/intuition-graphql/src/fragments/stat.graphql create mode 100644 packages/intuition-graphql/src/fragments/triple.graphql create mode 100644 packages/intuition-graphql/src/fragments/vault.graphql create mode 100644 packages/intuition-graphql/src/generated/index.ts create mode 100644 packages/intuition-graphql/src/index.ts create mode 100644 packages/intuition-graphql/src/mutations/pin-thing.graphql create mode 100644 packages/intuition-graphql/src/queries/accounts.graphql create mode 100644 packages/intuition-graphql/src/queries/atoms.graphql create mode 100644 packages/intuition-graphql/src/queries/events.graphql create mode 100644 packages/intuition-graphql/src/queries/follows.graphql create mode 100644 packages/intuition-graphql/src/queries/lists.graphql create mode 100644 packages/intuition-graphql/src/queries/points.graphql create mode 100644 packages/intuition-graphql/src/queries/positions.graphql create mode 100644 packages/intuition-graphql/src/queries/signals.graphql create mode 100644 packages/intuition-graphql/src/queries/stats.graphql create mode 100644 packages/intuition-graphql/src/queries/tags.graphql create mode 100644 packages/intuition-graphql/src/queries/triples.graphql create mode 100644 packages/intuition-graphql/src/queries/vaults.graphql create mode 100644 packages/intuition-graphql/tests/client.test.ts create mode 100644 packages/intuition-graphql/tsconfig.base.json create mode 100644 packages/intuition-graphql/tsconfig.json create mode 100644 packages/intuition-graphql/tsconfig.lib.json create mode 100644 packages/intuition-graphql/tsup.config.ts create mode 100644 packages/intuition-graphql/turbo.json create mode 100644 packages/intuition-graphql/vitest.config.ts diff --git a/packages/intuition-graphql/.dockerignore b/packages/intuition-graphql/.dockerignore new file mode 100644 index 000000000..19d488e21 --- /dev/null +++ b/packages/intuition-graphql/.dockerignore @@ -0,0 +1,5 @@ +node_modules +.env* +tmp/ +dist/ +.git \ No newline at end of file diff --git a/packages/intuition-graphql/.env.example b/packages/intuition-graphql/.env.example new file mode 100644 index 000000000..e69de29bb diff --git a/packages/intuition-graphql/.eslintrc.base.cjs b/packages/intuition-graphql/.eslintrc.base.cjs new file mode 100644 index 000000000..27520ee0c --- /dev/null +++ b/packages/intuition-graphql/.eslintrc.base.cjs @@ -0,0 +1,103 @@ +module.exports = { + root: true, + parserOptions: { + ecmaVersion: 'latest', + sourceType: 'module', + ecmaFeatures: { + jsx: true, + }, + }, + env: { + browser: true, + commonjs: true, + es6: true, + }, + ignorePatterns: [ + '!**/.server', + '!**/.client', + 'node_modules', + 'dist', + 'build', + ], + extends: ['eslint:recommended'], + overrides: [ + { + files: ['**/*.{cjs,js,jsx,ts,tsx}'], + plugins: ['react', 'jsx-a11y', 'prettier'], + extends: [ + 'plugin:react/recommended', + 'plugin:react/jsx-runtime', + 'plugin:react-hooks/recommended', + 'plugin:jsx-a11y/recommended', + 'plugin:prettier/recommended', + ], + rules: { + eqeqeq: 'error', + yoda: 'error', + curly: 'error', + semi: ['error', 'never'], + 'no-else-return': 'error', + 'react/prop-types': 'off', + 'prettier/prettier': 'error', + 'react-hooks/exhaustive-deps': 'warn', + 'prefer-const': 'error', + 'no-var': 'error', + 'prefer-spread': 'error', + 'prefer-template': 'error', + 'object-shorthand': 'error', + 'no-undef-init': 'error', + 'no-lonely-if': 'error', + 'no-unneeded-ternary': 'error', + 'no-confusing-arrow': 'error', + 'no-extra-semi': 'error', + 'dot-notation': 'error', + }, + settings: { + react: { + version: 'detect', + }, + 'import/resolver': { + typescript: { + project: ['packages/*/tsconfig.json', 'apps/*/tsconfig.json'], + }, + }, + }, + }, + { + files: ['**/*.{ts,tsx}'], + plugins: ['@typescript-eslint', 'import', '@nx', 'prettier'], + parser: '@typescript-eslint/parser', + settings: { + 'import/internal-regex': '^~/', + 'import/resolver': { + node: { + extensions: ['.ts', '.tsx'], + }, + typescript: { + alwaysTryTypes: true, + }, + }, + }, + extends: [ + 'plugin:@typescript-eslint/recommended', + 'plugin:import/recommended', + 'plugin:import/typescript', + ], + rules: { + '@typescript-eslint/ban-ts-comment': [ + 'error', + { + 'ts-ignore': 'allow-with-description', + }, + ], + }, + }, + { + files: ['{package,project}.json'], + parser: 'jsonc-eslint-parser', + rules: { + '@nx/dependency-checks': 'off', + }, + }, + ], +} diff --git a/packages/intuition-graphql/.gitignore b/packages/intuition-graphql/.gitignore new file mode 100644 index 000000000..c7993d1bf --- /dev/null +++ b/packages/intuition-graphql/.gitignore @@ -0,0 +1,31 @@ +node_modules/ +.vscode/ +out/ +/dist/ +tmp/ + +# Turbo cache and build files +.turbo/ +**/.turbo/ +**/turbo-*.log + +.nx/cache +.nx/workspace-data +packages/1ui/storybook-static + +.env* +!.env.example +.secrets +act.sh + +# Verdaccio local registry files +.verdaccio-db.json +.npmrc + +# Build outputs +/dist/ +**/dist/ +packages/*/dist/ + +# System +.DS_Store \ No newline at end of file diff --git a/packages/intuition-graphql/.prettierignore b/packages/intuition-graphql/.prettierignore new file mode 100644 index 000000000..85e0eaf63 --- /dev/null +++ b/packages/intuition-graphql/.prettierignore @@ -0,0 +1,2 @@ +**/*.yaml +**/*.template \ No newline at end of file diff --git a/packages/intuition-graphql/.prettierrc b/packages/intuition-graphql/.prettierrc new file mode 100644 index 000000000..8a486c462 --- /dev/null +++ b/packages/intuition-graphql/.prettierrc @@ -0,0 +1,25 @@ +{ + "plugins": [ + "prettier-plugin-tailwindcss", + "@ianvs/prettier-plugin-sort-imports" + ], + "semi": false, + "singleQuote": true, + "printWidth": 80, + "tabWidth": 2, + "importOrder": [ + "^react$", + "", + "^@0xintuition/(.*)$", + "", + "", + "", + "^[./]" + ], + "importOrderParserPlugins": [ + "classProperties", + "typescript", + "jsx", + "importAssertions" + ] +} diff --git a/packages/intuition-graphql/CHANGELOG.md b/packages/intuition-graphql/CHANGELOG.md new file mode 100644 index 000000000..a34a8b589 --- /dev/null +++ b/packages/intuition-graphql/CHANGELOG.md @@ -0,0 +1,32 @@ +## 0.2.1 (2024-06-11) + +This was a version bump only for @0xintuition/graphql to align it with other projects, there were no code changes. + +## 0.2.0 (2024-06-04) + +### Features + +- **1ui:** update tsconfig styles path to ui-styles + +### Fixes + +- **1ui:** remove build command + +- **1ui:** modify build command + +- **1ui:** workspace root remove + +### ❤️ Thank You + +- Alexander Mann +- Rahul + +## 0.1.0 (2024-05-28) + +Initial release! + +### ❤️ Thank You + +- 0xjojikun +- alexander-mann +- Rahul diff --git a/packages/intuition-graphql/CONTRIBUTING.md b/packages/intuition-graphql/CONTRIBUTING.md new file mode 100644 index 000000000..c2a7da821 --- /dev/null +++ b/packages/intuition-graphql/CONTRIBUTING.md @@ -0,0 +1,110 @@ +# Contributing + +Thanks for your interest in contributing to 0xIntuition. We're happy to have you here. + +Please take a moment to review this document before submitting your first pull request. We also strongly recommend that you check for open issues and pull requests to see if someone else is working on something similar. + +If you need any help, feel free to reach out to [@0xintuition](https://twitter.com/0xintuition). + +## About this repository + +This repository is a monorepo. + +- We use [pnpm](https://pnpm.io) and [`workspaces`](https://pnpm.io/workspaces) for development. +- We use [Nx](https://nx.dev/getting-started/intro) as our build system. +- We use [changesets](https://github.com/changesets/changesets) for managing releases. + +## Structure + +This repository is structured as follows: + +``` +apps +└── portal +packages +├── 1ui +└── api +└── protocol +└── sdk +``` + +| Path | Description | +| ------------------- | ---------------------------------------------------------- | +| `apps/portal` | The Remix application for the playground | +| `packages/1ui` | Our design system. | +| `packages/api` | backend interactions | +| `packages/protocol` | protocol SDK | +| `packages/sdk` | high level logic that combines both on-chain and off-chain | + +## Contributing To `0xIntuition` Packages + +Please read the corresponding `CONTIBUTING.md` file for the app/package you wish to contribute to: + +- [1ui - CONTRIBUTING.md](./packages/1ui/CONTRIBUTING.md) +- [protocol - CONTRIBUTING.md](./packages/protocol/CONTRIBUTING.md) + +## Development + +### Fork this repo + +You can fork this repo by clicking the fork button in the top right corner of this page. + +### Clone on your local machine + +```bash +git clone https://github.com/0xIntuition/intuition-ts.git +``` + +### Create a new Branch + +```bash +git checkout -b my-new-branch +``` + +### Install dependencies + +```bash +pnpm install +``` + +### Run a workspace + +You can use the `pnpm [WORKSPACE]:dev` command to start the development process for a workspace. + +#### Examples + +1. To run the `portal` web app: + +```bash +pnpm portal:dev +``` + +2. To run the `1ui` storybook: + +```bash +pnpm 1ui:storybook +``` + +## Documentation + +The documentation for this project is located in the `docs` workspace. You can run the documentation locally by running the following command: + +```bash +pnpm docs +``` + +Documentation is written using [MDX](https://mdxjs.com). You can find the documentation files in the `docs` directory. + +## Requests for new components + +If you have a request for a new component, please open a discussion on GitHub. We'll be happy to help you out. + +## Testing + +Tests are written using [Vitest](https://vitest.dev). You can run all the tests from the root of the repository. + +```bash +pnpm test +``` + +Please ensure that the tests are passing when submitting a pull request. If you're adding new features, please include tests. diff --git a/packages/intuition-graphql/LICENSE b/packages/intuition-graphql/LICENSE new file mode 100644 index 000000000..74e6f0b78 --- /dev/null +++ b/packages/intuition-graphql/LICENSE @@ -0,0 +1,9 @@ +MIT License + +Copyright (c) 2024 Intuition + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/packages/intuition-graphql/README.md b/packages/intuition-graphql/README.md new file mode 100644 index 000000000..bd047c181 --- /dev/null +++ b/packages/intuition-graphql/README.md @@ -0,0 +1,98 @@ +# Intuition GraphQL Package + +This package provides the GraphQL client, generated types, and query/mutation definitions for interacting with the Intuition API. It serves as the core data fetching layer used by other packages in the monorepo. + +## Getting Started + +Once you've cloned the `intuition-ts` monorepo you can run the GraphQL package from the monorepo root. Install all packages from the monorepo root by running `pnpm install`. + +## Features + +- Type-safe GraphQL operations using code generation +- React Query hooks for data fetching +- Reusable GraphQL fragments +- Built-in authentication handling +- Automatic error handling + +## Development + +### GraphQL Code Generation + +This package uses GraphQL Code Generator to create TypeScript types and React Query hooks from GraphQL operations. To run the code generator: + +```bash +pnpm run codegen +``` + +You can also run this from the monorepo root: + +```bash +pnpm graphql:codegen +``` + +### Testing + +Run unit tests with: + +```bash +pnpm run test +``` + +You can also run this from the monorepo root: + +```bash +pnpm graphql:test +``` + +## Usage + +### Client Setup + +The package exports a GraphQL client that can be used to make authenticated requests: + +```typescript +import { createServerClient } from '@0xintuition/graphql' + +const client = createServerClient({ + token: 'your-auth-token', // Optional +}) +``` + +### Using Generated Hooks + +The generated React Query hooks can be imported directly: + +```typescript +import { useGetStats } from '@0xintuition/graphql' + +function StatsComponent() { + const { data, isLoading } = useGetStats() + // ... +} +``` + +## Project Structure + +``` +graphql +├── src +│ ├── client.ts # GraphQL client configuration +│ ├── fragments/ # Reusable GraphQL fragments +│ ├── queries/ # GraphQL queries +│ ├── mutations/ # GraphQL mutations +│ └── generated/ # Generated TypeScript types and hooks +├── tests/ # Unit tests +└── codegen.ts # Code generation configuration +``` + +## Configuration + +The package can be configured through the following files: + +- `codegen.ts` - GraphQL code generation settings +- `tsconfig.json` - TypeScript configuration +- `vitest.config.ts` - Test configuration + +## Contributing + +Please read the core [CONTRIBUTING.md](../../CONTRIBUTING.md) before proceeding. diff --git a/packages/intuition-graphql/backend-cli-prediction-markets-rule.md b/packages/intuition-graphql/backend-cli-prediction-markets-rule.md new file mode 100644 index 000000000..6a21ba866 --- /dev/null +++ b/packages/intuition-graphql/backend-cli-prediction-markets-rule.md @@ -0,0 +1,69 @@ +--- +description: Updating the BET CLI for Prediction Markets +alwaysApply: true +--- + +Senior Backend CLI Engineer Task Execution Rule + +**Applies to:** All CLI Tool and Prediction Market Backend Development Tasks + +**Rule:** + +You are a world-class backend engineer specializing in high-performance CLI tools and prediction market systems. Your expertise spans real-time data processing, market mechanisms, and developer tooling. You will follow this mandatory, non-negotiable workflow for every task: + +## 1. Market-Aware System Analysis + +- Before writing any code, conduct a comprehensive analysis of the prediction market implications and CLI user experience. +- Map out data flow, market state dependencies, and potential race conditions in high-frequency trading scenarios. +- Identify real-time constraints, latency requirements, and market data accuracy needs. +- Consider Kalshi-style market mechanics: binary outcomes, settlement logic, and liquidity considerations. +- Write a clear execution plan showing what CLI commands, APIs, or market components will be touched and why. +- Do not begin implementation until this analysis covers both technical and market behavior aspects. + +## 2. Precise CLI Architecture & Market Integration + +- Identify the exact CLI commands, API endpoints, and market data handlers where changes will live. +- Never make sweeping changes across unrelated CLI modules or market components. +- If multiple services are needed, justify each with clear interfaces and market data contracts. +- Do not create new abstractions or refactor unless the task explicitly requires it. +- Ensure all market state changes are atomic and handle concurrent access patterns. +- Design CLI commands to be composable and pipeline-friendly for advanced users. + +## 3. Performance-Optimized, Minimal Changes + +- Only write code directly required to satisfy the task with optimal performance for market data processing. +- Prioritize low-latency operations for real-time market updates and position management. +- Avoid adding excessive logging, comments, tests, TODOs, or error handling unless directly necessary. +- No speculative changes or "while we're here" edits that could impact market data flow. +- All logic should be isolated to not break existing CLI workflows or market calculations. +- Use efficient data structures and caching strategies for market data aggregation. + +## 4. Triple-Check Accuracy & Market Logic + +- Review for correctness, scope adherence, and market calculation accuracy. +- Ensure your code follows backend best practices and handles edge cases in prediction markets. +- Explicitly verify whether market settlements, odds calculations, or position tracking will be impacted. +- Check for proper error handling in market data failures, network issues, and settlement disputes. +- Validate all external market data API calls and their failure modes. +- Ensure CLI output is accurate and doesn't mislead traders about market state. + +## 5. Deliver with Market Context Documentation + +- Summarize what was changed and why, with market behavior implications. +- List every CLI command modified and what market functionality was added/changed. +- Document any assumptions about market data sources, settlement mechanisms, or trading restrictions. +- Flag any risks related to market accuracy, latency issues, or data consistency. +- Include performance benchmarks for critical market data operations. + +**Reminder:** You are not a co-pilot, assistant, or brainstorm partner. You are the senior backend engineer responsible for mission-critical CLI tools that traders rely on for market analysis and position management. Markets move fast. Your code must be faster, more accurate, and more reliable. Do not improvise. Do not over-engineer. Do not deviate. Every line of code must handle the chaos of live markets. + +## Core Principles + +- **Market Data Accuracy**: Every calculation must be precise; traders' money depends on it +- **Low Latency Operations**: Optimize for speed in market data processing and CLI response times +- **Fault-Tolerant Design**: CLI tools should handle market data outages and API failures gracefully +- **Clear User Feedback**: CLI output must be unambiguous about market state and position status +- **Concurrent Safety**: Handle multiple CLI instances and market updates without data corruption +- **Extensible Commands**: Design CLI interfaces that can adapt to new market types and data sources +- **Market State Consistency**: Ensure atomic operations when updating positions or market calculations +- **Real-time Reliability**: Systems must maintain accuracy under high-frequency market updates diff --git a/packages/intuition-graphql/codegen.ts b/packages/intuition-graphql/codegen.ts new file mode 100644 index 000000000..46c0240e5 --- /dev/null +++ b/packages/intuition-graphql/codegen.ts @@ -0,0 +1,66 @@ +import type { CodegenConfig } from '@graphql-codegen/cli' +import type { Types } from '@graphql-codegen/plugin-helpers' + +import { API_URL_DEV } from './src/constants' + +const commonGenerateOptions: Types.ConfiguredOutput = { + config: { + reactQueryVersion: 5, + fetcher: { + func: '../client#fetcher', + isReactHook: false, + }, + exposeDocument: true, + exposeFetcher: true, + exposeQueryKeys: true, + exposeMutationKeys: true, + addInfiniteQuery: true, + enumsAsTypes: true, + dedupeFragments: true, + documentMode: 'documentNode', + scalars: { + Date: 'Date', + JSON: 'Record', + ID: 'string', + Void: 'void', + }, + }, + plugins: [ + 'typescript', + '@graphql-codegen/typescript-operations', + '@graphql-codegen/typescript-react-query', + 'typescript-document-nodes', + ], +} + +const config: CodegenConfig = { + overwrite: true, + hooks: { afterAllFileWrite: ['prettier --write'] }, + schema: { + [API_URL_DEV]: { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + }, + }, + ignoreNoDocuments: true, + documents: ['**/*.graphql'], + generates: { + './src/generated/index.ts': { + config: { + ...commonGenerateOptions.config, + }, + plugins: commonGenerateOptions.plugins, + }, + './schema.graphql': { + plugins: ['schema-ast'], + config: { + includeDirectives: true, + }, + }, + }, + watch: process.env.NODE_ENV === 'development', +} + +export default config diff --git a/packages/intuition-graphql/package.json b/packages/intuition-graphql/package.json new file mode 100644 index 000000000..fb4af4efa --- /dev/null +++ b/packages/intuition-graphql/package.json @@ -0,0 +1,62 @@ +{ + "name": "@0xintuition/graphql", + "description": "Intuition GraphQL", + "version": "1.0.0-alpha.1", + "main": "./dist/index.js", + "module": "./dist/index.mjs", + "types": "./dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, + "files": [ + "dist" + ], + "scripts": { + "prebuild": "pnpm codegen", + "build": "tsup", + "dev": "concurrently \"pnpm codegen:watch\" \"tsup --watch\"", + "codegen": "NODE_ENV=production graphql-codegen --config codegen.ts", + "codegen:watch": "NODE_ENV=development dotenv graphql-codegen --config codegen.ts", + "test": "vitest", + "lint": "eslint", + "lint:fix": "eslint --fix" + }, + "repository": { + "type": "git", + "url": "https://github.com/0xIntuition/intuition-ts", + "directory": "packages/graphql" + }, + "publishConfig": { + "access": "public", + "registry": "https://registry.npmjs.org/" + }, + "dependencies": { + "@graphql-codegen/typescript-document-nodes": "^4.0.11", + "@tanstack/react-query": "^5.32.0", + "graphql": "^16.9.0", + "graphql-request": "^7.1.0" + }, + "devDependencies": { + "@0no-co/graphqlsp": "^1.12.16", + "@graphql-codegen/cli": "^5.0.3", + "@graphql-codegen/client-preset": "^4.4.0", + "@graphql-codegen/introspection": "^4.0.3", + "@graphql-codegen/plugin-helpers": "^5.0.4", + "@graphql-codegen/schema-ast": "^4.1.0", + "@graphql-codegen/typescript": "^4.1.0", + "@graphql-codegen/typescript-operations": "^4.3.0", + "@graphql-codegen/typescript-react-apollo": "^4.3.2", + "@graphql-codegen/typescript-react-query": "^6.1.0", + "@graphql-typed-document-node/core": "^3.2.0", + "@parcel/watcher": "^2.4.1", + "concurrently": "^8.2.2", + "tsup": "^6.7.0", + "typescript": "^5.4.5", + "vite": "^5.2.11", + "vitest": "^1.3.1" + } +} diff --git a/packages/intuition-graphql/pnpm-lock.yaml b/packages/intuition-graphql/pnpm-lock.yaml new file mode 100644 index 000000000..988442405 --- /dev/null +++ b/packages/intuition-graphql/pnpm-lock.yaml @@ -0,0 +1,6500 @@ +lockfileVersion: '9.0' + +settings: + autoInstallPeers: true + excludeLinksFromLockfile: false + +importers: + + .: + dependencies: + '@graphql-codegen/typescript-document-nodes': + specifier: ^4.0.11 + version: 4.0.11(encoding@0.1.13)(graphql@16.9.0) + '@tanstack/react-query': + specifier: ^5.32.0 + version: 5.45.0(react@18.3.1) + graphql: + specifier: ^16.9.0 + version: 16.9.0 + graphql-request: + specifier: ^7.1.0 + version: 7.1.0(graphql@16.9.0) + devDependencies: + '@0no-co/graphqlsp': + specifier: ^1.12.16 + version: 1.12.16(graphql@16.9.0)(typescript@5.4.5) + '@graphql-codegen/cli': + specifier: ^5.0.3 + version: 5.0.3(@parcel/watcher@2.4.1)(@types/node@22.7.5)(bufferutil@4.0.8)(encoding@0.1.13)(enquirer@2.4.1)(graphql@16.9.0)(typescript@5.4.5)(utf-8-validate@6.0.4) + '@graphql-codegen/client-preset': + specifier: ^4.4.0 + version: 4.4.0(encoding@0.1.13)(graphql@16.9.0) + '@graphql-codegen/introspection': + specifier: ^4.0.3 + version: 4.0.3(encoding@0.1.13)(graphql@16.9.0) + '@graphql-codegen/plugin-helpers': + specifier: ^5.0.4 + version: 5.1.0(graphql@16.9.0) + '@graphql-codegen/schema-ast': + specifier: ^4.1.0 + version: 4.1.0(graphql@16.9.0) + '@graphql-codegen/typescript': + specifier: ^4.1.0 + version: 4.1.0(encoding@0.1.13)(graphql@16.9.0) + '@graphql-codegen/typescript-operations': + specifier: ^4.3.0 + version: 4.3.0(encoding@0.1.13)(graphql@16.9.0) + '@graphql-codegen/typescript-react-apollo': + specifier: ^4.3.2 + version: 4.3.2(encoding@0.1.13)(graphql@16.9.0) + '@graphql-codegen/typescript-react-query': + specifier: ^6.1.0 + version: 6.1.0(encoding@0.1.13)(graphql@16.9.0) + '@graphql-typed-document-node/core': + specifier: ^3.2.0 + version: 3.2.0(graphql@16.9.0) + '@parcel/watcher': + specifier: ^2.4.1 + version: 2.4.1 + concurrently: + specifier: ^8.2.2 + version: 8.2.2 + tsup: + specifier: ^6.7.0 + version: 6.7.0(@swc/core@1.3.107(@swc/helpers@0.5.15))(postcss@8.4.38)(ts-node@10.9.1(@swc/core@1.3.107(@swc/helpers@0.5.15))(@types/node@22.7.5)(typescript@5.4.5))(typescript@5.4.5) + typescript: + specifier: ^5.4.5 + version: 5.4.5 + vite: + specifier: ^5.2.11 + version: 5.2.13(@types/node@22.7.5)(terser@5.31.1) + vitest: + specifier: ^1.3.1 + version: 1.6.0(@types/node@22.7.5)(@vitest/ui@1.6.0)(jsdom@24.1.3(bufferutil@4.0.8)(utf-8-validate@6.0.4))(terser@5.31.1) + +packages: + + '@0no-co/graphql.web@1.0.9': + resolution: {integrity: sha512-lXSg4bDHvP8CiMdpQf9f/rca12IIjXHN/p0Rc5mgzgLe4JBlIoA1zFa9NKhfG1bW0OyI2hgaOldFCfkEQwZuEQ==} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 + peerDependenciesMeta: + graphql: + optional: true + + '@0no-co/graphqlsp@1.12.16': + resolution: {integrity: sha512-B5pyYVH93Etv7xjT6IfB7QtMBdaaC07yjbhN6v8H7KgFStMkPvi+oWYBTibMFRMY89qwc9H8YixXg8SXDVgYWw==} + peerDependencies: + graphql: ^15.5.0 || ^16.0.0 || ^17.0.0 + typescript: ^5.0.0 + + '@ampproject/remapping@2.3.0': + resolution: {integrity: sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==} + engines: {node: '>=6.0.0'} + + '@ardatan/relay-compiler@12.0.0': + resolution: {integrity: sha512-9anThAaj1dQr6IGmzBMcfzOQKTa5artjuPmw8NYK/fiGEMjADbSguBY2FMDykt+QhilR3wc9VA/3yVju7JHg7Q==} + hasBin: true + peerDependencies: + graphql: '*' + + '@ardatan/sync-fetch@0.0.1': + resolution: {integrity: sha512-xhlTqH0m31mnsG0tIP4ETgfSB6gXDaYYsUWTrlUV93fFQPI9dd8hE0Ot6MHLCtqgB32hwJAC3YZMWlXZw7AleA==} + engines: {node: '>=14'} + + '@asamuzakjp/css-color@3.2.0': + resolution: {integrity: sha512-K1A6z8tS3XsmCMM86xoWdn7Fkdn9m6RSVtocUrJYIwZnFVkng/PvkEoWtOWmP+Scc6saYWHWZYbndEEXxl24jw==} + + '@babel/code-frame@7.24.7': + resolution: {integrity: sha512-BcYH1CVJBO9tvyIZ2jVeXgSIMvGZ2FDRvDdOIVQyuklNKSsx+eppDEBq/g47Ayw+RqNFE+URvOShmf+f/qwAlA==} + engines: {node: '>=6.9.0'} + + '@babel/compat-data@7.24.7': + resolution: {integrity: sha512-qJzAIcv03PyaWqxRgO4mSU3lihncDT296vnyuE2O8uA4w3UHWI4S3hgeZd1L8W1Bft40w9JxJ2b412iDUFFRhw==} + engines: {node: '>=6.9.0'} + + '@babel/core@7.24.7': + resolution: {integrity: sha512-nykK+LEK86ahTkX/3TgauT0ikKoNCfKHEaZYTUVupJdTLzGNvrblu4u6fa7DhZONAltdf8e662t/abY8idrd/g==} + engines: {node: '>=6.9.0'} + + '@babel/generator@7.24.7': + resolution: {integrity: sha512-oipXieGC3i45Y1A41t4tAqpnEZWgB/lC6Ehh6+rOviR5XWpTtMmLN+fGjz9vOiNRt0p6RtO6DtD0pdU3vpqdSA==} + engines: {node: '>=6.9.0'} + + '@babel/helper-annotate-as-pure@7.24.7': + resolution: {integrity: sha512-BaDeOonYvhdKw+JoMVkAixAAJzG2jVPIwWoKBPdYuY9b452e2rPuI9QPYh3KpofZ3pW2akOmwZLOiOsHMiqRAg==} + engines: {node: '>=6.9.0'} + + '@babel/helper-compilation-targets@7.24.7': + resolution: {integrity: sha512-ctSdRHBi20qWOfy27RUb4Fhp07KSJ3sXcuSvTrXrc4aG8NSYDo1ici3Vhg9bg69y5bj0Mr1lh0aeEgTvc12rMg==} + engines: {node: '>=6.9.0'} + + '@babel/helper-create-class-features-plugin@7.24.7': + resolution: {integrity: sha512-kTkaDl7c9vO80zeX1rJxnuRpEsD5tA81yh11X1gQo+PhSti3JS+7qeZo9U4RHobKRiFPKaGK3svUAeb8D0Q7eg==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0 + + '@babel/helper-environment-visitor@7.24.7': + resolution: {integrity: sha512-DoiN84+4Gnd0ncbBOM9AZENV4a5ZiL39HYMyZJGZ/AZEykHYdJw0wW3kdcsh9/Kn+BRXHLkkklZ51ecPKmI1CQ==} + engines: {node: '>=6.9.0'} + + '@babel/helper-function-name@7.24.7': + resolution: {integrity: sha512-FyoJTsj/PEUWu1/TYRiXTIHc8lbw+TDYkZuoE43opPS5TrI7MyONBE1oNvfguEXAD9yhQRrVBnXdXzSLQl9XnA==} + engines: {node: '>=6.9.0'} + + '@babel/helper-hoist-variables@7.24.7': + resolution: {integrity: sha512-MJJwhkoGy5c4ehfoRyrJ/owKeMl19U54h27YYftT0o2teQ3FJ3nQUf/I3LlJsX4l3qlw7WRXUmiyajvHXoTubQ==} + engines: {node: '>=6.9.0'} + + '@babel/helper-member-expression-to-functions@7.24.7': + resolution: {integrity: sha512-LGeMaf5JN4hAT471eJdBs/GK1DoYIJ5GCtZN/EsL6KUiiDZOvO/eKE11AMZJa2zP4zk4qe9V2O/hxAmkRc8p6w==} + engines: {node: '>=6.9.0'} + + '@babel/helper-module-imports@7.24.7': + resolution: {integrity: sha512-8AyH3C+74cgCVVXow/myrynrAGv+nTVg5vKu2nZph9x7RcRwzmh0VFallJuFTZ9mx6u4eSdXZfcOzSqTUm0HCA==} + engines: {node: '>=6.9.0'} + + '@babel/helper-module-transforms@7.24.7': + resolution: {integrity: sha512-1fuJEwIrp+97rM4RWdO+qrRsZlAeL1lQJoPqtCYWv0NL115XM93hIH4CSRln2w52SqvmY5hqdtauB6QFCDiZNQ==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0 + + '@babel/helper-optimise-call-expression@7.24.7': + resolution: {integrity: sha512-jKiTsW2xmWwxT1ixIdfXUZp+P5yURx2suzLZr5Hi64rURpDYdMW0pv+Uf17EYk2Rd428Lx4tLsnjGJzYKDM/6A==} + engines: {node: '>=6.9.0'} + + '@babel/helper-plugin-utils@7.24.7': + resolution: {integrity: sha512-Rq76wjt7yz9AAc1KnlRKNAi/dMSVWgDRx43FHoJEbcYU6xOWaE2dVPwcdTukJrjxS65GITyfbvEYHvkirZ6uEg==} + engines: {node: '>=6.9.0'} + + '@babel/helper-replace-supers@7.24.7': + resolution: {integrity: sha512-qTAxxBM81VEyoAY0TtLrx1oAEJc09ZK67Q9ljQToqCnA+55eNwCORaxlKyu+rNfX86o8OXRUSNUnrtsAZXM9sg==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0 + + '@babel/helper-simple-access@7.24.7': + resolution: {integrity: sha512-zBAIvbCMh5Ts+b86r/CjU+4XGYIs+R1j951gxI3KmmxBMhCg4oQMsv6ZXQ64XOm/cvzfU1FmoCyt6+owc5QMYg==} + engines: {node: '>=6.9.0'} + + '@babel/helper-skip-transparent-expression-wrappers@7.24.7': + resolution: {integrity: sha512-IO+DLT3LQUElMbpzlatRASEyQtfhSE0+m465v++3jyyXeBTBUjtVZg28/gHeV5mrTJqvEKhKroBGAvhW+qPHiQ==} + engines: {node: '>=6.9.0'} + + '@babel/helper-split-export-declaration@7.24.7': + resolution: {integrity: sha512-oy5V7pD+UvfkEATUKvIjvIAH/xCzfsFVw7ygW2SI6NClZzquT+mwdTfgfdbUiceh6iQO0CHtCPsyze/MZ2YbAA==} + engines: {node: '>=6.9.0'} + + '@babel/helper-string-parser@7.27.1': + resolution: {integrity: sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==} + engines: {node: '>=6.9.0'} + + '@babel/helper-validator-identifier@7.27.1': + resolution: {integrity: sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow==} + engines: {node: '>=6.9.0'} + + '@babel/helper-validator-option@7.24.7': + resolution: {integrity: sha512-yy1/KvjhV/ZCL+SM7hBrvnZJ3ZuT9OuZgIJAGpPEToANvc3iM6iDvBnRjtElWibHU6n8/LPR/EjX9EtIEYO3pw==} + engines: {node: '>=6.9.0'} + + '@babel/helpers@7.24.7': + resolution: {integrity: sha512-NlmJJtvcw72yRJRcnCmGvSi+3jDEg8qFu3z0AFoymmzLx5ERVWyzd9kVXr7Th9/8yIJi2Zc6av4Tqz3wFs8QWg==} + engines: {node: '>=6.9.0'} + + '@babel/highlight@7.24.7': + resolution: {integrity: sha512-EStJpq4OuY8xYfhGVXngigBJRWxftKX9ksiGDnmlY3o7B/V7KIAc9X4oiK87uPJSc/vs5L869bem5fhZa8caZw==} + engines: {node: '>=6.9.0'} + + '@babel/parser@7.27.5': + resolution: {integrity: sha512-OsQd175SxWkGlzbny8J3K8TnnDD0N3lrIUtB92xwyRpzaenGZhxDvxN/JgU00U3CDZNj9tPuDJ5H0WS4Nt3vKg==} + engines: {node: '>=6.0.0'} + hasBin: true + + '@babel/plugin-proposal-class-properties@7.18.6': + resolution: {integrity: sha512-cumfXOF0+nzZrrN8Rf0t7M+tF6sZc7vhQwYQck9q1/5w2OExlD+b4v4RpMJFaV1Z7WcDRgO6FqvxqxGlwo+RHQ==} + engines: {node: '>=6.9.0'} + deprecated: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead. + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-proposal-object-rest-spread@7.20.7': + resolution: {integrity: sha512-d2S98yCiLxDVmBmE8UjGcfPvNEUbA1U5q5WxaWFUGRzJSVAZqm5W6MbPct0jxnegUZ0niLeNX+IOzEs7wYg9Dg==} + engines: {node: '>=6.9.0'} + deprecated: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead. + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-syntax-class-properties@7.12.13': + resolution: {integrity: sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-syntax-flow@7.24.7': + resolution: {integrity: sha512-9G8GYT/dxn/D1IIKOUBmGX0mnmj46mGH9NnZyJLwtCpgh5f7D2VbuKodb+2s9m1Yavh1s7ASQN8lf0eqrb1LTw==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-syntax-import-assertions@7.24.7': + resolution: {integrity: sha512-Ec3NRUMoi8gskrkBe3fNmEQfxDvY8bgfQpz6jlk/41kX9eUjvpyqWU7PBP/pLAvMaSQjbMNKJmvX57jP+M6bPg==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-syntax-jsx@7.24.7': + resolution: {integrity: sha512-6ddciUPe/mpMnOKv/U+RSd2vvVy+Yw/JfBB0ZHYjEZt9NLHmCUylNYlsbqCCS1Bffjlb0fCwC9Vqz+sBz6PsiQ==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-syntax-object-rest-spread@7.8.3': + resolution: {integrity: sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-transform-arrow-functions@7.24.7': + resolution: {integrity: sha512-Dt9LQs6iEY++gXUwY03DNFat5C2NbO48jj+j/bSAz6b3HgPs39qcPiYt77fDObIcFwj3/C2ICX9YMwGflUoSHQ==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-transform-block-scoped-functions@7.24.7': + resolution: {integrity: sha512-yO7RAz6EsVQDaBH18IDJcMB1HnrUn2FJ/Jslc/WtPPWcjhpUJXU/rjbwmluzp7v/ZzWcEhTMXELnnsz8djWDwQ==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-transform-block-scoping@7.24.7': + resolution: {integrity: sha512-Nd5CvgMbWc+oWzBsuaMcbwjJWAcp5qzrbg69SZdHSP7AMY0AbWFqFO0WTFCA1jxhMCwodRwvRec8k0QUbZk7RQ==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-transform-classes@7.24.7': + resolution: {integrity: sha512-CFbbBigp8ln4FU6Bpy6g7sE8B/WmCmzvivzUC6xDAdWVsjYTXijpuuGJmYkAaoWAzcItGKT3IOAbxRItZ5HTjw==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-transform-computed-properties@7.24.7': + resolution: {integrity: sha512-25cS7v+707Gu6Ds2oY6tCkUwsJ9YIDbggd9+cu9jzzDgiNq7hR/8dkzxWfKWnTic26vsI3EsCXNd4iEB6e8esQ==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-transform-destructuring@7.24.7': + resolution: {integrity: sha512-19eJO/8kdCQ9zISOf+SEUJM/bAUIsvY3YDnXZTupUCQ8LgrWnsG/gFB9dvXqdXnRXMAM8fvt7b0CBKQHNGy1mw==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-transform-flow-strip-types@7.24.7': + resolution: {integrity: sha512-cjRKJ7FobOH2eakx7Ja+KpJRj8+y+/SiB3ooYm/n2UJfxu0oEaOoxOinitkJcPqv9KxS0kxTGPUaR7L2XcXDXA==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-transform-for-of@7.24.7': + resolution: {integrity: sha512-wo9ogrDG1ITTTBsy46oGiN1dS9A7MROBTcYsfS8DtsImMkHk9JXJ3EWQM6X2SUw4x80uGPlwj0o00Uoc6nEE3g==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-transform-function-name@7.24.7': + resolution: {integrity: sha512-U9FcnA821YoILngSmYkW6FjyQe2TyZD5pHt4EVIhmcTkrJw/3KqcrRSxuOo5tFZJi7TE19iDyI1u+weTI7bn2w==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-transform-literals@7.24.7': + resolution: {integrity: sha512-vcwCbb4HDH+hWi8Pqenwnjy+UiklO4Kt1vfspcQYFhJdpthSnW8XvWGyDZWKNVrVbVViI/S7K9PDJZiUmP2fYQ==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-transform-member-expression-literals@7.24.7': + resolution: {integrity: sha512-T/hRC1uqrzXMKLQ6UCwMT85S3EvqaBXDGf0FaMf4446Qx9vKwlghvee0+uuZcDUCZU5RuNi4781UQ7R308zzBw==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-transform-modules-commonjs@7.24.7': + resolution: {integrity: sha512-iFI8GDxtevHJ/Z22J5xQpVqFLlMNstcLXh994xifFwxxGslr2ZXXLWgtBeLctOD63UFDArdvN6Tg8RFw+aEmjQ==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-transform-object-super@7.24.7': + resolution: {integrity: sha512-A/vVLwN6lBrMFmMDmPPz0jnE6ZGx7Jq7d6sT/Ev4H65RER6pZ+kczlf1DthF5N0qaPHBsI7UXiE8Zy66nmAovg==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-transform-parameters@7.24.7': + resolution: {integrity: sha512-yGWW5Rr+sQOhK0Ot8hjDJuxU3XLRQGflvT4lhlSY0DFvdb3TwKaY26CJzHtYllU0vT9j58hc37ndFPsqT1SrzA==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-transform-property-literals@7.24.7': + resolution: {integrity: sha512-EMi4MLQSHfd2nrCqQEWxFdha2gBCqU4ZcCng4WBGZ5CJL4bBRW0ptdqqDdeirGZcpALazVVNJqRmsO8/+oNCBA==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-transform-react-display-name@7.24.7': + resolution: {integrity: sha512-H/Snz9PFxKsS1JLI4dJLtnJgCJRoo0AUm3chP6NYr+9En1JMKloheEiLIhlp5MDVznWo+H3AAC1Mc8lmUEpsgg==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-transform-react-jsx@7.24.7': + resolution: {integrity: sha512-+Dj06GDZEFRYvclU6k4bme55GKBEWUmByM/eoKuqg4zTNQHiApWRhQph5fxQB2wAEFvRzL1tOEj1RJ19wJrhoA==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-transform-shorthand-properties@7.24.7': + resolution: {integrity: sha512-KsDsevZMDsigzbA09+vacnLpmPH4aWjcZjXdyFKGzpplxhbeB4wYtury3vglQkg6KM/xEPKt73eCjPPf1PgXBA==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-transform-spread@7.24.7': + resolution: {integrity: sha512-x96oO0I09dgMDxJaANcRyD4ellXFLLiWhuwDxKZX5g2rWP1bTPkBSwCYv96VDXVT1bD9aPj8tppr5ITIh8hBng==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-transform-template-literals@7.24.7': + resolution: {integrity: sha512-AfDTQmClklHCOLxtGoP7HkeMw56k1/bTQjwsfhL6pppo/M4TOBSq+jjBUBLmV/4oeFg4GWMavIl44ZeCtmmZTw==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/runtime@7.27.6': + resolution: {integrity: sha512-vbavdySgbTTrmFE+EsiqUTzlOr5bzlnJtUv9PynGCAKvfQqjIXbvFdumPM/GxMDfyuGMJaJAU6TO4zc1Jf1i8Q==} + engines: {node: '>=6.9.0'} + + '@babel/template@7.24.7': + resolution: {integrity: sha512-jYqfPrU9JTF0PmPy1tLYHW4Mp4KlgxJD9l2nP9fD6yT/ICi554DmrWBAEYpIelzjHf1msDP3PxJIRt/nFNfBig==} + engines: {node: '>=6.9.0'} + + '@babel/traverse@7.24.7': + resolution: {integrity: sha512-yb65Ed5S/QAcewNPh0nZczy9JdYXkkAbIsEo+P7BE7yO3txAY30Y/oPa3QkQ5It3xVG2kpKMg9MsdxZaO31uKA==} + engines: {node: '>=6.9.0'} + + '@babel/types@7.27.6': + resolution: {integrity: sha512-ETyHEk2VHHvl9b9jZP5IHPavHYk57EhanlRRuae9XCpb/j5bDCbPPMOBfCWhnl/7EDJz0jEMCi/RhccCE8r1+Q==} + engines: {node: '>=6.9.0'} + + '@cspotcode/source-map-support@0.8.1': + resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==} + engines: {node: '>=12'} + + '@csstools/color-helpers@5.0.2': + resolution: {integrity: sha512-JqWH1vsgdGcw2RR6VliXXdA0/59LttzlU8UlRT/iUUsEeWfYq8I+K0yhihEUTTHLRm1EXvpsCx3083EU15ecsA==} + engines: {node: '>=18'} + + '@csstools/css-calc@2.1.4': + resolution: {integrity: sha512-3N8oaj+0juUw/1H3YwmDDJXCgTB1gKU6Hc/bB502u9zR0q2vd786XJH9QfrKIEgFlZmhZiq6epXl4rHqhzsIgQ==} + engines: {node: '>=18'} + peerDependencies: + '@csstools/css-parser-algorithms': ^3.0.5 + '@csstools/css-tokenizer': ^3.0.4 + + '@csstools/css-color-parser@3.0.10': + resolution: {integrity: sha512-TiJ5Ajr6WRd1r8HSiwJvZBiJOqtH86aHpUjq5aEKWHiII2Qfjqd/HCWKPOW8EP4vcspXbHnXrwIDlu5savQipg==} + engines: {node: '>=18'} + peerDependencies: + '@csstools/css-parser-algorithms': ^3.0.5 + '@csstools/css-tokenizer': ^3.0.4 + + '@csstools/css-parser-algorithms@3.0.5': + resolution: {integrity: sha512-DaDeUkXZKjdGhgYaHNJTV9pV7Y9B3b644jCLs9Upc3VeNGg6LWARAT6O+Q+/COo+2gg/bM5rhpMAtf70WqfBdQ==} + engines: {node: '>=18'} + peerDependencies: + '@csstools/css-tokenizer': ^3.0.4 + + '@csstools/css-tokenizer@3.0.4': + resolution: {integrity: sha512-Vd/9EVDiu6PPJt9yAh6roZP6El1xHrdvIVGjyBsHR0RYwNHgL7FJPyIIW4fANJNG6FtyZfvlRPpFI4ZM/lubvw==} + engines: {node: '>=18'} + + '@esbuild/aix-ppc64@0.20.2': + resolution: {integrity: sha512-D+EBOJHXdNZcLJRBkhENNG8Wji2kgc9AZ9KiPr1JuZjsNtyHzrsfLRrY0tk2H2aoFu6RANO1y1iPPUCDYWkb5g==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [aix] + + '@esbuild/android-arm64@0.17.19': + resolution: {integrity: sha512-KBMWvEZooR7+kzY0BtbTQn0OAYY7CsiydT63pVEaPtVYF0hXbUaOyZog37DKxK7NF3XacBJOpYT4adIJh+avxA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + + '@esbuild/android-arm64@0.20.2': + resolution: {integrity: sha512-mRzjLacRtl/tWU0SvD8lUEwb61yP9cqQo6noDZP/O8VkwafSYwZ4yWy24kan8jE/IMERpYncRt2dw438LP3Xmg==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + + '@esbuild/android-arm@0.17.19': + resolution: {integrity: sha512-rIKddzqhmav7MSmoFCmDIb6e2W57geRsM94gV2l38fzhXMwq7hZoClug9USI2pFRGL06f4IOPHHpFNOkWieR8A==} + engines: {node: '>=12'} + cpu: [arm] + os: [android] + + '@esbuild/android-arm@0.20.2': + resolution: {integrity: sha512-t98Ra6pw2VaDhqNWO2Oph2LXbz/EJcnLmKLGBJwEwXX/JAN83Fym1rU8l0JUWK6HkIbWONCSSatf4sf2NBRx/w==} + engines: {node: '>=12'} + cpu: [arm] + os: [android] + + '@esbuild/android-x64@0.17.19': + resolution: {integrity: sha512-uUTTc4xGNDT7YSArp/zbtmbhO0uEEK9/ETW29Wk1thYUJBz3IVnvgEiEwEa9IeLyvnpKrWK64Utw2bgUmDveww==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + + '@esbuild/android-x64@0.20.2': + resolution: {integrity: sha512-btzExgV+/lMGDDa194CcUQm53ncxzeBrWJcncOBxuC6ndBkKxnHdFJn86mCIgTELsooUmwUm9FkhSp5HYu00Rg==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + + '@esbuild/darwin-arm64@0.17.19': + resolution: {integrity: sha512-80wEoCfF/hFKM6WE1FyBHc9SfUblloAWx6FJkFWTWiCoht9Mc0ARGEM47e67W9rI09YoUxJL68WHfDRYEAvOhg==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + + '@esbuild/darwin-arm64@0.20.2': + resolution: {integrity: sha512-4J6IRT+10J3aJH3l1yzEg9y3wkTDgDk7TSDFX+wKFiWjqWp/iCfLIYzGyasx9l0SAFPT1HwSCR+0w/h1ES/MjA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + + '@esbuild/darwin-x64@0.17.19': + resolution: {integrity: sha512-IJM4JJsLhRYr9xdtLytPLSH9k/oxR3boaUIYiHkAawtwNOXKE8KoU8tMvryogdcT8AU+Bflmh81Xn6Q0vTZbQw==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + + '@esbuild/darwin-x64@0.20.2': + resolution: {integrity: sha512-tBcXp9KNphnNH0dfhv8KYkZhjc+H3XBkF5DKtswJblV7KlT9EI2+jeA8DgBjp908WEuYll6pF+UStUCfEpdysA==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + + '@esbuild/freebsd-arm64@0.17.19': + resolution: {integrity: sha512-pBwbc7DufluUeGdjSU5Si+P3SoMF5DQ/F/UmTSb8HXO80ZEAJmrykPyzo1IfNbAoaqw48YRpv8shwd1NoI0jcQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + + '@esbuild/freebsd-arm64@0.20.2': + resolution: {integrity: sha512-d3qI41G4SuLiCGCFGUrKsSeTXyWG6yem1KcGZVS+3FYlYhtNoNgYrWcvkOoaqMhwXSMrZRl69ArHsGJ9mYdbbw==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + + '@esbuild/freebsd-x64@0.17.19': + resolution: {integrity: sha512-4lu+n8Wk0XlajEhbEffdy2xy53dpR06SlzvhGByyg36qJw6Kpfk7cp45DR/62aPH9mtJRmIyrXAS5UWBrJT6TQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + + '@esbuild/freebsd-x64@0.20.2': + resolution: {integrity: sha512-d+DipyvHRuqEeM5zDivKV1KuXn9WeRX6vqSqIDgwIfPQtwMP4jaDsQsDncjTDDsExT4lR/91OLjRo8bmC1e+Cw==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + + '@esbuild/linux-arm64@0.17.19': + resolution: {integrity: sha512-ct1Tg3WGwd3P+oZYqic+YZF4snNl2bsnMKRkb3ozHmnM0dGWuxcPTTntAF6bOP0Sp4x0PjSF+4uHQ1xvxfRKqg==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + + '@esbuild/linux-arm64@0.20.2': + resolution: {integrity: sha512-9pb6rBjGvTFNira2FLIWqDk/uaf42sSyLE8j1rnUpuzsODBq7FvpwHYZxQ/It/8b+QOS1RYfqgGFNLRI+qlq2A==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + + '@esbuild/linux-arm@0.17.19': + resolution: {integrity: sha512-cdmT3KxjlOQ/gZ2cjfrQOtmhG4HJs6hhvm3mWSRDPtZ/lP5oe8FWceS10JaSJC13GBd4eH/haHnqf7hhGNLerA==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + + '@esbuild/linux-arm@0.20.2': + resolution: {integrity: sha512-VhLPeR8HTMPccbuWWcEUD1Az68TqaTYyj6nfE4QByZIQEQVWBB8vup8PpR7y1QHL3CpcF6xd5WVBU/+SBEvGTg==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + + '@esbuild/linux-ia32@0.17.19': + resolution: {integrity: sha512-w4IRhSy1VbsNxHRQpeGCHEmibqdTUx61Vc38APcsRbuVgK0OPEnQ0YD39Brymn96mOx48Y2laBQGqgZ0j9w6SQ==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + + '@esbuild/linux-ia32@0.20.2': + resolution: {integrity: sha512-o10utieEkNPFDZFQm9CoP7Tvb33UutoJqg3qKf1PWVeeJhJw0Q347PxMvBgVVFgouYLGIhFYG0UGdBumROyiig==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + + '@esbuild/linux-loong64@0.17.19': + resolution: {integrity: sha512-2iAngUbBPMq439a+z//gE+9WBldoMp1s5GWsUSgqHLzLJ9WoZLZhpwWuym0u0u/4XmZ3gpHmzV84PonE+9IIdQ==} + engines: {node: '>=12'} + cpu: [loong64] + os: [linux] + + '@esbuild/linux-loong64@0.20.2': + resolution: {integrity: sha512-PR7sp6R/UC4CFVomVINKJ80pMFlfDfMQMYynX7t1tNTeivQ6XdX5r2XovMmha/VjR1YN/HgHWsVcTRIMkymrgQ==} + engines: {node: '>=12'} + cpu: [loong64] + os: [linux] + + '@esbuild/linux-mips64el@0.17.19': + resolution: {integrity: sha512-LKJltc4LVdMKHsrFe4MGNPp0hqDFA1Wpt3jE1gEyM3nKUvOiO//9PheZZHfYRfYl6AwdTH4aTcXSqBerX0ml4A==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + + '@esbuild/linux-mips64el@0.20.2': + resolution: {integrity: sha512-4BlTqeutE/KnOiTG5Y6Sb/Hw6hsBOZapOVF6njAESHInhlQAghVVZL1ZpIctBOoTFbQyGW+LsVYZ8lSSB3wkjA==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + + '@esbuild/linux-ppc64@0.17.19': + resolution: {integrity: sha512-/c/DGybs95WXNS8y3Ti/ytqETiW7EU44MEKuCAcpPto3YjQbyK3IQVKfF6nbghD7EcLUGl0NbiL5Rt5DMhn5tg==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [linux] + + '@esbuild/linux-ppc64@0.20.2': + resolution: {integrity: sha512-rD3KsaDprDcfajSKdn25ooz5J5/fWBylaaXkuotBDGnMnDP1Uv5DLAN/45qfnf3JDYyJv/ytGHQaziHUdyzaAg==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [linux] + + '@esbuild/linux-riscv64@0.17.19': + resolution: {integrity: sha512-FC3nUAWhvFoutlhAkgHf8f5HwFWUL6bYdvLc/TTuxKlvLi3+pPzdZiFKSWz/PF30TB1K19SuCxDTI5KcqASJqA==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + + '@esbuild/linux-riscv64@0.20.2': + resolution: {integrity: sha512-snwmBKacKmwTMmhLlz/3aH1Q9T8v45bKYGE3j26TsaOVtjIag4wLfWSiZykXzXuE1kbCE+zJRmwp+ZbIHinnVg==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + + '@esbuild/linux-s390x@0.17.19': + resolution: {integrity: sha512-IbFsFbxMWLuKEbH+7sTkKzL6NJmG2vRyy6K7JJo55w+8xDk7RElYn6xvXtDW8HCfoKBFK69f3pgBJSUSQPr+4Q==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + + '@esbuild/linux-s390x@0.20.2': + resolution: {integrity: sha512-wcWISOobRWNm3cezm5HOZcYz1sKoHLd8VL1dl309DiixxVFoFe/o8HnwuIwn6sXre88Nwj+VwZUvJf4AFxkyrQ==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + + '@esbuild/linux-x64@0.17.19': + resolution: {integrity: sha512-68ngA9lg2H6zkZcyp22tsVt38mlhWde8l3eJLWkyLrp4HwMUr3c1s/M2t7+kHIhvMjglIBrFpncX1SzMckomGw==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + + '@esbuild/linux-x64@0.20.2': + resolution: {integrity: sha512-1MdwI6OOTsfQfek8sLwgyjOXAu+wKhLEoaOLTjbijk6E2WONYpH9ZU2mNtR+lZ2B4uwr+usqGuVfFT9tMtGvGw==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + + '@esbuild/netbsd-x64@0.17.19': + resolution: {integrity: sha512-CwFq42rXCR8TYIjIfpXCbRX0rp1jo6cPIUPSaWwzbVI4aOfX96OXY8M6KNmtPcg7QjYeDmN+DD0Wp3LaBOLf4Q==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + + '@esbuild/netbsd-x64@0.20.2': + resolution: {integrity: sha512-K8/DhBxcVQkzYc43yJXDSyjlFeHQJBiowJ0uVL6Tor3jGQfSGHNNJcWxNbOI8v5k82prYqzPuwkzHt3J1T1iZQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + + '@esbuild/openbsd-x64@0.17.19': + resolution: {integrity: sha512-cnq5brJYrSZ2CF6c35eCmviIN3k3RczmHz8eYaVlNasVqsNY+JKohZU5MKmaOI+KkllCdzOKKdPs762VCPC20g==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + + '@esbuild/openbsd-x64@0.20.2': + resolution: {integrity: sha512-eMpKlV0SThJmmJgiVyN9jTPJ2VBPquf6Kt/nAoo6DgHAoN57K15ZghiHaMvqjCye/uU4X5u3YSMgVBI1h3vKrQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + + '@esbuild/sunos-x64@0.17.19': + resolution: {integrity: sha512-vCRT7yP3zX+bKWFeP/zdS6SqdWB8OIpaRq/mbXQxTGHnIxspRtigpkUcDMlSCOejlHowLqII7K2JKevwyRP2rg==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + + '@esbuild/sunos-x64@0.20.2': + resolution: {integrity: sha512-2UyFtRC6cXLyejf/YEld4Hajo7UHILetzE1vsRcGL3earZEW77JxrFjH4Ez2qaTiEfMgAXxfAZCm1fvM/G/o8w==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + + '@esbuild/win32-arm64@0.17.19': + resolution: {integrity: sha512-yYx+8jwowUstVdorcMdNlzklLYhPxjniHWFKgRqH7IFlUEa0Umu3KuYplf1HUZZ422e3NU9F4LGb+4O0Kdcaag==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + + '@esbuild/win32-arm64@0.20.2': + resolution: {integrity: sha512-GRibxoawM9ZCnDxnP3usoUDO9vUkpAxIIZ6GQI+IlVmr5kP3zUq+l17xELTHMWTWzjxa2guPNyrpq1GWmPvcGQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + + '@esbuild/win32-ia32@0.17.19': + resolution: {integrity: sha512-eggDKanJszUtCdlVs0RB+h35wNlb5v4TWEkq4vZcmVt5u/HiDZrTXe2bWFQUez3RgNHwx/x4sk5++4NSSicKkw==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + + '@esbuild/win32-ia32@0.20.2': + resolution: {integrity: sha512-HfLOfn9YWmkSKRQqovpnITazdtquEW8/SoHW7pWpuEeguaZI4QnCRW6b+oZTztdBnZOS2hqJ6im/D5cPzBTTlQ==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + + '@esbuild/win32-x64@0.17.19': + resolution: {integrity: sha512-lAhycmKnVOuRYNtRtatQR1LPQf2oYCkRGkSFnseDAKPl8lu5SOsK/e1sXe5a0Pc5kHIHe6P2I/ilntNv2xf3cA==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + + '@esbuild/win32-x64@0.20.2': + resolution: {integrity: sha512-N49X4lJX27+l9jbLKSqZ6bKNjzQvHaT8IIFUy+YIqmXQdjYCToGWwOItDrfby14c78aDd5NHQl29xingXfCdLQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + + '@gql.tada/internal@1.0.8': + resolution: {integrity: sha512-XYdxJhtHC5WtZfdDqtKjcQ4d7R1s0d1rnlSs3OcBEUbYiPoJJfZU7tWsVXuv047Z6msvmr4ompJ7eLSK5Km57g==} + peerDependencies: + graphql: ^15.5.0 || ^16.0.0 || ^17.0.0 + typescript: ^5.0.0 + + '@graphql-codegen/add@5.0.3': + resolution: {integrity: sha512-SxXPmramkth8XtBlAHu4H4jYcYXM/o3p01+psU+0NADQowA8jtYkK6MW5rV6T+CxkEaNZItfSmZRPgIuypcqnA==} + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + + '@graphql-codegen/cli@5.0.3': + resolution: {integrity: sha512-ULpF6Sbu2d7vNEOgBtE9avQp2oMgcPY/QBYcCqk0Xru5fz+ISjcovQX29V7CS7y5wWBRzNLoXwJQGeEyWbl05g==} + engines: {node: '>=16'} + hasBin: true + peerDependencies: + '@parcel/watcher': ^2.1.0 + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + peerDependenciesMeta: + '@parcel/watcher': + optional: true + + '@graphql-codegen/client-preset@4.4.0': + resolution: {integrity: sha512-Q0NHFK7KXLhEaRC/k82ge0dHDfeHJEvvDeV0vV3+oSurHNa/lpxQtbK2BqknZe+JDfZ1YOOvYT93XsAkYD+SQg==} + engines: {node: '>=16'} + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + + '@graphql-codegen/core@4.0.2': + resolution: {integrity: sha512-IZbpkhwVqgizcjNiaVzNAzm/xbWT6YnGgeOLwVjm4KbJn3V2jchVtuzHH09G5/WkkLSk2wgbXNdwjM41JxO6Eg==} + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + + '@graphql-codegen/gql-tag-operations@4.0.10': + resolution: {integrity: sha512-WsBEVL3XQdBboFJJL5WxrUjkuo3B7Sa51R9NbT7PKBe0HCNstoouGZIvQJRUubttFCqTTyoFtNsoRSKB+rsRug==} + engines: {node: '>=16'} + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + + '@graphql-codegen/introspection@4.0.3': + resolution: {integrity: sha512-4cHRG15Zu4MXMF4wTQmywNf4+fkDYv5lTbzraVfliDnB8rJKcaurQpRBi11KVuQUe24YTq/Cfk4uwewfNikWoA==} + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + + '@graphql-codegen/plugin-helpers@2.7.2': + resolution: {integrity: sha512-kln2AZ12uii6U59OQXdjLk5nOlh1pHis1R98cDZGFnfaiAbX9V3fxcZ1MMJkB7qFUymTALzyjZoXXdyVmPMfRg==} + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + + '@graphql-codegen/plugin-helpers@3.1.2': + resolution: {integrity: sha512-emOQiHyIliVOIjKVKdsI5MXj312zmRDwmHpyUTZMjfpvxq/UVAHUJIVdVf+lnjjrI+LXBTgMlTWTgHQfmICxjg==} + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + + '@graphql-codegen/plugin-helpers@5.1.0': + resolution: {integrity: sha512-Y7cwEAkprbTKzVIe436TIw4w03jorsMruvCvu0HJkavaKMQbWY+lQ1RIuROgszDbxAyM35twB5/sUvYG5oW+yg==} + engines: {node: '>=16'} + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + + '@graphql-codegen/schema-ast@4.1.0': + resolution: {integrity: sha512-kZVn0z+th9SvqxfKYgztA6PM7mhnSZaj4fiuBWvMTqA+QqQ9BBed6Pz41KuD/jr0gJtnlr2A4++/0VlpVbCTmQ==} + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + + '@graphql-codegen/typed-document-node@5.0.10': + resolution: {integrity: sha512-YPDUNs6x0muoVWlbY2yEs0lGxFHMTszlGDh6klT/5rqiTDTZg3zz8Wd1ZTihkcH8+V6T0AT9qDWwcx9fcS2tvQ==} + engines: {node: '>=16'} + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + + '@graphql-codegen/typescript-document-nodes@4.0.11': + resolution: {integrity: sha512-az6F7MH+lnkq5EqLAXO1MvhvM8rqlu+oGD15O0JoODV+vO4+9aP9lyXqlnIk4mWn0phC4O8OhHSS6KmiU98h/Q==} + engines: {node: '>=16'} + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + + '@graphql-codegen/typescript-operations@4.3.0': + resolution: {integrity: sha512-ZORwMy8OgsiYd9EZUhTMd4/g5LvTFpx6Fh6dNN0cxFkqSc6KhjX0vhzWsyK8N9+ILaHSutT8UTrLMdJi35HzDQ==} + engines: {node: '>=16'} + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + + '@graphql-codegen/typescript-react-apollo@4.3.2': + resolution: {integrity: sha512-io2tWfeehBqOB2X6llqLE6B9wjjsXZT/GTZlguGVXdbR7WhSJO9GXyLflXYKxom/h2bPjkVL534Ev6wZLcs0wA==} + engines: {node: '>= 16.0.0'} + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + + '@graphql-codegen/typescript-react-query@6.1.0': + resolution: {integrity: sha512-SpaQ13fOZmog/xjgKnb7/G1CZSK54wopEbPBSav0IHN99iHaA4lJi6xJJoWrlDutOPgB26KAfGEXTD+lTm9esg==} + engines: {node: '>= 16.0.0'} + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + + '@graphql-codegen/typescript@4.1.0': + resolution: {integrity: sha512-/fS53Nh6U6c58GTOxqfyKTLQfQv36P8II/vPw/fg0cdcWbALhRPls69P8vXUWjrElmLKzCrdusBWPp/r+AKUBQ==} + engines: {node: '>=16'} + peerDependencies: + graphql: ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + + '@graphql-codegen/visitor-plugin-common@2.13.1': + resolution: {integrity: sha512-mD9ufZhDGhyrSaWQGrU1Q1c5f01TeWtSWy/cDwXYjJcHIj1Y/DG2x0tOflEfCvh5WcnmHNIw4lzDsg1W7iFJEg==} + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + + '@graphql-codegen/visitor-plugin-common@5.4.0': + resolution: {integrity: sha512-tL7hOrO+4MiNfDiHewhRQCiH9GTAh0M9Y/BZxYGGEdnrfGgqK5pCxtjq7EY/L19VGIyU7hhzYTQ0r1HzEbB4Jw==} + engines: {node: '>=16'} + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + + '@graphql-codegen/visitor-plugin-common@5.5.0': + resolution: {integrity: sha512-FSkxe/o4qKbpK+ipIT/jxZLYH0+3+XdIrJWsKlCW9wwJMF9mEJLJtzZNcxHSjz7+Eny6SUElAT2dqZ5XByxkog==} + engines: {node: '>=16'} + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + + '@graphql-tools/apollo-engine-loader@8.0.2': + resolution: {integrity: sha512-HTFoCILMU7u/Y97G5iu2EPSMTW/b/Lx6Ww2emX/WDtubU2A/7RqzBUjrDj/JMPTEblOAPUwJ1XcxtvXgQVaSyQ==} + engines: {node: '>=16.0.0'} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-tools/batch-execute@9.0.5': + resolution: {integrity: sha512-wkHLqBNtprKuNk+6ZoOw/RthsnGDycIjtOo976K8f0IgbE7fRNO9SnyhjSziHaIWVDjOuP3XaJD5v/i3vQsa5Q==} + engines: {node: '>=16.0.0'} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-tools/code-file-loader@8.1.4': + resolution: {integrity: sha512-vwMk+trCGLidWTmwC5CybqN0+W9fG6VMf61HEggUGBcYLzUmTAIn9DXsU1IFeLRtn8rNx8xH4JpDGd6fv0YWUQ==} + engines: {node: '>=16.0.0'} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-tools/delegate@10.0.25': + resolution: {integrity: sha512-524H8Z8G886FsQRYwzBJZxjxXL+4dbjA169Zb+Ouwwtva+0hRV4AKNblnhyPJrdl04h4wZT53pd+SdaRv7H1oA==} + engines: {node: '>=16.0.0'} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-tools/documents@1.0.1': + resolution: {integrity: sha512-aweoMH15wNJ8g7b2r4C4WRuJxZ0ca8HtNO54rkye/3duxTkW4fGBEutCx03jCIr5+a1l+4vFJNP859QnAVBVCA==} + engines: {node: '>=16.0.0'} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-tools/executor-graphql-ws@1.3.1': + resolution: {integrity: sha512-UAS5aeWLqv89iJ899OK8uwBMVGVH4nhJDIuIT+8z8f5iPiIpfqt2ipZLasdSLpi5WUpYDIolnVUFd2NvzccO7A==} + engines: {node: '>=16.0.0'} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-tools/executor-http@1.1.7': + resolution: {integrity: sha512-iWTE1MtCW26jxs5DeXsUNPkIFmVWEhioJx0wcDSacJ0onXjyMalfae5SgsuwHMQCVuvvUtQUgb8a9hmPhQ0y+g==} + engines: {node: '>=16.0.0'} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-tools/executor-legacy-ws@1.1.1': + resolution: {integrity: sha512-9J5WBd9D7+V299BsMJmgMVBsUl01rqzpfWx+if2r5k9xBYchj5delUOsx337XtNLb3Ewoy0Za24DkNYIx3Cgyg==} + engines: {node: '>=16.0.0'} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-tools/executor@1.3.2': + resolution: {integrity: sha512-U8nAR709IPNjwf0aLG6U9FlX0t7vA4cdWvL4RtMR/L/Ll4OHZ39OqUtq6moy+kLRRwLTqLif6iiUYrxnWpUGXw==} + engines: {node: '>=16.0.0'} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-tools/git-loader@8.0.8': + resolution: {integrity: sha512-1zGkgVDecM8I4+ymSuqOpckdAiFRbD3TVqOIcATolJ3I5a2eJhzqADZaOvMHzWWs69PPzOBzjcOj6EdVUeNBug==} + engines: {node: '>=16.0.0'} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-tools/github-loader@8.0.2': + resolution: {integrity: sha512-VrhEOI+lh/vH5XyVBK3uNBYGFz9lHR5elADT44tBuBI5eyzm1N/dCaJ1nW9mVTij7deLVEKetTOHrMETVqyZ+A==} + engines: {node: '>=16.0.0'} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-tools/graphql-file-loader@8.0.2': + resolution: {integrity: sha512-uf/vkO7jIU19hOZKL/DPyE5vm3wH7nFpfNYrMGGx8XlDK7l0al/MO7HQy+4YUPENkAd8FBgRNt2Ilm1fUXCwJg==} + engines: {node: '>=16.0.0'} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-tools/graphql-tag-pluck@8.3.3': + resolution: {integrity: sha512-G+8UNUa54ct/f9hNHo7Ez61BeAoaeXYhtfq8rYu0m9Upr/BCgsQmuvEgyHBRSFVkqOQj56H5aBwKW68SPrrU8g==} + engines: {node: '>=16.0.0'} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-tools/import@7.0.2': + resolution: {integrity: sha512-7OpShcq/yRwCcMcTyLNIonYw9l1yD+Im/znN/l9SRsThYGhMlojEHIntn7f9IArCnHR71uZk5UQioGLUTG6E6A==} + engines: {node: '>=16.0.0'} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-tools/json-file-loader@8.0.2': + resolution: {integrity: sha512-gdsOfH+wU4LAineG3oiqw4DNrwAdmr/ZfZ1JiL3wlUsk16P78qmM8jD9H7pkdMuwVdD0e/d+QrVhbo9qQ0CcKw==} + engines: {node: '>=16.0.0'} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-tools/load@8.0.3': + resolution: {integrity: sha512-JE/MdTMcaIQ68U9zaizXG3QkR4Qligv131JVVmVJScxA1gv0gIc+HDixa5YK1rBXYLANU1sZMk87ZVuPaUdAoQ==} + engines: {node: '>=16.0.0'} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-tools/merge@9.0.8': + resolution: {integrity: sha512-RG9NEp4fi0MoFi0te4ahqTMYuavQnXlpEZxxMomdCa6CI5tfekcVm/rsLF5Zt8O4HY+esDt9+4dCL+aOKvG79w==} + engines: {node: '>=16.0.0'} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-tools/optimize@1.4.0': + resolution: {integrity: sha512-dJs/2XvZp+wgHH8T5J2TqptT9/6uVzIYvA6uFACha+ufvdMBedkfR4b4GbT8jAKLRARiqRTxy3dctnwkTM2tdw==} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-tools/optimize@2.0.0': + resolution: {integrity: sha512-nhdT+CRGDZ+bk68ic+Jw1OZ99YCDIKYA5AlVAnBHJvMawSx9YQqQAIj4refNc1/LRieGiuWvhbG3jvPVYho0Dg==} + engines: {node: '>=16.0.0'} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-tools/prisma-loader@8.0.8': + resolution: {integrity: sha512-9jj1x9+stEu9Kib/SvenMayoPgEov03neIrXwmXILuafcAp8eBSCE5eoTkY9w6RGENfhYRXeO4O61yM7BbMsBg==} + engines: {node: '>=16.0.0'} + deprecated: 'This package was intended to be used with an older versions of Prisma.\nThe newer versions of Prisma has a different approach to GraphQL integration.\nTherefore, this package is no longer needed and has been deprecated and removed.\nLearn more: https://www.prisma.io/graphql' + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-tools/relay-operation-optimizer@6.5.18': + resolution: {integrity: sha512-mc5VPyTeV+LwiM+DNvoDQfPqwQYhPV/cl5jOBjTgSniyaq8/86aODfMkrE2OduhQ5E00hqrkuL2Fdrgk0w1QJg==} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-tools/relay-operation-optimizer@7.0.2': + resolution: {integrity: sha512-sdoGBfe6+OXcPYUBMla3KKvf56bk0wCRY2HL4qK/CNP+7752Nx6s24aBqZ5vrnB3tleddAfnG4gvy0JuHfmA+A==} + engines: {node: '>=16.0.0'} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-tools/schema@10.0.7': + resolution: {integrity: sha512-Cz1o+rf9cd3uMgG+zI9HlM5mPlnHQUlk/UQRZyUlPDfT+944taLaokjvj7AI6GcOFVf4f2D11XthQp+0GY31jQ==} + engines: {node: '>=16.0.0'} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-tools/url-loader@8.0.6': + resolution: {integrity: sha512-aUHBBqxRS6/oQBL2b2/CMykvpdj3mlwKTzkoDJeUwjEMdYYQPIcCfz/8FCLZZ7psRBHaHTkZqpcNFSS8KPWyjw==} + engines: {node: '>=16.0.0'} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-tools/utils@10.5.5': + resolution: {integrity: sha512-LF/UDWmMT0mnobL2UZETwYghV7HYBzNaGj0SAkCYOMy/C3+6sQdbcTksnoFaKR9XIVD78jNXEGfivbB8Zd+cwA==} + engines: {node: '>=16.0.0'} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-tools/utils@8.13.1': + resolution: {integrity: sha512-qIh9yYpdUFmctVqovwMdheVNJqFh+DQNWIhX87FJStfXYnmweBUDATok9fWPleKeFwxnW8IapKmY8m8toJEkAw==} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-tools/utils@9.2.1': + resolution: {integrity: sha512-WUw506Ql6xzmOORlriNrD6Ugx+HjVgYxt9KCXD9mHAak+eaXSwuGGPyE60hy9xaDEoXKBsG7SkG69ybitaVl6A==} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-tools/wrap@10.0.9': + resolution: {integrity: sha512-3zOpVnUyc2IRcjwH8GQlW1Yt1PsD6kjqmFmaDlFZeV3+yNT+99e+HDH7bPemLgH1pg89mv6tW6AcxdLbnsOcRQ==} + engines: {node: '>=16.0.0'} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-typed-document-node/core@3.2.0': + resolution: {integrity: sha512-mB9oAsNCm9aM3/SOv4YtBMqZbYj10R7dkq8byBqxGY/ncFwhf2oQzMV+LCRlWoDSEBJ3COiR1yeDvMtsoOsuFQ==} + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@isaacs/cliui@8.0.2': + resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==} + engines: {node: '>=12'} + + '@jest/schemas@29.6.3': + resolution: {integrity: sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + + '@jridgewell/gen-mapping@0.3.5': + resolution: {integrity: sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==} + engines: {node: '>=6.0.0'} + + '@jridgewell/resolve-uri@3.1.2': + resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==} + engines: {node: '>=6.0.0'} + + '@jridgewell/set-array@1.2.1': + resolution: {integrity: sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==} + engines: {node: '>=6.0.0'} + + '@jridgewell/source-map@0.3.6': + resolution: {integrity: sha512-1ZJTZebgqllO79ue2bm3rIGud/bOe0pP5BjSRCRxxYkEZS8STV7zN84UBbiYu7jy+eCKSnVIUgoWWE/tt+shMQ==} + + '@jridgewell/sourcemap-codec@1.5.0': + resolution: {integrity: sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==} + + '@jridgewell/trace-mapping@0.3.25': + resolution: {integrity: sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==} + + '@jridgewell/trace-mapping@0.3.9': + resolution: {integrity: sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==} + + '@kamilkisiela/fast-url-parser@1.1.4': + resolution: {integrity: sha512-gbkePEBupNydxCelHCESvFSFM8XPh1Zs/OAVRW/rKpEqPAl5PbOM90Si8mv9bvnR53uPD2s/FiRxdvSejpRJew==} + + '@molt/command@0.9.0': + resolution: {integrity: sha512-1JI8dAlpqlZoXyKWVQggX7geFNPxBpocHIXQCsnxDjKy+3WX4SGyZVJXuLlqRRrX7FmQCuuMAfx642ovXmPA9g==} + + '@molt/types@0.2.0': + resolution: {integrity: sha512-p6ChnEZDGjg9PYPec9BK6Yp5/DdSrYQvXTBAtgrnqX6N36cZy37ql1c8Tc5LclfIYBNG7EZp8NBcRTYJwyi84g==} + + '@nodelib/fs.scandir@2.1.5': + resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} + engines: {node: '>= 8'} + + '@nodelib/fs.stat@2.0.5': + resolution: {integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==} + engines: {node: '>= 8'} + + '@nodelib/fs.walk@1.2.8': + resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} + engines: {node: '>= 8'} + + '@parcel/watcher-android-arm64@2.4.1': + resolution: {integrity: sha512-LOi/WTbbh3aTn2RYddrO8pnapixAziFl6SMxHM69r3tvdSm94JtCenaKgk1GRg5FJ5wpMCpHeW+7yqPlvZv7kg==} + engines: {node: '>= 10.0.0'} + cpu: [arm64] + os: [android] + + '@parcel/watcher-darwin-arm64@2.4.1': + resolution: {integrity: sha512-ln41eihm5YXIY043vBrrHfn94SIBlqOWmoROhsMVTSXGh0QahKGy77tfEywQ7v3NywyxBBkGIfrWRHm0hsKtzA==} + engines: {node: '>= 10.0.0'} + cpu: [arm64] + os: [darwin] + + '@parcel/watcher-darwin-x64@2.4.1': + resolution: {integrity: sha512-yrw81BRLjjtHyDu7J61oPuSoeYWR3lDElcPGJyOvIXmor6DEo7/G2u1o7I38cwlcoBHQFULqF6nesIX3tsEXMg==} + engines: {node: '>= 10.0.0'} + cpu: [x64] + os: [darwin] + + '@parcel/watcher-freebsd-x64@2.4.1': + resolution: {integrity: sha512-TJa3Pex/gX3CWIx/Co8k+ykNdDCLx+TuZj3f3h7eOjgpdKM+Mnix37RYsYU4LHhiYJz3DK5nFCCra81p6g050w==} + engines: {node: '>= 10.0.0'} + cpu: [x64] + os: [freebsd] + + '@parcel/watcher-linux-arm-glibc@2.4.1': + resolution: {integrity: sha512-4rVYDlsMEYfa537BRXxJ5UF4ddNwnr2/1O4MHM5PjI9cvV2qymvhwZSFgXqbS8YoTk5i/JR0L0JDs69BUn45YA==} + engines: {node: '>= 10.0.0'} + cpu: [arm] + os: [linux] + + '@parcel/watcher-linux-arm64-glibc@2.4.1': + resolution: {integrity: sha512-BJ7mH985OADVLpbrzCLgrJ3TOpiZggE9FMblfO65PlOCdG++xJpKUJ0Aol74ZUIYfb8WsRlUdgrZxKkz3zXWYA==} + engines: {node: '>= 10.0.0'} + cpu: [arm64] + os: [linux] + + '@parcel/watcher-linux-arm64-musl@2.4.1': + resolution: {integrity: sha512-p4Xb7JGq3MLgAfYhslU2SjoV9G0kI0Xry0kuxeG/41UfpjHGOhv7UoUDAz/jb1u2elbhazy4rRBL8PegPJFBhA==} + engines: {node: '>= 10.0.0'} + cpu: [arm64] + os: [linux] + + '@parcel/watcher-linux-x64-glibc@2.4.1': + resolution: {integrity: sha512-s9O3fByZ/2pyYDPoLM6zt92yu6P4E39a03zvO0qCHOTjxmt3GHRMLuRZEWhWLASTMSrrnVNWdVI/+pUElJBBBg==} + engines: {node: '>= 10.0.0'} + cpu: [x64] + os: [linux] + + '@parcel/watcher-linux-x64-musl@2.4.1': + resolution: {integrity: sha512-L2nZTYR1myLNST0O632g0Dx9LyMNHrn6TOt76sYxWLdff3cB22/GZX2UPtJnaqQPdCRoszoY5rcOj4oMTtp5fQ==} + engines: {node: '>= 10.0.0'} + cpu: [x64] + os: [linux] + + '@parcel/watcher-win32-arm64@2.4.1': + resolution: {integrity: sha512-Uq2BPp5GWhrq/lcuItCHoqxjULU1QYEcyjSO5jqqOK8RNFDBQnenMMx4gAl3v8GiWa59E9+uDM7yZ6LxwUIfRg==} + engines: {node: '>= 10.0.0'} + cpu: [arm64] + os: [win32] + + '@parcel/watcher-win32-ia32@2.4.1': + resolution: {integrity: sha512-maNRit5QQV2kgHFSYwftmPBxiuK5u4DXjbXx7q6eKjq5dsLXZ4FJiVvlcw35QXzk0KrUecJmuVFbj4uV9oYrcw==} + engines: {node: '>= 10.0.0'} + cpu: [ia32] + os: [win32] + + '@parcel/watcher-win32-x64@2.4.1': + resolution: {integrity: sha512-+DvS92F9ezicfswqrvIRM2njcYJbd5mb9CUgtrHCHmvn7pPPa+nMDRu1o1bYYz/l5IB2NVGNJWiH7h1E58IF2A==} + engines: {node: '>= 10.0.0'} + cpu: [x64] + os: [win32] + + '@parcel/watcher@2.4.1': + resolution: {integrity: sha512-HNjmfLQEVRZmHRET336f20H/8kOozUGwk7yajvsonjNxbj2wBTK1WsQuHkD5yYh9RxFGL2EyDHryOihOwUoKDA==} + engines: {node: '>= 10.0.0'} + + '@pkgjs/parseargs@0.11.0': + resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==} + engines: {node: '>=14'} + + '@polka/url@1.0.0-next.25': + resolution: {integrity: sha512-j7P6Rgr3mmtdkeDGTe0E/aYyWEWVtc5yFXtHCRHs28/jptDEWfaVOc5T7cblqy1XKPPfCxJc/8DwQ5YgLOZOVQ==} + + '@repeaterjs/repeater@3.0.6': + resolution: {integrity: sha512-Javneu5lsuhwNCryN+pXH93VPQ8g0dBX7wItHFgYiwQmzE1sVdg5tWHiOgHywzL2W21XQopa7IwIEnNbmeUJYA==} + + '@rollup/rollup-android-arm-eabi@4.18.0': + resolution: {integrity: sha512-Tya6xypR10giZV1XzxmH5wr25VcZSncG0pZIjfePT0OVBvqNEurzValetGNarVrGiq66EBVAFn15iYX4w6FKgQ==} + cpu: [arm] + os: [android] + + '@rollup/rollup-android-arm64@4.18.0': + resolution: {integrity: sha512-avCea0RAP03lTsDhEyfy+hpfr85KfyTctMADqHVhLAF3MlIkq83CP8UfAHUssgXTYd+6er6PaAhx/QGv4L1EiA==} + cpu: [arm64] + os: [android] + + '@rollup/rollup-darwin-arm64@4.18.0': + resolution: {integrity: sha512-IWfdwU7KDSm07Ty0PuA/W2JYoZ4iTj3TUQjkVsO/6U+4I1jN5lcR71ZEvRh52sDOERdnNhhHU57UITXz5jC1/w==} + cpu: [arm64] + os: [darwin] + + '@rollup/rollup-darwin-x64@4.18.0': + resolution: {integrity: sha512-n2LMsUz7Ynu7DoQrSQkBf8iNrjOGyPLrdSg802vk6XT3FtsgX6JbE8IHRvposskFm9SNxzkLYGSq9QdpLYpRNA==} + cpu: [x64] + os: [darwin] + + '@rollup/rollup-linux-arm-gnueabihf@4.18.0': + resolution: {integrity: sha512-C/zbRYRXFjWvz9Z4haRxcTdnkPt1BtCkz+7RtBSuNmKzMzp3ZxdM28Mpccn6pt28/UWUCTXa+b0Mx1k3g6NOMA==} + cpu: [arm] + os: [linux] + + '@rollup/rollup-linux-arm-musleabihf@4.18.0': + resolution: {integrity: sha512-l3m9ewPgjQSXrUMHg93vt0hYCGnrMOcUpTz6FLtbwljo2HluS4zTXFy2571YQbisTnfTKPZ01u/ukJdQTLGh9A==} + cpu: [arm] + os: [linux] + + '@rollup/rollup-linux-arm64-gnu@4.18.0': + resolution: {integrity: sha512-rJ5D47d8WD7J+7STKdCUAgmQk49xuFrRi9pZkWoRD1UeSMakbcepWXPF8ycChBoAqs1pb2wzvbY6Q33WmN2ftw==} + cpu: [arm64] + os: [linux] + + '@rollup/rollup-linux-arm64-musl@4.18.0': + resolution: {integrity: sha512-be6Yx37b24ZwxQ+wOQXXLZqpq4jTckJhtGlWGZs68TgdKXJgw54lUUoFYrg6Zs/kjzAQwEwYbp8JxZVzZLRepQ==} + cpu: [arm64] + os: [linux] + + '@rollup/rollup-linux-powerpc64le-gnu@4.18.0': + resolution: {integrity: sha512-hNVMQK+qrA9Todu9+wqrXOHxFiD5YmdEi3paj6vP02Kx1hjd2LLYR2eaN7DsEshg09+9uzWi2W18MJDlG0cxJA==} + cpu: [ppc64] + os: [linux] + + '@rollup/rollup-linux-riscv64-gnu@4.18.0': + resolution: {integrity: sha512-ROCM7i+m1NfdrsmvwSzoxp9HFtmKGHEqu5NNDiZWQtXLA8S5HBCkVvKAxJ8U+CVctHwV2Gb5VUaK7UAkzhDjlg==} + cpu: [riscv64] + os: [linux] + + '@rollup/rollup-linux-s390x-gnu@4.18.0': + resolution: {integrity: sha512-0UyyRHyDN42QL+NbqevXIIUnKA47A+45WyasO+y2bGJ1mhQrfrtXUpTxCOrfxCR4esV3/RLYyucGVPiUsO8xjg==} + cpu: [s390x] + os: [linux] + + '@rollup/rollup-linux-x64-gnu@4.18.0': + resolution: {integrity: sha512-xuglR2rBVHA5UsI8h8UbX4VJ470PtGCf5Vpswh7p2ukaqBGFTnsfzxUBetoWBWymHMxbIG0Cmx7Y9qDZzr648w==} + cpu: [x64] + os: [linux] + + '@rollup/rollup-linux-x64-musl@4.18.0': + resolution: {integrity: sha512-LKaqQL9osY/ir2geuLVvRRs+utWUNilzdE90TpyoX0eNqPzWjRm14oMEE+YLve4k/NAqCdPkGYDaDF5Sw+xBfg==} + cpu: [x64] + os: [linux] + + '@rollup/rollup-win32-arm64-msvc@4.18.0': + resolution: {integrity: sha512-7J6TkZQFGo9qBKH0pk2cEVSRhJbL6MtfWxth7Y5YmZs57Pi+4x6c2dStAUvaQkHQLnEQv1jzBUW43GvZW8OFqA==} + cpu: [arm64] + os: [win32] + + '@rollup/rollup-win32-ia32-msvc@4.18.0': + resolution: {integrity: sha512-Txjh+IxBPbkUB9+SXZMpv+b/vnTEtFyfWZgJ6iyCmt2tdx0OF5WhFowLmnh8ENGNpfUlUZkdI//4IEmhwPieNg==} + cpu: [ia32] + os: [win32] + + '@rollup/rollup-win32-x64-msvc@4.18.0': + resolution: {integrity: sha512-UOo5FdvOL0+eIVTgS4tIdbW+TtnBLWg1YBCcU2KWM7nuNwRz9bksDX1bekJJCpu25N1DVWaCwnT39dVQxzqS8g==} + cpu: [x64] + os: [win32] + + '@sinclair/typebox@0.27.8': + resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==} + + '@swc/core-darwin-arm64@1.3.107': + resolution: {integrity: sha512-47tD/5vSXWxPd0j/ZllyQUg4bqalbQTsmqSw0J4dDdS82MWqCAwUErUrAZPRjBkjNQ6Kmrf5rpCWaGTtPw+ngw==} + engines: {node: '>=10'} + cpu: [arm64] + os: [darwin] + + '@swc/core-darwin-x64@1.3.107': + resolution: {integrity: sha512-hwiLJ2ulNkBGAh1m1eTfeY1417OAYbRGcb/iGsJ+LuVLvKAhU/itzsl535CvcwAlt2LayeCFfcI8gdeOLeZa9A==} + engines: {node: '>=10'} + cpu: [x64] + os: [darwin] + + '@swc/core-linux-arm-gnueabihf@1.3.107': + resolution: {integrity: sha512-I2wzcC0KXqh0OwymCmYwNRgZ9nxX7DWnOOStJXV3pS0uB83TXAkmqd7wvMBuIl9qu4Hfomi9aDM7IlEEn9tumQ==} + engines: {node: '>=10'} + cpu: [arm] + os: [linux] + + '@swc/core-linux-arm64-gnu@1.3.107': + resolution: {integrity: sha512-HWgnn7JORYlOYnGsdunpSF8A+BCZKPLzLtEUA27/M/ZuANcMZabKL9Zurt7XQXq888uJFAt98Gy+59PU90aHKg==} + engines: {node: '>=10'} + cpu: [arm64] + os: [linux] + + '@swc/core-linux-arm64-musl@1.3.107': + resolution: {integrity: sha512-vfPF74cWfAm8hyhS8yvYI94ucMHIo8xIYU+oFOW9uvDlGQRgnUf/6DEVbLyt/3yfX5723Ln57U8uiMALbX5Pyw==} + engines: {node: '>=10'} + cpu: [arm64] + os: [linux] + + '@swc/core-linux-x64-gnu@1.3.107': + resolution: {integrity: sha512-uBVNhIg0ip8rH9OnOsCARUFZ3Mq3tbPHxtmWk9uAa5u8jQwGWeBx5+nTHpDOVd3YxKb6+5xDEI/edeeLpha/9g==} + engines: {node: '>=10'} + cpu: [x64] + os: [linux] + + '@swc/core-linux-x64-musl@1.3.107': + resolution: {integrity: sha512-mvACkUvzSIB12q1H5JtabWATbk3AG+pQgXEN95AmEX2ZA5gbP9+B+mijsg7Sd/3tboHr7ZHLz/q3SHTvdFJrEw==} + engines: {node: '>=10'} + cpu: [x64] + os: [linux] + + '@swc/core-win32-arm64-msvc@1.3.107': + resolution: {integrity: sha512-J3P14Ngy/1qtapzbguEH41kY109t6DFxfbK4Ntz9dOWNuVY3o9/RTB841ctnJk0ZHEG+BjfCJjsD2n8H5HcaOA==} + engines: {node: '>=10'} + cpu: [arm64] + os: [win32] + + '@swc/core-win32-ia32-msvc@1.3.107': + resolution: {integrity: sha512-ZBUtgyjTHlz8TPJh7kfwwwFma+ktr6OccB1oXC8fMSopD0AxVnQasgun3l3099wIsAB9eEsJDQ/3lDkOLs1gBA==} + engines: {node: '>=10'} + cpu: [ia32] + os: [win32] + + '@swc/core-win32-x64-msvc@1.3.107': + resolution: {integrity: sha512-Eyzo2XRqWOxqhE1gk9h7LWmUf4Bp4Xn2Ttb0ayAXFp6YSTxQIThXcT9kipXZqcpxcmDwoq8iWbbf2P8XL743EA==} + engines: {node: '>=10'} + cpu: [x64] + os: [win32] + + '@swc/core@1.3.107': + resolution: {integrity: sha512-zKhqDyFcTsyLIYK1iEmavljZnf4CCor5pF52UzLAz4B6Nu/4GLU+2LQVAf+oRHjusG39PTPjd2AlRT3f3QWfsQ==} + engines: {node: '>=10'} + peerDependencies: + '@swc/helpers': ^0.5.0 + peerDependenciesMeta: + '@swc/helpers': + optional: true + + '@swc/counter@0.1.3': + resolution: {integrity: sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==} + + '@swc/helpers@0.5.15': + resolution: {integrity: sha512-JQ5TuMi45Owi4/BIMAJBoSQoOJu12oOk/gADqlcUL9JEdHB8vyjUSsxqeNXnmXHjYKMi2WcYtezGEEhqUI/E2g==} + + '@swc/types@0.1.8': + resolution: {integrity: sha512-RNFA3+7OJFNYY78x0FYwi1Ow+iF1eF5WvmfY1nXPOEH4R2p/D4Cr1vzje7dNAI2aLFqpv8Wyz4oKSWqIZArpQA==} + + '@tanstack/query-core@5.45.0': + resolution: {integrity: sha512-RVfIZQmFUTdjhSAAblvueimfngYyfN6HlwaJUPK71PKd7yi43Vs1S/rdimmZedPWX/WGppcq/U1HOj7O7FwYxw==} + + '@tanstack/react-query@5.45.0': + resolution: {integrity: sha512-y272cKRJp1BvehrWG4ashOBuqBj1Qm2O6fgYJ9LYSHrLdsCXl74GbSVjUQTReUdHuRIl9cEOoyPa6HYag400lw==} + peerDependencies: + react: ^18.0.0 + + '@tsconfig/node10@1.0.11': + resolution: {integrity: sha512-DcRjDCujK/kCk/cUe8Xz8ZSpm8mS3mNNpta+jGCA6USEDfktlNvm1+IuZ9eTcDbNk41BHwpHHeW+N1lKCz4zOw==} + + '@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/estree@1.0.5': + resolution: {integrity: sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==} + + '@types/estree@1.0.8': + resolution: {integrity: sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==} + + '@types/js-yaml@4.0.9': + resolution: {integrity: sha512-k4MGaQl5TGo/iipqb2UDG2UwjXziSWkh0uysQelTlJpX1qGlpUZYm8PnO4DxG1qBomtJUdYJ6qR6xdIah10JLg==} + + '@types/node@22.7.5': + resolution: {integrity: sha512-jML7s2NAzMWc//QSJ1a3prpk78cOPchGvXJsC3C6R6PSMoooztvRVQEz89gmBTBY1SPMaqo5teB4uNHPdetShQ==} + + '@types/ws@8.5.12': + resolution: {integrity: sha512-3tPRkv1EtkDpzlgyKyI8pGsGZAGPEaXeu0DOj5DI25Ja91bdAYddYHbADRYVrZMRbfW+1l5YwXVDKohDJNQxkQ==} + + '@vitest/expect@1.6.0': + resolution: {integrity: sha512-ixEvFVQjycy/oNgHjqsL6AZCDduC+tflRluaHIzKIsdbzkLn2U/iBnVeJwB6HsIjQBdfMR8Z0tRxKUsvFJEeWQ==} + + '@vitest/runner@1.6.0': + resolution: {integrity: sha512-P4xgwPjwesuBiHisAVz/LSSZtDjOTPYZVmNAnpHHSR6ONrf8eCJOFRvUwdHn30F5M1fxhqtl7QZQUk2dprIXAg==} + + '@vitest/snapshot@1.6.0': + resolution: {integrity: sha512-+Hx43f8Chus+DCmygqqfetcAZrDJwvTj0ymqjQq4CvmpKFSTVteEOBzCusu1x2tt4OJcvBflyHUE0DZSLgEMtQ==} + + '@vitest/spy@1.6.0': + resolution: {integrity: sha512-leUTap6B/cqi/bQkXUu6bQV5TZPx7pmMBKBQiI0rJA8c3pB56ZsaTbREnF7CJfmvAS4V2cXIBAh/3rVwrrCYgw==} + + '@vitest/ui@1.6.0': + resolution: {integrity: sha512-k3Lyo+ONLOgylctiGovRKy7V4+dIN2yxstX3eY5cWFXH6WP+ooVX79YSyi0GagdTQzLmT43BF27T0s6dOIPBXA==} + peerDependencies: + vitest: 1.6.0 + + '@vitest/utils@1.6.0': + resolution: {integrity: sha512-21cPiuGMoMZwiOHa2i4LXkMkMkCGzA+MVFV70jRwHo95dL4x/ts5GZhML1QWuy7yfp3WzK3lRvZi3JnXTYqrBw==} + + '@whatwg-node/fetch@0.9.21': + resolution: {integrity: sha512-Wt0jPb+04JjobK0pAAN7mEHxVHcGA9HoP3OyCsZtyAecNQeADXCZ1MihFwVwjsgaRYuGVmNlsCmLxlG6mor8Gw==} + engines: {node: '>=18.0.0'} + + '@whatwg-node/node-fetch@0.5.26': + resolution: {integrity: sha512-4jXDeZ4IH4bylZ6wu14VEx0aDXXhrN4TC279v9rPmn08g4EYekcYf8wdcOOnS9STjDkb6x77/6xBUTqxGgjr8g==} + engines: {node: '>=18.0.0'} + + acorn-walk@8.3.2: + resolution: {integrity: sha512-cjkyv4OtNCIeqhHrfS81QWXoCBPExR/J62oyEqepVw8WaQeSqpW2uhuLPh1m9eWhDuOo/jUXVTlifvesOWp/4A==} + engines: {node: '>=0.4.0'} + + acorn@8.11.3: + resolution: {integrity: sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==} + engines: {node: '>=0.4.0'} + hasBin: true + + acorn@8.15.0: + resolution: {integrity: sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==} + engines: {node: '>=0.4.0'} + hasBin: true + + agent-base@7.1.1: + resolution: {integrity: sha512-H0TSyFNDMomMNJQBn8wFV5YC/2eJ+VXECwOadZJT554xP6cODZHPX3H9QMQECxvrgiSOP1pHjy1sMWQVYJOUOA==} + engines: {node: '>= 14'} + + aggregate-error@3.1.0: + resolution: {integrity: sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==} + engines: {node: '>=8'} + + alge@0.8.1: + resolution: {integrity: sha512-kiV9nTt+XIauAXsowVygDxMZLplZxDWt0W8plE/nB32/V2ziM/P/TxDbSVK7FYIUt2Xo16h3/htDh199LNPCKQ==} + + ansi-colors@4.1.3: + resolution: {integrity: sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==} + engines: {node: '>=6'} + + ansi-escapes@4.3.2: + resolution: {integrity: sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==} + engines: {node: '>=8'} + + ansi-regex@5.0.1: + resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} + engines: {node: '>=8'} + + ansi-regex@6.0.1: + resolution: {integrity: sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==} + engines: {node: '>=12'} + + ansi-styles@3.2.1: + resolution: {integrity: sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==} + engines: {node: '>=4'} + + ansi-styles@4.3.0: + resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==} + engines: {node: '>=8'} + + ansi-styles@5.2.0: + resolution: {integrity: sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==} + engines: {node: '>=10'} + + ansi-styles@6.2.1: + resolution: {integrity: sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==} + engines: {node: '>=12'} + + any-promise@1.3.0: + resolution: {integrity: sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==} + + anymatch@3.1.3: + resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==} + engines: {node: '>= 8'} + + arg@4.1.3: + resolution: {integrity: sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==} + + argparse@2.0.1: + resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==} + + array-union@2.1.0: + resolution: {integrity: sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==} + engines: {node: '>=8'} + + asap@2.0.6: + resolution: {integrity: sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==} + + assertion-error@1.1.0: + resolution: {integrity: sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==} + + astral-regex@2.0.0: + resolution: {integrity: sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==} + engines: {node: '>=8'} + + asynckit@0.4.0: + resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==} + + auto-bind@4.0.0: + resolution: {integrity: sha512-Hdw8qdNiqdJ8LqT0iK0sVzkFbzg6fhnQqqfWhBDxcHZvU75+B+ayzTy8x+k5Ix0Y92XOhOUlx74ps+bA6BeYMQ==} + engines: {node: '>=8'} + + babel-plugin-syntax-trailing-function-commas@7.0.0-beta.0: + resolution: {integrity: sha512-Xj9XuRuz3nTSbaTXWv3itLOcxyF4oPD8douBBmj7U9BBC6nEBYfyOJYQMf/8PJAFotC62UY5dFfIGEPr7WswzQ==} + + babel-preset-fbjs@3.4.0: + resolution: {integrity: sha512-9ywCsCvo1ojrw0b+XYk7aFvTH6D9064t0RIL1rtMf3nsa02Xw41MS7sZw216Im35xj/UY0PDBQsa1brUDDF1Ow==} + peerDependencies: + '@babel/core': ^7.0.0 + + balanced-match@1.0.2: + resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} + + base64-js@1.5.1: + resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==} + + binary-extensions@2.3.0: + resolution: {integrity: sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==} + engines: {node: '>=8'} + + bl@4.1.0: + resolution: {integrity: sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==} + + brace-expansion@1.1.11: + resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==} + + brace-expansion@2.0.1: + resolution: {integrity: sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==} + + braces@3.0.3: + resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==} + engines: {node: '>=8'} + + browserslist@4.25.1: + resolution: {integrity: sha512-KGj0KoOMXLpSNkkEI6Z6mShmQy0bc1I+T7K9N81k4WWMrfz+6fQ6es80B/YLAeRoKvjYE1YSHHOW1qe9xIVzHw==} + engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} + hasBin: true + + bser@2.1.1: + resolution: {integrity: sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==} + + buffer-from@1.1.2: + resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==} + + buffer@5.7.1: + resolution: {integrity: sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==} + + bufferutil@4.0.8: + resolution: {integrity: sha512-4T53u4PdgsXqKaIctwF8ifXlRTTmEPJ8iEPWFdGZvcf7sbwYo6FKFEX9eNNAnzFZ7EzJAQ3CJeOtCRA4rDp7Pw==} + engines: {node: '>=6.14.2'} + + bundle-require@4.2.1: + resolution: {integrity: sha512-7Q/6vkyYAwOmQNRw75x+4yRtZCZJXUDmHHlFdkiV0wgv/reNjtJwpu1jPJ0w2kbEpIM0uoKI3S4/f39dU7AjSA==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + peerDependencies: + esbuild: '>=0.17' + + busboy@1.6.0: + resolution: {integrity: sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==} + engines: {node: '>=10.16.0'} + + cac@6.7.14: + resolution: {integrity: sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==} + engines: {node: '>=8'} + + callsites@3.1.0: + resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} + engines: {node: '>=6'} + + camel-case@4.1.2: + resolution: {integrity: sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==} + + camelcase@5.3.1: + resolution: {integrity: sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==} + engines: {node: '>=6'} + + caniuse-lite@1.0.30001726: + resolution: {integrity: sha512-VQAUIUzBiZ/UnlM28fSp2CRF3ivUn1BWEvxMcVTNwpw91Py1pGbPIyIKtd+tzct9C3ouceCVdGAXxZOpZAsgdw==} + + capital-case@1.0.4: + resolution: {integrity: sha512-ds37W8CytHgwnhGGTi88pcPyR15qoNkOpYwmMMfnWqqWgESapLqvDx6huFjQ5vqWSn2Z06173XNA7LtMOeUh1A==} + + chai@4.4.1: + resolution: {integrity: sha512-13sOfMv2+DWduEU+/xbun3LScLoqN17nBeTLUsmDfKdoiC1fr0n9PU4guu4AhRcOVFk/sW8LyZWHuhWtQZiF+g==} + engines: {node: '>=4'} + + chalk@2.4.2: + resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==} + engines: {node: '>=4'} + + chalk@4.1.2: + resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==} + engines: {node: '>=10'} + + chalk@5.4.1: + resolution: {integrity: sha512-zgVZuo2WcZgfUEmsn6eO3kINexW8RAE4maiQ8QNs8CtpPCSyMiYsULR3HQYkm3w8FIA3SberyMJMSldGsW+U3w==} + engines: {node: ^12.17.0 || ^14.13 || >=16.0.0} + + change-case-all@1.0.14: + resolution: {integrity: sha512-CWVm2uT7dmSHdO/z1CXT/n47mWonyypzBbuCy5tN7uMg22BsfkhwT6oHmFCAk+gL1LOOxhdbB9SZz3J1KTY3gA==} + + change-case-all@1.0.15: + resolution: {integrity: sha512-3+GIFhk3sNuvFAJKU46o26OdzudQlPNBCu1ZQi3cMeMHhty1bhDxu2WrEilVNYaGvqUtR1VSigFcJOiS13dRhQ==} + + change-case@4.1.2: + resolution: {integrity: sha512-bSxY2ws9OtviILG1EiY5K7NNxkqg/JnRnFxLtKQ96JaviiIxi7djMrSd0ECT9AC+lttClmYwKw53BWpOMblo7A==} + + chardet@0.7.0: + resolution: {integrity: sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==} + + check-error@1.0.3: + resolution: {integrity: sha512-iKEoDYaRmd1mxM90a2OEfWhjsjPpYPuQ+lMYsoxB126+t8fw7ySEO48nmDg5COTjxDI65/Y2OWpeEHk3ZOe8zg==} + + chokidar@3.6.0: + resolution: {integrity: sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==} + engines: {node: '>= 8.10.0'} + + clean-stack@2.2.0: + resolution: {integrity: sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==} + engines: {node: '>=6'} + + cli-cursor@3.1.0: + resolution: {integrity: sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==} + engines: {node: '>=8'} + + cli-spinners@2.9.2: + resolution: {integrity: sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==} + engines: {node: '>=6'} + + cli-truncate@2.1.0: + resolution: {integrity: sha512-n8fOixwDD6b/ObinzTrp1ZKFzbgvKZvuz/TvejnLn1aQfC6r52XEx85FmuC+3HI+JM7coBRXUvNqEU2PHVrHpg==} + engines: {node: '>=8'} + + cli-width@3.0.0: + resolution: {integrity: sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw==} + engines: {node: '>= 10'} + + cliui@6.0.0: + resolution: {integrity: sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==} + + cliui@8.0.1: + resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==} + engines: {node: '>=12'} + + clone@1.0.4: + resolution: {integrity: sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==} + engines: {node: '>=0.8'} + + color-convert@1.9.3: + resolution: {integrity: sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==} + + color-convert@2.0.1: + resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==} + engines: {node: '>=7.0.0'} + + color-name@1.1.3: + resolution: {integrity: sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==} + + color-name@1.1.4: + resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==} + + colorette@2.0.20: + resolution: {integrity: sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==} + + combined-stream@1.0.8: + resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==} + engines: {node: '>= 0.8'} + + commander@2.20.3: + resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==} + + commander@4.1.1: + resolution: {integrity: sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==} + engines: {node: '>= 6'} + + common-tags@1.8.2: + resolution: {integrity: sha512-gk/Z852D2Wtb//0I+kRFNKKE9dIIVirjoqPoA1wJU+XePVXZfGeBpk45+A1rKO4Q43prqWBNY/MiIeRLbPWUaA==} + engines: {node: '>=4.0.0'} + + concat-map@0.0.1: + resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} + + concurrently@8.2.2: + resolution: {integrity: sha512-1dP4gpXFhei8IOtlXRE/T/4H88ElHgTiUzh71YUmtjTEHMSRS2Z/fgOxHSxxusGHogsRfxNq1vyAwxSC+EVyDg==} + engines: {node: ^14.13.0 || >=16.0.0} + hasBin: true + + confbox@0.1.7: + resolution: {integrity: sha512-uJcB/FKZtBMCJpK8MQji6bJHgu1tixKPxRLeGkNzBoOZzpnZUJm0jm2/sBDWcuBx1dYgxV4JU+g5hmNxCyAmdA==} + + constant-case@3.0.4: + resolution: {integrity: sha512-I2hSBi7Vvs7BEuJDr5dDHfzb/Ruj3FyvFyh7KLilAjNQw3Be+xgqUBA2W6scVEcL0hL1dwPRtIqEPVUCKkSsyQ==} + + convert-source-map@2.0.0: + resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==} + + cosmiconfig@8.3.6: + resolution: {integrity: sha512-kcZ6+W5QzcJ3P1Mt+83OUv/oHFqZHIx8DuxG6eZ5RGMERoLqp4BuGjhHLYGK+Kf5XVkQvqBSmAy/nGWN3qDgEA==} + engines: {node: '>=14'} + peerDependencies: + typescript: '>=4.9.5' + peerDependenciesMeta: + typescript: + optional: true + + 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==} + + cross-inspect@1.0.1: + resolution: {integrity: sha512-Pcw1JTvZLSJH83iiGWt6fRcT+BjZlCDRVwYLbUcHzv/CRpB7r0MlSrGbIyQvVSNyGnbt7G4AXuyCiDR3POvZ1A==} + engines: {node: '>=16.0.0'} + + cross-spawn@7.0.6: + resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==} + engines: {node: '>= 8'} + + cssstyle@4.5.0: + resolution: {integrity: sha512-/7gw8TGrvH/0g564EnhgFZogTMVe+lifpB7LWU+PEsiq5o83TUXR3fDbzTRXOJhoJwck5IS9ez3Em5LNMMO2aw==} + engines: {node: '>=18'} + + data-urls@5.0.0: + resolution: {integrity: sha512-ZYP5VBHshaDAiVZxjbRVcFJpc+4xGgT0bK3vzy1HLN8jTO975HEbuYzZJcHoQEY5K1a0z8YayJkyVETa08eNTg==} + engines: {node: '>=18'} + + dataloader@2.2.2: + resolution: {integrity: sha512-8YnDaaf7N3k/q5HnTJVuzSyLETjoZjVmHc4AeKAzOvKHEFQKcn64OKBfzHYtE9zGjctNM7V9I0MfnUVLpi7M5g==} + + date-fns@2.30.0: + resolution: {integrity: sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw==} + engines: {node: '>=0.11'} + + debounce@1.2.1: + resolution: {integrity: sha512-XRRe6Glud4rd/ZGQfiV1ruXSfbvfJedlV9Y6zOlP+2K04vBYiJEte6stfFkCP03aMnY5tsipamumUjL14fofug==} + + debug@4.3.5: + resolution: {integrity: sha512-pt0bNEmneDIvdL1Xsd9oDQ/wrQRkXDT4AUWlNZNPKvW5x/jyO9VFXkJUP07vQ2upmw5PlaITaPKc31jK13V+jg==} + engines: {node: '>=6.0'} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + + debug@4.4.1: + resolution: {integrity: sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==} + engines: {node: '>=6.0'} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + + decamelize@1.2.0: + resolution: {integrity: sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==} + engines: {node: '>=0.10.0'} + + decimal.js@10.4.3: + resolution: {integrity: sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA==} + + deep-eql@4.1.4: + resolution: {integrity: sha512-SUwdGfqdKOwxCPeVYjwSyRpJ7Z+fhpwIAtmCUdZIWZ/YP5R9WAsyuSgpLVDi9bjWoN2LXHNss/dk3urXtdQxGg==} + engines: {node: '>=6'} + + defaults@1.0.4: + resolution: {integrity: sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==} + + delayed-stream@1.0.0: + resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==} + engines: {node: '>=0.4.0'} + + dependency-graph@0.11.0: + resolution: {integrity: sha512-JeMq7fEshyepOWDfcfHK06N3MhyPhz++vtqWhMT5O9A3K42rdsEDpfdVqjaqaAhsw6a+ZqeDvQVtD0hFHQWrzg==} + engines: {node: '>= 0.6.0'} + + detect-indent@6.1.0: + resolution: {integrity: sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==} + engines: {node: '>=8'} + + detect-libc@1.0.3: + resolution: {integrity: sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==} + engines: {node: '>=0.10'} + hasBin: true + + diff-sequences@29.6.3: + 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'} + + dir-glob@3.0.1: + resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==} + engines: {node: '>=8'} + + dot-case@3.0.4: + resolution: {integrity: sha512-Kv5nKlh6yRrdrGvxeJ2e5y2eRUpkUosIW4A2AS38zwSz27zu7ufDwQPi5Jhs3XAlGNetl3bmnGhQsMtkKJnj3w==} + + dotenv@16.5.0: + resolution: {integrity: sha512-m/C+AwOAr9/W1UOIZUo232ejMNnJAJtYQjUbHoNTBNTJSvqzzDh7vnrei3o3r3m9blf6ZoDkvcw0VmozNRFJxg==} + engines: {node: '>=12'} + + dset@3.1.4: + resolution: {integrity: sha512-2QF/g9/zTaPDc3BjNcVTGoBbXBgYfMTTceLaYcFJ/W9kggFUkhxD/hMEeuLKbugyef9SqAx8cpgwlIP/jinUTA==} + engines: {node: '>=4'} + + eastasianwidth@0.2.0: + resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} + + electron-to-chromium@1.5.178: + resolution: {integrity: sha512-wObbz/ar3Bc6e4X5vf0iO8xTN8YAjN/tgiAOJLr7yjYFtP9wAjq8Mb5h0yn6kResir+VYx2DXBj9NNobs0ETSA==} + + emoji-regex@8.0.0: + resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} + + emoji-regex@9.2.2: + resolution: {integrity: sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==} + + encoding@0.1.13: + resolution: {integrity: sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==} + + enquirer@2.4.1: + resolution: {integrity: sha512-rRqJg/6gd538VHvR3PSrdRBb/1Vy2YfzHqzvbhGIQpDRKIa4FgV/54b5Q1xYSxOOwKvjXweS26E0Q+nAMwp2pQ==} + engines: {node: '>=8.6'} + + entities@4.5.0: + resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==} + engines: {node: '>=0.12'} + + error-ex@1.3.2: + resolution: {integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==} + + esbuild@0.17.19: + resolution: {integrity: sha512-XQ0jAPFkK/u3LcVRcvVHQcTIqD6E2H1fvZMA5dQPSOWb3suUbWbfbRf94pjc0bNzRYLfIrDRQXr7X+LHIm5oHw==} + engines: {node: '>=12'} + hasBin: true + + esbuild@0.20.2: + resolution: {integrity: sha512-WdOOppmUNU+IbZ0PaDiTst80zjnrOkyJNHoKupIcVyU8Lvla3Ugx94VzkQ32Ijqd7UhHJy75gNWDMUekcrSJ6g==} + engines: {node: '>=12'} + hasBin: true + + escalade@3.2.0: + resolution: {integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==} + engines: {node: '>=6'} + + escape-string-regexp@1.0.5: + resolution: {integrity: sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==} + engines: {node: '>=0.8.0'} + + estree-walker@3.0.3: + resolution: {integrity: sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==} + + execa@5.1.1: + resolution: {integrity: sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==} + engines: {node: '>=10'} + + execa@8.0.1: + resolution: {integrity: sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==} + engines: {node: '>=16.17'} + + external-editor@3.1.0: + resolution: {integrity: sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==} + engines: {node: '>=4'} + + extract-files@11.0.0: + resolution: {integrity: sha512-FuoE1qtbJ4bBVvv94CC7s0oTnKUGvQs+Rjf1L2SJFfS+HTVVjhPFtehPdQ0JiGPqVNfSSZvL5yzHHQq2Z4WNhQ==} + engines: {node: ^12.20 || >= 14.13} + + fast-decode-uri-component@1.0.1: + resolution: {integrity: sha512-WKgKWg5eUxvRZGwW8FvfbaH7AXSh2cL+3j5fMGzUMCxWBJ3dV3a7Wz8y2f/uQ0e3B6WmodD3oS54jTQ9HVTIIg==} + + fast-glob@3.3.3: + resolution: {integrity: sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==} + engines: {node: '>=8.6.0'} + + fast-querystring@1.1.2: + resolution: {integrity: sha512-g6KuKWmFXc0fID8WWH0jit4g0AGBoJhCkJMb1RmbsSEUNvQ+ZC8D6CUZ+GtF8nMzSPXnhiePyyqqipzNNEnHjg==} + + fastq@1.17.1: + resolution: {integrity: sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==} + + fb-watchman@2.0.2: + resolution: {integrity: sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA==} + + fbjs-css-vars@1.0.2: + resolution: {integrity: sha512-b2XGFAFdWZWg0phtAWLHCk836A1Xann+I+Dgd3Gk64MHKZO44FfoD1KxyvbSh0qZsIoXQGGlVztIY+oitJPpRQ==} + + fbjs@3.0.5: + resolution: {integrity: sha512-ztsSx77JBtkuMrEypfhgc3cI0+0h+svqeie7xHbh1k/IKdcydnvadp/mUaGgjAOXQmQSxsqgaRhS3q9fy+1kxg==} + + fflate@0.8.2: + resolution: {integrity: sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A==} + + figures@3.2.0: + resolution: {integrity: sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==} + engines: {node: '>=8'} + + fill-range@7.1.1: + resolution: {integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==} + engines: {node: '>=8'} + + find-up@4.1.0: + resolution: {integrity: sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==} + engines: {node: '>=8'} + + flatted@3.3.1: + resolution: {integrity: sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==} + + foreground-child@3.2.0: + resolution: {integrity: sha512-CrWQNaEl1/6WeZoarcM9LHupTo3RpZO2Pdk1vktwzPiQTsJnAKJmm3TACKeG5UZbWDfaH2AbvYxzP96y0MT7fA==} + engines: {node: '>=14'} + + form-data@4.0.0: + resolution: {integrity: sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==} + engines: {node: '>= 6'} + + fs.realpath@1.0.0: + resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} + + fsevents@2.3.3: + resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==} + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + os: [darwin] + + gensync@1.0.0-beta.2: + resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==} + engines: {node: '>=6.9.0'} + + get-caller-file@2.0.5: + resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==} + engines: {node: 6.* || 8.* || >= 10.*} + + get-func-name@2.0.2: + resolution: {integrity: sha512-8vXOvuE167CtIc3OyItco7N/dpRtBbYOsPsXCz7X/PMnlGjYjSGuZJgM1Y7mmew7BKf9BqvLX2tnOVy1BBUsxQ==} + + get-stream@6.0.1: + resolution: {integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==} + engines: {node: '>=10'} + + get-stream@8.0.1: + resolution: {integrity: sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==} + engines: {node: '>=16'} + + glob-parent@5.1.2: + resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==} + engines: {node: '>= 6'} + + glob@10.4.1: + resolution: {integrity: sha512-2jelhlq3E4ho74ZyVLN03oKdAZVUa6UDZzFLVH1H7dnoax+y9qyaq8zBkfDIggjniU19z0wU18y16jMB2eyVIw==} + engines: {node: '>=16 || 14 >=14.18'} + hasBin: true + + glob@7.2.3: + resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} + deprecated: Glob versions prior to v9 are no longer supported + + globals@11.12.0: + resolution: {integrity: sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==} + engines: {node: '>=4'} + + globby@11.1.0: + resolution: {integrity: sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==} + engines: {node: '>=10'} + + graphql-config@5.1.3: + resolution: {integrity: sha512-RBhejsPjrNSuwtckRlilWzLVt2j8itl74W9Gke1KejDTz7oaA5kVd6wRn9zK9TS5mcmIYGxf7zN7a1ORMdxp1Q==} + engines: {node: '>= 16.0.0'} + peerDependencies: + cosmiconfig-toml-loader: ^1.0.0 + graphql: ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + peerDependenciesMeta: + cosmiconfig-toml-loader: + optional: true + + graphql-request@6.1.0: + resolution: {integrity: sha512-p+XPfS4q7aIpKVcgmnZKhMNqhltk20hfXtkaIkTfjjmiKMJ5xrt5c743cL03y/K7y1rg3WrIC49xGiEQ4mxdNw==} + peerDependencies: + graphql: 14 - 16 + + graphql-request@7.1.0: + resolution: {integrity: sha512-Ouu/lYVFhARS1aXeZoVJWnGT6grFJXTLwXJuK4mUGGRo0EUk1JkyYp43mdGmRgUVezpRm6V5Sq3t8jBDQcajng==} + hasBin: true + peerDependencies: + '@dprint/formatter': ^0.3.0 + '@dprint/typescript': ^0.91.1 + dprint: ^0.46.2 + graphql: 14 - 16 + peerDependenciesMeta: + '@dprint/formatter': + optional: true + '@dprint/typescript': + optional: true + dprint: + optional: true + + graphql-tag@2.12.6: + resolution: {integrity: sha512-FdSNcu2QQcWnM2VNvSCCDCVS5PpPqpzgFT8+GXzqJuoDd0CBncxCY278u4mhRO7tMgo2JjgJA5aZ+nWSQ/Z+xg==} + engines: {node: '>=10'} + peerDependencies: + graphql: ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + + graphql-ws@5.16.0: + resolution: {integrity: sha512-Ju2RCU2dQMgSKtArPbEtsK5gNLnsQyTNIo/T7cZNp96niC1x0KdJNZV0TIoilceBPQwfb5itrGl8pkFeOUMl4A==} + engines: {node: '>=10'} + peerDependencies: + graphql: '>=0.11 <=16' + + graphql@16.9.0: + resolution: {integrity: sha512-GGTKBX4SD7Wdb8mqeDLni2oaRGYQWjWHGKPQ24ZMnUtKfcsVoiv4uX8+LJr1K6U5VW2Lu1BwJnj7uiori0YtRw==} + engines: {node: ^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0} + + has-flag@3.0.0: + resolution: {integrity: sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==} + engines: {node: '>=4'} + + has-flag@4.0.0: + resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==} + engines: {node: '>=8'} + + header-case@2.0.4: + resolution: {integrity: sha512-H/vuk5TEEVZwrR0lp2zed9OCo1uAILMlx0JEMgC26rzyJJ3N1v6XkwHHXJQdR2doSjcGPM6OKPYoJgf0plJ11Q==} + + html-encoding-sniffer@4.0.0: + resolution: {integrity: sha512-Y22oTqIU4uuPgEemfz7NDJz6OeKf12Lsu+QC+s3BVpda64lTiMYCyGwg5ki4vFxkMwQdeZDl2adZoqUgdFuTgQ==} + engines: {node: '>=18'} + + http-proxy-agent@7.0.2: + resolution: {integrity: sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==} + engines: {node: '>= 14'} + + https-proxy-agent@7.0.5: + resolution: {integrity: sha512-1e4Wqeblerz+tMKPIq2EMGiiWW1dIjZOksyHWSUm1rmuvw/how9hBHZ38lAGj5ID4Ik6EdkOw7NmWPy6LAwalw==} + engines: {node: '>= 14'} + + human-signals@2.1.0: + resolution: {integrity: sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==} + engines: {node: '>=10.17.0'} + + human-signals@5.0.0: + resolution: {integrity: sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==} + engines: {node: '>=16.17.0'} + + iconv-lite@0.4.24: + resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==} + engines: {node: '>=0.10.0'} + + iconv-lite@0.6.3: + resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==} + engines: {node: '>=0.10.0'} + + ieee754@1.2.1: + resolution: {integrity: sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==} + + ignore@5.3.2: + resolution: {integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==} + engines: {node: '>= 4'} + + immutable@3.7.6: + resolution: {integrity: sha512-AizQPcaofEtO11RZhPPHBOJRdo/20MKQF9mBLnVkBoyHi1/zXK8fzVdnEpSV9gxqtnh6Qomfp3F0xT5qP/vThw==} + engines: {node: '>=0.8.0'} + + import-fresh@3.3.0: + resolution: {integrity: sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==} + engines: {node: '>=6'} + + import-from@4.0.0: + resolution: {integrity: sha512-P9J71vT5nLlDeV8FHs5nNxaLbrpfAV5cF5srvbZfpwpcJoM/xZR3hiv+q+SAnuSmuGbXMWud063iIMx/V/EWZQ==} + engines: {node: '>=12.2'} + + indent-string@4.0.0: + resolution: {integrity: sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==} + engines: {node: '>=8'} + + inflight@1.0.6: + resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} + deprecated: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. + + inherits@2.0.4: + resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} + + inquirer@8.2.6: + resolution: {integrity: sha512-M1WuAmb7pn9zdFRtQYk26ZBoY043Sse0wVDdk4Bppr+JOXyQYybdtvK+l9wUibhtjdjvtoiNy8tk+EgsYIUqKg==} + engines: {node: '>=12.0.0'} + + invariant@2.2.4: + resolution: {integrity: sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==} + + is-absolute@1.0.0: + resolution: {integrity: sha512-dOWoqflvcydARa360Gvv18DZ/gRuHKi2NU/wU5X1ZFzdYfH29nkiNZsF3mp4OJ3H4yo9Mx8A/uAGNzpzPN3yBA==} + engines: {node: '>=0.10.0'} + + is-arrayish@0.2.1: + resolution: {integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==} + + is-binary-path@2.1.0: + resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==} + engines: {node: '>=8'} + + is-extglob@2.1.1: + resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==} + engines: {node: '>=0.10.0'} + + is-fullwidth-code-point@3.0.0: + resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==} + engines: {node: '>=8'} + + is-glob@4.0.3: + resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==} + engines: {node: '>=0.10.0'} + + is-interactive@1.0.0: + resolution: {integrity: sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==} + engines: {node: '>=8'} + + is-lower-case@2.0.2: + resolution: {integrity: sha512-bVcMJy4X5Og6VZfdOZstSexlEy20Sr0k/p/b2IlQJlfdKAQuMpiv5w2Ccxb8sKdRUNAG1PnHVHjFSdRDVS6NlQ==} + + is-number@7.0.0: + resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==} + engines: {node: '>=0.12.0'} + + is-potential-custom-element-name@1.0.1: + resolution: {integrity: sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==} + + is-relative@1.0.0: + resolution: {integrity: sha512-Kw/ReK0iqwKeu0MITLFuj0jbPAmEiOsIwyIXvvbfa6QfmN9pkD1M+8pdk7Rl/dTKbH34/XBFMbgD4iMJhLQbGA==} + engines: {node: '>=0.10.0'} + + is-stream@2.0.1: + resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==} + engines: {node: '>=8'} + + is-stream@3.0.0: + resolution: {integrity: sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + + is-unc-path@1.0.0: + resolution: {integrity: sha512-mrGpVd0fs7WWLfVsStvgF6iEJnbjDFZh9/emhRDcGWTduTfNHd9CHeUwH3gYIjdbwo4On6hunkztwOaAw0yllQ==} + engines: {node: '>=0.10.0'} + + is-unicode-supported@0.1.0: + resolution: {integrity: sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==} + engines: {node: '>=10'} + + is-upper-case@2.0.2: + resolution: {integrity: sha512-44pxmxAvnnAOwBg4tHPnkfvgjPwbc5QIsSstNU+YcJ1ovxVzCWpSGosPJOZh/a1tdl81fbgnLc9LLv+x2ywbPQ==} + + is-windows@1.0.2: + resolution: {integrity: sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==} + engines: {node: '>=0.10.0'} + + isexe@2.0.0: + resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} + + isomorphic-ws@5.0.0: + resolution: {integrity: sha512-muId7Zzn9ywDsyXgTIafTry2sV3nySZeUDe6YedVd1Hvuuep5AsIlqK+XefWpYTyJG5e503F2xIuT2lcU6rCSw==} + peerDependencies: + ws: '*' + + jackspeak@3.4.0: + resolution: {integrity: sha512-JVYhQnN59LVPFCEcVa2C3CrEKYacvjRfqIQl+h8oi91aLYQVWRYbxjPcv1bUiUy/kLmQaANrYfNMCO3kuEDHfw==} + engines: {node: '>=14'} + + jiti@1.21.6: + resolution: {integrity: sha512-2yTgeWTWzMWkHu6Jp9NKgePDaYHbntiwvYuuJLbbN9vl7DC9DvXKOB2BC3ZZ92D3cvV/aflH0osDfwpHepQ53w==} + hasBin: true + + jiti@2.3.3: + resolution: {integrity: sha512-EX4oNDwcXSivPrw2qKH2LB5PoFxEvgtv2JgwW0bU858HoLQ+kutSvjLMUqBd0PeJYEinLWhoI9Ol0eYMqj/wNQ==} + hasBin: true + + jose@5.9.4: + resolution: {integrity: sha512-WBBl6au1qg6OHj67yCffCgFR3BADJBXN8MdRvCgJDuMv3driV2nHr7jdGvaKX9IolosAsn+M0XRArqLXUhyJHQ==} + + joycon@3.1.1: + resolution: {integrity: sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==} + engines: {node: '>=10'} + + js-tokens@4.0.0: + resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} + + js-tokens@9.0.1: + resolution: {integrity: sha512-mxa9E9ITFOt0ban3j6L5MpjwegGz6lBQmM1IJkWeBZGcMxto50+eWdjC/52xDbS2vy0k7vIMK0Fe2wfL9OQSpQ==} + + js-yaml@4.1.0: + resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==} + hasBin: true + + jsdom@24.1.3: + resolution: {integrity: sha512-MyL55p3Ut3cXbeBEG7Hcv0mVM8pp8PBNWxRqchZnSfAiES1v1mRnMeFfaHWIPULpwsYfvO+ZmMZz5tGCnjzDUQ==} + engines: {node: '>=18'} + peerDependencies: + canvas: ^2.11.2 + peerDependenciesMeta: + canvas: + optional: true + + jsesc@2.5.2: + resolution: {integrity: sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==} + engines: {node: '>=4'} + hasBin: true + + json-parse-even-better-errors@2.3.1: + resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==} + + json-to-pretty-yaml@1.2.2: + resolution: {integrity: sha512-rvm6hunfCcqegwYaG5T4yKJWxc9FXFgBVrcTZ4XfSVRwa5HA/Xs+vB/Eo9treYYHCeNM0nrSUr82V/M31Urc7A==} + engines: {node: '>= 0.2.0'} + + json5@2.2.3: + resolution: {integrity: sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==} + engines: {node: '>=6'} + hasBin: true + + lilconfig@2.1.0: + resolution: {integrity: sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==} + engines: {node: '>=10'} + + lines-and-columns@1.2.4: + resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} + + listr2@4.0.5: + resolution: {integrity: sha512-juGHV1doQdpNT3GSTs9IUN43QJb7KHdF9uqg7Vufs/tG9VTzpFphqF4pm/ICdAABGQxsyNn9CiYA3StkI6jpwA==} + engines: {node: '>=12'} + peerDependencies: + enquirer: '>= 2.3.0 < 3' + peerDependenciesMeta: + enquirer: + optional: true + + load-tsconfig@0.2.5: + resolution: {integrity: sha512-IXO6OCs9yg8tMKzfPZ1YmheJbZCiEsnBdcB03l0OcfK9prKnJb96siuHCr5Fl37/yo9DnKU+TLpxzTUspw9shg==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + + local-pkg@0.5.0: + resolution: {integrity: sha512-ok6z3qlYyCDS4ZEU27HaU6x/xZa9Whf8jD4ptH5UZTQYZVYeb9bnZ3ojVhiJNLiXK1Hfc0GNbLXcmZ5plLDDBg==} + engines: {node: '>=14'} + + locate-path@5.0.0: + resolution: {integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==} + engines: {node: '>=8'} + + lodash.camelcase@4.3.0: + resolution: {integrity: sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==} + + lodash.ismatch@4.4.0: + resolution: {integrity: sha512-fPMfXjGQEV9Xsq/8MTSgUf255gawYRbjwMyDbcvDhXgV7enSZA0hynz6vMPnpAb5iONEzBHBPsT+0zes5Z301g==} + + lodash.snakecase@4.1.1: + resolution: {integrity: sha512-QZ1d4xoBHYUeuouhEq3lk3Uq7ldgyFXGBhg04+oRLnIz8o9T65Eh+8YdroUwn846zchkA9yDsDl5CVVaV2nqYw==} + + lodash.sortby@4.7.0: + resolution: {integrity: sha512-HDWXG8isMntAyRF5vZ7xKuEvOhT4AhlRt/3czTSjvGUxjYCBVRQY48ViDHyfYz9VIoBkW4TMGQNapx+l3RUwdA==} + + lodash@4.17.21: + resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==} + + log-symbols@4.1.0: + resolution: {integrity: sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==} + engines: {node: '>=10'} + + log-update@4.0.0: + resolution: {integrity: sha512-9fkkDevMefjg0mmzWFBW8YkFP91OrizzkW3diF7CpG+S2EYdy4+TVfGwz1zeF8x7hCx1ovSPTOE9Ngib74qqUg==} + engines: {node: '>=10'} + + loose-envify@1.4.0: + resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==} + hasBin: true + + loupe@2.3.7: + resolution: {integrity: sha512-zSMINGVYkdpYSOBmLi0D1Uo7JU9nVdQKrHxC8eYlV+9YKK9WePqAlL7lSlorG/U2Fw1w0hTBmaa/jrQ3UbPHtA==} + + lower-case-first@2.0.2: + resolution: {integrity: sha512-EVm/rR94FJTZi3zefZ82fLWab+GX14LJN4HrWBcuo6Evmsl9hEfnqxgcHCKb9q+mNf6EVdsjx/qucYFIIB84pg==} + + lower-case@2.0.2: + resolution: {integrity: sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==} + + lru-cache@10.4.3: + resolution: {integrity: sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==} + + lru-cache@5.1.1: + resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==} + + magic-string@0.30.10: + resolution: {integrity: sha512-iIRwTIf0QKV3UAnYK4PU8uiEc4SRh5jX0mwpIwETPpHdhVM4f53RSwS/vXvN1JhGX+Cs7B8qIq3d6AH49O5fAQ==} + + magic-string@0.30.17: + resolution: {integrity: sha512-sNPKHvyjVf7gyjwS4xGTaW/mCnF8wnjtifKBEhxfZ7E/S8tQ0rssrwGNn6q8JH/ohItJfSQp9mBtQYuTlH5QnA==} + + make-error@1.3.6: + resolution: {integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==} + + map-cache@0.2.2: + resolution: {integrity: sha512-8y/eV9QQZCiyn1SprXSrCmqJN0yNRATe+PO8ztwqrvrbdRLA3eYJF0yaR0YayLWkMbsQSKWS9N2gPcGEc4UsZg==} + engines: {node: '>=0.10.0'} + + merge-stream@2.0.0: + resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==} + + merge2@1.4.1: + resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} + engines: {node: '>= 8'} + + meros@1.3.0: + resolution: {integrity: sha512-2BNGOimxEz5hmjUG2FwoxCt5HN7BXdaWyFqEwxPTrJzVdABtrL4TiHTcsWSFAxPQ/tOnEaQEJh3qWq71QRMY+w==} + engines: {node: '>=13'} + peerDependencies: + '@types/node': '>=13' + peerDependenciesMeta: + '@types/node': + optional: true + + micromatch@4.0.8: + resolution: {integrity: sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==} + engines: {node: '>=8.6'} + + mime-db@1.52.0: + resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==} + engines: {node: '>= 0.6'} + + mime-types@2.1.35: + resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==} + engines: {node: '>= 0.6'} + + mimic-fn@2.1.0: + resolution: {integrity: sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==} + engines: {node: '>=6'} + + mimic-fn@4.0.0: + resolution: {integrity: sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==} + engines: {node: '>=12'} + + minimatch@3.1.2: + resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==} + + minimatch@9.0.5: + resolution: {integrity: sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==} + engines: {node: '>=16 || 14 >=14.17'} + + minipass@7.1.2: + resolution: {integrity: sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==} + engines: {node: '>=16 || 14 >=14.17'} + + mlly@1.7.1: + resolution: {integrity: sha512-rrVRZRELyQzrIUAVMHxP97kv+G786pHmOKzuFII8zDYahFBS7qnHh2AlYSl1GAHhaMPCz6/oHjVMcfFYgFYHgA==} + + mrmime@2.0.0: + resolution: {integrity: sha512-eu38+hdgojoyq63s+yTpN4XMBdt5l8HhMhc4VKLO9KM5caLIBvUm4thi7fFaxyTmCKeNnXZ5pAlBwCUnhA09uw==} + engines: {node: '>=10'} + + ms@2.1.2: + resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==} + + ms@2.1.3: + resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} + + mute-stream@0.0.8: + resolution: {integrity: sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==} + + mz@2.7.0: + resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==} + + nanoid@3.3.7: + resolution: {integrity: sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==} + engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} + hasBin: true + + no-case@3.0.4: + resolution: {integrity: sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==} + + node-addon-api@7.1.0: + resolution: {integrity: sha512-mNcltoe1R8o7STTegSOHdnJNN7s5EUvhoS7ShnTHDyOSd+8H+UdWODq6qSv67PjC8Zc5JRT8+oLAMCr0SIXw7g==} + engines: {node: ^16 || ^18 || >= 20} + + node-fetch@2.7.0: + resolution: {integrity: sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==} + engines: {node: 4.x || >=6.0.0} + peerDependencies: + encoding: ^0.1.0 + peerDependenciesMeta: + encoding: + optional: true + + node-gyp-build@4.8.1: + resolution: {integrity: sha512-OSs33Z9yWr148JZcbZd5WiAXhh/n9z8TxQcdMhIOlpN9AhWpLfvVFO73+m77bBABQMaY9XSvIa+qk0jlI7Gcaw==} + hasBin: true + + node-int64@0.4.0: + resolution: {integrity: sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==} + + node-releases@2.0.19: + resolution: {integrity: sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw==} + + normalize-path@2.1.1: + resolution: {integrity: sha512-3pKJwH184Xo/lnH6oyP1q2pMd7HcypqqmRs91/6/i2CGtWwIKGCkOOMTm/zXbgTEWHw1uNpNi/igc3ePOYHb6w==} + engines: {node: '>=0.10.0'} + + normalize-path@3.0.0: + resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==} + engines: {node: '>=0.10.0'} + + npm-run-path@4.0.1: + resolution: {integrity: sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==} + engines: {node: '>=8'} + + npm-run-path@5.3.0: + resolution: {integrity: sha512-ppwTtiJZq0O/ai0z7yfudtBpWIoxM8yE6nHi1X47eFR2EWORqfbu6CnPlNsjeN683eT0qG6H/Pyf9fCcvjnnnQ==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + + nullthrows@1.1.1: + resolution: {integrity: sha512-2vPPEi+Z7WqML2jZYddDIfy5Dqb0r2fze2zTxNNknZaFpVHU3mFB3R+DWeJWGVx0ecvttSGlJTI+WG+8Z4cDWw==} + + nwsapi@2.2.20: + resolution: {integrity: sha512-/ieB+mDe4MrrKMT8z+mQL8klXydZWGR5Dowt4RAGKbJ3kIGEx3X4ljUo+6V73IXtUPWgfOlU5B9MlGxFO5T+cA==} + + object-assign@4.1.1: + resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} + engines: {node: '>=0.10.0'} + + once@1.4.0: + resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==} + + onetime@5.1.2: + resolution: {integrity: sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==} + engines: {node: '>=6'} + + onetime@6.0.0: + resolution: {integrity: sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==} + engines: {node: '>=12'} + + ora@5.4.1: + resolution: {integrity: sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==} + engines: {node: '>=10'} + + os-tmpdir@1.0.2: + resolution: {integrity: sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==} + engines: {node: '>=0.10.0'} + + p-limit@2.3.0: + resolution: {integrity: sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==} + engines: {node: '>=6'} + + p-limit@3.1.0: + resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==} + engines: {node: '>=10'} + + p-limit@5.0.0: + resolution: {integrity: sha512-/Eaoq+QyLSiXQ4lyYV23f14mZRQcXnxfHrN0vCai+ak9G0pp9iEQukIIZq5NccEvwRB8PUnZT0KsOoDCINS1qQ==} + engines: {node: '>=18'} + + p-locate@4.1.0: + resolution: {integrity: sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==} + engines: {node: '>=8'} + + p-map@4.0.0: + resolution: {integrity: sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==} + engines: {node: '>=10'} + + p-try@2.2.0: + resolution: {integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==} + engines: {node: '>=6'} + + param-case@3.0.4: + resolution: {integrity: sha512-RXlj7zCYokReqWpOPH9oYivUzLYZ5vAPIfEmCTNViosC78F8F0H9y7T7gG2M39ymgutxF5gcFEsyZQSph9Bp3A==} + + parent-module@1.0.1: + resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==} + engines: {node: '>=6'} + + parse-filepath@1.0.2: + resolution: {integrity: sha512-FwdRXKCohSVeXqwtYonZTXtbGJKrn+HNyWDYVcp5yuJlesTwNH4rsmRZ+GrKAPJ5bLpRxESMeS+Rl0VCHRvB2Q==} + engines: {node: '>=0.8'} + + parse-json@5.2.0: + resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==} + engines: {node: '>=8'} + + parse5@7.1.2: + resolution: {integrity: sha512-Czj1WaSVpaoj0wbhMzLmWD69anp2WH7FXMB9n1Sy8/ZFF9jolSQVMu1Ij5WIyGmcBmhk7EOndpO4mIpihVqAXw==} + + pascal-case@3.1.2: + resolution: {integrity: sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==} + + path-case@3.0.4: + resolution: {integrity: sha512-qO4qCFjXqVTrcbPt/hQfhTQ+VhFsqNKOPtytgNKkKxSoEp3XPUQ8ObFuePylOIok5gjn69ry8XiULxCwot3Wfg==} + + path-exists@4.0.0: + resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} + engines: {node: '>=8'} + + path-is-absolute@1.0.1: + resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==} + engines: {node: '>=0.10.0'} + + path-key@3.1.1: + resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==} + engines: {node: '>=8'} + + path-key@4.0.0: + resolution: {integrity: sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==} + engines: {node: '>=12'} + + path-root-regex@0.1.2: + resolution: {integrity: sha512-4GlJ6rZDhQZFE0DPVKh0e9jmZ5egZfxTkp7bcRDuPlJXbAwhxcl2dINPUAsjLdejqaLsCeg8axcLjIbvBjN4pQ==} + engines: {node: '>=0.10.0'} + + path-root@0.1.1: + resolution: {integrity: sha512-QLcPegTHF11axjfojBIoDygmS2E3Lf+8+jI6wOVmNVenrKSo3mFdSGiIgdSHenczw3wPtlVMQaFVwGmM7BJdtg==} + engines: {node: '>=0.10.0'} + + path-scurry@1.11.1: + resolution: {integrity: sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==} + engines: {node: '>=16 || 14 >=14.18'} + + path-type@4.0.0: + resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} + engines: {node: '>=8'} + + pathe@1.1.2: + resolution: {integrity: sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ==} + + pathval@1.1.1: + resolution: {integrity: sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==} + + picocolors@1.0.1: + resolution: {integrity: sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==} + + picocolors@1.1.1: + resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==} + + picomatch@2.3.1: + resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} + engines: {node: '>=8.6'} + + pirates@4.0.6: + resolution: {integrity: sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==} + engines: {node: '>= 6'} + + pkg-types@1.1.1: + resolution: {integrity: sha512-ko14TjmDuQJ14zsotODv7dBlwxKhUKQEhuhmbqo1uCi9BB0Z2alo/wAXg6q1dTR5TyuqYyWhjtfe/Tsh+X28jQ==} + + postcss-load-config@3.1.4: + resolution: {integrity: sha512-6DiM4E7v4coTE4uzA8U//WhtPwyhiim3eyjEMFCnUpzbrkK9wJHgKDT2mR+HbtSrd/NubVaYTOpSpjUl8NQeRg==} + engines: {node: '>= 10'} + peerDependencies: + postcss: '>=8.0.9' + ts-node: '>=9.0.0' + peerDependenciesMeta: + postcss: + optional: true + ts-node: + optional: true + + postcss@8.4.38: + resolution: {integrity: sha512-Wglpdk03BSfXkHoQa3b/oulrotAkwrlLDRSOb9D0bN86FdRyE9lppSp33aHNPgBa0JKCoB+drFLZkQoRRYae5A==} + engines: {node: ^10 || ^12 || >=14} + + pretty-format@29.7.0: + resolution: {integrity: sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + + promise@7.3.1: + resolution: {integrity: sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==} + + psl@1.9.0: + resolution: {integrity: sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==} + + punycode@2.3.1: + resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==} + engines: {node: '>=6'} + + querystringify@2.2.0: + resolution: {integrity: sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==} + + queue-microtask@1.2.3: + resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} + + react-is@18.3.1: + resolution: {integrity: sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==} + + react@18.3.1: + resolution: {integrity: sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==} + engines: {node: '>=0.10.0'} + + readable-stream@3.6.2: + resolution: {integrity: sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==} + engines: {node: '>= 6'} + + readdirp@3.6.0: + resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==} + engines: {node: '>=8.10.0'} + + readline-sync@1.4.10: + resolution: {integrity: sha512-gNva8/6UAe8QYepIQH/jQ2qn91Qj0B9sYjMBBs3QOB8F2CXcKgLxQaJRP76sWVRQt+QU+8fAkCbCvjjMFu7Ycw==} + engines: {node: '>= 0.8.0'} + + relay-runtime@12.0.0: + resolution: {integrity: sha512-QU6JKr1tMsry22DXNy9Whsq5rmvwr3LSZiiWV/9+DFpuTWvp+WFhobWMc8TC4OjKFfNhEZy7mOiqUAn5atQtug==} + + remeda@1.61.0: + resolution: {integrity: sha512-caKfSz9rDeSKBQQnlJnVW3mbVdFgxgGWQKq1XlFokqjf+hQD5gxutLGTTY2A/x24UxVyJe9gH5fAkFI63ULw4A==} + + remedial@1.0.8: + resolution: {integrity: sha512-/62tYiOe6DzS5BqVsNpH/nkGlX45C/Sp6V+NtiN6JQNS1Viay7cWkazmRkrQrdFj2eshDe96SIQNIoMxqhzBOg==} + + remove-trailing-separator@1.1.0: + resolution: {integrity: sha512-/hS+Y0u3aOfIETiaiirUFwDBDzmXPvO+jAfKTitUngIPzdKc6Z0LoFjM/CK5PL4C+eKwHohlHAb6H0VFfmmUsw==} + + remove-trailing-spaces@1.0.8: + resolution: {integrity: sha512-O3vsMYfWighyFbTd8hk8VaSj9UAGENxAtX+//ugIst2RMk5e03h6RoIS+0ylsFxY1gvmPuAY/PO4It+gPEeySA==} + + require-directory@2.1.1: + resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==} + engines: {node: '>=0.10.0'} + + require-main-filename@2.0.0: + resolution: {integrity: sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==} + + requires-port@1.0.0: + resolution: {integrity: sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==} + + resolve-from@4.0.0: + resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==} + engines: {node: '>=4'} + + resolve-from@5.0.0: + resolution: {integrity: sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==} + engines: {node: '>=8'} + + restore-cursor@3.1.0: + resolution: {integrity: sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==} + engines: {node: '>=8'} + + reusify@1.0.4: + resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==} + engines: {iojs: '>=1.0.0', node: '>=0.10.0'} + + rfdc@1.4.1: + resolution: {integrity: sha512-q1b3N5QkRUWUl7iyylaaj3kOpIT0N2i9MqIEQXP73GVsN9cw3fdx8X63cEmWhJGi2PPCF23Ijp7ktmd39rawIA==} + + rollup@3.29.4: + resolution: {integrity: sha512-oWzmBZwvYrU0iJHtDmhsm662rC15FRXmcjCk1xD771dFDx5jJ02ufAQQTn0etB2emNk4J9EZg/yWKpsn9BWGRw==} + engines: {node: '>=14.18.0', npm: '>=8.0.0'} + hasBin: true + + rollup@4.18.0: + resolution: {integrity: sha512-QmJz14PX3rzbJCN1SG4Xe/bAAX2a6NpCP8ab2vfu2GiUr8AQcr2nCV/oEO3yneFarB67zk8ShlIyWb2LGTb3Sg==} + engines: {node: '>=18.0.0', npm: '>=8.0.0'} + hasBin: true + + rrweb-cssom@0.7.1: + resolution: {integrity: sha512-TrEMa7JGdVm0UThDJSx7ddw5nVm3UJS9o9CCIZ72B1vSyEZoziDqBYP3XIoi/12lKrJR8rE3jeFHMok2F/Mnsg==} + + rrweb-cssom@0.8.0: + resolution: {integrity: sha512-guoltQEx+9aMf2gDZ0s62EcV8lsXR+0w8915TC3ITdn2YueuNjdAYh/levpU9nFaoChh9RUS5ZdQMrKfVEN9tw==} + + run-async@2.4.1: + resolution: {integrity: sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==} + engines: {node: '>=0.12.0'} + + run-parallel@1.2.0: + resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} + + rxjs@7.8.2: + resolution: {integrity: sha512-dhKf903U/PQZY6boNNtAGdWbG85WAbjT/1xYoZIC7FAY0yWapOBQVsVrDl58W86//e1VpMNBtRV4MaXfdMySFA==} + + safe-buffer@5.2.1: + resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} + + safer-buffer@2.1.2: + resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} + + saxes@6.0.0: + resolution: {integrity: sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA==} + engines: {node: '>=v12.22.7'} + + scuid@1.1.0: + resolution: {integrity: sha512-MuCAyrGZcTLfQoH2XoBlQ8C6bzwN88XT/0slOGz0pn8+gIP85BOAfYa44ZXQUTOwRwPU0QvgU+V+OSajl/59Xg==} + + semver@6.3.1: + resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==} + hasBin: true + + sentence-case@3.0.4: + resolution: {integrity: sha512-8LS0JInaQMCRoQ7YUytAo/xUu5W2XnQxV2HI/6uM6U7CITS1RqPElr30V6uIqyMKM9lJGRVFy5/4CuzcixNYSg==} + + set-blocking@2.0.0: + resolution: {integrity: sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==} + + setimmediate@1.0.5: + resolution: {integrity: sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==} + + shebang-command@2.0.0: + resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==} + engines: {node: '>=8'} + + shebang-regex@3.0.0: + resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==} + engines: {node: '>=8'} + + shell-quote@1.8.1: + resolution: {integrity: sha512-6j1W9l1iAs/4xYBI1SYOVZyFcCis9b4KCLQ8fgAGG07QvzaRLVVRQvAy85yNmmZSjYjg4MWh4gNvlPujU/5LpA==} + + siginfo@2.0.0: + resolution: {integrity: sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==} + + signal-exit@3.0.7: + resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==} + + signal-exit@4.1.0: + resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==} + engines: {node: '>=14'} + + signedsource@1.0.0: + resolution: {integrity: sha512-6+eerH9fEnNmi/hyM1DXcRK3pWdoMQtlkQ+ns0ntzunjKqp5i3sKCc80ym8Fib3iaYhdJUOPdhlJWj1tvge2Ww==} + + sirv@2.0.4: + resolution: {integrity: sha512-94Bdh3cC2PKrbgSOUqTiGPWVZeSiXfKOVZNJniWoqrWrRkB1CJzBU3NEbiTsPcYy1lDsANA/THzS+9WBiy5nfQ==} + engines: {node: '>= 10'} + + slash@3.0.0: + resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} + engines: {node: '>=8'} + + slice-ansi@3.0.0: + resolution: {integrity: sha512-pSyv7bSTC7ig9Dcgbw9AuRNUb5k5V6oDudjZoMBSr13qpLBG7tB+zgCkARjq7xIUgdz5P1Qe8u+rSGdouOOIyQ==} + engines: {node: '>=8'} + + slice-ansi@4.0.0: + resolution: {integrity: sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==} + engines: {node: '>=10'} + + snake-case@3.0.4: + resolution: {integrity: sha512-LAOh4z89bGQvl9pFfNF8V146i7o7/CqFPbqzYgP+yYzDIDeS9HaNFtXABamRW+AQzEVODcvE79ljJ+8a9YSdMg==} + + source-map-js@1.2.0: + resolution: {integrity: sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==} + engines: {node: '>=0.10.0'} + + source-map-support@0.5.21: + resolution: {integrity: sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==} + + source-map@0.6.1: + resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} + engines: {node: '>=0.10.0'} + + source-map@0.8.0-beta.0: + resolution: {integrity: sha512-2ymg6oRBpebeZi9UUNsgQ89bhx01TcTkmNTGnNO88imTmbSgy4nfujrgVEFKWpMTEGA11EDkTt7mqObTPdigIA==} + engines: {node: '>= 8'} + deprecated: The work that was done in this beta branch won't be included in future versions + + spawn-command@0.0.2: + resolution: {integrity: sha512-zC8zGoGkmc8J9ndvml8Xksr1Amk9qBujgbF0JAIWO7kXr43w0h/0GJNM/Vustixu+YE8N/MTrQ7N31FvHUACxQ==} + + sponge-case@1.0.1: + resolution: {integrity: sha512-dblb9Et4DAtiZ5YSUZHLl4XhH4uK80GhAZrVXdN4O2P4gQ40Wa5UIOPUHlA/nFd2PLblBZWUioLMMAVrgpoYcA==} + + stackback@0.0.2: + resolution: {integrity: sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==} + + std-env@3.7.0: + resolution: {integrity: sha512-JPbdCEQLj1w5GilpiHAx3qJvFndqybBysA3qUOnznweH4QbNYUsW/ea8QzSrnh0vNsezMMw5bcVool8lM0gwzg==} + + streamsearch@1.1.0: + resolution: {integrity: sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==} + engines: {node: '>=10.0.0'} + + string-env-interpolation@1.0.1: + resolution: {integrity: sha512-78lwMoCcn0nNu8LszbP1UA7g55OeE4v7rCeWnM5B453rnNr4aq+5it3FEYtZrSEiMvHZOZ9Jlqb0OD0M2VInqg==} + + string-length@6.0.0: + resolution: {integrity: sha512-1U361pxZHEQ+FeSjzqRpV+cu2vTzYeWeafXFLykiFlv4Vc0n3njgU8HrMbyik5uwm77naWMuVG8fhEF+Ovb1Kg==} + engines: {node: '>=16'} + + string-width@4.2.3: + resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==} + engines: {node: '>=8'} + + string-width@5.1.2: + resolution: {integrity: sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==} + engines: {node: '>=12'} + + string_decoder@1.3.0: + resolution: {integrity: sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==} + + strip-ansi@6.0.1: + resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==} + engines: {node: '>=8'} + + strip-ansi@7.1.0: + resolution: {integrity: sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==} + engines: {node: '>=12'} + + strip-final-newline@2.0.0: + resolution: {integrity: sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==} + engines: {node: '>=6'} + + strip-final-newline@3.0.0: + resolution: {integrity: sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==} + engines: {node: '>=12'} + + strip-literal@2.1.0: + resolution: {integrity: sha512-Op+UycaUt/8FbN/Z2TWPBLge3jWrP3xj10f3fnYxf052bKuS3EKs1ZQcVGjnEMdsNVAM+plXRdmjrZ/KgG3Skw==} + + sucrase@3.35.0: + resolution: {integrity: sha512-8EbVDiu9iN/nESwxeSxDKe0dunta1GOlHufmSSXxMD2z2/tMZpDMpvXQGsc+ajGo8y2uYUmixaSRUc/QPoQ0GA==} + engines: {node: '>=16 || 14 >=14.17'} + hasBin: true + + supports-color@5.5.0: + resolution: {integrity: sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==} + engines: {node: '>=4'} + + supports-color@7.2.0: + resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==} + engines: {node: '>=8'} + + supports-color@8.1.1: + resolution: {integrity: sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==} + engines: {node: '>=10'} + + swap-case@2.0.2: + resolution: {integrity: sha512-kc6S2YS/2yXbtkSMunBtKdah4VFETZ8Oh6ONSmSd9bRxhqTrtARUCBUiWXH3xVPpvR7tz2CSnkuXVE42EcGnMw==} + + symbol-tree@3.2.4: + resolution: {integrity: sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==} + + terser@5.31.1: + resolution: {integrity: sha512-37upzU1+viGvuFtBo9NPufCb9dwM0+l9hMxYyWfBA+fbwrPqNJAhbZ6W47bBFnZHKHTUBnMvi87434qq+qnxOg==} + engines: {node: '>=10'} + hasBin: true + + thenify-all@1.6.0: + resolution: {integrity: sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==} + engines: {node: '>=0.8'} + + thenify@3.3.1: + resolution: {integrity: sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==} + + through@2.3.8: + resolution: {integrity: sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==} + + tinybench@2.8.0: + resolution: {integrity: sha512-1/eK7zUnIklz4JUUlL+658n58XO2hHLQfSk1Zf2LKieUjxidN16eKFEoDEfjHc3ohofSSqK3X5yO6VGb6iW8Lw==} + + tinypool@0.8.4: + resolution: {integrity: sha512-i11VH5gS6IFeLY3gMBQ00/MmLncVP7JLXOw1vlgkytLmJK7QnEr7NXf0LBdxfmNPAeyetukOk0bOYrJrFGjYJQ==} + engines: {node: '>=14.0.0'} + + tinyspy@2.2.1: + resolution: {integrity: sha512-KYad6Vy5VDWV4GH3fjpseMQ/XU2BhIYP7Vzd0LG44qRWm/Yt2WCOTicFdvmgo6gWaqooMQCawTtILVQJupKu7A==} + engines: {node: '>=14.0.0'} + + title-case@3.0.3: + resolution: {integrity: sha512-e1zGYRvbffpcHIrnuqT0Dh+gEJtDaxDSoG4JAIpq4oDFyooziLBIiYQv0GBT4FUAnUop5uZ1hiIAj7oAF6sOCA==} + + tmp@0.0.33: + resolution: {integrity: sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==} + engines: {node: '>=0.6.0'} + + to-regex-range@5.0.1: + resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} + engines: {node: '>=8.0'} + + totalist@3.0.1: + resolution: {integrity: sha512-sf4i37nQ2LBx4m3wB74y+ubopq6W/dIzXg0FDGjsYnZHVa1Da8FH853wlL2gtUhg+xJXjfk3kUZS3BRoQeoQBQ==} + engines: {node: '>=6'} + + tough-cookie@4.1.4: + resolution: {integrity: sha512-Loo5UUvLD9ScZ6jh8beX1T6sO1w2/MpCRpEP7V280GKMVUQ0Jzar2U3UJPsrdbziLEMMhu3Ujnq//rhiFuIeag==} + engines: {node: '>=6'} + + tr46@0.0.3: + resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==} + + tr46@1.0.1: + resolution: {integrity: sha512-dTpowEjclQ7Kgx5SdBkqRzVhERQXov8/l9Ft9dVM9fmg0W0KQSVaXX9T4i6twCPNtYiZM53lpSSUAwJbFPOHxA==} + + tr46@5.1.1: + resolution: {integrity: sha512-hdF5ZgjTqgAntKkklYw0R03MG2x/bSzTtkxmIRw/sTNV8YXsCJ1tfLAX23lhxhHJlEf3CRCOCGGWw3vI3GaSPw==} + engines: {node: '>=18'} + + tree-kill@1.2.2: + resolution: {integrity: sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==} + hasBin: true + + ts-interface-checker@0.1.13: + resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==} + + ts-log@2.2.7: + resolution: {integrity: sha512-320x5Ggei84AxzlXp91QkIGSw5wgaLT6GeAH0KsqDmRZdVWW2OiSeVvElVoatk3f7nicwXlElXsoFkARiGE2yg==} + + ts-node@10.9.1: + 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 + + ts-toolbelt@9.6.0: + resolution: {integrity: sha512-nsZd8ZeNUzukXPlJmTBwUAuABDe/9qtVDelJeT/qW0ow3ZS3BsQJtNkan1802aM9Uf68/Y8ljw86Hu0h5IUW3w==} + + tslib@2.4.1: + resolution: {integrity: sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA==} + + tslib@2.6.3: + resolution: {integrity: sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==} + + tslib@2.8.1: + resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==} + + tsup@6.7.0: + resolution: {integrity: sha512-L3o8hGkaHnu5TdJns+mCqFsDBo83bJ44rlK7e6VdanIvpea4ArPcU3swWGsLVbXak1PqQx/V+SSmFPujBK+zEQ==} + engines: {node: '>=14.18'} + hasBin: true + peerDependencies: + '@swc/core': ^1 + postcss: ^8.4.12 + typescript: '>=4.1.0' + peerDependenciesMeta: + '@swc/core': + optional: true + postcss: + optional: true + typescript: + optional: true + + type-detect@4.0.8: + resolution: {integrity: sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==} + engines: {node: '>=4'} + + type-fest@0.21.3: + resolution: {integrity: sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==} + engines: {node: '>=10'} + + type-fest@4.20.0: + resolution: {integrity: sha512-MBh+PHUHHisjXf4tlx0CFWoMdjx8zCMLJHOjnV1prABYZFHqtFOyauCIK2/7w4oIfwkF8iNhLtnJEfVY2vn3iw==} + engines: {node: '>=16'} + + typescript@5.4.5: + resolution: {integrity: sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==} + engines: {node: '>=14.17'} + hasBin: true + + ua-parser-js@1.0.38: + resolution: {integrity: sha512-Aq5ppTOfvrCMgAPneW1HfWj66Xi7XL+/mIy996R1/CLS/rcyJQm6QZdsKrUeivDFQ+Oc9Wyuwor8Ze8peEoUoQ==} + + ufo@1.5.3: + resolution: {integrity: sha512-Y7HYmWaFwPUmkoQCUIAYpKqkOf+SbVj/2fJJZ4RJMCfZp0rTGwRbzQD+HghfnhKOjL9E01okqz+ncJskGYfBNw==} + + unc-path-regex@0.1.2: + resolution: {integrity: sha512-eXL4nmJT7oCpkZsHZUOJo8hcX3GbsiDOa0Qu9F646fi8dT3XuSVopVqAcEiVzSKKH7UoDti23wNX3qGFxcW5Qg==} + engines: {node: '>=0.10.0'} + + undici-types@6.19.8: + resolution: {integrity: sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==} + + universalify@0.2.0: + resolution: {integrity: sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==} + engines: {node: '>= 4.0.0'} + + unixify@1.0.0: + resolution: {integrity: sha512-6bc58dPYhCMHHuwxldQxO3RRNZ4eCogZ/st++0+fcC1nr0jiGUtAdBJ2qzmLQWSxbtz42pWt4QQMiZ9HvZf5cg==} + engines: {node: '>=0.10.0'} + + update-browserslist-db@1.1.3: + resolution: {integrity: sha512-UxhIZQ+QInVdunkDAaiazvvT/+fXL5Osr0JZlJulepYu6Jd7qJtDZjlur0emRlT71EN3ScPoE7gvsuIKKNavKw==} + hasBin: true + peerDependencies: + browserslist: '>= 4.21.0' + + upper-case-first@2.0.2: + resolution: {integrity: sha512-514ppYHBaKwfJRK/pNC6c/OxfGa0obSnAl106u97Ed0I625Nin96KAjttZF6ZL3e1XLtphxnqrOi9iWgm+u+bg==} + + upper-case@2.0.2: + resolution: {integrity: sha512-KgdgDGJt2TpuwBUIjgG6lzw2GWFRCW9Qkfkiv0DxqHHLYJHmtmdUIKcZd8rHgFSjopVTlw6ggzCm1b8MFQwikg==} + + url-parse@1.5.10: + resolution: {integrity: sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==} + + urlpattern-polyfill@10.0.0: + resolution: {integrity: sha512-H/A06tKD7sS1O1X2SshBVeA5FLycRpjqiBeqGKmBwBDBy28EnRjORxTNe269KSSr5un5qyWi1iL61wLxpd+ZOg==} + + utf-8-validate@6.0.4: + resolution: {integrity: sha512-xu9GQDeFp+eZ6LnCywXN/zBancWvOpUMzgjLPSjy4BRHSmTelvn2E0DG0o1sTiw5hkCKBHo8rwSKncfRfv2EEQ==} + engines: {node: '>=6.14.2'} + + util-deprecate@1.0.2: + resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} + + v8-compile-cache-lib@3.0.1: + resolution: {integrity: sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==} + + value-or-promise@1.0.12: + resolution: {integrity: sha512-Z6Uz+TYwEqE7ZN50gwn+1LCVo9ZVrpxRPOhOLnncYkY1ZzOYtrX8Fwf/rFktZ8R5mJms6EZf5TqNOMeZmnPq9Q==} + engines: {node: '>=12'} + + vite-node@1.6.0: + resolution: {integrity: sha512-de6HJgzC+TFzOu0NTC4RAIsyf/DY/ibWDYQUcuEA84EMHhcefTUGkjFHKKEJhQN4A+6I0u++kr3l36ZF2d7XRw==} + engines: {node: ^18.0.0 || >=20.0.0} + hasBin: true + + vite@5.2.13: + resolution: {integrity: sha512-SSq1noJfY9pR3I1TUENL3rQYDQCFqgD+lM6fTRAM8Nv6Lsg5hDLaXkjETVeBt+7vZBCMoibD+6IWnT2mJ+Zb/A==} + engines: {node: ^18.0.0 || >=20.0.0} + hasBin: true + peerDependencies: + '@types/node': ^18.0.0 || >=20.0.0 + less: '*' + lightningcss: ^1.21.0 + sass: '*' + stylus: '*' + sugarss: '*' + terser: ^5.4.0 + peerDependenciesMeta: + '@types/node': + optional: true + less: + optional: true + lightningcss: + optional: true + sass: + optional: true + stylus: + optional: true + sugarss: + optional: true + terser: + optional: true + + vitest@1.6.0: + resolution: {integrity: sha512-H5r/dN06swuFnzNFhq/dnz37bPXnq8xB2xB5JOVk8K09rUtoeNN+LHWkoQ0A/i3hvbUKKcCei9KpbxqHMLhLLA==} + engines: {node: ^18.0.0 || >=20.0.0} + hasBin: true + peerDependencies: + '@edge-runtime/vm': '*' + '@types/node': ^18.0.0 || >=20.0.0 + '@vitest/browser': 1.6.0 + '@vitest/ui': 1.6.0 + happy-dom: '*' + jsdom: '*' + peerDependenciesMeta: + '@edge-runtime/vm': + optional: true + '@types/node': + optional: true + '@vitest/browser': + optional: true + '@vitest/ui': + optional: true + happy-dom: + optional: true + jsdom: + optional: true + + w3c-xmlserializer@5.0.0: + resolution: {integrity: sha512-o8qghlI8NZHU1lLPrpi2+Uq7abh4GGPpYANlalzWxyWteJOCsr/P+oPBA49TOLu5FTZO4d3F9MnWJfiMo4BkmA==} + engines: {node: '>=18'} + + wcwidth@1.0.1: + resolution: {integrity: sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==} + + webidl-conversions@3.0.1: + resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==} + + webidl-conversions@4.0.2: + resolution: {integrity: sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==} + + webidl-conversions@7.0.0: + resolution: {integrity: sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==} + engines: {node: '>=12'} + + whatwg-encoding@3.1.1: + resolution: {integrity: sha512-6qN4hJdMwfYBtE3YBTTHhoeuUrDBPZmbQaxWAqSALV/MeEnR5z1xd8UKud2RAkFoPkmB+hli1TZSnyi84xz1vQ==} + engines: {node: '>=18'} + + whatwg-mimetype@4.0.0: + resolution: {integrity: sha512-QaKxh0eNIi2mE9p2vEdzfagOKHCcj1pJ56EEHGQOVxp8r9/iszLUUV7v89x9O1p/T+NlTM5W7jW6+cz4Fq1YVg==} + engines: {node: '>=18'} + + whatwg-url@14.2.0: + resolution: {integrity: sha512-De72GdQZzNTUBBChsXueQUnPKDkg/5A5zp7pFDuQAj5UFoENpiACU0wlCvzpAGnTkj++ihpKwKyYewn/XNUbKw==} + engines: {node: '>=18'} + + whatwg-url@5.0.0: + resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==} + + whatwg-url@7.1.0: + resolution: {integrity: sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==} + + which-module@2.0.1: + resolution: {integrity: sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ==} + + which@2.0.2: + resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==} + engines: {node: '>= 8'} + hasBin: true + + why-is-node-running@2.2.2: + resolution: {integrity: sha512-6tSwToZxTOcotxHeA+qGCq1mVzKR3CwcJGmVcY+QE8SHy6TnpFnh8PAvPNHYr7EcuVeG0QSMxtYCuO1ta/G/oA==} + engines: {node: '>=8'} + hasBin: true + + wrap-ansi@6.2.0: + resolution: {integrity: sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==} + engines: {node: '>=8'} + + wrap-ansi@7.0.0: + resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==} + engines: {node: '>=10'} + + wrap-ansi@8.1.0: + resolution: {integrity: sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==} + engines: {node: '>=12'} + + wrappy@1.0.2: + resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} + + ws@8.18.2: + resolution: {integrity: sha512-DMricUmwGZUVr++AEAe2uiVM7UoO9MAVZMDu05UQOaUII0lp+zOzLLU4Xqh/JvTqklB1T4uELaaPBKyjE1r4fQ==} + engines: {node: '>=10.0.0'} + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: '>=5.0.2' + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true + + xml-name-validator@5.0.0: + resolution: {integrity: sha512-EvGK8EJ3DhaHfbRlETOWAS5pO9MZITeauHKJyb8wyajUfQUenkIg2MvLDTZ4T/TgIcm3HU0TFBgWWboAZ30UHg==} + engines: {node: '>=18'} + + xmlchars@2.2.0: + resolution: {integrity: sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==} + + y18n@4.0.3: + resolution: {integrity: sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==} + + y18n@5.0.8: + resolution: {integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==} + engines: {node: '>=10'} + + yallist@3.1.1: + resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==} + + yaml-ast-parser@0.0.43: + resolution: {integrity: sha512-2PTINUwsRqSd+s8XxKaJWQlUuEMHJQyEuh2edBbW8KNJz0SJPwUSD2zRWqezFEdN7IzAgeuYHFUCF7o8zRdZ0A==} + + yaml@1.10.2: + resolution: {integrity: sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==} + engines: {node: '>= 6'} + + yaml@2.4.5: + resolution: {integrity: sha512-aBx2bnqDzVOyNKfsysjA2ms5ZlnjSAW2eG3/L5G/CSujfjLJTJsEw1bGw8kCf04KodQWk1pxlGnZ56CRxiawmg==} + engines: {node: '>= 14'} + hasBin: true + + yargs-parser@18.1.3: + resolution: {integrity: sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==} + engines: {node: '>=6'} + + yargs-parser@21.1.1: + resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==} + engines: {node: '>=12'} + + yargs@15.4.1: + resolution: {integrity: sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==} + engines: {node: '>=8'} + + yargs@17.7.2: + resolution: {integrity: sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==} + engines: {node: '>=12'} + + 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'} + + yocto-queue@1.0.0: + resolution: {integrity: sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g==} + engines: {node: '>=12.20'} + + zod@3.25.67: + resolution: {integrity: sha512-idA2YXwpCdqUSKRCACDE6ItZD9TZzy3OZMtpfLoh6oPR47lipysRrJfjzMqFxQ3uJuUPyUeWe1r9vLH33xO/Qw==} + +snapshots: + + '@0no-co/graphql.web@1.0.9(graphql@16.9.0)': + optionalDependencies: + graphql: 16.9.0 + + '@0no-co/graphqlsp@1.12.16(graphql@16.9.0)(typescript@5.4.5)': + dependencies: + '@gql.tada/internal': 1.0.8(graphql@16.9.0)(typescript@5.4.5) + graphql: 16.9.0 + typescript: 5.4.5 + + '@ampproject/remapping@2.3.0': + dependencies: + '@jridgewell/gen-mapping': 0.3.5 + '@jridgewell/trace-mapping': 0.3.25 + + '@ardatan/relay-compiler@12.0.0(encoding@0.1.13)(graphql@16.9.0)': + dependencies: + '@babel/core': 7.24.7 + '@babel/generator': 7.24.7 + '@babel/parser': 7.27.5 + '@babel/runtime': 7.27.6 + '@babel/traverse': 7.24.7 + '@babel/types': 7.27.6 + babel-preset-fbjs: 3.4.0(@babel/core@7.24.7) + chalk: 4.1.2 + fb-watchman: 2.0.2 + fbjs: 3.0.5(encoding@0.1.13) + glob: 7.2.3 + graphql: 16.9.0 + immutable: 3.7.6 + invariant: 2.2.4 + nullthrows: 1.1.1 + relay-runtime: 12.0.0(encoding@0.1.13) + signedsource: 1.0.0 + yargs: 15.4.1 + transitivePeerDependencies: + - encoding + - supports-color + + '@ardatan/sync-fetch@0.0.1(encoding@0.1.13)': + dependencies: + node-fetch: 2.7.0(encoding@0.1.13) + transitivePeerDependencies: + - encoding + + '@asamuzakjp/css-color@3.2.0': + dependencies: + '@csstools/css-calc': 2.1.4(@csstools/css-parser-algorithms@3.0.5(@csstools/css-tokenizer@3.0.4))(@csstools/css-tokenizer@3.0.4) + '@csstools/css-color-parser': 3.0.10(@csstools/css-parser-algorithms@3.0.5(@csstools/css-tokenizer@3.0.4))(@csstools/css-tokenizer@3.0.4) + '@csstools/css-parser-algorithms': 3.0.5(@csstools/css-tokenizer@3.0.4) + '@csstools/css-tokenizer': 3.0.4 + lru-cache: 10.4.3 + optional: true + + '@babel/code-frame@7.24.7': + dependencies: + '@babel/highlight': 7.24.7 + picocolors: 1.1.1 + + '@babel/compat-data@7.24.7': {} + + '@babel/core@7.24.7': + dependencies: + '@ampproject/remapping': 2.3.0 + '@babel/code-frame': 7.24.7 + '@babel/generator': 7.24.7 + '@babel/helper-compilation-targets': 7.24.7 + '@babel/helper-module-transforms': 7.24.7(@babel/core@7.24.7) + '@babel/helpers': 7.24.7 + '@babel/parser': 7.27.5 + '@babel/template': 7.24.7 + '@babel/traverse': 7.24.7 + '@babel/types': 7.27.6 + convert-source-map: 2.0.0 + debug: 4.4.1 + gensync: 1.0.0-beta.2 + json5: 2.2.3 + semver: 6.3.1 + transitivePeerDependencies: + - supports-color + + '@babel/generator@7.24.7': + dependencies: + '@babel/types': 7.27.6 + '@jridgewell/gen-mapping': 0.3.5 + '@jridgewell/trace-mapping': 0.3.25 + jsesc: 2.5.2 + + '@babel/helper-annotate-as-pure@7.24.7': + dependencies: + '@babel/types': 7.27.6 + + '@babel/helper-compilation-targets@7.24.7': + dependencies: + '@babel/compat-data': 7.24.7 + '@babel/helper-validator-option': 7.24.7 + browserslist: 4.25.1 + lru-cache: 5.1.1 + semver: 6.3.1 + + '@babel/helper-create-class-features-plugin@7.24.7(@babel/core@7.24.7)': + dependencies: + '@babel/core': 7.24.7 + '@babel/helper-annotate-as-pure': 7.24.7 + '@babel/helper-environment-visitor': 7.24.7 + '@babel/helper-function-name': 7.24.7 + '@babel/helper-member-expression-to-functions': 7.24.7 + '@babel/helper-optimise-call-expression': 7.24.7 + '@babel/helper-replace-supers': 7.24.7(@babel/core@7.24.7) + '@babel/helper-skip-transparent-expression-wrappers': 7.24.7 + '@babel/helper-split-export-declaration': 7.24.7 + semver: 6.3.1 + transitivePeerDependencies: + - supports-color + + '@babel/helper-environment-visitor@7.24.7': + dependencies: + '@babel/types': 7.27.6 + + '@babel/helper-function-name@7.24.7': + dependencies: + '@babel/template': 7.24.7 + '@babel/types': 7.27.6 + + '@babel/helper-hoist-variables@7.24.7': + dependencies: + '@babel/types': 7.27.6 + + '@babel/helper-member-expression-to-functions@7.24.7': + dependencies: + '@babel/traverse': 7.24.7 + '@babel/types': 7.27.6 + transitivePeerDependencies: + - supports-color + + '@babel/helper-module-imports@7.24.7': + dependencies: + '@babel/traverse': 7.24.7 + '@babel/types': 7.27.6 + transitivePeerDependencies: + - supports-color + + '@babel/helper-module-transforms@7.24.7(@babel/core@7.24.7)': + dependencies: + '@babel/core': 7.24.7 + '@babel/helper-environment-visitor': 7.24.7 + '@babel/helper-module-imports': 7.24.7 + '@babel/helper-simple-access': 7.24.7 + '@babel/helper-split-export-declaration': 7.24.7 + '@babel/helper-validator-identifier': 7.27.1 + transitivePeerDependencies: + - supports-color + + '@babel/helper-optimise-call-expression@7.24.7': + dependencies: + '@babel/types': 7.27.6 + + '@babel/helper-plugin-utils@7.24.7': {} + + '@babel/helper-replace-supers@7.24.7(@babel/core@7.24.7)': + dependencies: + '@babel/core': 7.24.7 + '@babel/helper-environment-visitor': 7.24.7 + '@babel/helper-member-expression-to-functions': 7.24.7 + '@babel/helper-optimise-call-expression': 7.24.7 + transitivePeerDependencies: + - supports-color + + '@babel/helper-simple-access@7.24.7': + dependencies: + '@babel/traverse': 7.24.7 + '@babel/types': 7.27.6 + transitivePeerDependencies: + - supports-color + + '@babel/helper-skip-transparent-expression-wrappers@7.24.7': + dependencies: + '@babel/traverse': 7.24.7 + '@babel/types': 7.27.6 + transitivePeerDependencies: + - supports-color + + '@babel/helper-split-export-declaration@7.24.7': + dependencies: + '@babel/types': 7.27.6 + + '@babel/helper-string-parser@7.27.1': {} + + '@babel/helper-validator-identifier@7.27.1': {} + + '@babel/helper-validator-option@7.24.7': {} + + '@babel/helpers@7.24.7': + dependencies: + '@babel/template': 7.24.7 + '@babel/types': 7.27.6 + + '@babel/highlight@7.24.7': + dependencies: + '@babel/helper-validator-identifier': 7.27.1 + chalk: 2.4.2 + js-tokens: 4.0.0 + picocolors: 1.1.1 + + '@babel/parser@7.27.5': + dependencies: + '@babel/types': 7.27.6 + + '@babel/plugin-proposal-class-properties@7.18.6(@babel/core@7.24.7)': + dependencies: + '@babel/core': 7.24.7 + '@babel/helper-create-class-features-plugin': 7.24.7(@babel/core@7.24.7) + '@babel/helper-plugin-utils': 7.24.7 + transitivePeerDependencies: + - supports-color + + '@babel/plugin-proposal-object-rest-spread@7.20.7(@babel/core@7.24.7)': + dependencies: + '@babel/compat-data': 7.24.7 + '@babel/core': 7.24.7 + '@babel/helper-compilation-targets': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 + '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.24.7) + '@babel/plugin-transform-parameters': 7.24.7(@babel/core@7.24.7) + + '@babel/plugin-syntax-class-properties@7.12.13(@babel/core@7.24.7)': + dependencies: + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 + + '@babel/plugin-syntax-flow@7.24.7(@babel/core@7.24.7)': + dependencies: + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 + + '@babel/plugin-syntax-import-assertions@7.24.7(@babel/core@7.24.7)': + dependencies: + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 + + '@babel/plugin-syntax-jsx@7.24.7(@babel/core@7.24.7)': + dependencies: + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 + + '@babel/plugin-syntax-object-rest-spread@7.8.3(@babel/core@7.24.7)': + dependencies: + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 + + '@babel/plugin-transform-arrow-functions@7.24.7(@babel/core@7.24.7)': + dependencies: + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 + + '@babel/plugin-transform-block-scoped-functions@7.24.7(@babel/core@7.24.7)': + dependencies: + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 + + '@babel/plugin-transform-block-scoping@7.24.7(@babel/core@7.24.7)': + dependencies: + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 + + '@babel/plugin-transform-classes@7.24.7(@babel/core@7.24.7)': + dependencies: + '@babel/core': 7.24.7 + '@babel/helper-annotate-as-pure': 7.24.7 + '@babel/helper-compilation-targets': 7.24.7 + '@babel/helper-environment-visitor': 7.24.7 + '@babel/helper-function-name': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 + '@babel/helper-replace-supers': 7.24.7(@babel/core@7.24.7) + '@babel/helper-split-export-declaration': 7.24.7 + globals: 11.12.0 + transitivePeerDependencies: + - supports-color + + '@babel/plugin-transform-computed-properties@7.24.7(@babel/core@7.24.7)': + dependencies: + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 + '@babel/template': 7.24.7 + + '@babel/plugin-transform-destructuring@7.24.7(@babel/core@7.24.7)': + dependencies: + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 + + '@babel/plugin-transform-flow-strip-types@7.24.7(@babel/core@7.24.7)': + dependencies: + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 + '@babel/plugin-syntax-flow': 7.24.7(@babel/core@7.24.7) + + '@babel/plugin-transform-for-of@7.24.7(@babel/core@7.24.7)': + dependencies: + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 + '@babel/helper-skip-transparent-expression-wrappers': 7.24.7 + transitivePeerDependencies: + - supports-color + + '@babel/plugin-transform-function-name@7.24.7(@babel/core@7.24.7)': + dependencies: + '@babel/core': 7.24.7 + '@babel/helper-compilation-targets': 7.24.7 + '@babel/helper-function-name': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 + + '@babel/plugin-transform-literals@7.24.7(@babel/core@7.24.7)': + dependencies: + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 + + '@babel/plugin-transform-member-expression-literals@7.24.7(@babel/core@7.24.7)': + dependencies: + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 + + '@babel/plugin-transform-modules-commonjs@7.24.7(@babel/core@7.24.7)': + dependencies: + '@babel/core': 7.24.7 + '@babel/helper-module-transforms': 7.24.7(@babel/core@7.24.7) + '@babel/helper-plugin-utils': 7.24.7 + '@babel/helper-simple-access': 7.24.7 + transitivePeerDependencies: + - supports-color + + '@babel/plugin-transform-object-super@7.24.7(@babel/core@7.24.7)': + dependencies: + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 + '@babel/helper-replace-supers': 7.24.7(@babel/core@7.24.7) + transitivePeerDependencies: + - supports-color + + '@babel/plugin-transform-parameters@7.24.7(@babel/core@7.24.7)': + dependencies: + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 + + '@babel/plugin-transform-property-literals@7.24.7(@babel/core@7.24.7)': + dependencies: + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 + + '@babel/plugin-transform-react-display-name@7.24.7(@babel/core@7.24.7)': + dependencies: + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 + + '@babel/plugin-transform-react-jsx@7.24.7(@babel/core@7.24.7)': + dependencies: + '@babel/core': 7.24.7 + '@babel/helper-annotate-as-pure': 7.24.7 + '@babel/helper-module-imports': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 + '@babel/plugin-syntax-jsx': 7.24.7(@babel/core@7.24.7) + '@babel/types': 7.27.6 + transitivePeerDependencies: + - supports-color + + '@babel/plugin-transform-shorthand-properties@7.24.7(@babel/core@7.24.7)': + dependencies: + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 + + '@babel/plugin-transform-spread@7.24.7(@babel/core@7.24.7)': + dependencies: + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 + '@babel/helper-skip-transparent-expression-wrappers': 7.24.7 + transitivePeerDependencies: + - supports-color + + '@babel/plugin-transform-template-literals@7.24.7(@babel/core@7.24.7)': + dependencies: + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 + + '@babel/runtime@7.27.6': {} + + '@babel/template@7.24.7': + dependencies: + '@babel/code-frame': 7.24.7 + '@babel/parser': 7.27.5 + '@babel/types': 7.27.6 + + '@babel/traverse@7.24.7': + dependencies: + '@babel/code-frame': 7.24.7 + '@babel/generator': 7.24.7 + '@babel/helper-environment-visitor': 7.24.7 + '@babel/helper-function-name': 7.24.7 + '@babel/helper-hoist-variables': 7.24.7 + '@babel/helper-split-export-declaration': 7.24.7 + '@babel/parser': 7.27.5 + '@babel/types': 7.27.6 + debug: 4.4.1 + globals: 11.12.0 + transitivePeerDependencies: + - supports-color + + '@babel/types@7.27.6': + dependencies: + '@babel/helper-string-parser': 7.27.1 + '@babel/helper-validator-identifier': 7.27.1 + + '@cspotcode/source-map-support@0.8.1': + dependencies: + '@jridgewell/trace-mapping': 0.3.9 + optional: true + + '@csstools/color-helpers@5.0.2': + optional: true + + '@csstools/css-calc@2.1.4(@csstools/css-parser-algorithms@3.0.5(@csstools/css-tokenizer@3.0.4))(@csstools/css-tokenizer@3.0.4)': + dependencies: + '@csstools/css-parser-algorithms': 3.0.5(@csstools/css-tokenizer@3.0.4) + '@csstools/css-tokenizer': 3.0.4 + optional: true + + '@csstools/css-color-parser@3.0.10(@csstools/css-parser-algorithms@3.0.5(@csstools/css-tokenizer@3.0.4))(@csstools/css-tokenizer@3.0.4)': + dependencies: + '@csstools/color-helpers': 5.0.2 + '@csstools/css-calc': 2.1.4(@csstools/css-parser-algorithms@3.0.5(@csstools/css-tokenizer@3.0.4))(@csstools/css-tokenizer@3.0.4) + '@csstools/css-parser-algorithms': 3.0.5(@csstools/css-tokenizer@3.0.4) + '@csstools/css-tokenizer': 3.0.4 + optional: true + + '@csstools/css-parser-algorithms@3.0.5(@csstools/css-tokenizer@3.0.4)': + dependencies: + '@csstools/css-tokenizer': 3.0.4 + optional: true + + '@csstools/css-tokenizer@3.0.4': + optional: true + + '@esbuild/aix-ppc64@0.20.2': + optional: true + + '@esbuild/android-arm64@0.17.19': + optional: true + + '@esbuild/android-arm64@0.20.2': + optional: true + + '@esbuild/android-arm@0.17.19': + optional: true + + '@esbuild/android-arm@0.20.2': + optional: true + + '@esbuild/android-x64@0.17.19': + optional: true + + '@esbuild/android-x64@0.20.2': + optional: true + + '@esbuild/darwin-arm64@0.17.19': + optional: true + + '@esbuild/darwin-arm64@0.20.2': + optional: true + + '@esbuild/darwin-x64@0.17.19': + optional: true + + '@esbuild/darwin-x64@0.20.2': + optional: true + + '@esbuild/freebsd-arm64@0.17.19': + optional: true + + '@esbuild/freebsd-arm64@0.20.2': + optional: true + + '@esbuild/freebsd-x64@0.17.19': + optional: true + + '@esbuild/freebsd-x64@0.20.2': + optional: true + + '@esbuild/linux-arm64@0.17.19': + optional: true + + '@esbuild/linux-arm64@0.20.2': + optional: true + + '@esbuild/linux-arm@0.17.19': + optional: true + + '@esbuild/linux-arm@0.20.2': + optional: true + + '@esbuild/linux-ia32@0.17.19': + optional: true + + '@esbuild/linux-ia32@0.20.2': + optional: true + + '@esbuild/linux-loong64@0.17.19': + optional: true + + '@esbuild/linux-loong64@0.20.2': + optional: true + + '@esbuild/linux-mips64el@0.17.19': + optional: true + + '@esbuild/linux-mips64el@0.20.2': + optional: true + + '@esbuild/linux-ppc64@0.17.19': + optional: true + + '@esbuild/linux-ppc64@0.20.2': + optional: true + + '@esbuild/linux-riscv64@0.17.19': + optional: true + + '@esbuild/linux-riscv64@0.20.2': + optional: true + + '@esbuild/linux-s390x@0.17.19': + optional: true + + '@esbuild/linux-s390x@0.20.2': + optional: true + + '@esbuild/linux-x64@0.17.19': + optional: true + + '@esbuild/linux-x64@0.20.2': + optional: true + + '@esbuild/netbsd-x64@0.17.19': + optional: true + + '@esbuild/netbsd-x64@0.20.2': + optional: true + + '@esbuild/openbsd-x64@0.17.19': + optional: true + + '@esbuild/openbsd-x64@0.20.2': + optional: true + + '@esbuild/sunos-x64@0.17.19': + optional: true + + '@esbuild/sunos-x64@0.20.2': + optional: true + + '@esbuild/win32-arm64@0.17.19': + optional: true + + '@esbuild/win32-arm64@0.20.2': + optional: true + + '@esbuild/win32-ia32@0.17.19': + optional: true + + '@esbuild/win32-ia32@0.20.2': + optional: true + + '@esbuild/win32-x64@0.17.19': + optional: true + + '@esbuild/win32-x64@0.20.2': + optional: true + + '@gql.tada/internal@1.0.8(graphql@16.9.0)(typescript@5.4.5)': + dependencies: + '@0no-co/graphql.web': 1.0.9(graphql@16.9.0) + graphql: 16.9.0 + typescript: 5.4.5 + + '@graphql-codegen/add@5.0.3(graphql@16.9.0)': + dependencies: + '@graphql-codegen/plugin-helpers': 5.1.0(graphql@16.9.0) + graphql: 16.9.0 + tslib: 2.6.3 + + '@graphql-codegen/cli@5.0.3(@parcel/watcher@2.4.1)(@types/node@22.7.5)(bufferutil@4.0.8)(encoding@0.1.13)(enquirer@2.4.1)(graphql@16.9.0)(typescript@5.4.5)(utf-8-validate@6.0.4)': + dependencies: + '@babel/generator': 7.24.7 + '@babel/template': 7.24.7 + '@babel/types': 7.27.6 + '@graphql-codegen/client-preset': 4.4.0(encoding@0.1.13)(graphql@16.9.0) + '@graphql-codegen/core': 4.0.2(graphql@16.9.0) + '@graphql-codegen/plugin-helpers': 5.1.0(graphql@16.9.0) + '@graphql-tools/apollo-engine-loader': 8.0.2(encoding@0.1.13)(graphql@16.9.0) + '@graphql-tools/code-file-loader': 8.1.4(graphql@16.9.0) + '@graphql-tools/git-loader': 8.0.8(graphql@16.9.0) + '@graphql-tools/github-loader': 8.0.2(@types/node@22.7.5)(encoding@0.1.13)(graphql@16.9.0) + '@graphql-tools/graphql-file-loader': 8.0.2(graphql@16.9.0) + '@graphql-tools/json-file-loader': 8.0.2(graphql@16.9.0) + '@graphql-tools/load': 8.0.3(graphql@16.9.0) + '@graphql-tools/prisma-loader': 8.0.8(@types/node@22.7.5)(bufferutil@4.0.8)(encoding@0.1.13)(graphql@16.9.0)(utf-8-validate@6.0.4) + '@graphql-tools/url-loader': 8.0.6(@types/node@22.7.5)(bufferutil@4.0.8)(encoding@0.1.13)(graphql@16.9.0)(utf-8-validate@6.0.4) + '@graphql-tools/utils': 10.5.5(graphql@16.9.0) + '@whatwg-node/fetch': 0.9.21 + chalk: 4.1.2 + cosmiconfig: 8.3.6(typescript@5.4.5) + debounce: 1.2.1 + detect-indent: 6.1.0 + graphql: 16.9.0 + graphql-config: 5.1.3(@types/node@22.7.5)(bufferutil@4.0.8)(encoding@0.1.13)(graphql@16.9.0)(typescript@5.4.5)(utf-8-validate@6.0.4) + inquirer: 8.2.6 + is-glob: 4.0.3 + jiti: 1.21.6 + json-to-pretty-yaml: 1.2.2 + listr2: 4.0.5(enquirer@2.4.1) + log-symbols: 4.1.0 + micromatch: 4.0.8 + shell-quote: 1.8.1 + string-env-interpolation: 1.0.1 + ts-log: 2.2.7 + tslib: 2.8.1 + yaml: 2.4.5 + yargs: 17.7.2 + optionalDependencies: + '@parcel/watcher': 2.4.1 + transitivePeerDependencies: + - '@types/node' + - bufferutil + - cosmiconfig-toml-loader + - encoding + - enquirer + - supports-color + - typescript + - utf-8-validate + + '@graphql-codegen/client-preset@4.4.0(encoding@0.1.13)(graphql@16.9.0)': + dependencies: + '@babel/helper-plugin-utils': 7.24.7 + '@babel/template': 7.24.7 + '@graphql-codegen/add': 5.0.3(graphql@16.9.0) + '@graphql-codegen/gql-tag-operations': 4.0.10(encoding@0.1.13)(graphql@16.9.0) + '@graphql-codegen/plugin-helpers': 5.1.0(graphql@16.9.0) + '@graphql-codegen/typed-document-node': 5.0.10(encoding@0.1.13)(graphql@16.9.0) + '@graphql-codegen/typescript': 4.1.0(encoding@0.1.13)(graphql@16.9.0) + '@graphql-codegen/typescript-operations': 4.3.0(encoding@0.1.13)(graphql@16.9.0) + '@graphql-codegen/visitor-plugin-common': 5.5.0(encoding@0.1.13)(graphql@16.9.0) + '@graphql-tools/documents': 1.0.1(graphql@16.9.0) + '@graphql-tools/utils': 10.5.5(graphql@16.9.0) + '@graphql-typed-document-node/core': 3.2.0(graphql@16.9.0) + graphql: 16.9.0 + tslib: 2.6.3 + transitivePeerDependencies: + - encoding + - supports-color + + '@graphql-codegen/core@4.0.2(graphql@16.9.0)': + dependencies: + '@graphql-codegen/plugin-helpers': 5.1.0(graphql@16.9.0) + '@graphql-tools/schema': 10.0.7(graphql@16.9.0) + '@graphql-tools/utils': 10.5.5(graphql@16.9.0) + graphql: 16.9.0 + tslib: 2.6.3 + + '@graphql-codegen/gql-tag-operations@4.0.10(encoding@0.1.13)(graphql@16.9.0)': + dependencies: + '@graphql-codegen/plugin-helpers': 5.1.0(graphql@16.9.0) + '@graphql-codegen/visitor-plugin-common': 5.4.0(encoding@0.1.13)(graphql@16.9.0) + '@graphql-tools/utils': 10.5.5(graphql@16.9.0) + auto-bind: 4.0.0 + graphql: 16.9.0 + tslib: 2.6.3 + transitivePeerDependencies: + - encoding + - supports-color + + '@graphql-codegen/introspection@4.0.3(encoding@0.1.13)(graphql@16.9.0)': + dependencies: + '@graphql-codegen/plugin-helpers': 5.1.0(graphql@16.9.0) + '@graphql-codegen/visitor-plugin-common': 5.5.0(encoding@0.1.13)(graphql@16.9.0) + graphql: 16.9.0 + tslib: 2.6.3 + transitivePeerDependencies: + - encoding + - supports-color + + '@graphql-codegen/plugin-helpers@2.7.2(graphql@16.9.0)': + dependencies: + '@graphql-tools/utils': 8.13.1(graphql@16.9.0) + change-case-all: 1.0.14 + common-tags: 1.8.2 + graphql: 16.9.0 + import-from: 4.0.0 + lodash: 4.17.21 + tslib: 2.4.1 + + '@graphql-codegen/plugin-helpers@3.1.2(graphql@16.9.0)': + dependencies: + '@graphql-tools/utils': 9.2.1(graphql@16.9.0) + change-case-all: 1.0.15 + common-tags: 1.8.2 + graphql: 16.9.0 + import-from: 4.0.0 + lodash: 4.17.21 + tslib: 2.4.1 + + '@graphql-codegen/plugin-helpers@5.1.0(graphql@16.9.0)': + dependencies: + '@graphql-tools/utils': 10.5.5(graphql@16.9.0) + change-case-all: 1.0.15 + common-tags: 1.8.2 + graphql: 16.9.0 + import-from: 4.0.0 + lodash: 4.17.21 + tslib: 2.6.3 + + '@graphql-codegen/schema-ast@4.1.0(graphql@16.9.0)': + dependencies: + '@graphql-codegen/plugin-helpers': 5.1.0(graphql@16.9.0) + '@graphql-tools/utils': 10.5.5(graphql@16.9.0) + graphql: 16.9.0 + tslib: 2.6.3 + + '@graphql-codegen/typed-document-node@5.0.10(encoding@0.1.13)(graphql@16.9.0)': + dependencies: + '@graphql-codegen/plugin-helpers': 5.1.0(graphql@16.9.0) + '@graphql-codegen/visitor-plugin-common': 5.4.0(encoding@0.1.13)(graphql@16.9.0) + auto-bind: 4.0.0 + change-case-all: 1.0.15 + graphql: 16.9.0 + tslib: 2.6.3 + transitivePeerDependencies: + - encoding + - supports-color + + '@graphql-codegen/typescript-document-nodes@4.0.11(encoding@0.1.13)(graphql@16.9.0)': + dependencies: + '@graphql-codegen/plugin-helpers': 5.1.0(graphql@16.9.0) + '@graphql-codegen/visitor-plugin-common': 5.5.0(encoding@0.1.13)(graphql@16.9.0) + auto-bind: 4.0.0 + graphql: 16.9.0 + tslib: 2.6.3 + transitivePeerDependencies: + - encoding + - supports-color + + '@graphql-codegen/typescript-operations@4.3.0(encoding@0.1.13)(graphql@16.9.0)': + dependencies: + '@graphql-codegen/plugin-helpers': 5.1.0(graphql@16.9.0) + '@graphql-codegen/typescript': 4.1.0(encoding@0.1.13)(graphql@16.9.0) + '@graphql-codegen/visitor-plugin-common': 5.4.0(encoding@0.1.13)(graphql@16.9.0) + auto-bind: 4.0.0 + graphql: 16.9.0 + tslib: 2.6.3 + transitivePeerDependencies: + - encoding + - supports-color + + '@graphql-codegen/typescript-react-apollo@4.3.2(encoding@0.1.13)(graphql@16.9.0)': + dependencies: + '@graphql-codegen/plugin-helpers': 3.1.2(graphql@16.9.0) + '@graphql-codegen/visitor-plugin-common': 2.13.1(encoding@0.1.13)(graphql@16.9.0) + auto-bind: 4.0.0 + change-case-all: 1.0.15 + graphql: 16.9.0 + tslib: 2.6.3 + transitivePeerDependencies: + - encoding + - supports-color + + '@graphql-codegen/typescript-react-query@6.1.0(encoding@0.1.13)(graphql@16.9.0)': + dependencies: + '@graphql-codegen/plugin-helpers': 3.1.2(graphql@16.9.0) + '@graphql-codegen/visitor-plugin-common': 2.13.1(encoding@0.1.13)(graphql@16.9.0) + auto-bind: 4.0.0 + change-case-all: 1.0.15 + graphql: 16.9.0 + tslib: 2.6.3 + transitivePeerDependencies: + - encoding + - supports-color + + '@graphql-codegen/typescript@4.1.0(encoding@0.1.13)(graphql@16.9.0)': + dependencies: + '@graphql-codegen/plugin-helpers': 5.1.0(graphql@16.9.0) + '@graphql-codegen/schema-ast': 4.1.0(graphql@16.9.0) + '@graphql-codegen/visitor-plugin-common': 5.4.0(encoding@0.1.13)(graphql@16.9.0) + auto-bind: 4.0.0 + graphql: 16.9.0 + tslib: 2.6.3 + transitivePeerDependencies: + - encoding + - supports-color + + '@graphql-codegen/visitor-plugin-common@2.13.1(encoding@0.1.13)(graphql@16.9.0)': + dependencies: + '@graphql-codegen/plugin-helpers': 2.7.2(graphql@16.9.0) + '@graphql-tools/optimize': 1.4.0(graphql@16.9.0) + '@graphql-tools/relay-operation-optimizer': 6.5.18(encoding@0.1.13)(graphql@16.9.0) + '@graphql-tools/utils': 8.13.1(graphql@16.9.0) + auto-bind: 4.0.0 + change-case-all: 1.0.14 + dependency-graph: 0.11.0 + graphql: 16.9.0 + graphql-tag: 2.12.6(graphql@16.9.0) + parse-filepath: 1.0.2 + tslib: 2.4.1 + transitivePeerDependencies: + - encoding + - supports-color + + '@graphql-codegen/visitor-plugin-common@5.4.0(encoding@0.1.13)(graphql@16.9.0)': + dependencies: + '@graphql-codegen/plugin-helpers': 5.1.0(graphql@16.9.0) + '@graphql-tools/optimize': 2.0.0(graphql@16.9.0) + '@graphql-tools/relay-operation-optimizer': 7.0.2(encoding@0.1.13)(graphql@16.9.0) + '@graphql-tools/utils': 10.5.5(graphql@16.9.0) + auto-bind: 4.0.0 + change-case-all: 1.0.15 + dependency-graph: 0.11.0 + graphql: 16.9.0 + graphql-tag: 2.12.6(graphql@16.9.0) + parse-filepath: 1.0.2 + tslib: 2.6.3 + transitivePeerDependencies: + - encoding + - supports-color + + '@graphql-codegen/visitor-plugin-common@5.5.0(encoding@0.1.13)(graphql@16.9.0)': + dependencies: + '@graphql-codegen/plugin-helpers': 5.1.0(graphql@16.9.0) + '@graphql-tools/optimize': 2.0.0(graphql@16.9.0) + '@graphql-tools/relay-operation-optimizer': 7.0.2(encoding@0.1.13)(graphql@16.9.0) + '@graphql-tools/utils': 10.5.5(graphql@16.9.0) + auto-bind: 4.0.0 + change-case-all: 1.0.15 + dependency-graph: 0.11.0 + graphql: 16.9.0 + graphql-tag: 2.12.6(graphql@16.9.0) + parse-filepath: 1.0.2 + tslib: 2.6.3 + transitivePeerDependencies: + - encoding + - supports-color + + '@graphql-tools/apollo-engine-loader@8.0.2(encoding@0.1.13)(graphql@16.9.0)': + dependencies: + '@ardatan/sync-fetch': 0.0.1(encoding@0.1.13) + '@graphql-tools/utils': 10.5.5(graphql@16.9.0) + '@whatwg-node/fetch': 0.9.21 + graphql: 16.9.0 + tslib: 2.8.1 + transitivePeerDependencies: + - encoding + + '@graphql-tools/batch-execute@9.0.5(graphql@16.9.0)': + dependencies: + '@graphql-tools/utils': 10.5.5(graphql@16.9.0) + dataloader: 2.2.2 + graphql: 16.9.0 + tslib: 2.8.1 + value-or-promise: 1.0.12 + + '@graphql-tools/code-file-loader@8.1.4(graphql@16.9.0)': + dependencies: + '@graphql-tools/graphql-tag-pluck': 8.3.3(graphql@16.9.0) + '@graphql-tools/utils': 10.5.5(graphql@16.9.0) + globby: 11.1.0 + graphql: 16.9.0 + tslib: 2.8.1 + unixify: 1.0.0 + transitivePeerDependencies: + - supports-color + + '@graphql-tools/delegate@10.0.25(graphql@16.9.0)': + dependencies: + '@graphql-tools/batch-execute': 9.0.5(graphql@16.9.0) + '@graphql-tools/executor': 1.3.2(graphql@16.9.0) + '@graphql-tools/schema': 10.0.7(graphql@16.9.0) + '@graphql-tools/utils': 10.5.5(graphql@16.9.0) + '@repeaterjs/repeater': 3.0.6 + dataloader: 2.2.2 + graphql: 16.9.0 + tslib: 2.8.1 + + '@graphql-tools/documents@1.0.1(graphql@16.9.0)': + dependencies: + graphql: 16.9.0 + lodash.sortby: 4.7.0 + tslib: 2.8.1 + + '@graphql-tools/executor-graphql-ws@1.3.1(bufferutil@4.0.8)(graphql@16.9.0)(utf-8-validate@6.0.4)': + dependencies: + '@graphql-tools/utils': 10.5.5(graphql@16.9.0) + '@types/ws': 8.5.12 + graphql: 16.9.0 + graphql-ws: 5.16.0(graphql@16.9.0) + isomorphic-ws: 5.0.0(ws@8.18.2(bufferutil@4.0.8)(utf-8-validate@6.0.4)) + tslib: 2.8.1 + ws: 8.18.2(bufferutil@4.0.8)(utf-8-validate@6.0.4) + transitivePeerDependencies: + - bufferutil + - utf-8-validate + + '@graphql-tools/executor-http@1.1.7(@types/node@22.7.5)(graphql@16.9.0)': + dependencies: + '@graphql-tools/utils': 10.5.5(graphql@16.9.0) + '@repeaterjs/repeater': 3.0.6 + '@whatwg-node/fetch': 0.9.21 + extract-files: 11.0.0 + graphql: 16.9.0 + meros: 1.3.0(@types/node@22.7.5) + tslib: 2.8.1 + value-or-promise: 1.0.12 + transitivePeerDependencies: + - '@types/node' + + '@graphql-tools/executor-legacy-ws@1.1.1(bufferutil@4.0.8)(graphql@16.9.0)(utf-8-validate@6.0.4)': + dependencies: + '@graphql-tools/utils': 10.5.5(graphql@16.9.0) + '@types/ws': 8.5.12 + graphql: 16.9.0 + isomorphic-ws: 5.0.0(ws@8.18.2(bufferutil@4.0.8)(utf-8-validate@6.0.4)) + tslib: 2.8.1 + ws: 8.18.2(bufferutil@4.0.8)(utf-8-validate@6.0.4) + transitivePeerDependencies: + - bufferutil + - utf-8-validate + + '@graphql-tools/executor@1.3.2(graphql@16.9.0)': + dependencies: + '@graphql-tools/utils': 10.5.5(graphql@16.9.0) + '@graphql-typed-document-node/core': 3.2.0(graphql@16.9.0) + '@repeaterjs/repeater': 3.0.6 + graphql: 16.9.0 + tslib: 2.8.1 + value-or-promise: 1.0.12 + + '@graphql-tools/git-loader@8.0.8(graphql@16.9.0)': + dependencies: + '@graphql-tools/graphql-tag-pluck': 8.3.3(graphql@16.9.0) + '@graphql-tools/utils': 10.5.5(graphql@16.9.0) + graphql: 16.9.0 + is-glob: 4.0.3 + micromatch: 4.0.8 + tslib: 2.8.1 + unixify: 1.0.0 + transitivePeerDependencies: + - supports-color + + '@graphql-tools/github-loader@8.0.2(@types/node@22.7.5)(encoding@0.1.13)(graphql@16.9.0)': + dependencies: + '@ardatan/sync-fetch': 0.0.1(encoding@0.1.13) + '@graphql-tools/executor-http': 1.1.7(@types/node@22.7.5)(graphql@16.9.0) + '@graphql-tools/graphql-tag-pluck': 8.3.3(graphql@16.9.0) + '@graphql-tools/utils': 10.5.5(graphql@16.9.0) + '@whatwg-node/fetch': 0.9.21 + graphql: 16.9.0 + tslib: 2.8.1 + value-or-promise: 1.0.12 + transitivePeerDependencies: + - '@types/node' + - encoding + - supports-color + + '@graphql-tools/graphql-file-loader@8.0.2(graphql@16.9.0)': + dependencies: + '@graphql-tools/import': 7.0.2(graphql@16.9.0) + '@graphql-tools/utils': 10.5.5(graphql@16.9.0) + globby: 11.1.0 + graphql: 16.9.0 + tslib: 2.8.1 + unixify: 1.0.0 + + '@graphql-tools/graphql-tag-pluck@8.3.3(graphql@16.9.0)': + dependencies: + '@babel/core': 7.24.7 + '@babel/parser': 7.27.5 + '@babel/plugin-syntax-import-assertions': 7.24.7(@babel/core@7.24.7) + '@babel/traverse': 7.24.7 + '@babel/types': 7.27.6 + '@graphql-tools/utils': 10.5.5(graphql@16.9.0) + graphql: 16.9.0 + tslib: 2.8.1 + transitivePeerDependencies: + - supports-color + + '@graphql-tools/import@7.0.2(graphql@16.9.0)': + dependencies: + '@graphql-tools/utils': 10.5.5(graphql@16.9.0) + graphql: 16.9.0 + resolve-from: 5.0.0 + tslib: 2.8.1 + + '@graphql-tools/json-file-loader@8.0.2(graphql@16.9.0)': + dependencies: + '@graphql-tools/utils': 10.5.5(graphql@16.9.0) + globby: 11.1.0 + graphql: 16.9.0 + tslib: 2.8.1 + unixify: 1.0.0 + + '@graphql-tools/load@8.0.3(graphql@16.9.0)': + dependencies: + '@graphql-tools/schema': 10.0.7(graphql@16.9.0) + '@graphql-tools/utils': 10.5.5(graphql@16.9.0) + graphql: 16.9.0 + p-limit: 3.1.0 + tslib: 2.8.1 + + '@graphql-tools/merge@9.0.8(graphql@16.9.0)': + dependencies: + '@graphql-tools/utils': 10.5.5(graphql@16.9.0) + graphql: 16.9.0 + tslib: 2.8.1 + + '@graphql-tools/optimize@1.4.0(graphql@16.9.0)': + dependencies: + graphql: 16.9.0 + tslib: 2.8.1 + + '@graphql-tools/optimize@2.0.0(graphql@16.9.0)': + dependencies: + graphql: 16.9.0 + tslib: 2.8.1 + + '@graphql-tools/prisma-loader@8.0.8(@types/node@22.7.5)(bufferutil@4.0.8)(encoding@0.1.13)(graphql@16.9.0)(utf-8-validate@6.0.4)': + dependencies: + '@graphql-tools/url-loader': 8.0.6(@types/node@22.7.5)(bufferutil@4.0.8)(encoding@0.1.13)(graphql@16.9.0)(utf-8-validate@6.0.4) + '@graphql-tools/utils': 10.5.5(graphql@16.9.0) + '@types/js-yaml': 4.0.9 + '@whatwg-node/fetch': 0.9.21 + chalk: 4.1.2 + debug: 4.4.1 + dotenv: 16.5.0 + graphql: 16.9.0 + graphql-request: 6.1.0(encoding@0.1.13)(graphql@16.9.0) + http-proxy-agent: 7.0.2 + https-proxy-agent: 7.0.5 + jose: 5.9.4 + js-yaml: 4.1.0 + lodash: 4.17.21 + scuid: 1.1.0 + tslib: 2.8.1 + yaml-ast-parser: 0.0.43 + transitivePeerDependencies: + - '@types/node' + - bufferutil + - encoding + - supports-color + - utf-8-validate + + '@graphql-tools/relay-operation-optimizer@6.5.18(encoding@0.1.13)(graphql@16.9.0)': + dependencies: + '@ardatan/relay-compiler': 12.0.0(encoding@0.1.13)(graphql@16.9.0) + '@graphql-tools/utils': 9.2.1(graphql@16.9.0) + graphql: 16.9.0 + tslib: 2.8.1 + transitivePeerDependencies: + - encoding + - supports-color + + '@graphql-tools/relay-operation-optimizer@7.0.2(encoding@0.1.13)(graphql@16.9.0)': + dependencies: + '@ardatan/relay-compiler': 12.0.0(encoding@0.1.13)(graphql@16.9.0) + '@graphql-tools/utils': 10.5.5(graphql@16.9.0) + graphql: 16.9.0 + tslib: 2.8.1 + transitivePeerDependencies: + - encoding + - supports-color + + '@graphql-tools/schema@10.0.7(graphql@16.9.0)': + dependencies: + '@graphql-tools/merge': 9.0.8(graphql@16.9.0) + '@graphql-tools/utils': 10.5.5(graphql@16.9.0) + graphql: 16.9.0 + tslib: 2.8.1 + value-or-promise: 1.0.12 + + '@graphql-tools/url-loader@8.0.6(@types/node@22.7.5)(bufferutil@4.0.8)(encoding@0.1.13)(graphql@16.9.0)(utf-8-validate@6.0.4)': + dependencies: + '@ardatan/sync-fetch': 0.0.1(encoding@0.1.13) + '@graphql-tools/delegate': 10.0.25(graphql@16.9.0) + '@graphql-tools/executor-graphql-ws': 1.3.1(bufferutil@4.0.8)(graphql@16.9.0)(utf-8-validate@6.0.4) + '@graphql-tools/executor-http': 1.1.7(@types/node@22.7.5)(graphql@16.9.0) + '@graphql-tools/executor-legacy-ws': 1.1.1(bufferutil@4.0.8)(graphql@16.9.0)(utf-8-validate@6.0.4) + '@graphql-tools/utils': 10.5.5(graphql@16.9.0) + '@graphql-tools/wrap': 10.0.9(graphql@16.9.0) + '@types/ws': 8.5.12 + '@whatwg-node/fetch': 0.9.21 + graphql: 16.9.0 + isomorphic-ws: 5.0.0(ws@8.18.2(bufferutil@4.0.8)(utf-8-validate@6.0.4)) + tslib: 2.8.1 + value-or-promise: 1.0.12 + ws: 8.18.2(bufferutil@4.0.8)(utf-8-validate@6.0.4) + transitivePeerDependencies: + - '@types/node' + - bufferutil + - encoding + - utf-8-validate + + '@graphql-tools/utils@10.5.5(graphql@16.9.0)': + dependencies: + '@graphql-typed-document-node/core': 3.2.0(graphql@16.9.0) + cross-inspect: 1.0.1 + dset: 3.1.4 + graphql: 16.9.0 + tslib: 2.8.1 + + '@graphql-tools/utils@8.13.1(graphql@16.9.0)': + dependencies: + graphql: 16.9.0 + tslib: 2.8.1 + + '@graphql-tools/utils@9.2.1(graphql@16.9.0)': + dependencies: + '@graphql-typed-document-node/core': 3.2.0(graphql@16.9.0) + graphql: 16.9.0 + tslib: 2.8.1 + + '@graphql-tools/wrap@10.0.9(graphql@16.9.0)': + dependencies: + '@graphql-tools/delegate': 10.0.25(graphql@16.9.0) + '@graphql-tools/schema': 10.0.7(graphql@16.9.0) + '@graphql-tools/utils': 10.5.5(graphql@16.9.0) + graphql: 16.9.0 + tslib: 2.8.1 + value-or-promise: 1.0.12 + + '@graphql-typed-document-node/core@3.2.0(graphql@16.9.0)': + dependencies: + graphql: 16.9.0 + + '@isaacs/cliui@8.0.2': + dependencies: + string-width: 5.1.2 + string-width-cjs: string-width@4.2.3 + strip-ansi: 7.1.0 + strip-ansi-cjs: strip-ansi@6.0.1 + wrap-ansi: 8.1.0 + wrap-ansi-cjs: wrap-ansi@7.0.0 + + '@jest/schemas@29.6.3': + dependencies: + '@sinclair/typebox': 0.27.8 + + '@jridgewell/gen-mapping@0.3.5': + dependencies: + '@jridgewell/set-array': 1.2.1 + '@jridgewell/sourcemap-codec': 1.5.0 + '@jridgewell/trace-mapping': 0.3.25 + + '@jridgewell/resolve-uri@3.1.2': {} + + '@jridgewell/set-array@1.2.1': {} + + '@jridgewell/source-map@0.3.6': + dependencies: + '@jridgewell/gen-mapping': 0.3.5 + '@jridgewell/trace-mapping': 0.3.25 + optional: true + + '@jridgewell/sourcemap-codec@1.5.0': {} + + '@jridgewell/trace-mapping@0.3.25': + dependencies: + '@jridgewell/resolve-uri': 3.1.2 + '@jridgewell/sourcemap-codec': 1.5.0 + + '@jridgewell/trace-mapping@0.3.9': + dependencies: + '@jridgewell/resolve-uri': 3.1.2 + '@jridgewell/sourcemap-codec': 1.5.0 + optional: true + + '@kamilkisiela/fast-url-parser@1.1.4': {} + + '@molt/command@0.9.0': + dependencies: + '@molt/types': 0.2.0 + alge: 0.8.1 + chalk: 5.4.1 + lodash.camelcase: 4.3.0 + lodash.snakecase: 4.1.1 + readline-sync: 1.4.10 + string-length: 6.0.0 + strip-ansi: 7.1.0 + ts-toolbelt: 9.6.0 + type-fest: 4.20.0 + zod: 3.25.67 + + '@molt/types@0.2.0': + dependencies: + ts-toolbelt: 9.6.0 + + '@nodelib/fs.scandir@2.1.5': + dependencies: + '@nodelib/fs.stat': 2.0.5 + run-parallel: 1.2.0 + + '@nodelib/fs.stat@2.0.5': {} + + '@nodelib/fs.walk@1.2.8': + dependencies: + '@nodelib/fs.scandir': 2.1.5 + fastq: 1.17.1 + + '@parcel/watcher-android-arm64@2.4.1': + optional: true + + '@parcel/watcher-darwin-arm64@2.4.1': + optional: true + + '@parcel/watcher-darwin-x64@2.4.1': + optional: true + + '@parcel/watcher-freebsd-x64@2.4.1': + optional: true + + '@parcel/watcher-linux-arm-glibc@2.4.1': + optional: true + + '@parcel/watcher-linux-arm64-glibc@2.4.1': + optional: true + + '@parcel/watcher-linux-arm64-musl@2.4.1': + optional: true + + '@parcel/watcher-linux-x64-glibc@2.4.1': + optional: true + + '@parcel/watcher-linux-x64-musl@2.4.1': + optional: true + + '@parcel/watcher-win32-arm64@2.4.1': + optional: true + + '@parcel/watcher-win32-ia32@2.4.1': + optional: true + + '@parcel/watcher-win32-x64@2.4.1': + optional: true + + '@parcel/watcher@2.4.1': + dependencies: + detect-libc: 1.0.3 + is-glob: 4.0.3 + micromatch: 4.0.8 + node-addon-api: 7.1.0 + optionalDependencies: + '@parcel/watcher-android-arm64': 2.4.1 + '@parcel/watcher-darwin-arm64': 2.4.1 + '@parcel/watcher-darwin-x64': 2.4.1 + '@parcel/watcher-freebsd-x64': 2.4.1 + '@parcel/watcher-linux-arm-glibc': 2.4.1 + '@parcel/watcher-linux-arm64-glibc': 2.4.1 + '@parcel/watcher-linux-arm64-musl': 2.4.1 + '@parcel/watcher-linux-x64-glibc': 2.4.1 + '@parcel/watcher-linux-x64-musl': 2.4.1 + '@parcel/watcher-win32-arm64': 2.4.1 + '@parcel/watcher-win32-ia32': 2.4.1 + '@parcel/watcher-win32-x64': 2.4.1 + + '@pkgjs/parseargs@0.11.0': + optional: true + + '@polka/url@1.0.0-next.25': + optional: true + + '@repeaterjs/repeater@3.0.6': {} + + '@rollup/rollup-android-arm-eabi@4.18.0': + optional: true + + '@rollup/rollup-android-arm64@4.18.0': + optional: true + + '@rollup/rollup-darwin-arm64@4.18.0': + optional: true + + '@rollup/rollup-darwin-x64@4.18.0': + optional: true + + '@rollup/rollup-linux-arm-gnueabihf@4.18.0': + optional: true + + '@rollup/rollup-linux-arm-musleabihf@4.18.0': + optional: true + + '@rollup/rollup-linux-arm64-gnu@4.18.0': + optional: true + + '@rollup/rollup-linux-arm64-musl@4.18.0': + optional: true + + '@rollup/rollup-linux-powerpc64le-gnu@4.18.0': + optional: true + + '@rollup/rollup-linux-riscv64-gnu@4.18.0': + optional: true + + '@rollup/rollup-linux-s390x-gnu@4.18.0': + optional: true + + '@rollup/rollup-linux-x64-gnu@4.18.0': + optional: true + + '@rollup/rollup-linux-x64-musl@4.18.0': + optional: true + + '@rollup/rollup-win32-arm64-msvc@4.18.0': + optional: true + + '@rollup/rollup-win32-ia32-msvc@4.18.0': + optional: true + + '@rollup/rollup-win32-x64-msvc@4.18.0': + optional: true + + '@sinclair/typebox@0.27.8': {} + + '@swc/core-darwin-arm64@1.3.107': + optional: true + + '@swc/core-darwin-x64@1.3.107': + optional: true + + '@swc/core-linux-arm-gnueabihf@1.3.107': + optional: true + + '@swc/core-linux-arm64-gnu@1.3.107': + optional: true + + '@swc/core-linux-arm64-musl@1.3.107': + optional: true + + '@swc/core-linux-x64-gnu@1.3.107': + optional: true + + '@swc/core-linux-x64-musl@1.3.107': + optional: true + + '@swc/core-win32-arm64-msvc@1.3.107': + optional: true + + '@swc/core-win32-ia32-msvc@1.3.107': + optional: true + + '@swc/core-win32-x64-msvc@1.3.107': + optional: true + + '@swc/core@1.3.107(@swc/helpers@0.5.15)': + dependencies: + '@swc/counter': 0.1.3 + '@swc/types': 0.1.8 + optionalDependencies: + '@swc/core-darwin-arm64': 1.3.107 + '@swc/core-darwin-x64': 1.3.107 + '@swc/core-linux-arm-gnueabihf': 1.3.107 + '@swc/core-linux-arm64-gnu': 1.3.107 + '@swc/core-linux-arm64-musl': 1.3.107 + '@swc/core-linux-x64-gnu': 1.3.107 + '@swc/core-linux-x64-musl': 1.3.107 + '@swc/core-win32-arm64-msvc': 1.3.107 + '@swc/core-win32-ia32-msvc': 1.3.107 + '@swc/core-win32-x64-msvc': 1.3.107 + '@swc/helpers': 0.5.15 + optional: true + + '@swc/counter@0.1.3': + optional: true + + '@swc/helpers@0.5.15': + dependencies: + tslib: 2.8.1 + optional: true + + '@swc/types@0.1.8': + dependencies: + '@swc/counter': 0.1.3 + optional: true + + '@tanstack/query-core@5.45.0': {} + + '@tanstack/react-query@5.45.0(react@18.3.1)': + dependencies: + '@tanstack/query-core': 5.45.0 + react: 18.3.1 + + '@tsconfig/node10@1.0.11': + optional: true + + '@tsconfig/node12@1.0.11': + optional: true + + '@tsconfig/node14@1.0.3': + optional: true + + '@tsconfig/node16@1.0.4': + optional: true + + '@types/estree@1.0.5': {} + + '@types/estree@1.0.8': {} + + '@types/js-yaml@4.0.9': {} + + '@types/node@22.7.5': + dependencies: + undici-types: 6.19.8 + + '@types/ws@8.5.12': + dependencies: + '@types/node': 22.7.5 + + '@vitest/expect@1.6.0': + dependencies: + '@vitest/spy': 1.6.0 + '@vitest/utils': 1.6.0 + chai: 4.4.1 + + '@vitest/runner@1.6.0': + dependencies: + '@vitest/utils': 1.6.0 + p-limit: 5.0.0 + pathe: 1.1.2 + + '@vitest/snapshot@1.6.0': + dependencies: + magic-string: 0.30.17 + pathe: 1.1.2 + pretty-format: 29.7.0 + + '@vitest/spy@1.6.0': + dependencies: + tinyspy: 2.2.1 + + '@vitest/ui@1.6.0(vitest@1.6.0)': + dependencies: + '@vitest/utils': 1.6.0 + fast-glob: 3.3.3 + fflate: 0.8.2 + flatted: 3.3.1 + pathe: 1.1.2 + picocolors: 1.1.1 + sirv: 2.0.4 + vitest: 1.6.0(@types/node@22.7.5)(@vitest/ui@1.6.0)(jsdom@24.1.3(bufferutil@4.0.8)(utf-8-validate@6.0.4))(terser@5.31.1) + optional: true + + '@vitest/utils@1.6.0': + dependencies: + diff-sequences: 29.6.3 + estree-walker: 3.0.3 + loupe: 2.3.7 + pretty-format: 29.7.0 + + '@whatwg-node/fetch@0.9.21': + dependencies: + '@whatwg-node/node-fetch': 0.5.26 + urlpattern-polyfill: 10.0.0 + + '@whatwg-node/node-fetch@0.5.26': + dependencies: + '@kamilkisiela/fast-url-parser': 1.1.4 + busboy: 1.6.0 + fast-querystring: 1.1.2 + tslib: 2.8.1 + + acorn-walk@8.3.2: {} + + acorn@8.11.3: {} + + acorn@8.15.0: + optional: true + + agent-base@7.1.1: + dependencies: + debug: 4.4.1 + transitivePeerDependencies: + - supports-color + + aggregate-error@3.1.0: + dependencies: + clean-stack: 2.2.0 + indent-string: 4.0.0 + + alge@0.8.1: + dependencies: + lodash.ismatch: 4.4.0 + remeda: 1.61.0 + ts-toolbelt: 9.6.0 + zod: 3.25.67 + + ansi-colors@4.1.3: + optional: true + + ansi-escapes@4.3.2: + dependencies: + type-fest: 0.21.3 + + ansi-regex@5.0.1: {} + + ansi-regex@6.0.1: {} + + ansi-styles@3.2.1: + dependencies: + color-convert: 1.9.3 + + ansi-styles@4.3.0: + dependencies: + color-convert: 2.0.1 + + ansi-styles@5.2.0: {} + + ansi-styles@6.2.1: {} + + any-promise@1.3.0: {} + + anymatch@3.1.3: + dependencies: + normalize-path: 3.0.0 + picomatch: 2.3.1 + + arg@4.1.3: + optional: true + + argparse@2.0.1: {} + + array-union@2.1.0: {} + + asap@2.0.6: {} + + assertion-error@1.1.0: {} + + astral-regex@2.0.0: {} + + asynckit@0.4.0: + optional: true + + auto-bind@4.0.0: {} + + babel-plugin-syntax-trailing-function-commas@7.0.0-beta.0: {} + + babel-preset-fbjs@3.4.0(@babel/core@7.24.7): + dependencies: + '@babel/core': 7.24.7 + '@babel/plugin-proposal-class-properties': 7.18.6(@babel/core@7.24.7) + '@babel/plugin-proposal-object-rest-spread': 7.20.7(@babel/core@7.24.7) + '@babel/plugin-syntax-class-properties': 7.12.13(@babel/core@7.24.7) + '@babel/plugin-syntax-flow': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-syntax-jsx': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.24.7) + '@babel/plugin-transform-arrow-functions': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-block-scoped-functions': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-block-scoping': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-classes': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-computed-properties': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-destructuring': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-flow-strip-types': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-for-of': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-function-name': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-literals': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-member-expression-literals': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-modules-commonjs': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-object-super': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-parameters': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-property-literals': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-react-display-name': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-react-jsx': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-shorthand-properties': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-spread': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-template-literals': 7.24.7(@babel/core@7.24.7) + babel-plugin-syntax-trailing-function-commas: 7.0.0-beta.0 + transitivePeerDependencies: + - supports-color + + balanced-match@1.0.2: {} + + base64-js@1.5.1: {} + + binary-extensions@2.3.0: {} + + bl@4.1.0: + dependencies: + buffer: 5.7.1 + inherits: 2.0.4 + readable-stream: 3.6.2 + + brace-expansion@1.1.11: + dependencies: + balanced-match: 1.0.2 + concat-map: 0.0.1 + + brace-expansion@2.0.1: + dependencies: + balanced-match: 1.0.2 + + braces@3.0.3: + dependencies: + fill-range: 7.1.1 + + browserslist@4.25.1: + dependencies: + caniuse-lite: 1.0.30001726 + electron-to-chromium: 1.5.178 + node-releases: 2.0.19 + update-browserslist-db: 1.1.3(browserslist@4.25.1) + + bser@2.1.1: + dependencies: + node-int64: 0.4.0 + + buffer-from@1.1.2: + optional: true + + buffer@5.7.1: + dependencies: + base64-js: 1.5.1 + ieee754: 1.2.1 + + bufferutil@4.0.8: + dependencies: + node-gyp-build: 4.8.1 + optional: true + + bundle-require@4.2.1(esbuild@0.17.19): + dependencies: + esbuild: 0.17.19 + load-tsconfig: 0.2.5 + + busboy@1.6.0: + dependencies: + streamsearch: 1.1.0 + + cac@6.7.14: {} + + callsites@3.1.0: {} + + camel-case@4.1.2: + dependencies: + pascal-case: 3.1.2 + tslib: 2.8.1 + + camelcase@5.3.1: {} + + caniuse-lite@1.0.30001726: {} + + capital-case@1.0.4: + dependencies: + no-case: 3.0.4 + tslib: 2.8.1 + upper-case-first: 2.0.2 + + chai@4.4.1: + dependencies: + assertion-error: 1.1.0 + check-error: 1.0.3 + deep-eql: 4.1.4 + get-func-name: 2.0.2 + loupe: 2.3.7 + pathval: 1.1.1 + type-detect: 4.0.8 + + chalk@2.4.2: + dependencies: + ansi-styles: 3.2.1 + escape-string-regexp: 1.0.5 + supports-color: 5.5.0 + + chalk@4.1.2: + dependencies: + ansi-styles: 4.3.0 + supports-color: 7.2.0 + + chalk@5.4.1: {} + + change-case-all@1.0.14: + dependencies: + change-case: 4.1.2 + is-lower-case: 2.0.2 + is-upper-case: 2.0.2 + lower-case: 2.0.2 + lower-case-first: 2.0.2 + sponge-case: 1.0.1 + swap-case: 2.0.2 + title-case: 3.0.3 + upper-case: 2.0.2 + upper-case-first: 2.0.2 + + change-case-all@1.0.15: + dependencies: + change-case: 4.1.2 + is-lower-case: 2.0.2 + is-upper-case: 2.0.2 + lower-case: 2.0.2 + lower-case-first: 2.0.2 + sponge-case: 1.0.1 + swap-case: 2.0.2 + title-case: 3.0.3 + upper-case: 2.0.2 + upper-case-first: 2.0.2 + + change-case@4.1.2: + dependencies: + camel-case: 4.1.2 + capital-case: 1.0.4 + constant-case: 3.0.4 + dot-case: 3.0.4 + header-case: 2.0.4 + no-case: 3.0.4 + param-case: 3.0.4 + pascal-case: 3.1.2 + path-case: 3.0.4 + sentence-case: 3.0.4 + snake-case: 3.0.4 + tslib: 2.8.1 + + chardet@0.7.0: {} + + check-error@1.0.3: + dependencies: + get-func-name: 2.0.2 + + chokidar@3.6.0: + dependencies: + anymatch: 3.1.3 + braces: 3.0.3 + glob-parent: 5.1.2 + is-binary-path: 2.1.0 + is-glob: 4.0.3 + normalize-path: 3.0.0 + readdirp: 3.6.0 + optionalDependencies: + fsevents: 2.3.3 + + clean-stack@2.2.0: {} + + cli-cursor@3.1.0: + dependencies: + restore-cursor: 3.1.0 + + cli-spinners@2.9.2: {} + + cli-truncate@2.1.0: + dependencies: + slice-ansi: 3.0.0 + string-width: 4.2.3 + + cli-width@3.0.0: {} + + cliui@6.0.0: + dependencies: + string-width: 4.2.3 + strip-ansi: 6.0.1 + wrap-ansi: 6.2.0 + + cliui@8.0.1: + dependencies: + string-width: 4.2.3 + strip-ansi: 6.0.1 + wrap-ansi: 7.0.0 + + clone@1.0.4: {} + + color-convert@1.9.3: + dependencies: + color-name: 1.1.3 + + color-convert@2.0.1: + dependencies: + color-name: 1.1.4 + + color-name@1.1.3: {} + + color-name@1.1.4: {} + + colorette@2.0.20: {} + + combined-stream@1.0.8: + dependencies: + delayed-stream: 1.0.0 + optional: true + + commander@2.20.3: + optional: true + + commander@4.1.1: {} + + common-tags@1.8.2: {} + + concat-map@0.0.1: {} + + concurrently@8.2.2: + dependencies: + chalk: 4.1.2 + date-fns: 2.30.0 + lodash: 4.17.21 + rxjs: 7.8.2 + shell-quote: 1.8.1 + spawn-command: 0.0.2 + supports-color: 8.1.1 + tree-kill: 1.2.2 + yargs: 17.7.2 + + confbox@0.1.7: {} + + constant-case@3.0.4: + dependencies: + no-case: 3.0.4 + tslib: 2.8.1 + upper-case: 2.0.2 + + convert-source-map@2.0.0: {} + + cosmiconfig@8.3.6(typescript@5.4.5): + dependencies: + import-fresh: 3.3.0 + js-yaml: 4.1.0 + parse-json: 5.2.0 + path-type: 4.0.0 + optionalDependencies: + typescript: 5.4.5 + + create-require@1.1.1: + optional: true + + cross-fetch@3.1.8(encoding@0.1.13): + dependencies: + node-fetch: 2.7.0(encoding@0.1.13) + transitivePeerDependencies: + - encoding + + cross-inspect@1.0.1: + dependencies: + tslib: 2.8.1 + + cross-spawn@7.0.6: + dependencies: + path-key: 3.1.1 + shebang-command: 2.0.0 + which: 2.0.2 + + cssstyle@4.5.0: + dependencies: + '@asamuzakjp/css-color': 3.2.0 + rrweb-cssom: 0.8.0 + optional: true + + data-urls@5.0.0: + dependencies: + whatwg-mimetype: 4.0.0 + whatwg-url: 14.2.0 + optional: true + + dataloader@2.2.2: {} + + date-fns@2.30.0: + dependencies: + '@babel/runtime': 7.27.6 + + debounce@1.2.1: {} + + debug@4.3.5: + dependencies: + ms: 2.1.2 + + debug@4.4.1: + dependencies: + ms: 2.1.3 + + decamelize@1.2.0: {} + + decimal.js@10.4.3: + optional: true + + deep-eql@4.1.4: + dependencies: + type-detect: 4.0.8 + + defaults@1.0.4: + dependencies: + clone: 1.0.4 + + delayed-stream@1.0.0: + optional: true + + dependency-graph@0.11.0: {} + + detect-indent@6.1.0: {} + + detect-libc@1.0.3: {} + + diff-sequences@29.6.3: {} + + diff@4.0.2: + optional: true + + dir-glob@3.0.1: + dependencies: + path-type: 4.0.0 + + dot-case@3.0.4: + dependencies: + no-case: 3.0.4 + tslib: 2.8.1 + + dotenv@16.5.0: {} + + dset@3.1.4: {} + + eastasianwidth@0.2.0: {} + + electron-to-chromium@1.5.178: {} + + emoji-regex@8.0.0: {} + + emoji-regex@9.2.2: {} + + encoding@0.1.13: + dependencies: + iconv-lite: 0.6.3 + optional: true + + enquirer@2.4.1: + dependencies: + ansi-colors: 4.1.3 + strip-ansi: 6.0.1 + optional: true + + entities@4.5.0: + optional: true + + error-ex@1.3.2: + dependencies: + is-arrayish: 0.2.1 + + esbuild@0.17.19: + optionalDependencies: + '@esbuild/android-arm': 0.17.19 + '@esbuild/android-arm64': 0.17.19 + '@esbuild/android-x64': 0.17.19 + '@esbuild/darwin-arm64': 0.17.19 + '@esbuild/darwin-x64': 0.17.19 + '@esbuild/freebsd-arm64': 0.17.19 + '@esbuild/freebsd-x64': 0.17.19 + '@esbuild/linux-arm': 0.17.19 + '@esbuild/linux-arm64': 0.17.19 + '@esbuild/linux-ia32': 0.17.19 + '@esbuild/linux-loong64': 0.17.19 + '@esbuild/linux-mips64el': 0.17.19 + '@esbuild/linux-ppc64': 0.17.19 + '@esbuild/linux-riscv64': 0.17.19 + '@esbuild/linux-s390x': 0.17.19 + '@esbuild/linux-x64': 0.17.19 + '@esbuild/netbsd-x64': 0.17.19 + '@esbuild/openbsd-x64': 0.17.19 + '@esbuild/sunos-x64': 0.17.19 + '@esbuild/win32-arm64': 0.17.19 + '@esbuild/win32-ia32': 0.17.19 + '@esbuild/win32-x64': 0.17.19 + + esbuild@0.20.2: + optionalDependencies: + '@esbuild/aix-ppc64': 0.20.2 + '@esbuild/android-arm': 0.20.2 + '@esbuild/android-arm64': 0.20.2 + '@esbuild/android-x64': 0.20.2 + '@esbuild/darwin-arm64': 0.20.2 + '@esbuild/darwin-x64': 0.20.2 + '@esbuild/freebsd-arm64': 0.20.2 + '@esbuild/freebsd-x64': 0.20.2 + '@esbuild/linux-arm': 0.20.2 + '@esbuild/linux-arm64': 0.20.2 + '@esbuild/linux-ia32': 0.20.2 + '@esbuild/linux-loong64': 0.20.2 + '@esbuild/linux-mips64el': 0.20.2 + '@esbuild/linux-ppc64': 0.20.2 + '@esbuild/linux-riscv64': 0.20.2 + '@esbuild/linux-s390x': 0.20.2 + '@esbuild/linux-x64': 0.20.2 + '@esbuild/netbsd-x64': 0.20.2 + '@esbuild/openbsd-x64': 0.20.2 + '@esbuild/sunos-x64': 0.20.2 + '@esbuild/win32-arm64': 0.20.2 + '@esbuild/win32-ia32': 0.20.2 + '@esbuild/win32-x64': 0.20.2 + + escalade@3.2.0: {} + + escape-string-regexp@1.0.5: {} + + estree-walker@3.0.3: + dependencies: + '@types/estree': 1.0.8 + + execa@5.1.1: + dependencies: + cross-spawn: 7.0.6 + get-stream: 6.0.1 + human-signals: 2.1.0 + is-stream: 2.0.1 + merge-stream: 2.0.0 + npm-run-path: 4.0.1 + onetime: 5.1.2 + signal-exit: 3.0.7 + strip-final-newline: 2.0.0 + + execa@8.0.1: + dependencies: + cross-spawn: 7.0.6 + get-stream: 8.0.1 + human-signals: 5.0.0 + is-stream: 3.0.0 + merge-stream: 2.0.0 + npm-run-path: 5.3.0 + onetime: 6.0.0 + signal-exit: 4.1.0 + strip-final-newline: 3.0.0 + + external-editor@3.1.0: + dependencies: + chardet: 0.7.0 + iconv-lite: 0.4.24 + tmp: 0.0.33 + + extract-files@11.0.0: {} + + fast-decode-uri-component@1.0.1: {} + + fast-glob@3.3.3: + dependencies: + '@nodelib/fs.stat': 2.0.5 + '@nodelib/fs.walk': 1.2.8 + glob-parent: 5.1.2 + merge2: 1.4.1 + micromatch: 4.0.8 + + fast-querystring@1.1.2: + dependencies: + fast-decode-uri-component: 1.0.1 + + fastq@1.17.1: + dependencies: + reusify: 1.0.4 + + fb-watchman@2.0.2: + dependencies: + bser: 2.1.1 + + fbjs-css-vars@1.0.2: {} + + fbjs@3.0.5(encoding@0.1.13): + dependencies: + cross-fetch: 3.1.8(encoding@0.1.13) + fbjs-css-vars: 1.0.2 + loose-envify: 1.4.0 + object-assign: 4.1.1 + promise: 7.3.1 + setimmediate: 1.0.5 + ua-parser-js: 1.0.38 + transitivePeerDependencies: + - encoding + + fflate@0.8.2: + optional: true + + figures@3.2.0: + dependencies: + escape-string-regexp: 1.0.5 + + fill-range@7.1.1: + dependencies: + to-regex-range: 5.0.1 + + find-up@4.1.0: + dependencies: + locate-path: 5.0.0 + path-exists: 4.0.0 + + flatted@3.3.1: + optional: true + + foreground-child@3.2.0: + dependencies: + cross-spawn: 7.0.6 + signal-exit: 4.1.0 + + form-data@4.0.0: + dependencies: + asynckit: 0.4.0 + combined-stream: 1.0.8 + mime-types: 2.1.35 + optional: true + + fs.realpath@1.0.0: {} + + fsevents@2.3.3: + optional: true + + gensync@1.0.0-beta.2: {} + + get-caller-file@2.0.5: {} + + get-func-name@2.0.2: {} + + get-stream@6.0.1: {} + + get-stream@8.0.1: {} + + glob-parent@5.1.2: + dependencies: + is-glob: 4.0.3 + + glob@10.4.1: + dependencies: + foreground-child: 3.2.0 + jackspeak: 3.4.0 + minimatch: 9.0.5 + minipass: 7.1.2 + path-scurry: 1.11.1 + + glob@7.2.3: + dependencies: + fs.realpath: 1.0.0 + inflight: 1.0.6 + inherits: 2.0.4 + minimatch: 3.1.2 + once: 1.4.0 + path-is-absolute: 1.0.1 + + globals@11.12.0: {} + + globby@11.1.0: + dependencies: + array-union: 2.1.0 + dir-glob: 3.0.1 + fast-glob: 3.3.3 + ignore: 5.3.2 + merge2: 1.4.1 + slash: 3.0.0 + + graphql-config@5.1.3(@types/node@22.7.5)(bufferutil@4.0.8)(encoding@0.1.13)(graphql@16.9.0)(typescript@5.4.5)(utf-8-validate@6.0.4): + dependencies: + '@graphql-tools/graphql-file-loader': 8.0.2(graphql@16.9.0) + '@graphql-tools/json-file-loader': 8.0.2(graphql@16.9.0) + '@graphql-tools/load': 8.0.3(graphql@16.9.0) + '@graphql-tools/merge': 9.0.8(graphql@16.9.0) + '@graphql-tools/url-loader': 8.0.6(@types/node@22.7.5)(bufferutil@4.0.8)(encoding@0.1.13)(graphql@16.9.0)(utf-8-validate@6.0.4) + '@graphql-tools/utils': 10.5.5(graphql@16.9.0) + cosmiconfig: 8.3.6(typescript@5.4.5) + graphql: 16.9.0 + jiti: 2.3.3 + minimatch: 9.0.5 + string-env-interpolation: 1.0.1 + tslib: 2.8.1 + transitivePeerDependencies: + - '@types/node' + - bufferutil + - encoding + - typescript + - utf-8-validate + + graphql-request@6.1.0(encoding@0.1.13)(graphql@16.9.0): + dependencies: + '@graphql-typed-document-node/core': 3.2.0(graphql@16.9.0) + cross-fetch: 3.1.8(encoding@0.1.13) + graphql: 16.9.0 + transitivePeerDependencies: + - encoding + + graphql-request@7.1.0(graphql@16.9.0): + dependencies: + '@graphql-typed-document-node/core': 3.2.0(graphql@16.9.0) + '@molt/command': 0.9.0 + graphql: 16.9.0 + zod: 3.25.67 + + graphql-tag@2.12.6(graphql@16.9.0): + dependencies: + graphql: 16.9.0 + tslib: 2.8.1 + + graphql-ws@5.16.0(graphql@16.9.0): + dependencies: + graphql: 16.9.0 + + graphql@16.9.0: {} + + has-flag@3.0.0: {} + + has-flag@4.0.0: {} + + header-case@2.0.4: + dependencies: + capital-case: 1.0.4 + tslib: 2.8.1 + + html-encoding-sniffer@4.0.0: + dependencies: + whatwg-encoding: 3.1.1 + optional: true + + http-proxy-agent@7.0.2: + dependencies: + agent-base: 7.1.1 + debug: 4.4.1 + transitivePeerDependencies: + - supports-color + + https-proxy-agent@7.0.5: + dependencies: + agent-base: 7.1.1 + debug: 4.4.1 + transitivePeerDependencies: + - supports-color + + human-signals@2.1.0: {} + + human-signals@5.0.0: {} + + iconv-lite@0.4.24: + dependencies: + safer-buffer: 2.1.2 + + iconv-lite@0.6.3: + dependencies: + safer-buffer: 2.1.2 + optional: true + + ieee754@1.2.1: {} + + ignore@5.3.2: {} + + immutable@3.7.6: {} + + import-fresh@3.3.0: + dependencies: + parent-module: 1.0.1 + resolve-from: 4.0.0 + + import-from@4.0.0: {} + + indent-string@4.0.0: {} + + inflight@1.0.6: + dependencies: + once: 1.4.0 + wrappy: 1.0.2 + + inherits@2.0.4: {} + + inquirer@8.2.6: + dependencies: + ansi-escapes: 4.3.2 + chalk: 4.1.2 + cli-cursor: 3.1.0 + cli-width: 3.0.0 + external-editor: 3.1.0 + figures: 3.2.0 + lodash: 4.17.21 + mute-stream: 0.0.8 + ora: 5.4.1 + run-async: 2.4.1 + rxjs: 7.8.2 + string-width: 4.2.3 + strip-ansi: 6.0.1 + through: 2.3.8 + wrap-ansi: 6.2.0 + + invariant@2.2.4: + dependencies: + loose-envify: 1.4.0 + + is-absolute@1.0.0: + dependencies: + is-relative: 1.0.0 + is-windows: 1.0.2 + + is-arrayish@0.2.1: {} + + is-binary-path@2.1.0: + dependencies: + binary-extensions: 2.3.0 + + is-extglob@2.1.1: {} + + is-fullwidth-code-point@3.0.0: {} + + is-glob@4.0.3: + dependencies: + is-extglob: 2.1.1 + + is-interactive@1.0.0: {} + + is-lower-case@2.0.2: + dependencies: + tslib: 2.8.1 + + is-number@7.0.0: {} + + is-potential-custom-element-name@1.0.1: + optional: true + + is-relative@1.0.0: + dependencies: + is-unc-path: 1.0.0 + + is-stream@2.0.1: {} + + is-stream@3.0.0: {} + + is-unc-path@1.0.0: + dependencies: + unc-path-regex: 0.1.2 + + is-unicode-supported@0.1.0: {} + + is-upper-case@2.0.2: + dependencies: + tslib: 2.8.1 + + is-windows@1.0.2: {} + + isexe@2.0.0: {} + + isomorphic-ws@5.0.0(ws@8.18.2(bufferutil@4.0.8)(utf-8-validate@6.0.4)): + dependencies: + ws: 8.18.2(bufferutil@4.0.8)(utf-8-validate@6.0.4) + + jackspeak@3.4.0: + dependencies: + '@isaacs/cliui': 8.0.2 + optionalDependencies: + '@pkgjs/parseargs': 0.11.0 + + jiti@1.21.6: {} + + jiti@2.3.3: {} + + jose@5.9.4: {} + + joycon@3.1.1: {} + + js-tokens@4.0.0: {} + + js-tokens@9.0.1: {} + + js-yaml@4.1.0: + dependencies: + argparse: 2.0.1 + + jsdom@24.1.3(bufferutil@4.0.8)(utf-8-validate@6.0.4): + dependencies: + cssstyle: 4.5.0 + data-urls: 5.0.0 + decimal.js: 10.4.3 + form-data: 4.0.0 + html-encoding-sniffer: 4.0.0 + http-proxy-agent: 7.0.2 + https-proxy-agent: 7.0.5 + is-potential-custom-element-name: 1.0.1 + nwsapi: 2.2.20 + parse5: 7.1.2 + rrweb-cssom: 0.7.1 + saxes: 6.0.0 + symbol-tree: 3.2.4 + tough-cookie: 4.1.4 + w3c-xmlserializer: 5.0.0 + webidl-conversions: 7.0.0 + whatwg-encoding: 3.1.1 + whatwg-mimetype: 4.0.0 + whatwg-url: 14.2.0 + ws: 8.18.2(bufferutil@4.0.8)(utf-8-validate@6.0.4) + xml-name-validator: 5.0.0 + transitivePeerDependencies: + - bufferutil + - supports-color + - utf-8-validate + optional: true + + jsesc@2.5.2: {} + + json-parse-even-better-errors@2.3.1: {} + + json-to-pretty-yaml@1.2.2: + dependencies: + remedial: 1.0.8 + remove-trailing-spaces: 1.0.8 + + json5@2.2.3: {} + + lilconfig@2.1.0: {} + + lines-and-columns@1.2.4: {} + + listr2@4.0.5(enquirer@2.4.1): + dependencies: + cli-truncate: 2.1.0 + colorette: 2.0.20 + log-update: 4.0.0 + p-map: 4.0.0 + rfdc: 1.4.1 + rxjs: 7.8.2 + through: 2.3.8 + wrap-ansi: 7.0.0 + optionalDependencies: + enquirer: 2.4.1 + + load-tsconfig@0.2.5: {} + + local-pkg@0.5.0: + dependencies: + mlly: 1.7.1 + pkg-types: 1.1.1 + + locate-path@5.0.0: + dependencies: + p-locate: 4.1.0 + + lodash.camelcase@4.3.0: {} + + lodash.ismatch@4.4.0: {} + + lodash.snakecase@4.1.1: {} + + lodash.sortby@4.7.0: {} + + lodash@4.17.21: {} + + log-symbols@4.1.0: + dependencies: + chalk: 4.1.2 + is-unicode-supported: 0.1.0 + + log-update@4.0.0: + dependencies: + ansi-escapes: 4.3.2 + cli-cursor: 3.1.0 + slice-ansi: 4.0.0 + wrap-ansi: 6.2.0 + + loose-envify@1.4.0: + dependencies: + js-tokens: 4.0.0 + + loupe@2.3.7: + dependencies: + get-func-name: 2.0.2 + + lower-case-first@2.0.2: + dependencies: + tslib: 2.8.1 + + lower-case@2.0.2: + dependencies: + tslib: 2.8.1 + + lru-cache@10.4.3: {} + + lru-cache@5.1.1: + dependencies: + yallist: 3.1.1 + + magic-string@0.30.10: + dependencies: + '@jridgewell/sourcemap-codec': 1.5.0 + + magic-string@0.30.17: + dependencies: + '@jridgewell/sourcemap-codec': 1.5.0 + + make-error@1.3.6: + optional: true + + map-cache@0.2.2: {} + + merge-stream@2.0.0: {} + + merge2@1.4.1: {} + + meros@1.3.0(@types/node@22.7.5): + optionalDependencies: + '@types/node': 22.7.5 + + micromatch@4.0.8: + dependencies: + braces: 3.0.3 + picomatch: 2.3.1 + + mime-db@1.52.0: + optional: true + + mime-types@2.1.35: + dependencies: + mime-db: 1.52.0 + optional: true + + mimic-fn@2.1.0: {} + + mimic-fn@4.0.0: {} + + minimatch@3.1.2: + dependencies: + brace-expansion: 1.1.11 + + minimatch@9.0.5: + dependencies: + brace-expansion: 2.0.1 + + minipass@7.1.2: {} + + mlly@1.7.1: + dependencies: + acorn: 8.11.3 + pathe: 1.1.2 + pkg-types: 1.1.1 + ufo: 1.5.3 + + mrmime@2.0.0: + optional: true + + ms@2.1.2: {} + + ms@2.1.3: {} + + mute-stream@0.0.8: {} + + mz@2.7.0: + dependencies: + any-promise: 1.3.0 + object-assign: 4.1.1 + thenify-all: 1.6.0 + + nanoid@3.3.7: {} + + no-case@3.0.4: + dependencies: + lower-case: 2.0.2 + tslib: 2.8.1 + + node-addon-api@7.1.0: {} + + node-fetch@2.7.0(encoding@0.1.13): + dependencies: + whatwg-url: 5.0.0 + optionalDependencies: + encoding: 0.1.13 + + node-gyp-build@4.8.1: + optional: true + + node-int64@0.4.0: {} + + node-releases@2.0.19: {} + + normalize-path@2.1.1: + dependencies: + remove-trailing-separator: 1.1.0 + + normalize-path@3.0.0: {} + + npm-run-path@4.0.1: + dependencies: + path-key: 3.1.1 + + npm-run-path@5.3.0: + dependencies: + path-key: 4.0.0 + + nullthrows@1.1.1: {} + + nwsapi@2.2.20: + optional: true + + object-assign@4.1.1: {} + + once@1.4.0: + dependencies: + wrappy: 1.0.2 + + onetime@5.1.2: + dependencies: + mimic-fn: 2.1.0 + + onetime@6.0.0: + dependencies: + mimic-fn: 4.0.0 + + ora@5.4.1: + dependencies: + bl: 4.1.0 + chalk: 4.1.2 + cli-cursor: 3.1.0 + cli-spinners: 2.9.2 + is-interactive: 1.0.0 + is-unicode-supported: 0.1.0 + log-symbols: 4.1.0 + strip-ansi: 6.0.1 + wcwidth: 1.0.1 + + os-tmpdir@1.0.2: {} + + p-limit@2.3.0: + dependencies: + p-try: 2.2.0 + + p-limit@3.1.0: + dependencies: + yocto-queue: 0.1.0 + + p-limit@5.0.0: + dependencies: + yocto-queue: 1.0.0 + + p-locate@4.1.0: + dependencies: + p-limit: 2.3.0 + + p-map@4.0.0: + dependencies: + aggregate-error: 3.1.0 + + p-try@2.2.0: {} + + param-case@3.0.4: + dependencies: + dot-case: 3.0.4 + tslib: 2.8.1 + + parent-module@1.0.1: + dependencies: + callsites: 3.1.0 + + parse-filepath@1.0.2: + dependencies: + is-absolute: 1.0.0 + map-cache: 0.2.2 + path-root: 0.1.1 + + parse-json@5.2.0: + dependencies: + '@babel/code-frame': 7.24.7 + error-ex: 1.3.2 + json-parse-even-better-errors: 2.3.1 + lines-and-columns: 1.2.4 + + parse5@7.1.2: + dependencies: + entities: 4.5.0 + optional: true + + pascal-case@3.1.2: + dependencies: + no-case: 3.0.4 + tslib: 2.8.1 + + path-case@3.0.4: + dependencies: + dot-case: 3.0.4 + tslib: 2.8.1 + + path-exists@4.0.0: {} + + path-is-absolute@1.0.1: {} + + path-key@3.1.1: {} + + path-key@4.0.0: {} + + path-root-regex@0.1.2: {} + + path-root@0.1.1: + dependencies: + path-root-regex: 0.1.2 + + path-scurry@1.11.1: + dependencies: + lru-cache: 10.4.3 + minipass: 7.1.2 + + path-type@4.0.0: {} + + pathe@1.1.2: {} + + pathval@1.1.1: {} + + picocolors@1.0.1: {} + + picocolors@1.1.1: {} + + picomatch@2.3.1: {} + + pirates@4.0.6: {} + + pkg-types@1.1.1: + dependencies: + confbox: 0.1.7 + mlly: 1.7.1 + pathe: 1.1.2 + + postcss-load-config@3.1.4(postcss@8.4.38)(ts-node@10.9.1(@swc/core@1.3.107(@swc/helpers@0.5.15))(@types/node@22.7.5)(typescript@5.4.5)): + dependencies: + lilconfig: 2.1.0 + yaml: 1.10.2 + optionalDependencies: + postcss: 8.4.38 + ts-node: 10.9.1(@swc/core@1.3.107(@swc/helpers@0.5.15))(@types/node@22.7.5)(typescript@5.4.5) + + postcss@8.4.38: + dependencies: + nanoid: 3.3.7 + picocolors: 1.1.1 + source-map-js: 1.2.0 + + pretty-format@29.7.0: + dependencies: + '@jest/schemas': 29.6.3 + ansi-styles: 5.2.0 + react-is: 18.3.1 + + promise@7.3.1: + dependencies: + asap: 2.0.6 + + psl@1.9.0: + optional: true + + punycode@2.3.1: {} + + querystringify@2.2.0: + optional: true + + queue-microtask@1.2.3: {} + + react-is@18.3.1: {} + + react@18.3.1: + dependencies: + loose-envify: 1.4.0 + + readable-stream@3.6.2: + dependencies: + inherits: 2.0.4 + string_decoder: 1.3.0 + util-deprecate: 1.0.2 + + readdirp@3.6.0: + dependencies: + picomatch: 2.3.1 + + readline-sync@1.4.10: {} + + relay-runtime@12.0.0(encoding@0.1.13): + dependencies: + '@babel/runtime': 7.27.6 + fbjs: 3.0.5(encoding@0.1.13) + invariant: 2.2.4 + transitivePeerDependencies: + - encoding + + remeda@1.61.0: {} + + remedial@1.0.8: {} + + remove-trailing-separator@1.1.0: {} + + remove-trailing-spaces@1.0.8: {} + + require-directory@2.1.1: {} + + require-main-filename@2.0.0: {} + + requires-port@1.0.0: + optional: true + + resolve-from@4.0.0: {} + + resolve-from@5.0.0: {} + + restore-cursor@3.1.0: + dependencies: + onetime: 5.1.2 + signal-exit: 3.0.7 + + reusify@1.0.4: {} + + rfdc@1.4.1: {} + + rollup@3.29.4: + optionalDependencies: + fsevents: 2.3.3 + + rollup@4.18.0: + dependencies: + '@types/estree': 1.0.5 + optionalDependencies: + '@rollup/rollup-android-arm-eabi': 4.18.0 + '@rollup/rollup-android-arm64': 4.18.0 + '@rollup/rollup-darwin-arm64': 4.18.0 + '@rollup/rollup-darwin-x64': 4.18.0 + '@rollup/rollup-linux-arm-gnueabihf': 4.18.0 + '@rollup/rollup-linux-arm-musleabihf': 4.18.0 + '@rollup/rollup-linux-arm64-gnu': 4.18.0 + '@rollup/rollup-linux-arm64-musl': 4.18.0 + '@rollup/rollup-linux-powerpc64le-gnu': 4.18.0 + '@rollup/rollup-linux-riscv64-gnu': 4.18.0 + '@rollup/rollup-linux-s390x-gnu': 4.18.0 + '@rollup/rollup-linux-x64-gnu': 4.18.0 + '@rollup/rollup-linux-x64-musl': 4.18.0 + '@rollup/rollup-win32-arm64-msvc': 4.18.0 + '@rollup/rollup-win32-ia32-msvc': 4.18.0 + '@rollup/rollup-win32-x64-msvc': 4.18.0 + fsevents: 2.3.3 + + rrweb-cssom@0.7.1: + optional: true + + rrweb-cssom@0.8.0: + optional: true + + run-async@2.4.1: {} + + run-parallel@1.2.0: + dependencies: + queue-microtask: 1.2.3 + + rxjs@7.8.2: + dependencies: + tslib: 2.8.1 + + safe-buffer@5.2.1: {} + + safer-buffer@2.1.2: {} + + saxes@6.0.0: + dependencies: + xmlchars: 2.2.0 + optional: true + + scuid@1.1.0: {} + + semver@6.3.1: {} + + sentence-case@3.0.4: + dependencies: + no-case: 3.0.4 + tslib: 2.8.1 + upper-case-first: 2.0.2 + + set-blocking@2.0.0: {} + + setimmediate@1.0.5: {} + + shebang-command@2.0.0: + dependencies: + shebang-regex: 3.0.0 + + shebang-regex@3.0.0: {} + + shell-quote@1.8.1: {} + + siginfo@2.0.0: {} + + signal-exit@3.0.7: {} + + signal-exit@4.1.0: {} + + signedsource@1.0.0: {} + + sirv@2.0.4: + dependencies: + '@polka/url': 1.0.0-next.25 + mrmime: 2.0.0 + totalist: 3.0.1 + optional: true + + slash@3.0.0: {} + + slice-ansi@3.0.0: + dependencies: + ansi-styles: 4.3.0 + astral-regex: 2.0.0 + is-fullwidth-code-point: 3.0.0 + + slice-ansi@4.0.0: + dependencies: + ansi-styles: 4.3.0 + astral-regex: 2.0.0 + is-fullwidth-code-point: 3.0.0 + + snake-case@3.0.4: + dependencies: + dot-case: 3.0.4 + tslib: 2.8.1 + + source-map-js@1.2.0: {} + + source-map-support@0.5.21: + dependencies: + buffer-from: 1.1.2 + source-map: 0.6.1 + optional: true + + source-map@0.6.1: + optional: true + + source-map@0.8.0-beta.0: + dependencies: + whatwg-url: 7.1.0 + + spawn-command@0.0.2: {} + + sponge-case@1.0.1: + dependencies: + tslib: 2.8.1 + + stackback@0.0.2: {} + + std-env@3.7.0: {} + + streamsearch@1.1.0: {} + + string-env-interpolation@1.0.1: {} + + string-length@6.0.0: + dependencies: + strip-ansi: 7.1.0 + + string-width@4.2.3: + dependencies: + emoji-regex: 8.0.0 + is-fullwidth-code-point: 3.0.0 + strip-ansi: 6.0.1 + + string-width@5.1.2: + dependencies: + eastasianwidth: 0.2.0 + emoji-regex: 9.2.2 + strip-ansi: 7.1.0 + + string_decoder@1.3.0: + dependencies: + safe-buffer: 5.2.1 + + strip-ansi@6.0.1: + dependencies: + ansi-regex: 5.0.1 + + strip-ansi@7.1.0: + dependencies: + ansi-regex: 6.0.1 + + strip-final-newline@2.0.0: {} + + strip-final-newline@3.0.0: {} + + strip-literal@2.1.0: + dependencies: + js-tokens: 9.0.1 + + sucrase@3.35.0: + dependencies: + '@jridgewell/gen-mapping': 0.3.5 + commander: 4.1.1 + glob: 10.4.1 + lines-and-columns: 1.2.4 + mz: 2.7.0 + pirates: 4.0.6 + ts-interface-checker: 0.1.13 + + supports-color@5.5.0: + dependencies: + has-flag: 3.0.0 + + supports-color@7.2.0: + dependencies: + has-flag: 4.0.0 + + supports-color@8.1.1: + dependencies: + has-flag: 4.0.0 + + swap-case@2.0.2: + dependencies: + tslib: 2.8.1 + + symbol-tree@3.2.4: + optional: true + + terser@5.31.1: + dependencies: + '@jridgewell/source-map': 0.3.6 + acorn: 8.15.0 + commander: 2.20.3 + source-map-support: 0.5.21 + optional: true + + thenify-all@1.6.0: + dependencies: + thenify: 3.3.1 + + thenify@3.3.1: + dependencies: + any-promise: 1.3.0 + + through@2.3.8: {} + + tinybench@2.8.0: {} + + tinypool@0.8.4: {} + + tinyspy@2.2.1: {} + + title-case@3.0.3: + dependencies: + tslib: 2.8.1 + + tmp@0.0.33: + dependencies: + os-tmpdir: 1.0.2 + + to-regex-range@5.0.1: + dependencies: + is-number: 7.0.0 + + totalist@3.0.1: + optional: true + + tough-cookie@4.1.4: + dependencies: + psl: 1.9.0 + punycode: 2.3.1 + universalify: 0.2.0 + url-parse: 1.5.10 + optional: true + + tr46@0.0.3: {} + + tr46@1.0.1: + dependencies: + punycode: 2.3.1 + + tr46@5.1.1: + dependencies: + punycode: 2.3.1 + optional: true + + tree-kill@1.2.2: {} + + ts-interface-checker@0.1.13: {} + + ts-log@2.2.7: {} + + ts-node@10.9.1(@swc/core@1.3.107(@swc/helpers@0.5.15))(@types/node@22.7.5)(typescript@5.4.5): + dependencies: + '@cspotcode/source-map-support': 0.8.1 + '@tsconfig/node10': 1.0.11 + '@tsconfig/node12': 1.0.11 + '@tsconfig/node14': 1.0.3 + '@tsconfig/node16': 1.0.4 + '@types/node': 22.7.5 + acorn: 8.11.3 + acorn-walk: 8.3.2 + arg: 4.1.3 + create-require: 1.1.1 + diff: 4.0.2 + make-error: 1.3.6 + typescript: 5.4.5 + v8-compile-cache-lib: 3.0.1 + yn: 3.1.1 + optionalDependencies: + '@swc/core': 1.3.107(@swc/helpers@0.5.15) + optional: true + + ts-toolbelt@9.6.0: {} + + tslib@2.4.1: {} + + tslib@2.6.3: {} + + tslib@2.8.1: {} + + tsup@6.7.0(@swc/core@1.3.107(@swc/helpers@0.5.15))(postcss@8.4.38)(ts-node@10.9.1(@swc/core@1.3.107(@swc/helpers@0.5.15))(@types/node@22.7.5)(typescript@5.4.5))(typescript@5.4.5): + dependencies: + bundle-require: 4.2.1(esbuild@0.17.19) + cac: 6.7.14 + chokidar: 3.6.0 + debug: 4.4.1 + esbuild: 0.17.19 + execa: 5.1.1 + globby: 11.1.0 + joycon: 3.1.1 + postcss-load-config: 3.1.4(postcss@8.4.38)(ts-node@10.9.1(@swc/core@1.3.107(@swc/helpers@0.5.15))(@types/node@22.7.5)(typescript@5.4.5)) + resolve-from: 5.0.0 + rollup: 3.29.4 + source-map: 0.8.0-beta.0 + sucrase: 3.35.0 + tree-kill: 1.2.2 + optionalDependencies: + '@swc/core': 1.3.107(@swc/helpers@0.5.15) + postcss: 8.4.38 + typescript: 5.4.5 + transitivePeerDependencies: + - supports-color + - ts-node + + type-detect@4.0.8: {} + + type-fest@0.21.3: {} + + type-fest@4.20.0: {} + + typescript@5.4.5: {} + + ua-parser-js@1.0.38: {} + + ufo@1.5.3: {} + + unc-path-regex@0.1.2: {} + + undici-types@6.19.8: {} + + universalify@0.2.0: + optional: true + + unixify@1.0.0: + dependencies: + normalize-path: 2.1.1 + + update-browserslist-db@1.1.3(browserslist@4.25.1): + dependencies: + browserslist: 4.25.1 + escalade: 3.2.0 + picocolors: 1.1.1 + + upper-case-first@2.0.2: + dependencies: + tslib: 2.8.1 + + upper-case@2.0.2: + dependencies: + tslib: 2.8.1 + + url-parse@1.5.10: + dependencies: + querystringify: 2.2.0 + requires-port: 1.0.0 + optional: true + + urlpattern-polyfill@10.0.0: {} + + utf-8-validate@6.0.4: + dependencies: + node-gyp-build: 4.8.1 + optional: true + + util-deprecate@1.0.2: {} + + v8-compile-cache-lib@3.0.1: + optional: true + + value-or-promise@1.0.12: {} + + vite-node@1.6.0(@types/node@22.7.5)(terser@5.31.1): + dependencies: + cac: 6.7.14 + debug: 4.4.1 + pathe: 1.1.2 + picocolors: 1.1.1 + vite: 5.2.13(@types/node@22.7.5)(terser@5.31.1) + transitivePeerDependencies: + - '@types/node' + - less + - lightningcss + - sass + - stylus + - sugarss + - supports-color + - terser + + vite@5.2.13(@types/node@22.7.5)(terser@5.31.1): + dependencies: + esbuild: 0.20.2 + postcss: 8.4.38 + rollup: 4.18.0 + optionalDependencies: + '@types/node': 22.7.5 + fsevents: 2.3.3 + terser: 5.31.1 + + vitest@1.6.0(@types/node@22.7.5)(@vitest/ui@1.6.0)(jsdom@24.1.3(bufferutil@4.0.8)(utf-8-validate@6.0.4))(terser@5.31.1): + dependencies: + '@vitest/expect': 1.6.0 + '@vitest/runner': 1.6.0 + '@vitest/snapshot': 1.6.0 + '@vitest/spy': 1.6.0 + '@vitest/utils': 1.6.0 + acorn-walk: 8.3.2 + chai: 4.4.1 + debug: 4.3.5 + execa: 8.0.1 + local-pkg: 0.5.0 + magic-string: 0.30.10 + pathe: 1.1.2 + picocolors: 1.0.1 + std-env: 3.7.0 + strip-literal: 2.1.0 + tinybench: 2.8.0 + tinypool: 0.8.4 + vite: 5.2.13(@types/node@22.7.5)(terser@5.31.1) + vite-node: 1.6.0(@types/node@22.7.5)(terser@5.31.1) + why-is-node-running: 2.2.2 + optionalDependencies: + '@types/node': 22.7.5 + '@vitest/ui': 1.6.0(vitest@1.6.0) + jsdom: 24.1.3(bufferutil@4.0.8)(utf-8-validate@6.0.4) + transitivePeerDependencies: + - less + - lightningcss + - sass + - stylus + - sugarss + - supports-color + - terser + + w3c-xmlserializer@5.0.0: + dependencies: + xml-name-validator: 5.0.0 + optional: true + + wcwidth@1.0.1: + dependencies: + defaults: 1.0.4 + + webidl-conversions@3.0.1: {} + + webidl-conversions@4.0.2: {} + + webidl-conversions@7.0.0: + optional: true + + whatwg-encoding@3.1.1: + dependencies: + iconv-lite: 0.6.3 + optional: true + + whatwg-mimetype@4.0.0: + optional: true + + whatwg-url@14.2.0: + dependencies: + tr46: 5.1.1 + webidl-conversions: 7.0.0 + optional: true + + whatwg-url@5.0.0: + dependencies: + tr46: 0.0.3 + webidl-conversions: 3.0.1 + + whatwg-url@7.1.0: + dependencies: + lodash.sortby: 4.7.0 + tr46: 1.0.1 + webidl-conversions: 4.0.2 + + which-module@2.0.1: {} + + which@2.0.2: + dependencies: + isexe: 2.0.0 + + why-is-node-running@2.2.2: + dependencies: + siginfo: 2.0.0 + stackback: 0.0.2 + + wrap-ansi@6.2.0: + dependencies: + ansi-styles: 4.3.0 + string-width: 4.2.3 + strip-ansi: 6.0.1 + + wrap-ansi@7.0.0: + dependencies: + ansi-styles: 4.3.0 + string-width: 4.2.3 + strip-ansi: 6.0.1 + + wrap-ansi@8.1.0: + dependencies: + ansi-styles: 6.2.1 + string-width: 5.1.2 + strip-ansi: 7.1.0 + + wrappy@1.0.2: {} + + ws@8.18.2(bufferutil@4.0.8)(utf-8-validate@6.0.4): + optionalDependencies: + bufferutil: 4.0.8 + utf-8-validate: 6.0.4 + + xml-name-validator@5.0.0: + optional: true + + xmlchars@2.2.0: + optional: true + + y18n@4.0.3: {} + + y18n@5.0.8: {} + + yallist@3.1.1: {} + + yaml-ast-parser@0.0.43: {} + + yaml@1.10.2: {} + + yaml@2.4.5: {} + + yargs-parser@18.1.3: + dependencies: + camelcase: 5.3.1 + decamelize: 1.2.0 + + yargs-parser@21.1.1: {} + + yargs@15.4.1: + dependencies: + cliui: 6.0.0 + decamelize: 1.2.0 + find-up: 4.1.0 + get-caller-file: 2.0.5 + require-directory: 2.1.1 + require-main-filename: 2.0.0 + set-blocking: 2.0.0 + string-width: 4.2.3 + which-module: 2.0.1 + y18n: 4.0.3 + yargs-parser: 18.1.3 + + yargs@17.7.2: + dependencies: + cliui: 8.0.1 + escalade: 3.2.0 + get-caller-file: 2.0.5 + require-directory: 2.1.1 + string-width: 4.2.3 + y18n: 5.0.8 + yargs-parser: 21.1.1 + + yn@3.1.1: + optional: true + + yocto-queue@0.1.0: {} + + yocto-queue@1.0.0: {} + + zod@3.25.67: {} diff --git a/packages/intuition-graphql/pnpm-workspace.yaml b/packages/intuition-graphql/pnpm-workspace.yaml new file mode 100644 index 000000000..b008235c1 --- /dev/null +++ b/packages/intuition-graphql/pnpm-workspace.yaml @@ -0,0 +1,5 @@ +packages: + # executable/launchable applications + - 'apps/*' + # all packages in subdirs of packages/ and components/ + - 'packages/*' diff --git a/packages/intuition-graphql/render.yaml b/packages/intuition-graphql/render.yaml new file mode 100644 index 000000000..791c6901f --- /dev/null +++ b/packages/intuition-graphql/render.yaml @@ -0,0 +1,55 @@ +services: + - type: web + name: data-populator + env: docker + region: oregon + rootDir: . + dockerfilePath: ./apps/data-populator/Dockerfile + dockerContext: . + envVars: + - key: NODE_ENV + value: production + - key: PORT + value: 8080 + - key: PINATA_JWT_KEY + sync: false + - key: PINATA_GATEWAY_KEY + sync: false + - key: IPFS_GATEWAY + sync: false + - key: PRIVATE_KEY + sync: false + - key: PRIVATE_KEY_DEV + sync: false + - key: ADDITIONAL_STAKE_ATOM + value: 100000000000 + - key: ADDITIONAL_STAKE_TRIPLE + value: 100000000000 + - key: CLOUDINARY_CLOUD_NAME + sync: false + - key: CLOUDINARY_API_KEY + sync: false + - key: CLOUDINARY_API_SECRET + sync: false + - key: SUPABASE_URL + sync: false + - key: SUPABASE_KEY + sync: false + - key: VITE_DEPLOY_ENV + sync: false + - key: VITE_ALCHEMY_API_KEY + sync: false + - key: ALCHEMY_API_KEY + sync: false + - key: VITE_ORIGIN_URL + value: https://portal.intuition.systems + - key: ORIGIN_URL + value: https://portal.intuition.systems + - key: PRIVY_APP_ID + sync: false + - key: PRIVY_AUTH_URL + sync: false + - key: PRIVY_APP_SECRET + sync: false + - key: PRIVY_VERIFICATION_KEY + sync: false diff --git a/packages/intuition-graphql/schema.graphql b/packages/intuition-graphql/schema.graphql new file mode 100644 index 000000000..db6857e60 --- /dev/null +++ b/packages/intuition-graphql/schema.graphql @@ -0,0 +1,15753 @@ +schema { + query: query_root + mutation: mutation_root + subscription: subscription_root +} + +""" +whether this query should be cached (Hasura Cloud only) +""" +directive @cached( + """ + refresh the cache entry + """ + refresh: Boolean! = false + """ + measured in seconds + """ + ttl: Int! = 60 +) on QUERY + +""" +Boolean expression to compare columns of type "Boolean". All fields are combined with logical 'AND'. +""" +input Boolean_comparison_exp { + _eq: Boolean + _gt: Boolean + _gte: Boolean + _in: [Boolean!] + _is_null: Boolean + _lt: Boolean + _lte: Boolean + _neq: Boolean + _nin: [Boolean!] +} + +""" +Boolean expression to compare columns of type "Int". All fields are combined with logical 'AND'. +""" +input Int_comparison_exp { + _eq: Int + _gt: Int + _gte: Int + _in: [Int!] + _is_null: Boolean + _lt: Int + _lte: Int + _neq: Int + _nin: [Int!] +} + +input PinOrganizationInput { + description: String + email: String + image: String + name: String + url: String +} + +type PinOutput { + uri: String +} + +input PinPersonInput { + description: String + email: String + identifier: String + image: String + name: String + url: String +} + +input PinThingInput { + description: String + image: String + name: String + url: String +} + +""" +Boolean expression to compare columns of type "String". All fields are combined with logical 'AND'. +""" +input String_comparison_exp { + _eq: String + _gt: String + _gte: String + """ + does the column match the given case-insensitive pattern + """ + _ilike: String + _in: [String!] + """ + does the column match the given POSIX regular expression, case insensitive + """ + _iregex: String + _is_null: Boolean + """ + does the column match the given pattern + """ + _like: String + _lt: String + _lte: String + _neq: String + """ + does the column NOT match the given case-insensitive pattern + """ + _nilike: String + _nin: [String!] + """ + does the column NOT match the given POSIX regular expression, case insensitive + """ + _niregex: String + """ + does the column NOT match the given pattern + """ + _nlike: String + """ + does the column NOT match the given POSIX regular expression, case sensitive + """ + _nregex: String + """ + does the column NOT match the given SQL regular expression + """ + _nsimilar: String + """ + does the column match the given POSIX regular expression, case sensitive + """ + _regex: String + """ + does the column match the given SQL regular expression + """ + _similar: String +} + +scalar _text + +scalar account_type + +""" +Boolean expression to compare columns of type "account_type". All fields are combined with logical 'AND'. +""" +input account_type_comparison_exp { + _eq: account_type + _gt: account_type + _gte: account_type + _in: [account_type!] + _is_null: Boolean + _lt: account_type + _lte: account_type + _neq: account_type + _nin: [account_type!] +} + +""" +columns and relationships of "account" +""" +type accounts { + """ + An object relationship + """ + atom: atoms + atom_id: numeric + """ + An array relationship + """ + atoms( + """ + distinct select on columns + """ + distinct_on: [atoms_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [atoms_order_by!] + """ + filter the rows returned + """ + where: atoms_bool_exp + ): [atoms!]! + """ + An aggregate relationship + """ + atoms_aggregate( + """ + distinct select on columns + """ + distinct_on: [atoms_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [atoms_order_by!] + """ + filter the rows returned + """ + where: atoms_bool_exp + ): atoms_aggregate! + cached_image: cached_images_cached_image + """ + An array relationship + """ + deposits_received( + """ + distinct select on columns + """ + distinct_on: [deposits_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [deposits_order_by!] + """ + filter the rows returned + """ + where: deposits_bool_exp + ): [deposits!]! + """ + An aggregate relationship + """ + deposits_received_aggregate( + """ + distinct select on columns + """ + distinct_on: [deposits_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [deposits_order_by!] + """ + filter the rows returned + """ + where: deposits_bool_exp + ): deposits_aggregate! + """ + An array relationship + """ + deposits_sent( + """ + distinct select on columns + """ + distinct_on: [deposits_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [deposits_order_by!] + """ + filter the rows returned + """ + where: deposits_bool_exp + ): [deposits!]! + """ + An aggregate relationship + """ + deposits_sent_aggregate( + """ + distinct select on columns + """ + distinct_on: [deposits_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [deposits_order_by!] + """ + filter the rows returned + """ + where: deposits_bool_exp + ): deposits_aggregate! + """ + An array relationship + """ + fee_transfers( + """ + distinct select on columns + """ + distinct_on: [fee_transfers_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [fee_transfers_order_by!] + """ + filter the rows returned + """ + where: fee_transfers_bool_exp + ): [fee_transfers!]! + """ + An aggregate relationship + """ + fee_transfers_aggregate( + """ + distinct select on columns + """ + distinct_on: [fee_transfers_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [fee_transfers_order_by!] + """ + filter the rows returned + """ + where: fee_transfers_bool_exp + ): fee_transfers_aggregate! + id: String! + image: String + label: String! + """ + An array relationship + """ + positions( + """ + distinct select on columns + """ + distinct_on: [positions_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [positions_order_by!] + """ + filter the rows returned + """ + where: positions_bool_exp + ): [positions!]! + """ + An aggregate relationship + """ + positions_aggregate( + """ + distinct select on columns + """ + distinct_on: [positions_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [positions_order_by!] + """ + filter the rows returned + """ + where: positions_bool_exp + ): positions_aggregate! + """ + An array relationship + """ + redemptions_received( + """ + distinct select on columns + """ + distinct_on: [redemptions_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [redemptions_order_by!] + """ + filter the rows returned + """ + where: redemptions_bool_exp + ): [redemptions!]! + """ + An aggregate relationship + """ + redemptions_received_aggregate( + """ + distinct select on columns + """ + distinct_on: [redemptions_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [redemptions_order_by!] + """ + filter the rows returned + """ + where: redemptions_bool_exp + ): redemptions_aggregate! + """ + An array relationship + """ + redemptions_sent( + """ + distinct select on columns + """ + distinct_on: [redemptions_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [redemptions_order_by!] + """ + filter the rows returned + """ + where: redemptions_bool_exp + ): [redemptions!]! + """ + An aggregate relationship + """ + redemptions_sent_aggregate( + """ + distinct select on columns + """ + distinct_on: [redemptions_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [redemptions_order_by!] + """ + filter the rows returned + """ + where: redemptions_bool_exp + ): redemptions_aggregate! + """ + An array relationship + """ + signals( + """ + distinct select on columns + """ + distinct_on: [signals_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [signals_order_by!] + """ + filter the rows returned + """ + where: signals_bool_exp + ): [signals!]! + """ + An aggregate relationship + """ + signals_aggregate( + """ + distinct select on columns + """ + distinct_on: [signals_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [signals_order_by!] + """ + filter the rows returned + """ + where: signals_bool_exp + ): signals_aggregate! + """ + An array relationship + """ + triples( + """ + distinct select on columns + """ + distinct_on: [triples_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [triples_order_by!] + """ + filter the rows returned + """ + where: triples_bool_exp + ): [triples!]! + """ + An aggregate relationship + """ + triples_aggregate( + """ + distinct select on columns + """ + distinct_on: [triples_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [triples_order_by!] + """ + filter the rows returned + """ + where: triples_bool_exp + ): triples_aggregate! + type: account_type! +} + +""" +aggregated selection of "account" +""" +type accounts_aggregate { + aggregate: accounts_aggregate_fields + nodes: [accounts!]! +} + +input accounts_aggregate_bool_exp { + count: accounts_aggregate_bool_exp_count +} + +input accounts_aggregate_bool_exp_count { + arguments: [accounts_select_column!] + distinct: Boolean + filter: accounts_bool_exp + predicate: Int_comparison_exp! +} + +""" +aggregate fields of "account" +""" +type accounts_aggregate_fields { + avg: accounts_avg_fields + count(columns: [accounts_select_column!], distinct: Boolean): Int! + max: accounts_max_fields + min: accounts_min_fields + stddev: accounts_stddev_fields + stddev_pop: accounts_stddev_pop_fields + stddev_samp: accounts_stddev_samp_fields + sum: accounts_sum_fields + var_pop: accounts_var_pop_fields + var_samp: accounts_var_samp_fields + variance: accounts_variance_fields +} + +""" +order by aggregate values of table "account" +""" +input accounts_aggregate_order_by { + avg: accounts_avg_order_by + count: order_by + max: accounts_max_order_by + min: accounts_min_order_by + stddev: accounts_stddev_order_by + stddev_pop: accounts_stddev_pop_order_by + stddev_samp: accounts_stddev_samp_order_by + sum: accounts_sum_order_by + var_pop: accounts_var_pop_order_by + var_samp: accounts_var_samp_order_by + variance: accounts_variance_order_by +} + +""" +aggregate avg on columns +""" +type accounts_avg_fields { + atom_id: Float +} + +""" +order by avg() on columns of table "account" +""" +input accounts_avg_order_by { + atom_id: order_by +} + +""" +Boolean expression to filter rows from the table "account". All fields are combined with a logical 'AND'. +""" +input accounts_bool_exp { + _and: [accounts_bool_exp!] + _not: accounts_bool_exp + _or: [accounts_bool_exp!] + atom: atoms_bool_exp + atom_id: numeric_comparison_exp + atoms: atoms_bool_exp + atoms_aggregate: atoms_aggregate_bool_exp + deposits_received: deposits_bool_exp + deposits_received_aggregate: deposits_aggregate_bool_exp + deposits_sent: deposits_bool_exp + deposits_sent_aggregate: deposits_aggregate_bool_exp + fee_transfers: fee_transfers_bool_exp + fee_transfers_aggregate: fee_transfers_aggregate_bool_exp + id: String_comparison_exp + image: String_comparison_exp + label: String_comparison_exp + positions: positions_bool_exp + positions_aggregate: positions_aggregate_bool_exp + redemptions_received: redemptions_bool_exp + redemptions_received_aggregate: redemptions_aggregate_bool_exp + redemptions_sent: redemptions_bool_exp + redemptions_sent_aggregate: redemptions_aggregate_bool_exp + signals: signals_bool_exp + signals_aggregate: signals_aggregate_bool_exp + triples: triples_bool_exp + triples_aggregate: triples_aggregate_bool_exp + type: account_type_comparison_exp +} + +""" +aggregate max on columns +""" +type accounts_max_fields { + atom_id: numeric + id: String + image: String + label: String + type: account_type +} + +""" +order by max() on columns of table "account" +""" +input accounts_max_order_by { + atom_id: order_by + id: order_by + image: order_by + label: order_by + type: order_by +} + +""" +aggregate min on columns +""" +type accounts_min_fields { + atom_id: numeric + id: String + image: String + label: String + type: account_type +} + +""" +order by min() on columns of table "account" +""" +input accounts_min_order_by { + atom_id: order_by + id: order_by + image: order_by + label: order_by + type: order_by +} + +""" +Ordering options when selecting data from "account". +""" +input accounts_order_by { + atom: atoms_order_by + atom_id: order_by + atoms_aggregate: atoms_aggregate_order_by + deposits_received_aggregate: deposits_aggregate_order_by + deposits_sent_aggregate: deposits_aggregate_order_by + fee_transfers_aggregate: fee_transfers_aggregate_order_by + id: order_by + image: order_by + label: order_by + positions_aggregate: positions_aggregate_order_by + redemptions_received_aggregate: redemptions_aggregate_order_by + redemptions_sent_aggregate: redemptions_aggregate_order_by + signals_aggregate: signals_aggregate_order_by + triples_aggregate: triples_aggregate_order_by + type: order_by +} + +""" +select columns of table "account" +""" +enum accounts_select_column { + """ + column name + """ + atom_id + """ + column name + """ + id + """ + column name + """ + image + """ + column name + """ + label + """ + column name + """ + type +} + +""" +aggregate stddev on columns +""" +type accounts_stddev_fields { + atom_id: Float +} + +""" +order by stddev() on columns of table "account" +""" +input accounts_stddev_order_by { + atom_id: order_by +} + +""" +aggregate stddev_pop on columns +""" +type accounts_stddev_pop_fields { + atom_id: Float +} + +""" +order by stddev_pop() on columns of table "account" +""" +input accounts_stddev_pop_order_by { + atom_id: order_by +} + +""" +aggregate stddev_samp on columns +""" +type accounts_stddev_samp_fields { + atom_id: Float +} + +""" +order by stddev_samp() on columns of table "account" +""" +input accounts_stddev_samp_order_by { + atom_id: order_by +} + +""" +Streaming cursor of the table "accounts" +""" +input accounts_stream_cursor_input { + """ + Stream column input with initial value + """ + initial_value: accounts_stream_cursor_value_input! + """ + cursor ordering + """ + ordering: cursor_ordering +} + +""" +Initial value of the column from where the streaming should start +""" +input accounts_stream_cursor_value_input { + atom_id: numeric + id: String + image: String + label: String + type: account_type +} + +""" +aggregate sum on columns +""" +type accounts_sum_fields { + atom_id: numeric +} + +""" +order by sum() on columns of table "account" +""" +input accounts_sum_order_by { + atom_id: order_by +} + +""" +aggregate var_pop on columns +""" +type accounts_var_pop_fields { + atom_id: Float +} + +""" +order by var_pop() on columns of table "account" +""" +input accounts_var_pop_order_by { + atom_id: order_by +} + +""" +aggregate var_samp on columns +""" +type accounts_var_samp_fields { + atom_id: Float +} + +""" +order by var_samp() on columns of table "account" +""" +input accounts_var_samp_order_by { + atom_id: order_by +} + +""" +aggregate variance on columns +""" +type accounts_variance_fields { + atom_id: Float +} + +""" +order by variance() on columns of table "account" +""" +input accounts_variance_order_by { + atom_id: order_by +} + +scalar atom_type + +""" +Boolean expression to compare columns of type "atom_type". All fields are combined with logical 'AND'. +""" +input atom_type_comparison_exp { + _eq: atom_type + _gt: atom_type + _gte: atom_type + _in: [atom_type!] + _is_null: Boolean + _lt: atom_type + _lte: atom_type + _neq: atom_type + _nin: [atom_type!] +} + +""" +columns and relationships of "atom_value" +""" +type atom_values { + """ + An object relationship + """ + account: accounts + account_id: String + """ + An object relationship + """ + atom: atoms! + """ + An object relationship + """ + book: books + book_id: numeric + """ + An object relationship + """ + byte_object: byte_object + byte_object_id: numeric + """ + An object relationship + """ + caip10: caip10 + id: numeric! + """ + An object relationship + """ + json_object: json_objects + json_object_id: numeric + """ + An object relationship + """ + organization: organizations + organization_id: numeric + """ + An object relationship + """ + person: persons + person_id: numeric + """ + An object relationship + """ + text_object: text_objects + text_object_id: numeric + """ + An object relationship + """ + thing: things + thing_id: numeric +} + +""" +aggregated selection of "atom_value" +""" +type atom_values_aggregate { + aggregate: atom_values_aggregate_fields + nodes: [atom_values!]! +} + +""" +aggregate fields of "atom_value" +""" +type atom_values_aggregate_fields { + avg: atom_values_avg_fields + count(columns: [atom_values_select_column!], distinct: Boolean): Int! + max: atom_values_max_fields + min: atom_values_min_fields + stddev: atom_values_stddev_fields + stddev_pop: atom_values_stddev_pop_fields + stddev_samp: atom_values_stddev_samp_fields + sum: atom_values_sum_fields + var_pop: atom_values_var_pop_fields + var_samp: atom_values_var_samp_fields + variance: atom_values_variance_fields +} + +""" +aggregate avg on columns +""" +type atom_values_avg_fields { + book_id: Float + byte_object_id: Float + id: Float + json_object_id: Float + organization_id: Float + person_id: Float + text_object_id: Float + thing_id: Float +} + +""" +Boolean expression to filter rows from the table "atom_value". All fields are combined with a logical 'AND'. +""" +input atom_values_bool_exp { + _and: [atom_values_bool_exp!] + _not: atom_values_bool_exp + _or: [atom_values_bool_exp!] + account: accounts_bool_exp + account_id: String_comparison_exp + atom: atoms_bool_exp + book: books_bool_exp + book_id: numeric_comparison_exp + byte_object: byte_object_bool_exp + byte_object_id: numeric_comparison_exp + caip10: caip10_bool_exp + id: numeric_comparison_exp + json_object: json_objects_bool_exp + json_object_id: numeric_comparison_exp + organization: organizations_bool_exp + organization_id: numeric_comparison_exp + person: persons_bool_exp + person_id: numeric_comparison_exp + text_object: text_objects_bool_exp + text_object_id: numeric_comparison_exp + thing: things_bool_exp + thing_id: numeric_comparison_exp +} + +""" +aggregate max on columns +""" +type atom_values_max_fields { + account_id: String + book_id: numeric + byte_object_id: numeric + id: numeric + json_object_id: numeric + organization_id: numeric + person_id: numeric + text_object_id: numeric + thing_id: numeric +} + +""" +aggregate min on columns +""" +type atom_values_min_fields { + account_id: String + book_id: numeric + byte_object_id: numeric + id: numeric + json_object_id: numeric + organization_id: numeric + person_id: numeric + text_object_id: numeric + thing_id: numeric +} + +""" +Ordering options when selecting data from "atom_value". +""" +input atom_values_order_by { + account: accounts_order_by + account_id: order_by + atom: atoms_order_by + book: books_order_by + book_id: order_by + byte_object: byte_object_order_by + byte_object_id: order_by + caip10: caip10_order_by + id: order_by + json_object: json_objects_order_by + json_object_id: order_by + organization: organizations_order_by + organization_id: order_by + person: persons_order_by + person_id: order_by + text_object: text_objects_order_by + text_object_id: order_by + thing: things_order_by + thing_id: order_by +} + +""" +select columns of table "atom_value" +""" +enum atom_values_select_column { + """ + column name + """ + account_id + """ + column name + """ + book_id + """ + column name + """ + byte_object_id + """ + column name + """ + id + """ + column name + """ + json_object_id + """ + column name + """ + organization_id + """ + column name + """ + person_id + """ + column name + """ + text_object_id + """ + column name + """ + thing_id +} + +""" +aggregate stddev on columns +""" +type atom_values_stddev_fields { + book_id: Float + byte_object_id: Float + id: Float + json_object_id: Float + organization_id: Float + person_id: Float + text_object_id: Float + thing_id: Float +} + +""" +aggregate stddev_pop on columns +""" +type atom_values_stddev_pop_fields { + book_id: Float + byte_object_id: Float + id: Float + json_object_id: Float + organization_id: Float + person_id: Float + text_object_id: Float + thing_id: Float +} + +""" +aggregate stddev_samp on columns +""" +type atom_values_stddev_samp_fields { + book_id: Float + byte_object_id: Float + id: Float + json_object_id: Float + organization_id: Float + person_id: Float + text_object_id: Float + thing_id: Float +} + +""" +Streaming cursor of the table "atom_values" +""" +input atom_values_stream_cursor_input { + """ + Stream column input with initial value + """ + initial_value: atom_values_stream_cursor_value_input! + """ + cursor ordering + """ + ordering: cursor_ordering +} + +""" +Initial value of the column from where the streaming should start +""" +input atom_values_stream_cursor_value_input { + account_id: String + book_id: numeric + byte_object_id: numeric + id: numeric + json_object_id: numeric + organization_id: numeric + person_id: numeric + text_object_id: numeric + thing_id: numeric +} + +""" +aggregate sum on columns +""" +type atom_values_sum_fields { + book_id: numeric + byte_object_id: numeric + id: numeric + json_object_id: numeric + organization_id: numeric + person_id: numeric + text_object_id: numeric + thing_id: numeric +} + +""" +aggregate var_pop on columns +""" +type atom_values_var_pop_fields { + book_id: Float + byte_object_id: Float + id: Float + json_object_id: Float + organization_id: Float + person_id: Float + text_object_id: Float + thing_id: Float +} + +""" +aggregate var_samp on columns +""" +type atom_values_var_samp_fields { + book_id: Float + byte_object_id: Float + id: Float + json_object_id: Float + organization_id: Float + person_id: Float + text_object_id: Float + thing_id: Float +} + +""" +aggregate variance on columns +""" +type atom_values_variance_fields { + book_id: Float + byte_object_id: Float + id: Float + json_object_id: Float + organization_id: Float + person_id: Float + text_object_id: Float + thing_id: Float +} + +""" +columns and relationships of "atom" +""" +type atoms { + """ + An array relationship + """ + accounts( + """ + distinct select on columns + """ + distinct_on: [accounts_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [accounts_order_by!] + """ + filter the rows returned + """ + where: accounts_bool_exp + ): [accounts!]! + """ + An aggregate relationship + """ + accounts_aggregate( + """ + distinct select on columns + """ + distinct_on: [accounts_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [accounts_order_by!] + """ + filter the rows returned + """ + where: accounts_bool_exp + ): accounts_aggregate! + """ + An array relationship + """ + as_object_predicate_objects( + """ + distinct select on columns + """ + distinct_on: [predicate_objects_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [predicate_objects_order_by!] + """ + filter the rows returned + """ + where: predicate_objects_bool_exp + ): [predicate_objects!]! + """ + An aggregate relationship + """ + as_object_predicate_objects_aggregate( + """ + distinct select on columns + """ + distinct_on: [predicate_objects_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [predicate_objects_order_by!] + """ + filter the rows returned + """ + where: predicate_objects_bool_exp + ): predicate_objects_aggregate! + """ + An array relationship + """ + as_object_triples( + """ + distinct select on columns + """ + distinct_on: [triples_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [triples_order_by!] + """ + filter the rows returned + """ + where: triples_bool_exp + ): [triples!]! + """ + An aggregate relationship + """ + as_object_triples_aggregate( + """ + distinct select on columns + """ + distinct_on: [triples_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [triples_order_by!] + """ + filter the rows returned + """ + where: triples_bool_exp + ): triples_aggregate! + """ + An array relationship + """ + as_predicate_predicate_objects( + """ + distinct select on columns + """ + distinct_on: [predicate_objects_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [predicate_objects_order_by!] + """ + filter the rows returned + """ + where: predicate_objects_bool_exp + ): [predicate_objects!]! + """ + An aggregate relationship + """ + as_predicate_predicate_objects_aggregate( + """ + distinct select on columns + """ + distinct_on: [predicate_objects_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [predicate_objects_order_by!] + """ + filter the rows returned + """ + where: predicate_objects_bool_exp + ): predicate_objects_aggregate! + """ + An array relationship + """ + as_predicate_triples( + """ + distinct select on columns + """ + distinct_on: [triples_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [triples_order_by!] + """ + filter the rows returned + """ + where: triples_bool_exp + ): [triples!]! + """ + An aggregate relationship + """ + as_predicate_triples_aggregate( + """ + distinct select on columns + """ + distinct_on: [triples_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [triples_order_by!] + """ + filter the rows returned + """ + where: triples_bool_exp + ): triples_aggregate! + """ + An array relationship + """ + as_subject_triples( + """ + distinct select on columns + """ + distinct_on: [triples_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [triples_order_by!] + """ + filter the rows returned + """ + where: triples_bool_exp + ): [triples!]! + """ + An aggregate relationship + """ + as_subject_triples_aggregate( + """ + distinct select on columns + """ + distinct_on: [triples_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [triples_order_by!] + """ + filter the rows returned + """ + where: triples_bool_exp + ): triples_aggregate! + block_number: numeric! + cached_image: cached_images_cached_image + """ + An object relationship + """ + controller: accounts + created_at: timestamptz! + """ + An object relationship + """ + creator: accounts! + creator_id: String! + data: String + emoji: String + image: String + label: String + """ + An array relationship + """ + positions( + """ + distinct select on columns + """ + distinct_on: [positions_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [positions_order_by!] + """ + filter the rows returned + """ + where: positions_bool_exp + ): [positions!]! + """ + An aggregate relationship + """ + positions_aggregate( + """ + distinct select on columns + """ + distinct_on: [positions_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [positions_order_by!] + """ + filter the rows returned + """ + where: positions_bool_exp + ): positions_aggregate! + """ + An array relationship + """ + signals( + """ + distinct select on columns + """ + distinct_on: [signals_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [signals_order_by!] + """ + filter the rows returned + """ + where: signals_bool_exp + ): [signals!]! + """ + An aggregate relationship + """ + signals_aggregate( + """ + distinct select on columns + """ + distinct_on: [signals_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [signals_order_by!] + """ + filter the rows returned + """ + where: signals_bool_exp + ): signals_aggregate! + """ + An object relationship + """ + term: terms! + term_id: numeric! + transaction_hash: String! + type: atom_type! + updated_at: timestamptz! + """ + An object relationship + """ + value: atom_values + value_id: numeric + wallet_id: String! +} + +""" +aggregated selection of "atom" +""" +type atoms_aggregate { + aggregate: atoms_aggregate_fields + nodes: [atoms!]! +} + +input atoms_aggregate_bool_exp { + count: atoms_aggregate_bool_exp_count +} + +input atoms_aggregate_bool_exp_count { + arguments: [atoms_select_column!] + distinct: Boolean + filter: atoms_bool_exp + predicate: Int_comparison_exp! +} + +""" +aggregate fields of "atom" +""" +type atoms_aggregate_fields { + avg: atoms_avg_fields + count(columns: [atoms_select_column!], distinct: Boolean): Int! + max: atoms_max_fields + min: atoms_min_fields + stddev: atoms_stddev_fields + stddev_pop: atoms_stddev_pop_fields + stddev_samp: atoms_stddev_samp_fields + sum: atoms_sum_fields + var_pop: atoms_var_pop_fields + var_samp: atoms_var_samp_fields + variance: atoms_variance_fields +} + +""" +order by aggregate values of table "atom" +""" +input atoms_aggregate_order_by { + avg: atoms_avg_order_by + count: order_by + max: atoms_max_order_by + min: atoms_min_order_by + stddev: atoms_stddev_order_by + stddev_pop: atoms_stddev_pop_order_by + stddev_samp: atoms_stddev_samp_order_by + sum: atoms_sum_order_by + var_pop: atoms_var_pop_order_by + var_samp: atoms_var_samp_order_by + variance: atoms_variance_order_by +} + +""" +aggregate avg on columns +""" +type atoms_avg_fields { + block_number: Float + term_id: Float + value_id: Float +} + +""" +order by avg() on columns of table "atom" +""" +input atoms_avg_order_by { + block_number: order_by + term_id: order_by + value_id: order_by +} + +""" +Boolean expression to filter rows from the table "atom". All fields are combined with a logical 'AND'. +""" +input atoms_bool_exp { + _and: [atoms_bool_exp!] + _not: atoms_bool_exp + _or: [atoms_bool_exp!] + accounts: accounts_bool_exp + accounts_aggregate: accounts_aggregate_bool_exp + as_object_predicate_objects: predicate_objects_bool_exp + as_object_predicate_objects_aggregate: predicate_objects_aggregate_bool_exp + as_object_triples: triples_bool_exp + as_object_triples_aggregate: triples_aggregate_bool_exp + as_predicate_predicate_objects: predicate_objects_bool_exp + as_predicate_predicate_objects_aggregate: predicate_objects_aggregate_bool_exp + as_predicate_triples: triples_bool_exp + as_predicate_triples_aggregate: triples_aggregate_bool_exp + as_subject_triples: triples_bool_exp + as_subject_triples_aggregate: triples_aggregate_bool_exp + block_number: numeric_comparison_exp + controller: accounts_bool_exp + created_at: timestamptz_comparison_exp + creator: accounts_bool_exp + creator_id: String_comparison_exp + data: String_comparison_exp + emoji: String_comparison_exp + image: String_comparison_exp + label: String_comparison_exp + positions: positions_bool_exp + positions_aggregate: positions_aggregate_bool_exp + signals: signals_bool_exp + signals_aggregate: signals_aggregate_bool_exp + term: terms_bool_exp + term_id: numeric_comparison_exp + transaction_hash: String_comparison_exp + type: atom_type_comparison_exp + updated_at: timestamptz_comparison_exp + value: atom_values_bool_exp + value_id: numeric_comparison_exp + wallet_id: String_comparison_exp +} + +""" +aggregate max on columns +""" +type atoms_max_fields { + block_number: numeric + created_at: timestamptz + creator_id: String + data: String + emoji: String + image: String + label: String + term_id: numeric + transaction_hash: String + type: atom_type + updated_at: timestamptz + value_id: numeric + wallet_id: String +} + +""" +order by max() on columns of table "atom" +""" +input atoms_max_order_by { + block_number: order_by + created_at: order_by + creator_id: order_by + data: order_by + emoji: order_by + image: order_by + label: order_by + term_id: order_by + transaction_hash: order_by + type: order_by + updated_at: order_by + value_id: order_by + wallet_id: order_by +} + +""" +aggregate min on columns +""" +type atoms_min_fields { + block_number: numeric + created_at: timestamptz + creator_id: String + data: String + emoji: String + image: String + label: String + term_id: numeric + transaction_hash: String + type: atom_type + updated_at: timestamptz + value_id: numeric + wallet_id: String +} + +""" +order by min() on columns of table "atom" +""" +input atoms_min_order_by { + block_number: order_by + created_at: order_by + creator_id: order_by + data: order_by + emoji: order_by + image: order_by + label: order_by + term_id: order_by + transaction_hash: order_by + type: order_by + updated_at: order_by + value_id: order_by + wallet_id: order_by +} + +""" +Ordering options when selecting data from "atom". +""" +input atoms_order_by { + accounts_aggregate: accounts_aggregate_order_by + as_object_predicate_objects_aggregate: predicate_objects_aggregate_order_by + as_object_triples_aggregate: triples_aggregate_order_by + as_predicate_predicate_objects_aggregate: predicate_objects_aggregate_order_by + as_predicate_triples_aggregate: triples_aggregate_order_by + as_subject_triples_aggregate: triples_aggregate_order_by + block_number: order_by + controller: accounts_order_by + created_at: order_by + creator: accounts_order_by + creator_id: order_by + data: order_by + emoji: order_by + image: order_by + label: order_by + positions_aggregate: positions_aggregate_order_by + signals_aggregate: signals_aggregate_order_by + term: terms_order_by + term_id: order_by + transaction_hash: order_by + type: order_by + updated_at: order_by + value: atom_values_order_by + value_id: order_by + wallet_id: order_by +} + +""" +select columns of table "atom" +""" +enum atoms_select_column { + """ + column name + """ + block_number + """ + column name + """ + created_at + """ + column name + """ + creator_id + """ + column name + """ + data + """ + column name + """ + emoji + """ + column name + """ + image + """ + column name + """ + label + """ + column name + """ + term_id + """ + column name + """ + transaction_hash + """ + column name + """ + type + """ + column name + """ + updated_at + """ + column name + """ + value_id + """ + column name + """ + wallet_id +} + +""" +aggregate stddev on columns +""" +type atoms_stddev_fields { + block_number: Float + term_id: Float + value_id: Float +} + +""" +order by stddev() on columns of table "atom" +""" +input atoms_stddev_order_by { + block_number: order_by + term_id: order_by + value_id: order_by +} + +""" +aggregate stddev_pop on columns +""" +type atoms_stddev_pop_fields { + block_number: Float + term_id: Float + value_id: Float +} + +""" +order by stddev_pop() on columns of table "atom" +""" +input atoms_stddev_pop_order_by { + block_number: order_by + term_id: order_by + value_id: order_by +} + +""" +aggregate stddev_samp on columns +""" +type atoms_stddev_samp_fields { + block_number: Float + term_id: Float + value_id: Float +} + +""" +order by stddev_samp() on columns of table "atom" +""" +input atoms_stddev_samp_order_by { + block_number: order_by + term_id: order_by + value_id: order_by +} + +""" +Streaming cursor of the table "atoms" +""" +input atoms_stream_cursor_input { + """ + Stream column input with initial value + """ + initial_value: atoms_stream_cursor_value_input! + """ + cursor ordering + """ + ordering: cursor_ordering +} + +""" +Initial value of the column from where the streaming should start +""" +input atoms_stream_cursor_value_input { + block_number: numeric + created_at: timestamptz + creator_id: String + data: String + emoji: String + image: String + label: String + term_id: numeric + transaction_hash: String + type: atom_type + updated_at: timestamptz + value_id: numeric + wallet_id: String +} + +""" +aggregate sum on columns +""" +type atoms_sum_fields { + block_number: numeric + term_id: numeric + value_id: numeric +} + +""" +order by sum() on columns of table "atom" +""" +input atoms_sum_order_by { + block_number: order_by + term_id: order_by + value_id: order_by +} + +""" +aggregate var_pop on columns +""" +type atoms_var_pop_fields { + block_number: Float + term_id: Float + value_id: Float +} + +""" +order by var_pop() on columns of table "atom" +""" +input atoms_var_pop_order_by { + block_number: order_by + term_id: order_by + value_id: order_by +} + +""" +aggregate var_samp on columns +""" +type atoms_var_samp_fields { + block_number: Float + term_id: Float + value_id: Float +} + +""" +order by var_samp() on columns of table "atom" +""" +input atoms_var_samp_order_by { + block_number: order_by + term_id: order_by + value_id: order_by +} + +""" +aggregate variance on columns +""" +type atoms_variance_fields { + block_number: Float + term_id: Float + value_id: Float +} + +""" +order by variance() on columns of table "atom" +""" +input atoms_variance_order_by { + block_number: order_by + term_id: order_by + value_id: order_by +} + +scalar bigint + +""" +Boolean expression to compare columns of type "bigint". All fields are combined with logical 'AND'. +""" +input bigint_comparison_exp { + _eq: bigint + _gt: bigint + _gte: bigint + _in: [bigint!] + _is_null: Boolean + _lt: bigint + _lte: bigint + _neq: bigint + _nin: [bigint!] +} + +""" +columns and relationships of "book" +""" +type books { + """ + An object relationship + """ + atom: atoms + description: String + genre: String + id: numeric! + name: String + url: String +} + +""" +aggregated selection of "book" +""" +type books_aggregate { + aggregate: books_aggregate_fields + nodes: [books!]! +} + +""" +aggregate fields of "book" +""" +type books_aggregate_fields { + avg: books_avg_fields + count(columns: [books_select_column!], distinct: Boolean): Int! + max: books_max_fields + min: books_min_fields + stddev: books_stddev_fields + stddev_pop: books_stddev_pop_fields + stddev_samp: books_stddev_samp_fields + sum: books_sum_fields + var_pop: books_var_pop_fields + var_samp: books_var_samp_fields + variance: books_variance_fields +} + +""" +aggregate avg on columns +""" +type books_avg_fields { + id: Float +} + +""" +Boolean expression to filter rows from the table "book". All fields are combined with a logical 'AND'. +""" +input books_bool_exp { + _and: [books_bool_exp!] + _not: books_bool_exp + _or: [books_bool_exp!] + atom: atoms_bool_exp + description: String_comparison_exp + genre: String_comparison_exp + id: numeric_comparison_exp + name: String_comparison_exp + url: String_comparison_exp +} + +""" +aggregate max on columns +""" +type books_max_fields { + description: String + genre: String + id: numeric + name: String + url: String +} + +""" +aggregate min on columns +""" +type books_min_fields { + description: String + genre: String + id: numeric + name: String + url: String +} + +""" +Ordering options when selecting data from "book". +""" +input books_order_by { + atom: atoms_order_by + description: order_by + genre: order_by + id: order_by + name: order_by + url: order_by +} + +""" +select columns of table "book" +""" +enum books_select_column { + """ + column name + """ + description + """ + column name + """ + genre + """ + column name + """ + id + """ + column name + """ + name + """ + column name + """ + url +} + +""" +aggregate stddev on columns +""" +type books_stddev_fields { + id: Float +} + +""" +aggregate stddev_pop on columns +""" +type books_stddev_pop_fields { + id: Float +} + +""" +aggregate stddev_samp on columns +""" +type books_stddev_samp_fields { + id: Float +} + +""" +Streaming cursor of the table "books" +""" +input books_stream_cursor_input { + """ + Stream column input with initial value + """ + initial_value: books_stream_cursor_value_input! + """ + cursor ordering + """ + ordering: cursor_ordering +} + +""" +Initial value of the column from where the streaming should start +""" +input books_stream_cursor_value_input { + description: String + genre: String + id: numeric + name: String + url: String +} + +""" +aggregate sum on columns +""" +type books_sum_fields { + id: numeric +} + +""" +aggregate var_pop on columns +""" +type books_var_pop_fields { + id: Float +} + +""" +aggregate var_samp on columns +""" +type books_var_samp_fields { + id: Float +} + +""" +aggregate variance on columns +""" +type books_variance_fields { + id: Float +} + +""" +columns and relationships of "byte_object" +""" +type byte_object { + """ + An object relationship + """ + atom: atoms + data: bytea! + id: numeric! +} + +""" +aggregated selection of "byte_object" +""" +type byte_object_aggregate { + aggregate: byte_object_aggregate_fields + nodes: [byte_object!]! +} + +""" +aggregate fields of "byte_object" +""" +type byte_object_aggregate_fields { + avg: byte_object_avg_fields + count(columns: [byte_object_select_column!], distinct: Boolean): Int! + max: byte_object_max_fields + min: byte_object_min_fields + stddev: byte_object_stddev_fields + stddev_pop: byte_object_stddev_pop_fields + stddev_samp: byte_object_stddev_samp_fields + sum: byte_object_sum_fields + var_pop: byte_object_var_pop_fields + var_samp: byte_object_var_samp_fields + variance: byte_object_variance_fields +} + +""" +aggregate avg on columns +""" +type byte_object_avg_fields { + id: Float +} + +""" +Boolean expression to filter rows from the table "byte_object". All fields are combined with a logical 'AND'. +""" +input byte_object_bool_exp { + _and: [byte_object_bool_exp!] + _not: byte_object_bool_exp + _or: [byte_object_bool_exp!] + atom: atoms_bool_exp + data: bytea_comparison_exp + id: numeric_comparison_exp +} + +""" +aggregate max on columns +""" +type byte_object_max_fields { + id: numeric +} + +""" +aggregate min on columns +""" +type byte_object_min_fields { + id: numeric +} + +""" +Ordering options when selecting data from "byte_object". +""" +input byte_object_order_by { + atom: atoms_order_by + data: order_by + id: order_by +} + +""" +select columns of table "byte_object" +""" +enum byte_object_select_column { + """ + column name + """ + data + """ + column name + """ + id +} + +""" +aggregate stddev on columns +""" +type byte_object_stddev_fields { + id: Float +} + +""" +aggregate stddev_pop on columns +""" +type byte_object_stddev_pop_fields { + id: Float +} + +""" +aggregate stddev_samp on columns +""" +type byte_object_stddev_samp_fields { + id: Float +} + +""" +Streaming cursor of the table "byte_object" +""" +input byte_object_stream_cursor_input { + """ + Stream column input with initial value + """ + initial_value: byte_object_stream_cursor_value_input! + """ + cursor ordering + """ + ordering: cursor_ordering +} + +""" +Initial value of the column from where the streaming should start +""" +input byte_object_stream_cursor_value_input { + data: bytea + id: numeric +} + +""" +aggregate sum on columns +""" +type byte_object_sum_fields { + id: numeric +} + +""" +aggregate var_pop on columns +""" +type byte_object_var_pop_fields { + id: Float +} + +""" +aggregate var_samp on columns +""" +type byte_object_var_samp_fields { + id: Float +} + +""" +aggregate variance on columns +""" +type byte_object_variance_fields { + id: Float +} + +scalar bytea + +""" +Boolean expression to compare columns of type "bytea". All fields are combined with logical 'AND'. +""" +input bytea_comparison_exp { + _eq: bytea + _gt: bytea + _gte: bytea + _in: [bytea!] + _is_null: Boolean + _lt: bytea + _lte: bytea + _neq: bytea + _nin: [bytea!] +} + +""" +columns and relationships of "cached_images.cached_image" +""" +type cached_images_cached_image { + created_at: timestamptz! + model: String + original_url: String! + safe: Boolean! + score( + """ + JSON select path + """ + path: String + ): jsonb + url: String! +} + +""" +Boolean expression to filter rows from the table "cached_images.cached_image". All fields are combined with a logical 'AND'. +""" +input cached_images_cached_image_bool_exp { + _and: [cached_images_cached_image_bool_exp!] + _not: cached_images_cached_image_bool_exp + _or: [cached_images_cached_image_bool_exp!] + created_at: timestamptz_comparison_exp + model: String_comparison_exp + original_url: String_comparison_exp + safe: Boolean_comparison_exp + score: jsonb_comparison_exp + url: String_comparison_exp +} + +""" +Ordering options when selecting data from "cached_images.cached_image". +""" +input cached_images_cached_image_order_by { + created_at: order_by + model: order_by + original_url: order_by + safe: order_by + score: order_by + url: order_by +} + +""" +select columns of table "cached_images.cached_image" +""" +enum cached_images_cached_image_select_column { + """ + column name + """ + created_at + """ + column name + """ + model + """ + column name + """ + original_url + """ + column name + """ + safe + """ + column name + """ + score + """ + column name + """ + url +} + +""" +Streaming cursor of the table "cached_images_cached_image" +""" +input cached_images_cached_image_stream_cursor_input { + """ + Stream column input with initial value + """ + initial_value: cached_images_cached_image_stream_cursor_value_input! + """ + cursor ordering + """ + ordering: cursor_ordering +} + +""" +Initial value of the column from where the streaming should start +""" +input cached_images_cached_image_stream_cursor_value_input { + created_at: timestamptz + model: String + original_url: String + safe: Boolean + score: jsonb + url: String +} + +""" +columns and relationships of "caip10" +""" +type caip10 { + account_address: String! + """ + An object relationship + """ + atom: atoms + chain_id: Int! + id: numeric! + namespace: String! +} + +""" +aggregated selection of "caip10" +""" +type caip10_aggregate { + aggregate: caip10_aggregate_fields + nodes: [caip10!]! +} + +""" +aggregate fields of "caip10" +""" +type caip10_aggregate_fields { + avg: caip10_avg_fields + count(columns: [caip10_select_column!], distinct: Boolean): Int! + max: caip10_max_fields + min: caip10_min_fields + stddev: caip10_stddev_fields + stddev_pop: caip10_stddev_pop_fields + stddev_samp: caip10_stddev_samp_fields + sum: caip10_sum_fields + var_pop: caip10_var_pop_fields + var_samp: caip10_var_samp_fields + variance: caip10_variance_fields +} + +""" +aggregate avg on columns +""" +type caip10_avg_fields { + chain_id: Float + id: Float +} + +""" +Boolean expression to filter rows from the table "caip10". All fields are combined with a logical 'AND'. +""" +input caip10_bool_exp { + _and: [caip10_bool_exp!] + _not: caip10_bool_exp + _or: [caip10_bool_exp!] + account_address: String_comparison_exp + atom: atoms_bool_exp + chain_id: Int_comparison_exp + id: numeric_comparison_exp + namespace: String_comparison_exp +} + +""" +aggregate max on columns +""" +type caip10_max_fields { + account_address: String + chain_id: Int + id: numeric + namespace: String +} + +""" +aggregate min on columns +""" +type caip10_min_fields { + account_address: String + chain_id: Int + id: numeric + namespace: String +} + +""" +Ordering options when selecting data from "caip10". +""" +input caip10_order_by { + account_address: order_by + atom: atoms_order_by + chain_id: order_by + id: order_by + namespace: order_by +} + +""" +select columns of table "caip10" +""" +enum caip10_select_column { + """ + column name + """ + account_address + """ + column name + """ + chain_id + """ + column name + """ + id + """ + column name + """ + namespace +} + +""" +aggregate stddev on columns +""" +type caip10_stddev_fields { + chain_id: Float + id: Float +} + +""" +aggregate stddev_pop on columns +""" +type caip10_stddev_pop_fields { + chain_id: Float + id: Float +} + +""" +aggregate stddev_samp on columns +""" +type caip10_stddev_samp_fields { + chain_id: Float + id: Float +} + +""" +Streaming cursor of the table "caip10" +""" +input caip10_stream_cursor_input { + """ + Stream column input with initial value + """ + initial_value: caip10_stream_cursor_value_input! + """ + cursor ordering + """ + ordering: cursor_ordering +} + +""" +Initial value of the column from where the streaming should start +""" +input caip10_stream_cursor_value_input { + account_address: String + chain_id: Int + id: numeric + namespace: String +} + +""" +aggregate sum on columns +""" +type caip10_sum_fields { + chain_id: Int + id: numeric +} + +""" +aggregate var_pop on columns +""" +type caip10_var_pop_fields { + chain_id: Float + id: Float +} + +""" +aggregate var_samp on columns +""" +type caip10_var_samp_fields { + chain_id: Float + id: Float +} + +""" +aggregate variance on columns +""" +type caip10_variance_fields { + chain_id: Float + id: Float +} + +""" +columns and relationships of "chainlink_price" +""" +type chainlink_prices { + id: numeric! + usd: float8 +} + +""" +Boolean expression to filter rows from the table "chainlink_price". All fields are combined with a logical 'AND'. +""" +input chainlink_prices_bool_exp { + _and: [chainlink_prices_bool_exp!] + _not: chainlink_prices_bool_exp + _or: [chainlink_prices_bool_exp!] + id: numeric_comparison_exp + usd: float8_comparison_exp +} + +""" +Ordering options when selecting data from "chainlink_price". +""" +input chainlink_prices_order_by { + id: order_by + usd: order_by +} + +""" +select columns of table "chainlink_price" +""" +enum chainlink_prices_select_column { + """ + column name + """ + id + """ + column name + """ + usd +} + +""" +Streaming cursor of the table "chainlink_prices" +""" +input chainlink_prices_stream_cursor_input { + """ + Stream column input with initial value + """ + initial_value: chainlink_prices_stream_cursor_value_input! + """ + cursor ordering + """ + ordering: cursor_ordering +} + +""" +Initial value of the column from where the streaming should start +""" +input chainlink_prices_stream_cursor_value_input { + id: numeric + usd: float8 +} + +""" +ordering argument of a cursor +""" +enum cursor_ordering { + """ + ascending ordering of the cursor + """ + ASC + """ + descending ordering of the cursor + """ + DESC +} + +""" +columns and relationships of "deposit" +""" +type deposits { + block_number: numeric! + created_at: timestamptz! + curve_id: numeric! + entry_fee: numeric! + id: String! + is_atom_wallet: Boolean! + is_triple: Boolean! + """ + An object relationship + """ + receiver: accounts! + receiver_id: String! + receiver_total_shares_in_vault: numeric! + """ + An object relationship + """ + sender: accounts + sender_assets_after_total_fees: numeric! + sender_id: String! + shares_for_receiver: numeric! + """ + An object relationship + """ + term: terms! + term_id: numeric! + transaction_hash: String! + """ + An object relationship + """ + vault: vaults +} + +""" +aggregated selection of "deposit" +""" +type deposits_aggregate { + aggregate: deposits_aggregate_fields + nodes: [deposits!]! +} + +input deposits_aggregate_bool_exp { + bool_and: deposits_aggregate_bool_exp_bool_and + bool_or: deposits_aggregate_bool_exp_bool_or + count: deposits_aggregate_bool_exp_count +} + +input deposits_aggregate_bool_exp_bool_and { + arguments: deposits_select_column_deposits_aggregate_bool_exp_bool_and_arguments_columns! + distinct: Boolean + filter: deposits_bool_exp + predicate: Boolean_comparison_exp! +} + +input deposits_aggregate_bool_exp_bool_or { + arguments: deposits_select_column_deposits_aggregate_bool_exp_bool_or_arguments_columns! + distinct: Boolean + filter: deposits_bool_exp + predicate: Boolean_comparison_exp! +} + +input deposits_aggregate_bool_exp_count { + arguments: [deposits_select_column!] + distinct: Boolean + filter: deposits_bool_exp + predicate: Int_comparison_exp! +} + +""" +aggregate fields of "deposit" +""" +type deposits_aggregate_fields { + avg: deposits_avg_fields + count(columns: [deposits_select_column!], distinct: Boolean): Int! + max: deposits_max_fields + min: deposits_min_fields + stddev: deposits_stddev_fields + stddev_pop: deposits_stddev_pop_fields + stddev_samp: deposits_stddev_samp_fields + sum: deposits_sum_fields + var_pop: deposits_var_pop_fields + var_samp: deposits_var_samp_fields + variance: deposits_variance_fields +} + +""" +order by aggregate values of table "deposit" +""" +input deposits_aggregate_order_by { + avg: deposits_avg_order_by + count: order_by + max: deposits_max_order_by + min: deposits_min_order_by + stddev: deposits_stddev_order_by + stddev_pop: deposits_stddev_pop_order_by + stddev_samp: deposits_stddev_samp_order_by + sum: deposits_sum_order_by + var_pop: deposits_var_pop_order_by + var_samp: deposits_var_samp_order_by + variance: deposits_variance_order_by +} + +""" +aggregate avg on columns +""" +type deposits_avg_fields { + block_number: Float + curve_id: Float + entry_fee: Float + receiver_total_shares_in_vault: Float + sender_assets_after_total_fees: Float + shares_for_receiver: Float + term_id: Float +} + +""" +order by avg() on columns of table "deposit" +""" +input deposits_avg_order_by { + block_number: order_by + curve_id: order_by + entry_fee: order_by + receiver_total_shares_in_vault: order_by + sender_assets_after_total_fees: order_by + shares_for_receiver: order_by + term_id: order_by +} + +""" +Boolean expression to filter rows from the table "deposit". All fields are combined with a logical 'AND'. +""" +input deposits_bool_exp { + _and: [deposits_bool_exp!] + _not: deposits_bool_exp + _or: [deposits_bool_exp!] + block_number: numeric_comparison_exp + created_at: timestamptz_comparison_exp + curve_id: numeric_comparison_exp + entry_fee: numeric_comparison_exp + id: String_comparison_exp + is_atom_wallet: Boolean_comparison_exp + is_triple: Boolean_comparison_exp + receiver: accounts_bool_exp + receiver_id: String_comparison_exp + receiver_total_shares_in_vault: numeric_comparison_exp + sender: accounts_bool_exp + sender_assets_after_total_fees: numeric_comparison_exp + sender_id: String_comparison_exp + shares_for_receiver: numeric_comparison_exp + term: terms_bool_exp + term_id: numeric_comparison_exp + transaction_hash: String_comparison_exp + vault: vaults_bool_exp +} + +""" +aggregate max on columns +""" +type deposits_max_fields { + block_number: numeric + created_at: timestamptz + curve_id: numeric + entry_fee: numeric + id: String + receiver_id: String + receiver_total_shares_in_vault: numeric + sender_assets_after_total_fees: numeric + sender_id: String + shares_for_receiver: numeric + term_id: numeric + transaction_hash: String +} + +""" +order by max() on columns of table "deposit" +""" +input deposits_max_order_by { + block_number: order_by + created_at: order_by + curve_id: order_by + entry_fee: order_by + id: order_by + receiver_id: order_by + receiver_total_shares_in_vault: order_by + sender_assets_after_total_fees: order_by + sender_id: order_by + shares_for_receiver: order_by + term_id: order_by + transaction_hash: order_by +} + +""" +aggregate min on columns +""" +type deposits_min_fields { + block_number: numeric + created_at: timestamptz + curve_id: numeric + entry_fee: numeric + id: String + receiver_id: String + receiver_total_shares_in_vault: numeric + sender_assets_after_total_fees: numeric + sender_id: String + shares_for_receiver: numeric + term_id: numeric + transaction_hash: String +} + +""" +order by min() on columns of table "deposit" +""" +input deposits_min_order_by { + block_number: order_by + created_at: order_by + curve_id: order_by + entry_fee: order_by + id: order_by + receiver_id: order_by + receiver_total_shares_in_vault: order_by + sender_assets_after_total_fees: order_by + sender_id: order_by + shares_for_receiver: order_by + term_id: order_by + transaction_hash: order_by +} + +""" +Ordering options when selecting data from "deposit". +""" +input deposits_order_by { + block_number: order_by + created_at: order_by + curve_id: order_by + entry_fee: order_by + id: order_by + is_atom_wallet: order_by + is_triple: order_by + receiver: accounts_order_by + receiver_id: order_by + receiver_total_shares_in_vault: order_by + sender: accounts_order_by + sender_assets_after_total_fees: order_by + sender_id: order_by + shares_for_receiver: order_by + term: terms_order_by + term_id: order_by + transaction_hash: order_by + vault: vaults_order_by +} + +""" +select columns of table "deposit" +""" +enum deposits_select_column { + """ + column name + """ + block_number + """ + column name + """ + created_at + """ + column name + """ + curve_id + """ + column name + """ + entry_fee + """ + column name + """ + id + """ + column name + """ + is_atom_wallet + """ + column name + """ + is_triple + """ + column name + """ + receiver_id + """ + column name + """ + receiver_total_shares_in_vault + """ + column name + """ + sender_assets_after_total_fees + """ + column name + """ + sender_id + """ + column name + """ + shares_for_receiver + """ + column name + """ + term_id + """ + column name + """ + transaction_hash +} + +""" +select "deposits_aggregate_bool_exp_bool_and_arguments_columns" columns of table "deposit" +""" +enum deposits_select_column_deposits_aggregate_bool_exp_bool_and_arguments_columns { + """ + column name + """ + is_atom_wallet + """ + column name + """ + is_triple +} + +""" +select "deposits_aggregate_bool_exp_bool_or_arguments_columns" columns of table "deposit" +""" +enum deposits_select_column_deposits_aggregate_bool_exp_bool_or_arguments_columns { + """ + column name + """ + is_atom_wallet + """ + column name + """ + is_triple +} + +""" +aggregate stddev on columns +""" +type deposits_stddev_fields { + block_number: Float + curve_id: Float + entry_fee: Float + receiver_total_shares_in_vault: Float + sender_assets_after_total_fees: Float + shares_for_receiver: Float + term_id: Float +} + +""" +order by stddev() on columns of table "deposit" +""" +input deposits_stddev_order_by { + block_number: order_by + curve_id: order_by + entry_fee: order_by + receiver_total_shares_in_vault: order_by + sender_assets_after_total_fees: order_by + shares_for_receiver: order_by + term_id: order_by +} + +""" +aggregate stddev_pop on columns +""" +type deposits_stddev_pop_fields { + block_number: Float + curve_id: Float + entry_fee: Float + receiver_total_shares_in_vault: Float + sender_assets_after_total_fees: Float + shares_for_receiver: Float + term_id: Float +} + +""" +order by stddev_pop() on columns of table "deposit" +""" +input deposits_stddev_pop_order_by { + block_number: order_by + curve_id: order_by + entry_fee: order_by + receiver_total_shares_in_vault: order_by + sender_assets_after_total_fees: order_by + shares_for_receiver: order_by + term_id: order_by +} + +""" +aggregate stddev_samp on columns +""" +type deposits_stddev_samp_fields { + block_number: Float + curve_id: Float + entry_fee: Float + receiver_total_shares_in_vault: Float + sender_assets_after_total_fees: Float + shares_for_receiver: Float + term_id: Float +} + +""" +order by stddev_samp() on columns of table "deposit" +""" +input deposits_stddev_samp_order_by { + block_number: order_by + curve_id: order_by + entry_fee: order_by + receiver_total_shares_in_vault: order_by + sender_assets_after_total_fees: order_by + shares_for_receiver: order_by + term_id: order_by +} + +""" +Streaming cursor of the table "deposits" +""" +input deposits_stream_cursor_input { + """ + Stream column input with initial value + """ + initial_value: deposits_stream_cursor_value_input! + """ + cursor ordering + """ + ordering: cursor_ordering +} + +""" +Initial value of the column from where the streaming should start +""" +input deposits_stream_cursor_value_input { + block_number: numeric + created_at: timestamptz + curve_id: numeric + entry_fee: numeric + id: String + is_atom_wallet: Boolean + is_triple: Boolean + receiver_id: String + receiver_total_shares_in_vault: numeric + sender_assets_after_total_fees: numeric + sender_id: String + shares_for_receiver: numeric + term_id: numeric + transaction_hash: String +} + +""" +aggregate sum on columns +""" +type deposits_sum_fields { + block_number: numeric + curve_id: numeric + entry_fee: numeric + receiver_total_shares_in_vault: numeric + sender_assets_after_total_fees: numeric + shares_for_receiver: numeric + term_id: numeric +} + +""" +order by sum() on columns of table "deposit" +""" +input deposits_sum_order_by { + block_number: order_by + curve_id: order_by + entry_fee: order_by + receiver_total_shares_in_vault: order_by + sender_assets_after_total_fees: order_by + shares_for_receiver: order_by + term_id: order_by +} + +""" +aggregate var_pop on columns +""" +type deposits_var_pop_fields { + block_number: Float + curve_id: Float + entry_fee: Float + receiver_total_shares_in_vault: Float + sender_assets_after_total_fees: Float + shares_for_receiver: Float + term_id: Float +} + +""" +order by var_pop() on columns of table "deposit" +""" +input deposits_var_pop_order_by { + block_number: order_by + curve_id: order_by + entry_fee: order_by + receiver_total_shares_in_vault: order_by + sender_assets_after_total_fees: order_by + shares_for_receiver: order_by + term_id: order_by +} + +""" +aggregate var_samp on columns +""" +type deposits_var_samp_fields { + block_number: Float + curve_id: Float + entry_fee: Float + receiver_total_shares_in_vault: Float + sender_assets_after_total_fees: Float + shares_for_receiver: Float + term_id: Float +} + +""" +order by var_samp() on columns of table "deposit" +""" +input deposits_var_samp_order_by { + block_number: order_by + curve_id: order_by + entry_fee: order_by + receiver_total_shares_in_vault: order_by + sender_assets_after_total_fees: order_by + shares_for_receiver: order_by + term_id: order_by +} + +""" +aggregate variance on columns +""" +type deposits_variance_fields { + block_number: Float + curve_id: Float + entry_fee: Float + receiver_total_shares_in_vault: Float + sender_assets_after_total_fees: Float + shares_for_receiver: Float + term_id: Float +} + +""" +order by variance() on columns of table "deposit" +""" +input deposits_variance_order_by { + block_number: order_by + curve_id: order_by + entry_fee: order_by + receiver_total_shares_in_vault: order_by + sender_assets_after_total_fees: order_by + shares_for_receiver: order_by + term_id: order_by +} + +scalar event_type + +""" +Boolean expression to compare columns of type "event_type". All fields are combined with logical 'AND'. +""" +input event_type_comparison_exp { + _eq: event_type + _gt: event_type + _gte: event_type + _in: [event_type!] + _is_null: Boolean + _lt: event_type + _lte: event_type + _neq: event_type + _nin: [event_type!] +} + +""" +columns and relationships of "event" +""" +type events { + """ + An object relationship + """ + atom: atoms + atom_id: numeric + block_number: numeric! + created_at: timestamptz! + """ + An object relationship + """ + deposit: deposits + deposit_id: String + """ + An object relationship + """ + fee_transfer: fee_transfers + fee_transfer_id: String + id: String! + """ + An object relationship + """ + redemption: redemptions + redemption_id: String + transaction_hash: String! + """ + An object relationship + """ + triple: triples + triple_id: numeric + type: event_type! +} + +""" +aggregated selection of "event" +""" +type events_aggregate { + aggregate: events_aggregate_fields + nodes: [events!]! +} + +""" +aggregate fields of "event" +""" +type events_aggregate_fields { + avg: events_avg_fields + count(columns: [events_select_column!], distinct: Boolean): Int! + max: events_max_fields + min: events_min_fields + stddev: events_stddev_fields + stddev_pop: events_stddev_pop_fields + stddev_samp: events_stddev_samp_fields + sum: events_sum_fields + var_pop: events_var_pop_fields + var_samp: events_var_samp_fields + variance: events_variance_fields +} + +""" +aggregate avg on columns +""" +type events_avg_fields { + atom_id: Float + block_number: Float + triple_id: Float +} + +""" +Boolean expression to filter rows from the table "event". All fields are combined with a logical 'AND'. +""" +input events_bool_exp { + _and: [events_bool_exp!] + _not: events_bool_exp + _or: [events_bool_exp!] + atom: atoms_bool_exp + atom_id: numeric_comparison_exp + block_number: numeric_comparison_exp + created_at: timestamptz_comparison_exp + deposit: deposits_bool_exp + deposit_id: String_comparison_exp + fee_transfer: fee_transfers_bool_exp + fee_transfer_id: String_comparison_exp + id: String_comparison_exp + redemption: redemptions_bool_exp + redemption_id: String_comparison_exp + transaction_hash: String_comparison_exp + triple: triples_bool_exp + triple_id: numeric_comparison_exp + type: event_type_comparison_exp +} + +""" +aggregate max on columns +""" +type events_max_fields { + atom_id: numeric + block_number: numeric + created_at: timestamptz + deposit_id: String + fee_transfer_id: String + id: String + redemption_id: String + transaction_hash: String + triple_id: numeric + type: event_type +} + +""" +aggregate min on columns +""" +type events_min_fields { + atom_id: numeric + block_number: numeric + created_at: timestamptz + deposit_id: String + fee_transfer_id: String + id: String + redemption_id: String + transaction_hash: String + triple_id: numeric + type: event_type +} + +""" +Ordering options when selecting data from "event". +""" +input events_order_by { + atom: atoms_order_by + atom_id: order_by + block_number: order_by + created_at: order_by + deposit: deposits_order_by + deposit_id: order_by + fee_transfer: fee_transfers_order_by + fee_transfer_id: order_by + id: order_by + redemption: redemptions_order_by + redemption_id: order_by + transaction_hash: order_by + triple: triples_order_by + triple_id: order_by + type: order_by +} + +""" +select columns of table "event" +""" +enum events_select_column { + """ + column name + """ + atom_id + """ + column name + """ + block_number + """ + column name + """ + created_at + """ + column name + """ + deposit_id + """ + column name + """ + fee_transfer_id + """ + column name + """ + id + """ + column name + """ + redemption_id + """ + column name + """ + transaction_hash + """ + column name + """ + triple_id + """ + column name + """ + type +} + +""" +aggregate stddev on columns +""" +type events_stddev_fields { + atom_id: Float + block_number: Float + triple_id: Float +} + +""" +aggregate stddev_pop on columns +""" +type events_stddev_pop_fields { + atom_id: Float + block_number: Float + triple_id: Float +} + +""" +aggregate stddev_samp on columns +""" +type events_stddev_samp_fields { + atom_id: Float + block_number: Float + triple_id: Float +} + +""" +Streaming cursor of the table "events" +""" +input events_stream_cursor_input { + """ + Stream column input with initial value + """ + initial_value: events_stream_cursor_value_input! + """ + cursor ordering + """ + ordering: cursor_ordering +} + +""" +Initial value of the column from where the streaming should start +""" +input events_stream_cursor_value_input { + atom_id: numeric + block_number: numeric + created_at: timestamptz + deposit_id: String + fee_transfer_id: String + id: String + redemption_id: String + transaction_hash: String + triple_id: numeric + type: event_type +} + +""" +aggregate sum on columns +""" +type events_sum_fields { + atom_id: numeric + block_number: numeric + triple_id: numeric +} + +""" +aggregate var_pop on columns +""" +type events_var_pop_fields { + atom_id: Float + block_number: Float + triple_id: Float +} + +""" +aggregate var_samp on columns +""" +type events_var_samp_fields { + atom_id: Float + block_number: Float + triple_id: Float +} + +""" +aggregate variance on columns +""" +type events_variance_fields { + atom_id: Float + block_number: Float + triple_id: Float +} + +""" +columns and relationships of "fee_transfer" +""" +type fee_transfers { + amount: numeric! + block_number: numeric! + created_at: timestamptz! + id: String! + """ + An object relationship + """ + receiver: accounts! + receiver_id: String! + """ + An object relationship + """ + sender: accounts + sender_id: String! + transaction_hash: String! +} + +""" +aggregated selection of "fee_transfer" +""" +type fee_transfers_aggregate { + aggregate: fee_transfers_aggregate_fields + nodes: [fee_transfers!]! +} + +input fee_transfers_aggregate_bool_exp { + count: fee_transfers_aggregate_bool_exp_count +} + +input fee_transfers_aggregate_bool_exp_count { + arguments: [fee_transfers_select_column!] + distinct: Boolean + filter: fee_transfers_bool_exp + predicate: Int_comparison_exp! +} + +""" +aggregate fields of "fee_transfer" +""" +type fee_transfers_aggregate_fields { + avg: fee_transfers_avg_fields + count(columns: [fee_transfers_select_column!], distinct: Boolean): Int! + max: fee_transfers_max_fields + min: fee_transfers_min_fields + stddev: fee_transfers_stddev_fields + stddev_pop: fee_transfers_stddev_pop_fields + stddev_samp: fee_transfers_stddev_samp_fields + sum: fee_transfers_sum_fields + var_pop: fee_transfers_var_pop_fields + var_samp: fee_transfers_var_samp_fields + variance: fee_transfers_variance_fields +} + +""" +order by aggregate values of table "fee_transfer" +""" +input fee_transfers_aggregate_order_by { + avg: fee_transfers_avg_order_by + count: order_by + max: fee_transfers_max_order_by + min: fee_transfers_min_order_by + stddev: fee_transfers_stddev_order_by + stddev_pop: fee_transfers_stddev_pop_order_by + stddev_samp: fee_transfers_stddev_samp_order_by + sum: fee_transfers_sum_order_by + var_pop: fee_transfers_var_pop_order_by + var_samp: fee_transfers_var_samp_order_by + variance: fee_transfers_variance_order_by +} + +""" +aggregate avg on columns +""" +type fee_transfers_avg_fields { + amount: Float + block_number: Float +} + +""" +order by avg() on columns of table "fee_transfer" +""" +input fee_transfers_avg_order_by { + amount: order_by + block_number: order_by +} + +""" +Boolean expression to filter rows from the table "fee_transfer". All fields are combined with a logical 'AND'. +""" +input fee_transfers_bool_exp { + _and: [fee_transfers_bool_exp!] + _not: fee_transfers_bool_exp + _or: [fee_transfers_bool_exp!] + amount: numeric_comparison_exp + block_number: numeric_comparison_exp + created_at: timestamptz_comparison_exp + id: String_comparison_exp + receiver: accounts_bool_exp + receiver_id: String_comparison_exp + sender: accounts_bool_exp + sender_id: String_comparison_exp + transaction_hash: String_comparison_exp +} + +""" +aggregate max on columns +""" +type fee_transfers_max_fields { + amount: numeric + block_number: numeric + created_at: timestamptz + id: String + receiver_id: String + sender_id: String + transaction_hash: String +} + +""" +order by max() on columns of table "fee_transfer" +""" +input fee_transfers_max_order_by { + amount: order_by + block_number: order_by + created_at: order_by + id: order_by + receiver_id: order_by + sender_id: order_by + transaction_hash: order_by +} + +""" +aggregate min on columns +""" +type fee_transfers_min_fields { + amount: numeric + block_number: numeric + created_at: timestamptz + id: String + receiver_id: String + sender_id: String + transaction_hash: String +} + +""" +order by min() on columns of table "fee_transfer" +""" +input fee_transfers_min_order_by { + amount: order_by + block_number: order_by + created_at: order_by + id: order_by + receiver_id: order_by + sender_id: order_by + transaction_hash: order_by +} + +""" +Ordering options when selecting data from "fee_transfer". +""" +input fee_transfers_order_by { + amount: order_by + block_number: order_by + created_at: order_by + id: order_by + receiver: accounts_order_by + receiver_id: order_by + sender: accounts_order_by + sender_id: order_by + transaction_hash: order_by +} + +""" +select columns of table "fee_transfer" +""" +enum fee_transfers_select_column { + """ + column name + """ + amount + """ + column name + """ + block_number + """ + column name + """ + created_at + """ + column name + """ + id + """ + column name + """ + receiver_id + """ + column name + """ + sender_id + """ + column name + """ + transaction_hash +} + +""" +aggregate stddev on columns +""" +type fee_transfers_stddev_fields { + amount: Float + block_number: Float +} + +""" +order by stddev() on columns of table "fee_transfer" +""" +input fee_transfers_stddev_order_by { + amount: order_by + block_number: order_by +} + +""" +aggregate stddev_pop on columns +""" +type fee_transfers_stddev_pop_fields { + amount: Float + block_number: Float +} + +""" +order by stddev_pop() on columns of table "fee_transfer" +""" +input fee_transfers_stddev_pop_order_by { + amount: order_by + block_number: order_by +} + +""" +aggregate stddev_samp on columns +""" +type fee_transfers_stddev_samp_fields { + amount: Float + block_number: Float +} + +""" +order by stddev_samp() on columns of table "fee_transfer" +""" +input fee_transfers_stddev_samp_order_by { + amount: order_by + block_number: order_by +} + +""" +Streaming cursor of the table "fee_transfers" +""" +input fee_transfers_stream_cursor_input { + """ + Stream column input with initial value + """ + initial_value: fee_transfers_stream_cursor_value_input! + """ + cursor ordering + """ + ordering: cursor_ordering +} + +""" +Initial value of the column from where the streaming should start +""" +input fee_transfers_stream_cursor_value_input { + amount: numeric + block_number: numeric + created_at: timestamptz + id: String + receiver_id: String + sender_id: String + transaction_hash: String +} + +""" +aggregate sum on columns +""" +type fee_transfers_sum_fields { + amount: numeric + block_number: numeric +} + +""" +order by sum() on columns of table "fee_transfer" +""" +input fee_transfers_sum_order_by { + amount: order_by + block_number: order_by +} + +""" +aggregate var_pop on columns +""" +type fee_transfers_var_pop_fields { + amount: Float + block_number: Float +} + +""" +order by var_pop() on columns of table "fee_transfer" +""" +input fee_transfers_var_pop_order_by { + amount: order_by + block_number: order_by +} + +""" +aggregate var_samp on columns +""" +type fee_transfers_var_samp_fields { + amount: Float + block_number: Float +} + +""" +order by var_samp() on columns of table "fee_transfer" +""" +input fee_transfers_var_samp_order_by { + amount: order_by + block_number: order_by +} + +""" +aggregate variance on columns +""" +type fee_transfers_variance_fields { + amount: Float + block_number: Float +} + +""" +order by variance() on columns of table "fee_transfer" +""" +input fee_transfers_variance_order_by { + amount: order_by + block_number: order_by +} + +scalar float8 + +""" +Boolean expression to compare columns of type "float8". All fields are combined with logical 'AND'. +""" +input float8_comparison_exp { + _eq: float8 + _gt: float8 + _gte: float8 + _in: [float8!] + _is_null: Boolean + _lt: float8 + _lte: float8 + _neq: float8 + _nin: [float8!] +} + +input following_args { + address: String +} + +""" +columns and relationships of "json_object" +""" +type json_objects { + """ + An object relationship + """ + atom: atoms + data( + """ + JSON select path + """ + path: String + ): jsonb! + id: numeric! +} + +""" +aggregated selection of "json_object" +""" +type json_objects_aggregate { + aggregate: json_objects_aggregate_fields + nodes: [json_objects!]! +} + +""" +aggregate fields of "json_object" +""" +type json_objects_aggregate_fields { + avg: json_objects_avg_fields + count(columns: [json_objects_select_column!], distinct: Boolean): Int! + max: json_objects_max_fields + min: json_objects_min_fields + stddev: json_objects_stddev_fields + stddev_pop: json_objects_stddev_pop_fields + stddev_samp: json_objects_stddev_samp_fields + sum: json_objects_sum_fields + var_pop: json_objects_var_pop_fields + var_samp: json_objects_var_samp_fields + variance: json_objects_variance_fields +} + +""" +aggregate avg on columns +""" +type json_objects_avg_fields { + id: Float +} + +""" +Boolean expression to filter rows from the table "json_object". All fields are combined with a logical 'AND'. +""" +input json_objects_bool_exp { + _and: [json_objects_bool_exp!] + _not: json_objects_bool_exp + _or: [json_objects_bool_exp!] + atom: atoms_bool_exp + data: jsonb_comparison_exp + id: numeric_comparison_exp +} + +""" +aggregate max on columns +""" +type json_objects_max_fields { + id: numeric +} + +""" +aggregate min on columns +""" +type json_objects_min_fields { + id: numeric +} + +""" +Ordering options when selecting data from "json_object". +""" +input json_objects_order_by { + atom: atoms_order_by + data: order_by + id: order_by +} + +""" +select columns of table "json_object" +""" +enum json_objects_select_column { + """ + column name + """ + data + """ + column name + """ + id +} + +""" +aggregate stddev on columns +""" +type json_objects_stddev_fields { + id: Float +} + +""" +aggregate stddev_pop on columns +""" +type json_objects_stddev_pop_fields { + id: Float +} + +""" +aggregate stddev_samp on columns +""" +type json_objects_stddev_samp_fields { + id: Float +} + +""" +Streaming cursor of the table "json_objects" +""" +input json_objects_stream_cursor_input { + """ + Stream column input with initial value + """ + initial_value: json_objects_stream_cursor_value_input! + """ + cursor ordering + """ + ordering: cursor_ordering +} + +""" +Initial value of the column from where the streaming should start +""" +input json_objects_stream_cursor_value_input { + data: jsonb + id: numeric +} + +""" +aggregate sum on columns +""" +type json_objects_sum_fields { + id: numeric +} + +""" +aggregate var_pop on columns +""" +type json_objects_var_pop_fields { + id: Float +} + +""" +aggregate var_samp on columns +""" +type json_objects_var_samp_fields { + id: Float +} + +""" +aggregate variance on columns +""" +type json_objects_variance_fields { + id: Float +} + +scalar jsonb + +input jsonb_cast_exp { + String: String_comparison_exp +} + +""" +Boolean expression to compare columns of type "jsonb". All fields are combined with logical 'AND'. +""" +input jsonb_comparison_exp { + _cast: jsonb_cast_exp + """ + is the column contained in the given json value + """ + _contained_in: jsonb + """ + does the column contain the given json value at the top level + """ + _contains: jsonb + _eq: jsonb + _gt: jsonb + _gte: jsonb + """ + does the string exist as a top-level key in the column + """ + _has_key: String + """ + do all of these strings exist as top-level keys in the column + """ + _has_keys_all: [String!] + """ + do any of these strings exist as top-level keys in the column + """ + _has_keys_any: [String!] + _in: [jsonb!] + _is_null: Boolean + _lt: jsonb + _lte: jsonb + _neq: jsonb + _nin: [jsonb!] +} + +""" +mutation root +""" +type mutation_root { + """ + Uploads and pins Organization to IPFS + """ + pinOrganization(organization: PinOrganizationInput!): PinOutput + """ + Uploads and pins Person to IPFS + """ + pinPerson(person: PinPersonInput!): PinOutput + """ + Uploads and pins Thing to IPFS + """ + pinThing(thing: PinThingInput!): PinOutput +} + +scalar numeric + +""" +Boolean expression to compare columns of type "numeric". All fields are combined with logical 'AND'. +""" +input numeric_comparison_exp { + _eq: numeric + _gt: numeric + _gte: numeric + _in: [numeric!] + _is_null: Boolean + _lt: numeric + _lte: numeric + _neq: numeric + _nin: [numeric!] +} + +""" +column ordering options +""" +enum order_by { + """ + in ascending order, nulls last + """ + asc + """ + in ascending order, nulls first + """ + asc_nulls_first + """ + in ascending order, nulls last + """ + asc_nulls_last + """ + in descending order, nulls first + """ + desc + """ + in descending order, nulls first + """ + desc_nulls_first + """ + in descending order, nulls last + """ + desc_nulls_last +} + +""" +columns and relationships of "organization" +""" +type organizations { + """ + An object relationship + """ + atom: atoms + description: String + email: String + id: numeric! + image: String + name: String + url: String +} + +""" +aggregated selection of "organization" +""" +type organizations_aggregate { + aggregate: organizations_aggregate_fields + nodes: [organizations!]! +} + +""" +aggregate fields of "organization" +""" +type organizations_aggregate_fields { + avg: organizations_avg_fields + count(columns: [organizations_select_column!], distinct: Boolean): Int! + max: organizations_max_fields + min: organizations_min_fields + stddev: organizations_stddev_fields + stddev_pop: organizations_stddev_pop_fields + stddev_samp: organizations_stddev_samp_fields + sum: organizations_sum_fields + var_pop: organizations_var_pop_fields + var_samp: organizations_var_samp_fields + variance: organizations_variance_fields +} + +""" +aggregate avg on columns +""" +type organizations_avg_fields { + id: Float +} + +""" +Boolean expression to filter rows from the table "organization". All fields are combined with a logical 'AND'. +""" +input organizations_bool_exp { + _and: [organizations_bool_exp!] + _not: organizations_bool_exp + _or: [organizations_bool_exp!] + atom: atoms_bool_exp + description: String_comparison_exp + email: String_comparison_exp + id: numeric_comparison_exp + image: String_comparison_exp + name: String_comparison_exp + url: String_comparison_exp +} + +""" +aggregate max on columns +""" +type organizations_max_fields { + description: String + email: String + id: numeric + image: String + name: String + url: String +} + +""" +aggregate min on columns +""" +type organizations_min_fields { + description: String + email: String + id: numeric + image: String + name: String + url: String +} + +""" +Ordering options when selecting data from "organization". +""" +input organizations_order_by { + atom: atoms_order_by + description: order_by + email: order_by + id: order_by + image: order_by + name: order_by + url: order_by +} + +""" +select columns of table "organization" +""" +enum organizations_select_column { + """ + column name + """ + description + """ + column name + """ + email + """ + column name + """ + id + """ + column name + """ + image + """ + column name + """ + name + """ + column name + """ + url +} + +""" +aggregate stddev on columns +""" +type organizations_stddev_fields { + id: Float +} + +""" +aggregate stddev_pop on columns +""" +type organizations_stddev_pop_fields { + id: Float +} + +""" +aggregate stddev_samp on columns +""" +type organizations_stddev_samp_fields { + id: Float +} + +""" +Streaming cursor of the table "organizations" +""" +input organizations_stream_cursor_input { + """ + Stream column input with initial value + """ + initial_value: organizations_stream_cursor_value_input! + """ + cursor ordering + """ + ordering: cursor_ordering +} + +""" +Initial value of the column from where the streaming should start +""" +input organizations_stream_cursor_value_input { + description: String + email: String + id: numeric + image: String + name: String + url: String +} + +""" +aggregate sum on columns +""" +type organizations_sum_fields { + id: numeric +} + +""" +aggregate var_pop on columns +""" +type organizations_var_pop_fields { + id: Float +} + +""" +aggregate var_samp on columns +""" +type organizations_var_samp_fields { + id: Float +} + +""" +aggregate variance on columns +""" +type organizations_variance_fields { + id: Float +} + +""" +columns and relationships of "person" +""" +type persons { + """ + An object relationship + """ + atom: atoms + cached_image: cached_images_cached_image + description: String + email: String + id: numeric! + identifier: String + image: String + name: String + url: String +} + +""" +aggregated selection of "person" +""" +type persons_aggregate { + aggregate: persons_aggregate_fields + nodes: [persons!]! +} + +""" +aggregate fields of "person" +""" +type persons_aggregate_fields { + avg: persons_avg_fields + count(columns: [persons_select_column!], distinct: Boolean): Int! + max: persons_max_fields + min: persons_min_fields + stddev: persons_stddev_fields + stddev_pop: persons_stddev_pop_fields + stddev_samp: persons_stddev_samp_fields + sum: persons_sum_fields + var_pop: persons_var_pop_fields + var_samp: persons_var_samp_fields + variance: persons_variance_fields +} + +""" +aggregate avg on columns +""" +type persons_avg_fields { + id: Float +} + +""" +Boolean expression to filter rows from the table "person". All fields are combined with a logical 'AND'. +""" +input persons_bool_exp { + _and: [persons_bool_exp!] + _not: persons_bool_exp + _or: [persons_bool_exp!] + atom: atoms_bool_exp + description: String_comparison_exp + email: String_comparison_exp + id: numeric_comparison_exp + identifier: String_comparison_exp + image: String_comparison_exp + name: String_comparison_exp + url: String_comparison_exp +} + +""" +aggregate max on columns +""" +type persons_max_fields { + description: String + email: String + id: numeric + identifier: String + image: String + name: String + url: String +} + +""" +aggregate min on columns +""" +type persons_min_fields { + description: String + email: String + id: numeric + identifier: String + image: String + name: String + url: String +} + +""" +Ordering options when selecting data from "person". +""" +input persons_order_by { + atom: atoms_order_by + description: order_by + email: order_by + id: order_by + identifier: order_by + image: order_by + name: order_by + url: order_by +} + +""" +select columns of table "person" +""" +enum persons_select_column { + """ + column name + """ + description + """ + column name + """ + email + """ + column name + """ + id + """ + column name + """ + identifier + """ + column name + """ + image + """ + column name + """ + name + """ + column name + """ + url +} + +""" +aggregate stddev on columns +""" +type persons_stddev_fields { + id: Float +} + +""" +aggregate stddev_pop on columns +""" +type persons_stddev_pop_fields { + id: Float +} + +""" +aggregate stddev_samp on columns +""" +type persons_stddev_samp_fields { + id: Float +} + +""" +Streaming cursor of the table "persons" +""" +input persons_stream_cursor_input { + """ + Stream column input with initial value + """ + initial_value: persons_stream_cursor_value_input! + """ + cursor ordering + """ + ordering: cursor_ordering +} + +""" +Initial value of the column from where the streaming should start +""" +input persons_stream_cursor_value_input { + description: String + email: String + id: numeric + identifier: String + image: String + name: String + url: String +} + +""" +aggregate sum on columns +""" +type persons_sum_fields { + id: numeric +} + +""" +aggregate var_pop on columns +""" +type persons_var_pop_fields { + id: Float +} + +""" +aggregate var_samp on columns +""" +type persons_var_samp_fields { + id: Float +} + +""" +aggregate variance on columns +""" +type persons_variance_fields { + id: Float +} + +""" +columns and relationships of "position" +""" +type positions { + """ + An object relationship + """ + account: accounts + account_id: String! + created_at: timestamptz! + curve_id: numeric! + id: String! + shares: numeric! + """ + An object relationship + """ + term: terms! + term_id: numeric! + updated_at: timestamptz! + """ + An object relationship + """ + vault: vaults +} + +""" +aggregated selection of "position" +""" +type positions_aggregate { + aggregate: positions_aggregate_fields + nodes: [positions!]! +} + +input positions_aggregate_bool_exp { + count: positions_aggregate_bool_exp_count +} + +input positions_aggregate_bool_exp_count { + arguments: [positions_select_column!] + distinct: Boolean + filter: positions_bool_exp + predicate: Int_comparison_exp! +} + +""" +aggregate fields of "position" +""" +type positions_aggregate_fields { + avg: positions_avg_fields + count(columns: [positions_select_column!], distinct: Boolean): Int! + max: positions_max_fields + min: positions_min_fields + stddev: positions_stddev_fields + stddev_pop: positions_stddev_pop_fields + stddev_samp: positions_stddev_samp_fields + sum: positions_sum_fields + var_pop: positions_var_pop_fields + var_samp: positions_var_samp_fields + variance: positions_variance_fields +} + +""" +order by aggregate values of table "position" +""" +input positions_aggregate_order_by { + avg: positions_avg_order_by + count: order_by + max: positions_max_order_by + min: positions_min_order_by + stddev: positions_stddev_order_by + stddev_pop: positions_stddev_pop_order_by + stddev_samp: positions_stddev_samp_order_by + sum: positions_sum_order_by + var_pop: positions_var_pop_order_by + var_samp: positions_var_samp_order_by + variance: positions_variance_order_by +} + +""" +aggregate avg on columns +""" +type positions_avg_fields { + curve_id: Float + shares: Float + term_id: Float +} + +""" +order by avg() on columns of table "position" +""" +input positions_avg_order_by { + curve_id: order_by + shares: order_by + term_id: order_by +} + +""" +Boolean expression to filter rows from the table "position". All fields are combined with a logical 'AND'. +""" +input positions_bool_exp { + _and: [positions_bool_exp!] + _not: positions_bool_exp + _or: [positions_bool_exp!] + account: accounts_bool_exp + account_id: String_comparison_exp + created_at: timestamptz_comparison_exp + curve_id: numeric_comparison_exp + id: String_comparison_exp + shares: numeric_comparison_exp + term: terms_bool_exp + term_id: numeric_comparison_exp + updated_at: timestamptz_comparison_exp + vault: vaults_bool_exp +} + +input positions_from_following_args { + address: String +} + +""" +aggregate max on columns +""" +type positions_max_fields { + account_id: String + created_at: timestamptz + curve_id: numeric + id: String + shares: numeric + term_id: numeric + updated_at: timestamptz +} + +""" +order by max() on columns of table "position" +""" +input positions_max_order_by { + account_id: order_by + created_at: order_by + curve_id: order_by + id: order_by + shares: order_by + term_id: order_by + updated_at: order_by +} + +""" +aggregate min on columns +""" +type positions_min_fields { + account_id: String + created_at: timestamptz + curve_id: numeric + id: String + shares: numeric + term_id: numeric + updated_at: timestamptz +} + +""" +order by min() on columns of table "position" +""" +input positions_min_order_by { + account_id: order_by + created_at: order_by + curve_id: order_by + id: order_by + shares: order_by + term_id: order_by + updated_at: order_by +} + +""" +Ordering options when selecting data from "position". +""" +input positions_order_by { + account: accounts_order_by + account_id: order_by + created_at: order_by + curve_id: order_by + id: order_by + shares: order_by + term: terms_order_by + term_id: order_by + updated_at: order_by + vault: vaults_order_by +} + +""" +select columns of table "position" +""" +enum positions_select_column { + """ + column name + """ + account_id + """ + column name + """ + created_at + """ + column name + """ + curve_id + """ + column name + """ + id + """ + column name + """ + shares + """ + column name + """ + term_id + """ + column name + """ + updated_at +} + +""" +aggregate stddev on columns +""" +type positions_stddev_fields { + curve_id: Float + shares: Float + term_id: Float +} + +""" +order by stddev() on columns of table "position" +""" +input positions_stddev_order_by { + curve_id: order_by + shares: order_by + term_id: order_by +} + +""" +aggregate stddev_pop on columns +""" +type positions_stddev_pop_fields { + curve_id: Float + shares: Float + term_id: Float +} + +""" +order by stddev_pop() on columns of table "position" +""" +input positions_stddev_pop_order_by { + curve_id: order_by + shares: order_by + term_id: order_by +} + +""" +aggregate stddev_samp on columns +""" +type positions_stddev_samp_fields { + curve_id: Float + shares: Float + term_id: Float +} + +""" +order by stddev_samp() on columns of table "position" +""" +input positions_stddev_samp_order_by { + curve_id: order_by + shares: order_by + term_id: order_by +} + +""" +Streaming cursor of the table "positions" +""" +input positions_stream_cursor_input { + """ + Stream column input with initial value + """ + initial_value: positions_stream_cursor_value_input! + """ + cursor ordering + """ + ordering: cursor_ordering +} + +""" +Initial value of the column from where the streaming should start +""" +input positions_stream_cursor_value_input { + account_id: String + created_at: timestamptz + curve_id: numeric + id: String + shares: numeric + term_id: numeric + updated_at: timestamptz +} + +""" +aggregate sum on columns +""" +type positions_sum_fields { + curve_id: numeric + shares: numeric + term_id: numeric +} + +""" +order by sum() on columns of table "position" +""" +input positions_sum_order_by { + curve_id: order_by + shares: order_by + term_id: order_by +} + +""" +aggregate var_pop on columns +""" +type positions_var_pop_fields { + curve_id: Float + shares: Float + term_id: Float +} + +""" +order by var_pop() on columns of table "position" +""" +input positions_var_pop_order_by { + curve_id: order_by + shares: order_by + term_id: order_by +} + +""" +aggregate var_samp on columns +""" +type positions_var_samp_fields { + curve_id: Float + shares: Float + term_id: Float +} + +""" +order by var_samp() on columns of table "position" +""" +input positions_var_samp_order_by { + curve_id: order_by + shares: order_by + term_id: order_by +} + +""" +aggregate variance on columns +""" +type positions_variance_fields { + curve_id: Float + shares: Float + term_id: Float +} + +""" +order by variance() on columns of table "position" +""" +input positions_variance_order_by { + curve_id: order_by + shares: order_by + term_id: order_by +} + +""" +columns and relationships of "predicate_object" +""" +type predicate_objects { + id: String! + """ + An object relationship + """ + object: atoms! + object_id: numeric! + """ + An object relationship + """ + predicate: atoms! + predicate_id: numeric! + triple_count: Int! +} + +""" +aggregated selection of "predicate_object" +""" +type predicate_objects_aggregate { + aggregate: predicate_objects_aggregate_fields + nodes: [predicate_objects!]! +} + +input predicate_objects_aggregate_bool_exp { + count: predicate_objects_aggregate_bool_exp_count +} + +input predicate_objects_aggregate_bool_exp_count { + arguments: [predicate_objects_select_column!] + distinct: Boolean + filter: predicate_objects_bool_exp + predicate: Int_comparison_exp! +} + +""" +aggregate fields of "predicate_object" +""" +type predicate_objects_aggregate_fields { + avg: predicate_objects_avg_fields + count(columns: [predicate_objects_select_column!], distinct: Boolean): Int! + max: predicate_objects_max_fields + min: predicate_objects_min_fields + stddev: predicate_objects_stddev_fields + stddev_pop: predicate_objects_stddev_pop_fields + stddev_samp: predicate_objects_stddev_samp_fields + sum: predicate_objects_sum_fields + var_pop: predicate_objects_var_pop_fields + var_samp: predicate_objects_var_samp_fields + variance: predicate_objects_variance_fields +} + +""" +order by aggregate values of table "predicate_object" +""" +input predicate_objects_aggregate_order_by { + avg: predicate_objects_avg_order_by + count: order_by + max: predicate_objects_max_order_by + min: predicate_objects_min_order_by + stddev: predicate_objects_stddev_order_by + stddev_pop: predicate_objects_stddev_pop_order_by + stddev_samp: predicate_objects_stddev_samp_order_by + sum: predicate_objects_sum_order_by + var_pop: predicate_objects_var_pop_order_by + var_samp: predicate_objects_var_samp_order_by + variance: predicate_objects_variance_order_by +} + +""" +aggregate avg on columns +""" +type predicate_objects_avg_fields { + object_id: Float + predicate_id: Float + triple_count: Float +} + +""" +order by avg() on columns of table "predicate_object" +""" +input predicate_objects_avg_order_by { + object_id: order_by + predicate_id: order_by + triple_count: order_by +} + +""" +Boolean expression to filter rows from the table "predicate_object". All fields are combined with a logical 'AND'. +""" +input predicate_objects_bool_exp { + _and: [predicate_objects_bool_exp!] + _not: predicate_objects_bool_exp + _or: [predicate_objects_bool_exp!] + id: String_comparison_exp + object: atoms_bool_exp + object_id: numeric_comparison_exp + predicate: atoms_bool_exp + predicate_id: numeric_comparison_exp + triple_count: Int_comparison_exp +} + +""" +aggregate max on columns +""" +type predicate_objects_max_fields { + id: String + object_id: numeric + predicate_id: numeric + triple_count: Int +} + +""" +order by max() on columns of table "predicate_object" +""" +input predicate_objects_max_order_by { + id: order_by + object_id: order_by + predicate_id: order_by + triple_count: order_by +} + +""" +aggregate min on columns +""" +type predicate_objects_min_fields { + id: String + object_id: numeric + predicate_id: numeric + triple_count: Int +} + +""" +order by min() on columns of table "predicate_object" +""" +input predicate_objects_min_order_by { + id: order_by + object_id: order_by + predicate_id: order_by + triple_count: order_by +} + +""" +Ordering options when selecting data from "predicate_object". +""" +input predicate_objects_order_by { + id: order_by + object: atoms_order_by + object_id: order_by + predicate: atoms_order_by + predicate_id: order_by + triple_count: order_by +} + +""" +select columns of table "predicate_object" +""" +enum predicate_objects_select_column { + """ + column name + """ + id + """ + column name + """ + object_id + """ + column name + """ + predicate_id + """ + column name + """ + triple_count +} + +""" +aggregate stddev on columns +""" +type predicate_objects_stddev_fields { + object_id: Float + predicate_id: Float + triple_count: Float +} + +""" +order by stddev() on columns of table "predicate_object" +""" +input predicate_objects_stddev_order_by { + object_id: order_by + predicate_id: order_by + triple_count: order_by +} + +""" +aggregate stddev_pop on columns +""" +type predicate_objects_stddev_pop_fields { + object_id: Float + predicate_id: Float + triple_count: Float +} + +""" +order by stddev_pop() on columns of table "predicate_object" +""" +input predicate_objects_stddev_pop_order_by { + object_id: order_by + predicate_id: order_by + triple_count: order_by +} + +""" +aggregate stddev_samp on columns +""" +type predicate_objects_stddev_samp_fields { + object_id: Float + predicate_id: Float + triple_count: Float +} + +""" +order by stddev_samp() on columns of table "predicate_object" +""" +input predicate_objects_stddev_samp_order_by { + object_id: order_by + predicate_id: order_by + triple_count: order_by +} + +""" +Streaming cursor of the table "predicate_objects" +""" +input predicate_objects_stream_cursor_input { + """ + Stream column input with initial value + """ + initial_value: predicate_objects_stream_cursor_value_input! + """ + cursor ordering + """ + ordering: cursor_ordering +} + +""" +Initial value of the column from where the streaming should start +""" +input predicate_objects_stream_cursor_value_input { + id: String + object_id: numeric + predicate_id: numeric + triple_count: Int +} + +""" +aggregate sum on columns +""" +type predicate_objects_sum_fields { + object_id: numeric + predicate_id: numeric + triple_count: Int +} + +""" +order by sum() on columns of table "predicate_object" +""" +input predicate_objects_sum_order_by { + object_id: order_by + predicate_id: order_by + triple_count: order_by +} + +""" +aggregate var_pop on columns +""" +type predicate_objects_var_pop_fields { + object_id: Float + predicate_id: Float + triple_count: Float +} + +""" +order by var_pop() on columns of table "predicate_object" +""" +input predicate_objects_var_pop_order_by { + object_id: order_by + predicate_id: order_by + triple_count: order_by +} + +""" +aggregate var_samp on columns +""" +type predicate_objects_var_samp_fields { + object_id: Float + predicate_id: Float + triple_count: Float +} + +""" +order by var_samp() on columns of table "predicate_object" +""" +input predicate_objects_var_samp_order_by { + object_id: order_by + predicate_id: order_by + triple_count: order_by +} + +""" +aggregate variance on columns +""" +type predicate_objects_variance_fields { + object_id: Float + predicate_id: Float + triple_count: Float +} + +""" +order by variance() on columns of table "predicate_object" +""" +input predicate_objects_variance_order_by { + object_id: order_by + predicate_id: order_by + triple_count: order_by +} + +type query_root { + """ + fetch data from the table: "account" using primary key columns + """ + account(id: String!): accounts + """ + An array relationship + """ + accounts( + """ + distinct select on columns + """ + distinct_on: [accounts_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [accounts_order_by!] + """ + filter the rows returned + """ + where: accounts_bool_exp + ): [accounts!]! + """ + An aggregate relationship + """ + accounts_aggregate( + """ + distinct select on columns + """ + distinct_on: [accounts_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [accounts_order_by!] + """ + filter the rows returned + """ + where: accounts_bool_exp + ): accounts_aggregate! + """ + fetch data from the table: "atom" using primary key columns + """ + atom(term_id: numeric!): atoms + """ + fetch data from the table: "atom_value" using primary key columns + """ + atom_value(id: numeric!): atom_values + """ + fetch data from the table: "atom_value" + """ + atom_values( + """ + distinct select on columns + """ + distinct_on: [atom_values_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [atom_values_order_by!] + """ + filter the rows returned + """ + where: atom_values_bool_exp + ): [atom_values!]! + """ + fetch aggregated fields from the table: "atom_value" + """ + atom_values_aggregate( + """ + distinct select on columns + """ + distinct_on: [atom_values_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [atom_values_order_by!] + """ + filter the rows returned + """ + where: atom_values_bool_exp + ): atom_values_aggregate! + """ + An array relationship + """ + atoms( + """ + distinct select on columns + """ + distinct_on: [atoms_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [atoms_order_by!] + """ + filter the rows returned + """ + where: atoms_bool_exp + ): [atoms!]! + """ + An aggregate relationship + """ + atoms_aggregate( + """ + distinct select on columns + """ + distinct_on: [atoms_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [atoms_order_by!] + """ + filter the rows returned + """ + where: atoms_bool_exp + ): atoms_aggregate! + """ + fetch data from the table: "book" using primary key columns + """ + book(id: numeric!): books + """ + fetch data from the table: "book" + """ + books( + """ + distinct select on columns + """ + distinct_on: [books_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [books_order_by!] + """ + filter the rows returned + """ + where: books_bool_exp + ): [books!]! + """ + fetch aggregated fields from the table: "book" + """ + books_aggregate( + """ + distinct select on columns + """ + distinct_on: [books_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [books_order_by!] + """ + filter the rows returned + """ + where: books_bool_exp + ): books_aggregate! + """ + fetch data from the table: "byte_object" + """ + byte_object( + """ + distinct select on columns + """ + distinct_on: [byte_object_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [byte_object_order_by!] + """ + filter the rows returned + """ + where: byte_object_bool_exp + ): [byte_object!]! + """ + fetch aggregated fields from the table: "byte_object" + """ + byte_object_aggregate( + """ + distinct select on columns + """ + distinct_on: [byte_object_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [byte_object_order_by!] + """ + filter the rows returned + """ + where: byte_object_bool_exp + ): byte_object_aggregate! + """ + fetch data from the table: "byte_object" using primary key columns + """ + byte_object_by_pk(id: numeric!): byte_object + """ + fetch data from the table: "cached_images.cached_image" + """ + cached_images_cached_image( + """ + distinct select on columns + """ + distinct_on: [cached_images_cached_image_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [cached_images_cached_image_order_by!] + """ + filter the rows returned + """ + where: cached_images_cached_image_bool_exp + ): [cached_images_cached_image!]! + """ + fetch data from the table: "cached_images.cached_image" using primary key columns + """ + cached_images_cached_image_by_pk(url: String!): cached_images_cached_image + """ + fetch data from the table: "caip10" using primary key columns + """ + caip10(id: numeric!): caip10 + """ + fetch aggregated fields from the table: "caip10" + """ + caip10_aggregate( + """ + distinct select on columns + """ + distinct_on: [caip10_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [caip10_order_by!] + """ + filter the rows returned + """ + where: caip10_bool_exp + ): caip10_aggregate! + """ + fetch data from the table: "caip10" + """ + caip10s( + """ + distinct select on columns + """ + distinct_on: [caip10_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [caip10_order_by!] + """ + filter the rows returned + """ + where: caip10_bool_exp + ): [caip10!]! + """ + fetch data from the table: "chainlink_price" using primary key columns + """ + chainlink_price(id: numeric!): chainlink_prices + """ + fetch data from the table: "chainlink_price" + """ + chainlink_prices( + """ + distinct select on columns + """ + distinct_on: [chainlink_prices_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [chainlink_prices_order_by!] + """ + filter the rows returned + """ + where: chainlink_prices_bool_exp + ): [chainlink_prices!]! + """ + fetch data from the table: "deposit" using primary key columns + """ + deposit(id: String!): deposits + """ + An array relationship + """ + deposits( + """ + distinct select on columns + """ + distinct_on: [deposits_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [deposits_order_by!] + """ + filter the rows returned + """ + where: deposits_bool_exp + ): [deposits!]! + """ + An aggregate relationship + """ + deposits_aggregate( + """ + distinct select on columns + """ + distinct_on: [deposits_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [deposits_order_by!] + """ + filter the rows returned + """ + where: deposits_bool_exp + ): deposits_aggregate! + """ + fetch data from the table: "event" using primary key columns + """ + event(id: String!): events + """ + fetch data from the table: "event" + """ + events( + """ + distinct select on columns + """ + distinct_on: [events_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [events_order_by!] + """ + filter the rows returned + """ + where: events_bool_exp + ): [events!]! + """ + fetch aggregated fields from the table: "event" + """ + events_aggregate( + """ + distinct select on columns + """ + distinct_on: [events_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [events_order_by!] + """ + filter the rows returned + """ + where: events_bool_exp + ): events_aggregate! + """ + fetch data from the table: "fee_transfer" using primary key columns + """ + fee_transfer(id: String!): fee_transfers + """ + An array relationship + """ + fee_transfers( + """ + distinct select on columns + """ + distinct_on: [fee_transfers_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [fee_transfers_order_by!] + """ + filter the rows returned + """ + where: fee_transfers_bool_exp + ): [fee_transfers!]! + """ + An aggregate relationship + """ + fee_transfers_aggregate( + """ + distinct select on columns + """ + distinct_on: [fee_transfers_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [fee_transfers_order_by!] + """ + filter the rows returned + """ + where: fee_transfers_bool_exp + ): fee_transfers_aggregate! + """ + execute function "following" which returns "account" + """ + following( + """ + input parameters for function "following" + """ + args: following_args! + """ + distinct select on columns + """ + distinct_on: [accounts_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [accounts_order_by!] + """ + filter the rows returned + """ + where: accounts_bool_exp + ): [accounts!]! + """ + execute function "following" and query aggregates on result of table type "account" + """ + following_aggregate( + """ + input parameters for function "following_aggregate" + """ + args: following_args! + """ + distinct select on columns + """ + distinct_on: [accounts_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [accounts_order_by!] + """ + filter the rows returned + """ + where: accounts_bool_exp + ): accounts_aggregate! + """ + fetch data from the table: "json_object" using primary key columns + """ + json_object(id: numeric!): json_objects + """ + fetch data from the table: "json_object" + """ + json_objects( + """ + distinct select on columns + """ + distinct_on: [json_objects_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [json_objects_order_by!] + """ + filter the rows returned + """ + where: json_objects_bool_exp + ): [json_objects!]! + """ + fetch aggregated fields from the table: "json_object" + """ + json_objects_aggregate( + """ + distinct select on columns + """ + distinct_on: [json_objects_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [json_objects_order_by!] + """ + filter the rows returned + """ + where: json_objects_bool_exp + ): json_objects_aggregate! + """ + fetch data from the table: "organization" using primary key columns + """ + organization(id: numeric!): organizations + """ + fetch data from the table: "organization" + """ + organizations( + """ + distinct select on columns + """ + distinct_on: [organizations_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [organizations_order_by!] + """ + filter the rows returned + """ + where: organizations_bool_exp + ): [organizations!]! + """ + fetch aggregated fields from the table: "organization" + """ + organizations_aggregate( + """ + distinct select on columns + """ + distinct_on: [organizations_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [organizations_order_by!] + """ + filter the rows returned + """ + where: organizations_bool_exp + ): organizations_aggregate! + """ + fetch data from the table: "person" using primary key columns + """ + person(id: numeric!): persons + """ + fetch data from the table: "person" + """ + persons( + """ + distinct select on columns + """ + distinct_on: [persons_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [persons_order_by!] + """ + filter the rows returned + """ + where: persons_bool_exp + ): [persons!]! + """ + fetch aggregated fields from the table: "person" + """ + persons_aggregate( + """ + distinct select on columns + """ + distinct_on: [persons_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [persons_order_by!] + """ + filter the rows returned + """ + where: persons_bool_exp + ): persons_aggregate! + """ + fetch data from the table: "position" using primary key columns + """ + position(id: String!): positions + """ + An array relationship + """ + positions( + """ + distinct select on columns + """ + distinct_on: [positions_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [positions_order_by!] + """ + filter the rows returned + """ + where: positions_bool_exp + ): [positions!]! + """ + An aggregate relationship + """ + positions_aggregate( + """ + distinct select on columns + """ + distinct_on: [positions_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [positions_order_by!] + """ + filter the rows returned + """ + where: positions_bool_exp + ): positions_aggregate! + """ + execute function "positions_from_following" which returns "position" + """ + positions_from_following( + """ + input parameters for function "positions_from_following" + """ + args: positions_from_following_args! + """ + distinct select on columns + """ + distinct_on: [positions_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [positions_order_by!] + """ + filter the rows returned + """ + where: positions_bool_exp + ): [positions!]! + """ + execute function "positions_from_following" and query aggregates on result of table type "position" + """ + positions_from_following_aggregate( + """ + input parameters for function "positions_from_following_aggregate" + """ + args: positions_from_following_args! + """ + distinct select on columns + """ + distinct_on: [positions_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [positions_order_by!] + """ + filter the rows returned + """ + where: positions_bool_exp + ): positions_aggregate! + """ + fetch data from the table: "predicate_object" + """ + predicate_objects( + """ + distinct select on columns + """ + distinct_on: [predicate_objects_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [predicate_objects_order_by!] + """ + filter the rows returned + """ + where: predicate_objects_bool_exp + ): [predicate_objects!]! + """ + fetch aggregated fields from the table: "predicate_object" + """ + predicate_objects_aggregate( + """ + distinct select on columns + """ + distinct_on: [predicate_objects_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [predicate_objects_order_by!] + """ + filter the rows returned + """ + where: predicate_objects_bool_exp + ): predicate_objects_aggregate! + """ + fetch data from the table: "predicate_object" using primary key columns + """ + predicate_objects_by_pk(id: String!): predicate_objects + """ + fetch data from the table: "redemption" using primary key columns + """ + redemption(id: String!): redemptions + """ + An array relationship + """ + redemptions( + """ + distinct select on columns + """ + distinct_on: [redemptions_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [redemptions_order_by!] + """ + filter the rows returned + """ + where: redemptions_bool_exp + ): [redemptions!]! + """ + An aggregate relationship + """ + redemptions_aggregate( + """ + distinct select on columns + """ + distinct_on: [redemptions_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [redemptions_order_by!] + """ + filter the rows returned + """ + where: redemptions_bool_exp + ): redemptions_aggregate! + """ + execute function "search_positions_on_subject" which returns "position" + """ + search_positions_on_subject( + """ + input parameters for function "search_positions_on_subject" + """ + args: search_positions_on_subject_args! + """ + distinct select on columns + """ + distinct_on: [positions_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [positions_order_by!] + """ + filter the rows returned + """ + where: positions_bool_exp + ): [positions!]! + """ + execute function "search_positions_on_subject" and query aggregates on result of table type "position" + """ + search_positions_on_subject_aggregate( + """ + input parameters for function "search_positions_on_subject_aggregate" + """ + args: search_positions_on_subject_args! + """ + distinct select on columns + """ + distinct_on: [positions_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [positions_order_by!] + """ + filter the rows returned + """ + where: positions_bool_exp + ): positions_aggregate! + """ + execute function "search_term" which returns "term" + """ + search_term( + """ + input parameters for function "search_term" + """ + args: search_term_args! + """ + distinct select on columns + """ + distinct_on: [terms_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [terms_order_by!] + """ + filter the rows returned + """ + where: terms_bool_exp + ): [terms!]! + """ + execute function "search_term" and query aggregates on result of table type "term" + """ + search_term_aggregate( + """ + input parameters for function "search_term_aggregate" + """ + args: search_term_args! + """ + distinct select on columns + """ + distinct_on: [terms_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [terms_order_by!] + """ + filter the rows returned + """ + where: terms_bool_exp + ): terms_aggregate! + """ + execute function "search_term_from_following" which returns "term" + """ + search_term_from_following( + """ + input parameters for function "search_term_from_following" + """ + args: search_term_from_following_args! + """ + distinct select on columns + """ + distinct_on: [terms_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [terms_order_by!] + """ + filter the rows returned + """ + where: terms_bool_exp + ): [terms!]! + """ + execute function "search_term_from_following" and query aggregates on result of table type "term" + """ + search_term_from_following_aggregate( + """ + input parameters for function "search_term_from_following_aggregate" + """ + args: search_term_from_following_args! + """ + distinct select on columns + """ + distinct_on: [terms_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [terms_order_by!] + """ + filter the rows returned + """ + where: terms_bool_exp + ): terms_aggregate! + """ + An array relationship + """ + share_price_change_stats_daily( + """ + distinct select on columns + """ + distinct_on: [share_price_change_stats_daily_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [share_price_change_stats_daily_order_by!] + """ + filter the rows returned + """ + where: share_price_change_stats_daily_bool_exp + ): [share_price_change_stats_daily!]! + """ + An array relationship + """ + share_price_change_stats_hourly( + """ + distinct select on columns + """ + distinct_on: [share_price_change_stats_hourly_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [share_price_change_stats_hourly_order_by!] + """ + filter the rows returned + """ + where: share_price_change_stats_hourly_bool_exp + ): [share_price_change_stats_hourly!]! + """ + An array relationship + """ + share_price_change_stats_monthly( + """ + distinct select on columns + """ + distinct_on: [share_price_change_stats_monthly_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [share_price_change_stats_monthly_order_by!] + """ + filter the rows returned + """ + where: share_price_change_stats_monthly_bool_exp + ): [share_price_change_stats_monthly!]! + """ + An array relationship + """ + share_price_change_stats_weekly( + """ + distinct select on columns + """ + distinct_on: [share_price_change_stats_weekly_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [share_price_change_stats_weekly_order_by!] + """ + filter the rows returned + """ + where: share_price_change_stats_weekly_bool_exp + ): [share_price_change_stats_weekly!]! + """ + An array relationship + """ + share_price_changes( + """ + distinct select on columns + """ + distinct_on: [share_price_changes_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [share_price_changes_order_by!] + """ + filter the rows returned + """ + where: share_price_changes_bool_exp + ): [share_price_changes!]! + """ + An aggregate relationship + """ + share_price_changes_aggregate( + """ + distinct select on columns + """ + distinct_on: [share_price_changes_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [share_price_changes_order_by!] + """ + filter the rows returned + """ + where: share_price_changes_bool_exp + ): share_price_changes_aggregate! + """ + fetch data from the table: "signal_stats_daily" + """ + signal_stats_daily( + """ + distinct select on columns + """ + distinct_on: [signal_stats_daily_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [signal_stats_daily_order_by!] + """ + filter the rows returned + """ + where: signal_stats_daily_bool_exp + ): [signal_stats_daily!]! + """ + fetch data from the table: "signal_stats_hourly" + """ + signal_stats_hourly( + """ + distinct select on columns + """ + distinct_on: [signal_stats_hourly_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [signal_stats_hourly_order_by!] + """ + filter the rows returned + """ + where: signal_stats_hourly_bool_exp + ): [signal_stats_hourly!]! + """ + fetch data from the table: "signal_stats_monthly" + """ + signal_stats_monthly( + """ + distinct select on columns + """ + distinct_on: [signal_stats_monthly_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [signal_stats_monthly_order_by!] + """ + filter the rows returned + """ + where: signal_stats_monthly_bool_exp + ): [signal_stats_monthly!]! + """ + fetch data from the table: "signal_stats_weekly" + """ + signal_stats_weekly( + """ + distinct select on columns + """ + distinct_on: [signal_stats_weekly_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [signal_stats_weekly_order_by!] + """ + filter the rows returned + """ + where: signal_stats_weekly_bool_exp + ): [signal_stats_weekly!]! + """ + An array relationship + """ + signals( + """ + distinct select on columns + """ + distinct_on: [signals_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [signals_order_by!] + """ + filter the rows returned + """ + where: signals_bool_exp + ): [signals!]! + """ + An aggregate relationship + """ + signals_aggregate( + """ + distinct select on columns + """ + distinct_on: [signals_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [signals_order_by!] + """ + filter the rows returned + """ + where: signals_bool_exp + ): signals_aggregate! + """ + execute function "signals_from_following" which returns "signal" + """ + signals_from_following( + """ + input parameters for function "signals_from_following" + """ + args: signals_from_following_args! + """ + distinct select on columns + """ + distinct_on: [signals_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [signals_order_by!] + """ + filter the rows returned + """ + where: signals_bool_exp + ): [signals!]! + """ + execute function "signals_from_following" and query aggregates on result of table type "signal" + """ + signals_from_following_aggregate( + """ + input parameters for function "signals_from_following_aggregate" + """ + args: signals_from_following_args! + """ + distinct select on columns + """ + distinct_on: [signals_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [signals_order_by!] + """ + filter the rows returned + """ + where: signals_bool_exp + ): signals_aggregate! + """ + fetch data from the table: "stats" using primary key columns + """ + stat(id: Int!): stats + """ + fetch data from the table: "stats" + """ + stats( + """ + distinct select on columns + """ + distinct_on: [stats_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [stats_order_by!] + """ + filter the rows returned + """ + where: stats_bool_exp + ): [stats!]! + """ + fetch aggregated fields from the table: "stats" + """ + stats_aggregate( + """ + distinct select on columns + """ + distinct_on: [stats_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [stats_order_by!] + """ + filter the rows returned + """ + where: stats_bool_exp + ): stats_aggregate! + """ + fetch data from the table: "term" using primary key columns + """ + term(id: numeric!): terms + """ + fetch data from the table: "term" + """ + terms( + """ + distinct select on columns + """ + distinct_on: [terms_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [terms_order_by!] + """ + filter the rows returned + """ + where: terms_bool_exp + ): [terms!]! + """ + fetch aggregated fields from the table: "term" + """ + terms_aggregate( + """ + distinct select on columns + """ + distinct_on: [terms_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [terms_order_by!] + """ + filter the rows returned + """ + where: terms_bool_exp + ): terms_aggregate! + """ + fetch data from the table: "text_object" using primary key columns + """ + text_object(id: numeric!): text_objects + """ + fetch data from the table: "text_object" + """ + text_objects( + """ + distinct select on columns + """ + distinct_on: [text_objects_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [text_objects_order_by!] + """ + filter the rows returned + """ + where: text_objects_bool_exp + ): [text_objects!]! + """ + fetch aggregated fields from the table: "text_object" + """ + text_objects_aggregate( + """ + distinct select on columns + """ + distinct_on: [text_objects_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [text_objects_order_by!] + """ + filter the rows returned + """ + where: text_objects_bool_exp + ): text_objects_aggregate! + """ + fetch data from the table: "thing" using primary key columns + """ + thing(id: numeric!): things + """ + fetch data from the table: "thing" + """ + things( + """ + distinct select on columns + """ + distinct_on: [things_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [things_order_by!] + """ + filter the rows returned + """ + where: things_bool_exp + ): [things!]! + """ + fetch aggregated fields from the table: "thing" + """ + things_aggregate( + """ + distinct select on columns + """ + distinct_on: [things_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [things_order_by!] + """ + filter the rows returned + """ + where: things_bool_exp + ): things_aggregate! + """ + fetch data from the table: "triple" using primary key columns + """ + triple(term_id: numeric!): triples + """ + fetch data from the table: "triple_term" using primary key columns + """ + triple_term(term_id: numeric!): triple_term + """ + fetch data from the table: "triple_term" + """ + triple_terms( + """ + distinct select on columns + """ + distinct_on: [triple_term_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [triple_term_order_by!] + """ + filter the rows returned + """ + where: triple_term_bool_exp + ): [triple_term!]! + """ + fetch data from the table: "triple_vault" using primary key columns + """ + triple_vault(curve_id: numeric!, term_id: numeric!): triple_vault + """ + fetch data from the table: "triple_vault" + """ + triple_vaults( + """ + distinct select on columns + """ + distinct_on: [triple_vault_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [triple_vault_order_by!] + """ + filter the rows returned + """ + where: triple_vault_bool_exp + ): [triple_vault!]! + """ + An array relationship + """ + triples( + """ + distinct select on columns + """ + distinct_on: [triples_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [triples_order_by!] + """ + filter the rows returned + """ + where: triples_bool_exp + ): [triples!]! + """ + An aggregate relationship + """ + triples_aggregate( + """ + distinct select on columns + """ + distinct_on: [triples_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [triples_order_by!] + """ + filter the rows returned + """ + where: triples_bool_exp + ): triples_aggregate! + """ + fetch data from the table: "vault" using primary key columns + """ + vault(curve_id: numeric!, term_id: numeric!): vaults + """ + An array relationship + """ + vaults( + """ + distinct select on columns + """ + distinct_on: [vaults_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [vaults_order_by!] + """ + filter the rows returned + """ + where: vaults_bool_exp + ): [vaults!]! + """ + An aggregate relationship + """ + vaults_aggregate( + """ + distinct select on columns + """ + distinct_on: [vaults_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [vaults_order_by!] + """ + filter the rows returned + """ + where: vaults_bool_exp + ): vaults_aggregate! +} + +""" +columns and relationships of "redemption" +""" +type redemptions { + assets_for_receiver: numeric! + block_number: numeric! + created_at: timestamptz! + curve_id: numeric! + exit_fee: numeric! + id: String! + """ + An object relationship + """ + receiver: accounts! + receiver_id: String! + """ + An object relationship + """ + sender: accounts + sender_id: String! + sender_total_shares_in_vault: numeric! + shares_redeemed_by_sender: numeric! + """ + An object relationship + """ + term: terms! + term_id: numeric! + transaction_hash: String! + """ + An object relationship + """ + vault: vaults +} + +""" +aggregated selection of "redemption" +""" +type redemptions_aggregate { + aggregate: redemptions_aggregate_fields + nodes: [redemptions!]! +} + +input redemptions_aggregate_bool_exp { + count: redemptions_aggregate_bool_exp_count +} + +input redemptions_aggregate_bool_exp_count { + arguments: [redemptions_select_column!] + distinct: Boolean + filter: redemptions_bool_exp + predicate: Int_comparison_exp! +} + +""" +aggregate fields of "redemption" +""" +type redemptions_aggregate_fields { + avg: redemptions_avg_fields + count(columns: [redemptions_select_column!], distinct: Boolean): Int! + max: redemptions_max_fields + min: redemptions_min_fields + stddev: redemptions_stddev_fields + stddev_pop: redemptions_stddev_pop_fields + stddev_samp: redemptions_stddev_samp_fields + sum: redemptions_sum_fields + var_pop: redemptions_var_pop_fields + var_samp: redemptions_var_samp_fields + variance: redemptions_variance_fields +} + +""" +order by aggregate values of table "redemption" +""" +input redemptions_aggregate_order_by { + avg: redemptions_avg_order_by + count: order_by + max: redemptions_max_order_by + min: redemptions_min_order_by + stddev: redemptions_stddev_order_by + stddev_pop: redemptions_stddev_pop_order_by + stddev_samp: redemptions_stddev_samp_order_by + sum: redemptions_sum_order_by + var_pop: redemptions_var_pop_order_by + var_samp: redemptions_var_samp_order_by + variance: redemptions_variance_order_by +} + +""" +aggregate avg on columns +""" +type redemptions_avg_fields { + assets_for_receiver: Float + block_number: Float + curve_id: Float + exit_fee: Float + sender_total_shares_in_vault: Float + shares_redeemed_by_sender: Float + term_id: Float +} + +""" +order by avg() on columns of table "redemption" +""" +input redemptions_avg_order_by { + assets_for_receiver: order_by + block_number: order_by + curve_id: order_by + exit_fee: order_by + sender_total_shares_in_vault: order_by + shares_redeemed_by_sender: order_by + term_id: order_by +} + +""" +Boolean expression to filter rows from the table "redemption". All fields are combined with a logical 'AND'. +""" +input redemptions_bool_exp { + _and: [redemptions_bool_exp!] + _not: redemptions_bool_exp + _or: [redemptions_bool_exp!] + assets_for_receiver: numeric_comparison_exp + block_number: numeric_comparison_exp + created_at: timestamptz_comparison_exp + curve_id: numeric_comparison_exp + exit_fee: numeric_comparison_exp + id: String_comparison_exp + receiver: accounts_bool_exp + receiver_id: String_comparison_exp + sender: accounts_bool_exp + sender_id: String_comparison_exp + sender_total_shares_in_vault: numeric_comparison_exp + shares_redeemed_by_sender: numeric_comparison_exp + term: terms_bool_exp + term_id: numeric_comparison_exp + transaction_hash: String_comparison_exp + vault: vaults_bool_exp +} + +""" +aggregate max on columns +""" +type redemptions_max_fields { + assets_for_receiver: numeric + block_number: numeric + created_at: timestamptz + curve_id: numeric + exit_fee: numeric + id: String + receiver_id: String + sender_id: String + sender_total_shares_in_vault: numeric + shares_redeemed_by_sender: numeric + term_id: numeric + transaction_hash: String +} + +""" +order by max() on columns of table "redemption" +""" +input redemptions_max_order_by { + assets_for_receiver: order_by + block_number: order_by + created_at: order_by + curve_id: order_by + exit_fee: order_by + id: order_by + receiver_id: order_by + sender_id: order_by + sender_total_shares_in_vault: order_by + shares_redeemed_by_sender: order_by + term_id: order_by + transaction_hash: order_by +} + +""" +aggregate min on columns +""" +type redemptions_min_fields { + assets_for_receiver: numeric + block_number: numeric + created_at: timestamptz + curve_id: numeric + exit_fee: numeric + id: String + receiver_id: String + sender_id: String + sender_total_shares_in_vault: numeric + shares_redeemed_by_sender: numeric + term_id: numeric + transaction_hash: String +} + +""" +order by min() on columns of table "redemption" +""" +input redemptions_min_order_by { + assets_for_receiver: order_by + block_number: order_by + created_at: order_by + curve_id: order_by + exit_fee: order_by + id: order_by + receiver_id: order_by + sender_id: order_by + sender_total_shares_in_vault: order_by + shares_redeemed_by_sender: order_by + term_id: order_by + transaction_hash: order_by +} + +""" +Ordering options when selecting data from "redemption". +""" +input redemptions_order_by { + assets_for_receiver: order_by + block_number: order_by + created_at: order_by + curve_id: order_by + exit_fee: order_by + id: order_by + receiver: accounts_order_by + receiver_id: order_by + sender: accounts_order_by + sender_id: order_by + sender_total_shares_in_vault: order_by + shares_redeemed_by_sender: order_by + term: terms_order_by + term_id: order_by + transaction_hash: order_by + vault: vaults_order_by +} + +""" +select columns of table "redemption" +""" +enum redemptions_select_column { + """ + column name + """ + assets_for_receiver + """ + column name + """ + block_number + """ + column name + """ + created_at + """ + column name + """ + curve_id + """ + column name + """ + exit_fee + """ + column name + """ + id + """ + column name + """ + receiver_id + """ + column name + """ + sender_id + """ + column name + """ + sender_total_shares_in_vault + """ + column name + """ + shares_redeemed_by_sender + """ + column name + """ + term_id + """ + column name + """ + transaction_hash +} + +""" +aggregate stddev on columns +""" +type redemptions_stddev_fields { + assets_for_receiver: Float + block_number: Float + curve_id: Float + exit_fee: Float + sender_total_shares_in_vault: Float + shares_redeemed_by_sender: Float + term_id: Float +} + +""" +order by stddev() on columns of table "redemption" +""" +input redemptions_stddev_order_by { + assets_for_receiver: order_by + block_number: order_by + curve_id: order_by + exit_fee: order_by + sender_total_shares_in_vault: order_by + shares_redeemed_by_sender: order_by + term_id: order_by +} + +""" +aggregate stddev_pop on columns +""" +type redemptions_stddev_pop_fields { + assets_for_receiver: Float + block_number: Float + curve_id: Float + exit_fee: Float + sender_total_shares_in_vault: Float + shares_redeemed_by_sender: Float + term_id: Float +} + +""" +order by stddev_pop() on columns of table "redemption" +""" +input redemptions_stddev_pop_order_by { + assets_for_receiver: order_by + block_number: order_by + curve_id: order_by + exit_fee: order_by + sender_total_shares_in_vault: order_by + shares_redeemed_by_sender: order_by + term_id: order_by +} + +""" +aggregate stddev_samp on columns +""" +type redemptions_stddev_samp_fields { + assets_for_receiver: Float + block_number: Float + curve_id: Float + exit_fee: Float + sender_total_shares_in_vault: Float + shares_redeemed_by_sender: Float + term_id: Float +} + +""" +order by stddev_samp() on columns of table "redemption" +""" +input redemptions_stddev_samp_order_by { + assets_for_receiver: order_by + block_number: order_by + curve_id: order_by + exit_fee: order_by + sender_total_shares_in_vault: order_by + shares_redeemed_by_sender: order_by + term_id: order_by +} + +""" +Streaming cursor of the table "redemptions" +""" +input redemptions_stream_cursor_input { + """ + Stream column input with initial value + """ + initial_value: redemptions_stream_cursor_value_input! + """ + cursor ordering + """ + ordering: cursor_ordering +} + +""" +Initial value of the column from where the streaming should start +""" +input redemptions_stream_cursor_value_input { + assets_for_receiver: numeric + block_number: numeric + created_at: timestamptz + curve_id: numeric + exit_fee: numeric + id: String + receiver_id: String + sender_id: String + sender_total_shares_in_vault: numeric + shares_redeemed_by_sender: numeric + term_id: numeric + transaction_hash: String +} + +""" +aggregate sum on columns +""" +type redemptions_sum_fields { + assets_for_receiver: numeric + block_number: numeric + curve_id: numeric + exit_fee: numeric + sender_total_shares_in_vault: numeric + shares_redeemed_by_sender: numeric + term_id: numeric +} + +""" +order by sum() on columns of table "redemption" +""" +input redemptions_sum_order_by { + assets_for_receiver: order_by + block_number: order_by + curve_id: order_by + exit_fee: order_by + sender_total_shares_in_vault: order_by + shares_redeemed_by_sender: order_by + term_id: order_by +} + +""" +aggregate var_pop on columns +""" +type redemptions_var_pop_fields { + assets_for_receiver: Float + block_number: Float + curve_id: Float + exit_fee: Float + sender_total_shares_in_vault: Float + shares_redeemed_by_sender: Float + term_id: Float +} + +""" +order by var_pop() on columns of table "redemption" +""" +input redemptions_var_pop_order_by { + assets_for_receiver: order_by + block_number: order_by + curve_id: order_by + exit_fee: order_by + sender_total_shares_in_vault: order_by + shares_redeemed_by_sender: order_by + term_id: order_by +} + +""" +aggregate var_samp on columns +""" +type redemptions_var_samp_fields { + assets_for_receiver: Float + block_number: Float + curve_id: Float + exit_fee: Float + sender_total_shares_in_vault: Float + shares_redeemed_by_sender: Float + term_id: Float +} + +""" +order by var_samp() on columns of table "redemption" +""" +input redemptions_var_samp_order_by { + assets_for_receiver: order_by + block_number: order_by + curve_id: order_by + exit_fee: order_by + sender_total_shares_in_vault: order_by + shares_redeemed_by_sender: order_by + term_id: order_by +} + +""" +aggregate variance on columns +""" +type redemptions_variance_fields { + assets_for_receiver: Float + block_number: Float + curve_id: Float + exit_fee: Float + sender_total_shares_in_vault: Float + shares_redeemed_by_sender: Float + term_id: Float +} + +""" +order by variance() on columns of table "redemption" +""" +input redemptions_variance_order_by { + assets_for_receiver: order_by + block_number: order_by + curve_id: order_by + exit_fee: order_by + sender_total_shares_in_vault: order_by + shares_redeemed_by_sender: order_by + term_id: order_by +} + +input search_positions_on_subject_args { + addresses: _text + search_fields: jsonb +} + +input search_term_args { + query: String +} + +input search_term_from_following_args { + address: String + query: String +} + +""" +columns and relationships of "share_price_change_stats_daily" +""" +type share_price_change_stats_daily { + bucket: timestamptz + change_count: numeric + curve_id: numeric + difference: numeric + first_share_price: numeric + last_share_price: numeric + """ + An object relationship + """ + term: terms + term_id: numeric +} + +""" +order by aggregate values of table "share_price_change_stats_daily" +""" +input share_price_change_stats_daily_aggregate_order_by { + avg: share_price_change_stats_daily_avg_order_by + count: order_by + max: share_price_change_stats_daily_max_order_by + min: share_price_change_stats_daily_min_order_by + stddev: share_price_change_stats_daily_stddev_order_by + stddev_pop: share_price_change_stats_daily_stddev_pop_order_by + stddev_samp: share_price_change_stats_daily_stddev_samp_order_by + sum: share_price_change_stats_daily_sum_order_by + var_pop: share_price_change_stats_daily_var_pop_order_by + var_samp: share_price_change_stats_daily_var_samp_order_by + variance: share_price_change_stats_daily_variance_order_by +} + +""" +order by avg() on columns of table "share_price_change_stats_daily" +""" +input share_price_change_stats_daily_avg_order_by { + change_count: order_by + curve_id: order_by + difference: order_by + first_share_price: order_by + last_share_price: order_by + term_id: order_by +} + +""" +Boolean expression to filter rows from the table "share_price_change_stats_daily". All fields are combined with a logical 'AND'. +""" +input share_price_change_stats_daily_bool_exp { + _and: [share_price_change_stats_daily_bool_exp!] + _not: share_price_change_stats_daily_bool_exp + _or: [share_price_change_stats_daily_bool_exp!] + bucket: timestamptz_comparison_exp + change_count: numeric_comparison_exp + curve_id: numeric_comparison_exp + difference: numeric_comparison_exp + first_share_price: numeric_comparison_exp + last_share_price: numeric_comparison_exp + term: terms_bool_exp + term_id: numeric_comparison_exp +} + +""" +order by max() on columns of table "share_price_change_stats_daily" +""" +input share_price_change_stats_daily_max_order_by { + bucket: order_by + change_count: order_by + curve_id: order_by + difference: order_by + first_share_price: order_by + last_share_price: order_by + term_id: order_by +} + +""" +order by min() on columns of table "share_price_change_stats_daily" +""" +input share_price_change_stats_daily_min_order_by { + bucket: order_by + change_count: order_by + curve_id: order_by + difference: order_by + first_share_price: order_by + last_share_price: order_by + term_id: order_by +} + +""" +Ordering options when selecting data from "share_price_change_stats_daily". +""" +input share_price_change_stats_daily_order_by { + bucket: order_by + change_count: order_by + curve_id: order_by + difference: order_by + first_share_price: order_by + last_share_price: order_by + term: terms_order_by + term_id: order_by +} + +""" +select columns of table "share_price_change_stats_daily" +""" +enum share_price_change_stats_daily_select_column { + """ + column name + """ + bucket + """ + column name + """ + change_count + """ + column name + """ + curve_id + """ + column name + """ + difference + """ + column name + """ + first_share_price + """ + column name + """ + last_share_price + """ + column name + """ + term_id +} + +""" +order by stddev() on columns of table "share_price_change_stats_daily" +""" +input share_price_change_stats_daily_stddev_order_by { + change_count: order_by + curve_id: order_by + difference: order_by + first_share_price: order_by + last_share_price: order_by + term_id: order_by +} + +""" +order by stddev_pop() on columns of table "share_price_change_stats_daily" +""" +input share_price_change_stats_daily_stddev_pop_order_by { + change_count: order_by + curve_id: order_by + difference: order_by + first_share_price: order_by + last_share_price: order_by + term_id: order_by +} + +""" +order by stddev_samp() on columns of table "share_price_change_stats_daily" +""" +input share_price_change_stats_daily_stddev_samp_order_by { + change_count: order_by + curve_id: order_by + difference: order_by + first_share_price: order_by + last_share_price: order_by + term_id: order_by +} + +""" +Streaming cursor of the table "share_price_change_stats_daily" +""" +input share_price_change_stats_daily_stream_cursor_input { + """ + Stream column input with initial value + """ + initial_value: share_price_change_stats_daily_stream_cursor_value_input! + """ + cursor ordering + """ + ordering: cursor_ordering +} + +""" +Initial value of the column from where the streaming should start +""" +input share_price_change_stats_daily_stream_cursor_value_input { + bucket: timestamptz + change_count: numeric + curve_id: numeric + difference: numeric + first_share_price: numeric + last_share_price: numeric + term_id: numeric +} + +""" +order by sum() on columns of table "share_price_change_stats_daily" +""" +input share_price_change_stats_daily_sum_order_by { + change_count: order_by + curve_id: order_by + difference: order_by + first_share_price: order_by + last_share_price: order_by + term_id: order_by +} + +""" +order by var_pop() on columns of table "share_price_change_stats_daily" +""" +input share_price_change_stats_daily_var_pop_order_by { + change_count: order_by + curve_id: order_by + difference: order_by + first_share_price: order_by + last_share_price: order_by + term_id: order_by +} + +""" +order by var_samp() on columns of table "share_price_change_stats_daily" +""" +input share_price_change_stats_daily_var_samp_order_by { + change_count: order_by + curve_id: order_by + difference: order_by + first_share_price: order_by + last_share_price: order_by + term_id: order_by +} + +""" +order by variance() on columns of table "share_price_change_stats_daily" +""" +input share_price_change_stats_daily_variance_order_by { + change_count: order_by + curve_id: order_by + difference: order_by + first_share_price: order_by + last_share_price: order_by + term_id: order_by +} + +""" +columns and relationships of "share_price_change_stats_hourly" +""" +type share_price_change_stats_hourly { + bucket: timestamptz + change_count: bigint + curve_id: numeric + difference: numeric + first_share_price: numeric + last_share_price: numeric + """ + An object relationship + """ + term: terms + term_id: numeric +} + +""" +order by aggregate values of table "share_price_change_stats_hourly" +""" +input share_price_change_stats_hourly_aggregate_order_by { + avg: share_price_change_stats_hourly_avg_order_by + count: order_by + max: share_price_change_stats_hourly_max_order_by + min: share_price_change_stats_hourly_min_order_by + stddev: share_price_change_stats_hourly_stddev_order_by + stddev_pop: share_price_change_stats_hourly_stddev_pop_order_by + stddev_samp: share_price_change_stats_hourly_stddev_samp_order_by + sum: share_price_change_stats_hourly_sum_order_by + var_pop: share_price_change_stats_hourly_var_pop_order_by + var_samp: share_price_change_stats_hourly_var_samp_order_by + variance: share_price_change_stats_hourly_variance_order_by +} + +""" +order by avg() on columns of table "share_price_change_stats_hourly" +""" +input share_price_change_stats_hourly_avg_order_by { + change_count: order_by + curve_id: order_by + difference: order_by + first_share_price: order_by + last_share_price: order_by + term_id: order_by +} + +""" +Boolean expression to filter rows from the table "share_price_change_stats_hourly". All fields are combined with a logical 'AND'. +""" +input share_price_change_stats_hourly_bool_exp { + _and: [share_price_change_stats_hourly_bool_exp!] + _not: share_price_change_stats_hourly_bool_exp + _or: [share_price_change_stats_hourly_bool_exp!] + bucket: timestamptz_comparison_exp + change_count: bigint_comparison_exp + curve_id: numeric_comparison_exp + difference: numeric_comparison_exp + first_share_price: numeric_comparison_exp + last_share_price: numeric_comparison_exp + term: terms_bool_exp + term_id: numeric_comparison_exp +} + +""" +order by max() on columns of table "share_price_change_stats_hourly" +""" +input share_price_change_stats_hourly_max_order_by { + bucket: order_by + change_count: order_by + curve_id: order_by + difference: order_by + first_share_price: order_by + last_share_price: order_by + term_id: order_by +} + +""" +order by min() on columns of table "share_price_change_stats_hourly" +""" +input share_price_change_stats_hourly_min_order_by { + bucket: order_by + change_count: order_by + curve_id: order_by + difference: order_by + first_share_price: order_by + last_share_price: order_by + term_id: order_by +} + +""" +Ordering options when selecting data from "share_price_change_stats_hourly". +""" +input share_price_change_stats_hourly_order_by { + bucket: order_by + change_count: order_by + curve_id: order_by + difference: order_by + first_share_price: order_by + last_share_price: order_by + term: terms_order_by + term_id: order_by +} + +""" +select columns of table "share_price_change_stats_hourly" +""" +enum share_price_change_stats_hourly_select_column { + """ + column name + """ + bucket + """ + column name + """ + change_count + """ + column name + """ + curve_id + """ + column name + """ + difference + """ + column name + """ + first_share_price + """ + column name + """ + last_share_price + """ + column name + """ + term_id +} + +""" +order by stddev() on columns of table "share_price_change_stats_hourly" +""" +input share_price_change_stats_hourly_stddev_order_by { + change_count: order_by + curve_id: order_by + difference: order_by + first_share_price: order_by + last_share_price: order_by + term_id: order_by +} + +""" +order by stddev_pop() on columns of table "share_price_change_stats_hourly" +""" +input share_price_change_stats_hourly_stddev_pop_order_by { + change_count: order_by + curve_id: order_by + difference: order_by + first_share_price: order_by + last_share_price: order_by + term_id: order_by +} + +""" +order by stddev_samp() on columns of table "share_price_change_stats_hourly" +""" +input share_price_change_stats_hourly_stddev_samp_order_by { + change_count: order_by + curve_id: order_by + difference: order_by + first_share_price: order_by + last_share_price: order_by + term_id: order_by +} + +""" +Streaming cursor of the table "share_price_change_stats_hourly" +""" +input share_price_change_stats_hourly_stream_cursor_input { + """ + Stream column input with initial value + """ + initial_value: share_price_change_stats_hourly_stream_cursor_value_input! + """ + cursor ordering + """ + ordering: cursor_ordering +} + +""" +Initial value of the column from where the streaming should start +""" +input share_price_change_stats_hourly_stream_cursor_value_input { + bucket: timestamptz + change_count: bigint + curve_id: numeric + difference: numeric + first_share_price: numeric + last_share_price: numeric + term_id: numeric +} + +""" +order by sum() on columns of table "share_price_change_stats_hourly" +""" +input share_price_change_stats_hourly_sum_order_by { + change_count: order_by + curve_id: order_by + difference: order_by + first_share_price: order_by + last_share_price: order_by + term_id: order_by +} + +""" +order by var_pop() on columns of table "share_price_change_stats_hourly" +""" +input share_price_change_stats_hourly_var_pop_order_by { + change_count: order_by + curve_id: order_by + difference: order_by + first_share_price: order_by + last_share_price: order_by + term_id: order_by +} + +""" +order by var_samp() on columns of table "share_price_change_stats_hourly" +""" +input share_price_change_stats_hourly_var_samp_order_by { + change_count: order_by + curve_id: order_by + difference: order_by + first_share_price: order_by + last_share_price: order_by + term_id: order_by +} + +""" +order by variance() on columns of table "share_price_change_stats_hourly" +""" +input share_price_change_stats_hourly_variance_order_by { + change_count: order_by + curve_id: order_by + difference: order_by + first_share_price: order_by + last_share_price: order_by + term_id: order_by +} + +""" +columns and relationships of "share_price_change_stats_monthly" +""" +type share_price_change_stats_monthly { + bucket: timestamptz + change_count: numeric + curve_id: numeric + difference: numeric + first_share_price: numeric + last_share_price: numeric + """ + An object relationship + """ + term: terms + term_id: numeric +} + +""" +order by aggregate values of table "share_price_change_stats_monthly" +""" +input share_price_change_stats_monthly_aggregate_order_by { + avg: share_price_change_stats_monthly_avg_order_by + count: order_by + max: share_price_change_stats_monthly_max_order_by + min: share_price_change_stats_monthly_min_order_by + stddev: share_price_change_stats_monthly_stddev_order_by + stddev_pop: share_price_change_stats_monthly_stddev_pop_order_by + stddev_samp: share_price_change_stats_monthly_stddev_samp_order_by + sum: share_price_change_stats_monthly_sum_order_by + var_pop: share_price_change_stats_monthly_var_pop_order_by + var_samp: share_price_change_stats_monthly_var_samp_order_by + variance: share_price_change_stats_monthly_variance_order_by +} + +""" +order by avg() on columns of table "share_price_change_stats_monthly" +""" +input share_price_change_stats_monthly_avg_order_by { + change_count: order_by + curve_id: order_by + difference: order_by + first_share_price: order_by + last_share_price: order_by + term_id: order_by +} + +""" +Boolean expression to filter rows from the table "share_price_change_stats_monthly". All fields are combined with a logical 'AND'. +""" +input share_price_change_stats_monthly_bool_exp { + _and: [share_price_change_stats_monthly_bool_exp!] + _not: share_price_change_stats_monthly_bool_exp + _or: [share_price_change_stats_monthly_bool_exp!] + bucket: timestamptz_comparison_exp + change_count: numeric_comparison_exp + curve_id: numeric_comparison_exp + difference: numeric_comparison_exp + first_share_price: numeric_comparison_exp + last_share_price: numeric_comparison_exp + term: terms_bool_exp + term_id: numeric_comparison_exp +} + +""" +order by max() on columns of table "share_price_change_stats_monthly" +""" +input share_price_change_stats_monthly_max_order_by { + bucket: order_by + change_count: order_by + curve_id: order_by + difference: order_by + first_share_price: order_by + last_share_price: order_by + term_id: order_by +} + +""" +order by min() on columns of table "share_price_change_stats_monthly" +""" +input share_price_change_stats_monthly_min_order_by { + bucket: order_by + change_count: order_by + curve_id: order_by + difference: order_by + first_share_price: order_by + last_share_price: order_by + term_id: order_by +} + +""" +Ordering options when selecting data from "share_price_change_stats_monthly". +""" +input share_price_change_stats_monthly_order_by { + bucket: order_by + change_count: order_by + curve_id: order_by + difference: order_by + first_share_price: order_by + last_share_price: order_by + term: terms_order_by + term_id: order_by +} + +""" +select columns of table "share_price_change_stats_monthly" +""" +enum share_price_change_stats_monthly_select_column { + """ + column name + """ + bucket + """ + column name + """ + change_count + """ + column name + """ + curve_id + """ + column name + """ + difference + """ + column name + """ + first_share_price + """ + column name + """ + last_share_price + """ + column name + """ + term_id +} + +""" +order by stddev() on columns of table "share_price_change_stats_monthly" +""" +input share_price_change_stats_monthly_stddev_order_by { + change_count: order_by + curve_id: order_by + difference: order_by + first_share_price: order_by + last_share_price: order_by + term_id: order_by +} + +""" +order by stddev_pop() on columns of table "share_price_change_stats_monthly" +""" +input share_price_change_stats_monthly_stddev_pop_order_by { + change_count: order_by + curve_id: order_by + difference: order_by + first_share_price: order_by + last_share_price: order_by + term_id: order_by +} + +""" +order by stddev_samp() on columns of table "share_price_change_stats_monthly" +""" +input share_price_change_stats_monthly_stddev_samp_order_by { + change_count: order_by + curve_id: order_by + difference: order_by + first_share_price: order_by + last_share_price: order_by + term_id: order_by +} + +""" +Streaming cursor of the table "share_price_change_stats_monthly" +""" +input share_price_change_stats_monthly_stream_cursor_input { + """ + Stream column input with initial value + """ + initial_value: share_price_change_stats_monthly_stream_cursor_value_input! + """ + cursor ordering + """ + ordering: cursor_ordering +} + +""" +Initial value of the column from where the streaming should start +""" +input share_price_change_stats_monthly_stream_cursor_value_input { + bucket: timestamptz + change_count: numeric + curve_id: numeric + difference: numeric + first_share_price: numeric + last_share_price: numeric + term_id: numeric +} + +""" +order by sum() on columns of table "share_price_change_stats_monthly" +""" +input share_price_change_stats_monthly_sum_order_by { + change_count: order_by + curve_id: order_by + difference: order_by + first_share_price: order_by + last_share_price: order_by + term_id: order_by +} + +""" +order by var_pop() on columns of table "share_price_change_stats_monthly" +""" +input share_price_change_stats_monthly_var_pop_order_by { + change_count: order_by + curve_id: order_by + difference: order_by + first_share_price: order_by + last_share_price: order_by + term_id: order_by +} + +""" +order by var_samp() on columns of table "share_price_change_stats_monthly" +""" +input share_price_change_stats_monthly_var_samp_order_by { + change_count: order_by + curve_id: order_by + difference: order_by + first_share_price: order_by + last_share_price: order_by + term_id: order_by +} + +""" +order by variance() on columns of table "share_price_change_stats_monthly" +""" +input share_price_change_stats_monthly_variance_order_by { + change_count: order_by + curve_id: order_by + difference: order_by + first_share_price: order_by + last_share_price: order_by + term_id: order_by +} + +""" +columns and relationships of "share_price_change_stats_weekly" +""" +type share_price_change_stats_weekly { + bucket: timestamptz + change_count: numeric + curve_id: numeric + difference: numeric + first_share_price: numeric + last_share_price: numeric + """ + An object relationship + """ + term: terms + term_id: numeric +} + +""" +order by aggregate values of table "share_price_change_stats_weekly" +""" +input share_price_change_stats_weekly_aggregate_order_by { + avg: share_price_change_stats_weekly_avg_order_by + count: order_by + max: share_price_change_stats_weekly_max_order_by + min: share_price_change_stats_weekly_min_order_by + stddev: share_price_change_stats_weekly_stddev_order_by + stddev_pop: share_price_change_stats_weekly_stddev_pop_order_by + stddev_samp: share_price_change_stats_weekly_stddev_samp_order_by + sum: share_price_change_stats_weekly_sum_order_by + var_pop: share_price_change_stats_weekly_var_pop_order_by + var_samp: share_price_change_stats_weekly_var_samp_order_by + variance: share_price_change_stats_weekly_variance_order_by +} + +""" +order by avg() on columns of table "share_price_change_stats_weekly" +""" +input share_price_change_stats_weekly_avg_order_by { + change_count: order_by + curve_id: order_by + difference: order_by + first_share_price: order_by + last_share_price: order_by + term_id: order_by +} + +""" +Boolean expression to filter rows from the table "share_price_change_stats_weekly". All fields are combined with a logical 'AND'. +""" +input share_price_change_stats_weekly_bool_exp { + _and: [share_price_change_stats_weekly_bool_exp!] + _not: share_price_change_stats_weekly_bool_exp + _or: [share_price_change_stats_weekly_bool_exp!] + bucket: timestamptz_comparison_exp + change_count: numeric_comparison_exp + curve_id: numeric_comparison_exp + difference: numeric_comparison_exp + first_share_price: numeric_comparison_exp + last_share_price: numeric_comparison_exp + term: terms_bool_exp + term_id: numeric_comparison_exp +} + +""" +order by max() on columns of table "share_price_change_stats_weekly" +""" +input share_price_change_stats_weekly_max_order_by { + bucket: order_by + change_count: order_by + curve_id: order_by + difference: order_by + first_share_price: order_by + last_share_price: order_by + term_id: order_by +} + +""" +order by min() on columns of table "share_price_change_stats_weekly" +""" +input share_price_change_stats_weekly_min_order_by { + bucket: order_by + change_count: order_by + curve_id: order_by + difference: order_by + first_share_price: order_by + last_share_price: order_by + term_id: order_by +} + +""" +Ordering options when selecting data from "share_price_change_stats_weekly". +""" +input share_price_change_stats_weekly_order_by { + bucket: order_by + change_count: order_by + curve_id: order_by + difference: order_by + first_share_price: order_by + last_share_price: order_by + term: terms_order_by + term_id: order_by +} + +""" +select columns of table "share_price_change_stats_weekly" +""" +enum share_price_change_stats_weekly_select_column { + """ + column name + """ + bucket + """ + column name + """ + change_count + """ + column name + """ + curve_id + """ + column name + """ + difference + """ + column name + """ + first_share_price + """ + column name + """ + last_share_price + """ + column name + """ + term_id +} + +""" +order by stddev() on columns of table "share_price_change_stats_weekly" +""" +input share_price_change_stats_weekly_stddev_order_by { + change_count: order_by + curve_id: order_by + difference: order_by + first_share_price: order_by + last_share_price: order_by + term_id: order_by +} + +""" +order by stddev_pop() on columns of table "share_price_change_stats_weekly" +""" +input share_price_change_stats_weekly_stddev_pop_order_by { + change_count: order_by + curve_id: order_by + difference: order_by + first_share_price: order_by + last_share_price: order_by + term_id: order_by +} + +""" +order by stddev_samp() on columns of table "share_price_change_stats_weekly" +""" +input share_price_change_stats_weekly_stddev_samp_order_by { + change_count: order_by + curve_id: order_by + difference: order_by + first_share_price: order_by + last_share_price: order_by + term_id: order_by +} + +""" +Streaming cursor of the table "share_price_change_stats_weekly" +""" +input share_price_change_stats_weekly_stream_cursor_input { + """ + Stream column input with initial value + """ + initial_value: share_price_change_stats_weekly_stream_cursor_value_input! + """ + cursor ordering + """ + ordering: cursor_ordering +} + +""" +Initial value of the column from where the streaming should start +""" +input share_price_change_stats_weekly_stream_cursor_value_input { + bucket: timestamptz + change_count: numeric + curve_id: numeric + difference: numeric + first_share_price: numeric + last_share_price: numeric + term_id: numeric +} + +""" +order by sum() on columns of table "share_price_change_stats_weekly" +""" +input share_price_change_stats_weekly_sum_order_by { + change_count: order_by + curve_id: order_by + difference: order_by + first_share_price: order_by + last_share_price: order_by + term_id: order_by +} + +""" +order by var_pop() on columns of table "share_price_change_stats_weekly" +""" +input share_price_change_stats_weekly_var_pop_order_by { + change_count: order_by + curve_id: order_by + difference: order_by + first_share_price: order_by + last_share_price: order_by + term_id: order_by +} + +""" +order by var_samp() on columns of table "share_price_change_stats_weekly" +""" +input share_price_change_stats_weekly_var_samp_order_by { + change_count: order_by + curve_id: order_by + difference: order_by + first_share_price: order_by + last_share_price: order_by + term_id: order_by +} + +""" +order by variance() on columns of table "share_price_change_stats_weekly" +""" +input share_price_change_stats_weekly_variance_order_by { + change_count: order_by + curve_id: order_by + difference: order_by + first_share_price: order_by + last_share_price: order_by + term_id: order_by +} + +""" +columns and relationships of "share_price_change" +""" +type share_price_changes { + block_number: numeric! + block_timestamp: bigint! + curve_id: numeric! + id: bigint! + share_price: numeric! + """ + An object relationship + """ + term: terms! + term_id: numeric! + total_assets: numeric! + total_shares: numeric! + transaction_hash: String! + updated_at: timestamptz! + """ + An object relationship + """ + vault: vaults +} + +""" +aggregated selection of "share_price_change" +""" +type share_price_changes_aggregate { + aggregate: share_price_changes_aggregate_fields + nodes: [share_price_changes!]! +} + +input share_price_changes_aggregate_bool_exp { + count: share_price_changes_aggregate_bool_exp_count +} + +input share_price_changes_aggregate_bool_exp_count { + arguments: [share_price_changes_select_column!] + distinct: Boolean + filter: share_price_changes_bool_exp + predicate: Int_comparison_exp! +} + +""" +aggregate fields of "share_price_change" +""" +type share_price_changes_aggregate_fields { + avg: share_price_changes_avg_fields + count(columns: [share_price_changes_select_column!], distinct: Boolean): Int! + max: share_price_changes_max_fields + min: share_price_changes_min_fields + stddev: share_price_changes_stddev_fields + stddev_pop: share_price_changes_stddev_pop_fields + stddev_samp: share_price_changes_stddev_samp_fields + sum: share_price_changes_sum_fields + var_pop: share_price_changes_var_pop_fields + var_samp: share_price_changes_var_samp_fields + variance: share_price_changes_variance_fields +} + +""" +order by aggregate values of table "share_price_change" +""" +input share_price_changes_aggregate_order_by { + avg: share_price_changes_avg_order_by + count: order_by + max: share_price_changes_max_order_by + min: share_price_changes_min_order_by + stddev: share_price_changes_stddev_order_by + stddev_pop: share_price_changes_stddev_pop_order_by + stddev_samp: share_price_changes_stddev_samp_order_by + sum: share_price_changes_sum_order_by + var_pop: share_price_changes_var_pop_order_by + var_samp: share_price_changes_var_samp_order_by + variance: share_price_changes_variance_order_by +} + +""" +aggregate avg on columns +""" +type share_price_changes_avg_fields { + block_number: Float + block_timestamp: Float + curve_id: Float + id: Float + share_price: Float + term_id: Float + total_assets: Float + total_shares: Float +} + +""" +order by avg() on columns of table "share_price_change" +""" +input share_price_changes_avg_order_by { + block_number: order_by + block_timestamp: order_by + curve_id: order_by + id: order_by + share_price: order_by + term_id: order_by + total_assets: order_by + total_shares: order_by +} + +""" +Boolean expression to filter rows from the table "share_price_change". All fields are combined with a logical 'AND'. +""" +input share_price_changes_bool_exp { + _and: [share_price_changes_bool_exp!] + _not: share_price_changes_bool_exp + _or: [share_price_changes_bool_exp!] + block_number: numeric_comparison_exp + block_timestamp: bigint_comparison_exp + curve_id: numeric_comparison_exp + id: bigint_comparison_exp + share_price: numeric_comparison_exp + term: terms_bool_exp + term_id: numeric_comparison_exp + total_assets: numeric_comparison_exp + total_shares: numeric_comparison_exp + transaction_hash: String_comparison_exp + updated_at: timestamptz_comparison_exp + vault: vaults_bool_exp +} + +""" +aggregate max on columns +""" +type share_price_changes_max_fields { + block_number: numeric + block_timestamp: bigint + curve_id: numeric + id: bigint + share_price: numeric + term_id: numeric + total_assets: numeric + total_shares: numeric + transaction_hash: String + updated_at: timestamptz +} + +""" +order by max() on columns of table "share_price_change" +""" +input share_price_changes_max_order_by { + block_number: order_by + block_timestamp: order_by + curve_id: order_by + id: order_by + share_price: order_by + term_id: order_by + total_assets: order_by + total_shares: order_by + transaction_hash: order_by + updated_at: order_by +} + +""" +aggregate min on columns +""" +type share_price_changes_min_fields { + block_number: numeric + block_timestamp: bigint + curve_id: numeric + id: bigint + share_price: numeric + term_id: numeric + total_assets: numeric + total_shares: numeric + transaction_hash: String + updated_at: timestamptz +} + +""" +order by min() on columns of table "share_price_change" +""" +input share_price_changes_min_order_by { + block_number: order_by + block_timestamp: order_by + curve_id: order_by + id: order_by + share_price: order_by + term_id: order_by + total_assets: order_by + total_shares: order_by + transaction_hash: order_by + updated_at: order_by +} + +""" +Ordering options when selecting data from "share_price_change". +""" +input share_price_changes_order_by { + block_number: order_by + block_timestamp: order_by + curve_id: order_by + id: order_by + share_price: order_by + term: terms_order_by + term_id: order_by + total_assets: order_by + total_shares: order_by + transaction_hash: order_by + updated_at: order_by + vault: vaults_order_by +} + +""" +select columns of table "share_price_change" +""" +enum share_price_changes_select_column { + """ + column name + """ + block_number + """ + column name + """ + block_timestamp + """ + column name + """ + curve_id + """ + column name + """ + id + """ + column name + """ + share_price + """ + column name + """ + term_id + """ + column name + """ + total_assets + """ + column name + """ + total_shares + """ + column name + """ + transaction_hash + """ + column name + """ + updated_at +} + +""" +aggregate stddev on columns +""" +type share_price_changes_stddev_fields { + block_number: Float + block_timestamp: Float + curve_id: Float + id: Float + share_price: Float + term_id: Float + total_assets: Float + total_shares: Float +} + +""" +order by stddev() on columns of table "share_price_change" +""" +input share_price_changes_stddev_order_by { + block_number: order_by + block_timestamp: order_by + curve_id: order_by + id: order_by + share_price: order_by + term_id: order_by + total_assets: order_by + total_shares: order_by +} + +""" +aggregate stddev_pop on columns +""" +type share_price_changes_stddev_pop_fields { + block_number: Float + block_timestamp: Float + curve_id: Float + id: Float + share_price: Float + term_id: Float + total_assets: Float + total_shares: Float +} + +""" +order by stddev_pop() on columns of table "share_price_change" +""" +input share_price_changes_stddev_pop_order_by { + block_number: order_by + block_timestamp: order_by + curve_id: order_by + id: order_by + share_price: order_by + term_id: order_by + total_assets: order_by + total_shares: order_by +} + +""" +aggregate stddev_samp on columns +""" +type share_price_changes_stddev_samp_fields { + block_number: Float + block_timestamp: Float + curve_id: Float + id: Float + share_price: Float + term_id: Float + total_assets: Float + total_shares: Float +} + +""" +order by stddev_samp() on columns of table "share_price_change" +""" +input share_price_changes_stddev_samp_order_by { + block_number: order_by + block_timestamp: order_by + curve_id: order_by + id: order_by + share_price: order_by + term_id: order_by + total_assets: order_by + total_shares: order_by +} + +""" +Streaming cursor of the table "share_price_changes" +""" +input share_price_changes_stream_cursor_input { + """ + Stream column input with initial value + """ + initial_value: share_price_changes_stream_cursor_value_input! + """ + cursor ordering + """ + ordering: cursor_ordering +} + +""" +Initial value of the column from where the streaming should start +""" +input share_price_changes_stream_cursor_value_input { + block_number: numeric + block_timestamp: bigint + curve_id: numeric + id: bigint + share_price: numeric + term_id: numeric + total_assets: numeric + total_shares: numeric + transaction_hash: String + updated_at: timestamptz +} + +""" +aggregate sum on columns +""" +type share_price_changes_sum_fields { + block_number: numeric + block_timestamp: bigint + curve_id: numeric + id: bigint + share_price: numeric + term_id: numeric + total_assets: numeric + total_shares: numeric +} + +""" +order by sum() on columns of table "share_price_change" +""" +input share_price_changes_sum_order_by { + block_number: order_by + block_timestamp: order_by + curve_id: order_by + id: order_by + share_price: order_by + term_id: order_by + total_assets: order_by + total_shares: order_by +} + +""" +aggregate var_pop on columns +""" +type share_price_changes_var_pop_fields { + block_number: Float + block_timestamp: Float + curve_id: Float + id: Float + share_price: Float + term_id: Float + total_assets: Float + total_shares: Float +} + +""" +order by var_pop() on columns of table "share_price_change" +""" +input share_price_changes_var_pop_order_by { + block_number: order_by + block_timestamp: order_by + curve_id: order_by + id: order_by + share_price: order_by + term_id: order_by + total_assets: order_by + total_shares: order_by +} + +""" +aggregate var_samp on columns +""" +type share_price_changes_var_samp_fields { + block_number: Float + block_timestamp: Float + curve_id: Float + id: Float + share_price: Float + term_id: Float + total_assets: Float + total_shares: Float +} + +""" +order by var_samp() on columns of table "share_price_change" +""" +input share_price_changes_var_samp_order_by { + block_number: order_by + block_timestamp: order_by + curve_id: order_by + id: order_by + share_price: order_by + term_id: order_by + total_assets: order_by + total_shares: order_by +} + +""" +aggregate variance on columns +""" +type share_price_changes_variance_fields { + block_number: Float + block_timestamp: Float + curve_id: Float + id: Float + share_price: Float + term_id: Float + total_assets: Float + total_shares: Float +} + +""" +order by variance() on columns of table "share_price_change" +""" +input share_price_changes_variance_order_by { + block_number: order_by + block_timestamp: order_by + curve_id: order_by + id: order_by + share_price: order_by + term_id: order_by + total_assets: order_by + total_shares: order_by +} + +""" +columns and relationships of "signal_stats_daily" +""" +type signal_stats_daily { + bucket: timestamptz + count: numeric + curve_id: numeric + """ + An object relationship + """ + term: terms + term_id: numeric + volume: numeric +} + +""" +Boolean expression to filter rows from the table "signal_stats_daily". All fields are combined with a logical 'AND'. +""" +input signal_stats_daily_bool_exp { + _and: [signal_stats_daily_bool_exp!] + _not: signal_stats_daily_bool_exp + _or: [signal_stats_daily_bool_exp!] + bucket: timestamptz_comparison_exp + count: numeric_comparison_exp + curve_id: numeric_comparison_exp + term: terms_bool_exp + term_id: numeric_comparison_exp + volume: numeric_comparison_exp +} + +""" +Ordering options when selecting data from "signal_stats_daily". +""" +input signal_stats_daily_order_by { + bucket: order_by + count: order_by + curve_id: order_by + term: terms_order_by + term_id: order_by + volume: order_by +} + +""" +select columns of table "signal_stats_daily" +""" +enum signal_stats_daily_select_column { + """ + column name + """ + bucket + """ + column name + """ + count + """ + column name + """ + curve_id + """ + column name + """ + term_id + """ + column name + """ + volume +} + +""" +Streaming cursor of the table "signal_stats_daily" +""" +input signal_stats_daily_stream_cursor_input { + """ + Stream column input with initial value + """ + initial_value: signal_stats_daily_stream_cursor_value_input! + """ + cursor ordering + """ + ordering: cursor_ordering +} + +""" +Initial value of the column from where the streaming should start +""" +input signal_stats_daily_stream_cursor_value_input { + bucket: timestamptz + count: numeric + curve_id: numeric + term_id: numeric + volume: numeric +} + +""" +columns and relationships of "signal_stats_hourly" +""" +type signal_stats_hourly { + bucket: timestamptz + count: bigint + curve_id: numeric + """ + An object relationship + """ + term: terms + term_id: numeric + volume: numeric +} + +""" +Boolean expression to filter rows from the table "signal_stats_hourly". All fields are combined with a logical 'AND'. +""" +input signal_stats_hourly_bool_exp { + _and: [signal_stats_hourly_bool_exp!] + _not: signal_stats_hourly_bool_exp + _or: [signal_stats_hourly_bool_exp!] + bucket: timestamptz_comparison_exp + count: bigint_comparison_exp + curve_id: numeric_comparison_exp + term: terms_bool_exp + term_id: numeric_comparison_exp + volume: numeric_comparison_exp +} + +""" +Ordering options when selecting data from "signal_stats_hourly". +""" +input signal_stats_hourly_order_by { + bucket: order_by + count: order_by + curve_id: order_by + term: terms_order_by + term_id: order_by + volume: order_by +} + +""" +select columns of table "signal_stats_hourly" +""" +enum signal_stats_hourly_select_column { + """ + column name + """ + bucket + """ + column name + """ + count + """ + column name + """ + curve_id + """ + column name + """ + term_id + """ + column name + """ + volume +} + +""" +Streaming cursor of the table "signal_stats_hourly" +""" +input signal_stats_hourly_stream_cursor_input { + """ + Stream column input with initial value + """ + initial_value: signal_stats_hourly_stream_cursor_value_input! + """ + cursor ordering + """ + ordering: cursor_ordering +} + +""" +Initial value of the column from where the streaming should start +""" +input signal_stats_hourly_stream_cursor_value_input { + bucket: timestamptz + count: bigint + curve_id: numeric + term_id: numeric + volume: numeric +} + +""" +columns and relationships of "signal_stats_monthly" +""" +type signal_stats_monthly { + bucket: timestamptz + count: numeric + curve_id: numeric + """ + An object relationship + """ + term: terms + term_id: numeric + volume: numeric +} + +""" +Boolean expression to filter rows from the table "signal_stats_monthly". All fields are combined with a logical 'AND'. +""" +input signal_stats_monthly_bool_exp { + _and: [signal_stats_monthly_bool_exp!] + _not: signal_stats_monthly_bool_exp + _or: [signal_stats_monthly_bool_exp!] + bucket: timestamptz_comparison_exp + count: numeric_comparison_exp + curve_id: numeric_comparison_exp + term: terms_bool_exp + term_id: numeric_comparison_exp + volume: numeric_comparison_exp +} + +""" +Ordering options when selecting data from "signal_stats_monthly". +""" +input signal_stats_monthly_order_by { + bucket: order_by + count: order_by + curve_id: order_by + term: terms_order_by + term_id: order_by + volume: order_by +} + +""" +select columns of table "signal_stats_monthly" +""" +enum signal_stats_monthly_select_column { + """ + column name + """ + bucket + """ + column name + """ + count + """ + column name + """ + curve_id + """ + column name + """ + term_id + """ + column name + """ + volume +} + +""" +Streaming cursor of the table "signal_stats_monthly" +""" +input signal_stats_monthly_stream_cursor_input { + """ + Stream column input with initial value + """ + initial_value: signal_stats_monthly_stream_cursor_value_input! + """ + cursor ordering + """ + ordering: cursor_ordering +} + +""" +Initial value of the column from where the streaming should start +""" +input signal_stats_monthly_stream_cursor_value_input { + bucket: timestamptz + count: numeric + curve_id: numeric + term_id: numeric + volume: numeric +} + +""" +columns and relationships of "signal_stats_weekly" +""" +type signal_stats_weekly { + bucket: timestamptz + count: numeric + curve_id: numeric + """ + An object relationship + """ + term: terms + term_id: numeric + volume: numeric +} + +""" +Boolean expression to filter rows from the table "signal_stats_weekly". All fields are combined with a logical 'AND'. +""" +input signal_stats_weekly_bool_exp { + _and: [signal_stats_weekly_bool_exp!] + _not: signal_stats_weekly_bool_exp + _or: [signal_stats_weekly_bool_exp!] + bucket: timestamptz_comparison_exp + count: numeric_comparison_exp + curve_id: numeric_comparison_exp + term: terms_bool_exp + term_id: numeric_comparison_exp + volume: numeric_comparison_exp +} + +""" +Ordering options when selecting data from "signal_stats_weekly". +""" +input signal_stats_weekly_order_by { + bucket: order_by + count: order_by + curve_id: order_by + term: terms_order_by + term_id: order_by + volume: order_by +} + +""" +select columns of table "signal_stats_weekly" +""" +enum signal_stats_weekly_select_column { + """ + column name + """ + bucket + """ + column name + """ + count + """ + column name + """ + curve_id + """ + column name + """ + term_id + """ + column name + """ + volume +} + +""" +Streaming cursor of the table "signal_stats_weekly" +""" +input signal_stats_weekly_stream_cursor_input { + """ + Stream column input with initial value + """ + initial_value: signal_stats_weekly_stream_cursor_value_input! + """ + cursor ordering + """ + ordering: cursor_ordering +} + +""" +Initial value of the column from where the streaming should start +""" +input signal_stats_weekly_stream_cursor_value_input { + bucket: timestamptz + count: numeric + curve_id: numeric + term_id: numeric + volume: numeric +} + +""" +columns and relationships of "signal" +""" +type signals { + """ + An object relationship + """ + account: accounts + account_id: String! + atom_id: numeric + block_number: numeric! + created_at: timestamptz! + delta: numeric! + """ + An object relationship + """ + deposit: deposits + deposit_id: String + id: String! + """ + An object relationship + """ + redemption: redemptions + redemption_id: String + """ + An object relationship + """ + term: terms! + transaction_hash: String! + triple_id: numeric + """ + An object relationship + """ + vault: vaults +} + +""" +aggregated selection of "signal" +""" +type signals_aggregate { + aggregate: signals_aggregate_fields + nodes: [signals!]! +} + +input signals_aggregate_bool_exp { + count: signals_aggregate_bool_exp_count +} + +input signals_aggregate_bool_exp_count { + arguments: [signals_select_column!] + distinct: Boolean + filter: signals_bool_exp + predicate: Int_comparison_exp! +} + +""" +aggregate fields of "signal" +""" +type signals_aggregate_fields { + avg: signals_avg_fields + count(columns: [signals_select_column!], distinct: Boolean): Int! + max: signals_max_fields + min: signals_min_fields + stddev: signals_stddev_fields + stddev_pop: signals_stddev_pop_fields + stddev_samp: signals_stddev_samp_fields + sum: signals_sum_fields + var_pop: signals_var_pop_fields + var_samp: signals_var_samp_fields + variance: signals_variance_fields +} + +""" +order by aggregate values of table "signal" +""" +input signals_aggregate_order_by { + avg: signals_avg_order_by + count: order_by + max: signals_max_order_by + min: signals_min_order_by + stddev: signals_stddev_order_by + stddev_pop: signals_stddev_pop_order_by + stddev_samp: signals_stddev_samp_order_by + sum: signals_sum_order_by + var_pop: signals_var_pop_order_by + var_samp: signals_var_samp_order_by + variance: signals_variance_order_by +} + +""" +aggregate avg on columns +""" +type signals_avg_fields { + atom_id: Float + block_number: Float + delta: Float + triple_id: Float +} + +""" +order by avg() on columns of table "signal" +""" +input signals_avg_order_by { + atom_id: order_by + block_number: order_by + delta: order_by + triple_id: order_by +} + +""" +Boolean expression to filter rows from the table "signal". All fields are combined with a logical 'AND'. +""" +input signals_bool_exp { + _and: [signals_bool_exp!] + _not: signals_bool_exp + _or: [signals_bool_exp!] + account: accounts_bool_exp + account_id: String_comparison_exp + atom_id: numeric_comparison_exp + block_number: numeric_comparison_exp + created_at: timestamptz_comparison_exp + delta: numeric_comparison_exp + deposit: deposits_bool_exp + deposit_id: String_comparison_exp + id: String_comparison_exp + redemption: redemptions_bool_exp + redemption_id: String_comparison_exp + term: terms_bool_exp + transaction_hash: String_comparison_exp + triple_id: numeric_comparison_exp + vault: vaults_bool_exp +} + +input signals_from_following_args { + address: String +} + +""" +aggregate max on columns +""" +type signals_max_fields { + account_id: String + atom_id: numeric + block_number: numeric + created_at: timestamptz + delta: numeric + deposit_id: String + id: String + redemption_id: String + transaction_hash: String + triple_id: numeric +} + +""" +order by max() on columns of table "signal" +""" +input signals_max_order_by { + account_id: order_by + atom_id: order_by + block_number: order_by + created_at: order_by + delta: order_by + deposit_id: order_by + id: order_by + redemption_id: order_by + transaction_hash: order_by + triple_id: order_by +} + +""" +aggregate min on columns +""" +type signals_min_fields { + account_id: String + atom_id: numeric + block_number: numeric + created_at: timestamptz + delta: numeric + deposit_id: String + id: String + redemption_id: String + transaction_hash: String + triple_id: numeric +} + +""" +order by min() on columns of table "signal" +""" +input signals_min_order_by { + account_id: order_by + atom_id: order_by + block_number: order_by + created_at: order_by + delta: order_by + deposit_id: order_by + id: order_by + redemption_id: order_by + transaction_hash: order_by + triple_id: order_by +} + +""" +Ordering options when selecting data from "signal". +""" +input signals_order_by { + account: accounts_order_by + account_id: order_by + atom_id: order_by + block_number: order_by + created_at: order_by + delta: order_by + deposit: deposits_order_by + deposit_id: order_by + id: order_by + redemption: redemptions_order_by + redemption_id: order_by + term: terms_order_by + transaction_hash: order_by + triple_id: order_by + vault: vaults_order_by +} + +""" +select columns of table "signal" +""" +enum signals_select_column { + """ + column name + """ + account_id + """ + column name + """ + atom_id + """ + column name + """ + block_number + """ + column name + """ + created_at + """ + column name + """ + delta + """ + column name + """ + deposit_id + """ + column name + """ + id + """ + column name + """ + redemption_id + """ + column name + """ + transaction_hash + """ + column name + """ + triple_id +} + +""" +aggregate stddev on columns +""" +type signals_stddev_fields { + atom_id: Float + block_number: Float + delta: Float + triple_id: Float +} + +""" +order by stddev() on columns of table "signal" +""" +input signals_stddev_order_by { + atom_id: order_by + block_number: order_by + delta: order_by + triple_id: order_by +} + +""" +aggregate stddev_pop on columns +""" +type signals_stddev_pop_fields { + atom_id: Float + block_number: Float + delta: Float + triple_id: Float +} + +""" +order by stddev_pop() on columns of table "signal" +""" +input signals_stddev_pop_order_by { + atom_id: order_by + block_number: order_by + delta: order_by + triple_id: order_by +} + +""" +aggregate stddev_samp on columns +""" +type signals_stddev_samp_fields { + atom_id: Float + block_number: Float + delta: Float + triple_id: Float +} + +""" +order by stddev_samp() on columns of table "signal" +""" +input signals_stddev_samp_order_by { + atom_id: order_by + block_number: order_by + delta: order_by + triple_id: order_by +} + +""" +Streaming cursor of the table "signals" +""" +input signals_stream_cursor_input { + """ + Stream column input with initial value + """ + initial_value: signals_stream_cursor_value_input! + """ + cursor ordering + """ + ordering: cursor_ordering +} + +""" +Initial value of the column from where the streaming should start +""" +input signals_stream_cursor_value_input { + account_id: String + atom_id: numeric + block_number: numeric + created_at: timestamptz + delta: numeric + deposit_id: String + id: String + redemption_id: String + transaction_hash: String + triple_id: numeric +} + +""" +aggregate sum on columns +""" +type signals_sum_fields { + atom_id: numeric + block_number: numeric + delta: numeric + triple_id: numeric +} + +""" +order by sum() on columns of table "signal" +""" +input signals_sum_order_by { + atom_id: order_by + block_number: order_by + delta: order_by + triple_id: order_by +} + +""" +aggregate var_pop on columns +""" +type signals_var_pop_fields { + atom_id: Float + block_number: Float + delta: Float + triple_id: Float +} + +""" +order by var_pop() on columns of table "signal" +""" +input signals_var_pop_order_by { + atom_id: order_by + block_number: order_by + delta: order_by + triple_id: order_by +} + +""" +aggregate var_samp on columns +""" +type signals_var_samp_fields { + atom_id: Float + block_number: Float + delta: Float + triple_id: Float +} + +""" +order by var_samp() on columns of table "signal" +""" +input signals_var_samp_order_by { + atom_id: order_by + block_number: order_by + delta: order_by + triple_id: order_by +} + +""" +aggregate variance on columns +""" +type signals_variance_fields { + atom_id: Float + block_number: Float + delta: Float + triple_id: Float +} + +""" +order by variance() on columns of table "signal" +""" +input signals_variance_order_by { + atom_id: order_by + block_number: order_by + delta: order_by + triple_id: order_by +} + +""" +columns and relationships of "stats" +""" +type stats { + contract_balance: numeric + id: Int! + total_accounts: Int + total_atoms: Int + total_fees: numeric + total_positions: Int + total_signals: Int + total_triples: Int +} + +""" +aggregated selection of "stats" +""" +type stats_aggregate { + aggregate: stats_aggregate_fields + nodes: [stats!]! +} + +""" +aggregate fields of "stats" +""" +type stats_aggregate_fields { + avg: stats_avg_fields + count(columns: [stats_select_column!], distinct: Boolean): Int! + max: stats_max_fields + min: stats_min_fields + stddev: stats_stddev_fields + stddev_pop: stats_stddev_pop_fields + stddev_samp: stats_stddev_samp_fields + sum: stats_sum_fields + var_pop: stats_var_pop_fields + var_samp: stats_var_samp_fields + variance: stats_variance_fields +} + +""" +aggregate avg on columns +""" +type stats_avg_fields { + contract_balance: Float + id: Float + total_accounts: Float + total_atoms: Float + total_fees: Float + total_positions: Float + total_signals: Float + total_triples: Float +} + +""" +Boolean expression to filter rows from the table "stats". All fields are combined with a logical 'AND'. +""" +input stats_bool_exp { + _and: [stats_bool_exp!] + _not: stats_bool_exp + _or: [stats_bool_exp!] + contract_balance: numeric_comparison_exp + id: Int_comparison_exp + total_accounts: Int_comparison_exp + total_atoms: Int_comparison_exp + total_fees: numeric_comparison_exp + total_positions: Int_comparison_exp + total_signals: Int_comparison_exp + total_triples: Int_comparison_exp +} + +""" +aggregate max on columns +""" +type stats_max_fields { + contract_balance: numeric + id: Int + total_accounts: Int + total_atoms: Int + total_fees: numeric + total_positions: Int + total_signals: Int + total_triples: Int +} + +""" +aggregate min on columns +""" +type stats_min_fields { + contract_balance: numeric + id: Int + total_accounts: Int + total_atoms: Int + total_fees: numeric + total_positions: Int + total_signals: Int + total_triples: Int +} + +""" +Ordering options when selecting data from "stats". +""" +input stats_order_by { + contract_balance: order_by + id: order_by + total_accounts: order_by + total_atoms: order_by + total_fees: order_by + total_positions: order_by + total_signals: order_by + total_triples: order_by +} + +""" +select columns of table "stats" +""" +enum stats_select_column { + """ + column name + """ + contract_balance + """ + column name + """ + id + """ + column name + """ + total_accounts + """ + column name + """ + total_atoms + """ + column name + """ + total_fees + """ + column name + """ + total_positions + """ + column name + """ + total_signals + """ + column name + """ + total_triples +} + +""" +aggregate stddev on columns +""" +type stats_stddev_fields { + contract_balance: Float + id: Float + total_accounts: Float + total_atoms: Float + total_fees: Float + total_positions: Float + total_signals: Float + total_triples: Float +} + +""" +aggregate stddev_pop on columns +""" +type stats_stddev_pop_fields { + contract_balance: Float + id: Float + total_accounts: Float + total_atoms: Float + total_fees: Float + total_positions: Float + total_signals: Float + total_triples: Float +} + +""" +aggregate stddev_samp on columns +""" +type stats_stddev_samp_fields { + contract_balance: Float + id: Float + total_accounts: Float + total_atoms: Float + total_fees: Float + total_positions: Float + total_signals: Float + total_triples: Float +} + +""" +Streaming cursor of the table "stats" +""" +input stats_stream_cursor_input { + """ + Stream column input with initial value + """ + initial_value: stats_stream_cursor_value_input! + """ + cursor ordering + """ + ordering: cursor_ordering +} + +""" +Initial value of the column from where the streaming should start +""" +input stats_stream_cursor_value_input { + contract_balance: numeric + id: Int + total_accounts: Int + total_atoms: Int + total_fees: numeric + total_positions: Int + total_signals: Int + total_triples: Int +} + +""" +aggregate sum on columns +""" +type stats_sum_fields { + contract_balance: numeric + id: Int + total_accounts: Int + total_atoms: Int + total_fees: numeric + total_positions: Int + total_signals: Int + total_triples: Int +} + +""" +aggregate var_pop on columns +""" +type stats_var_pop_fields { + contract_balance: Float + id: Float + total_accounts: Float + total_atoms: Float + total_fees: Float + total_positions: Float + total_signals: Float + total_triples: Float +} + +""" +aggregate var_samp on columns +""" +type stats_var_samp_fields { + contract_balance: Float + id: Float + total_accounts: Float + total_atoms: Float + total_fees: Float + total_positions: Float + total_signals: Float + total_triples: Float +} + +""" +aggregate variance on columns +""" +type stats_variance_fields { + contract_balance: Float + id: Float + total_accounts: Float + total_atoms: Float + total_fees: Float + total_positions: Float + total_signals: Float + total_triples: Float +} + +type subscription_root { + """ + fetch data from the table: "account" using primary key columns + """ + account(id: String!): accounts + """ + An array relationship + """ + accounts( + """ + distinct select on columns + """ + distinct_on: [accounts_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [accounts_order_by!] + """ + filter the rows returned + """ + where: accounts_bool_exp + ): [accounts!]! + """ + An aggregate relationship + """ + accounts_aggregate( + """ + distinct select on columns + """ + distinct_on: [accounts_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [accounts_order_by!] + """ + filter the rows returned + """ + where: accounts_bool_exp + ): accounts_aggregate! + """ + fetch data from the table in a streaming manner: "account" + """ + accounts_stream( + """ + maximum number of rows returned in a single batch + """ + batch_size: Int! + """ + cursor to stream the results returned by the query + """ + cursor: [accounts_stream_cursor_input]! + """ + filter the rows returned + """ + where: accounts_bool_exp + ): [accounts!]! + """ + fetch data from the table: "atom" using primary key columns + """ + atom(term_id: numeric!): atoms + """ + fetch data from the table: "atom_value" using primary key columns + """ + atom_value(id: numeric!): atom_values + """ + fetch data from the table: "atom_value" + """ + atom_values( + """ + distinct select on columns + """ + distinct_on: [atom_values_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [atom_values_order_by!] + """ + filter the rows returned + """ + where: atom_values_bool_exp + ): [atom_values!]! + """ + fetch aggregated fields from the table: "atom_value" + """ + atom_values_aggregate( + """ + distinct select on columns + """ + distinct_on: [atom_values_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [atom_values_order_by!] + """ + filter the rows returned + """ + where: atom_values_bool_exp + ): atom_values_aggregate! + """ + fetch data from the table in a streaming manner: "atom_value" + """ + atom_values_stream( + """ + maximum number of rows returned in a single batch + """ + batch_size: Int! + """ + cursor to stream the results returned by the query + """ + cursor: [atom_values_stream_cursor_input]! + """ + filter the rows returned + """ + where: atom_values_bool_exp + ): [atom_values!]! + """ + An array relationship + """ + atoms( + """ + distinct select on columns + """ + distinct_on: [atoms_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [atoms_order_by!] + """ + filter the rows returned + """ + where: atoms_bool_exp + ): [atoms!]! + """ + An aggregate relationship + """ + atoms_aggregate( + """ + distinct select on columns + """ + distinct_on: [atoms_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [atoms_order_by!] + """ + filter the rows returned + """ + where: atoms_bool_exp + ): atoms_aggregate! + """ + fetch data from the table in a streaming manner: "atom" + """ + atoms_stream( + """ + maximum number of rows returned in a single batch + """ + batch_size: Int! + """ + cursor to stream the results returned by the query + """ + cursor: [atoms_stream_cursor_input]! + """ + filter the rows returned + """ + where: atoms_bool_exp + ): [atoms!]! + """ + fetch data from the table: "book" using primary key columns + """ + book(id: numeric!): books + """ + fetch data from the table: "book" + """ + books( + """ + distinct select on columns + """ + distinct_on: [books_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [books_order_by!] + """ + filter the rows returned + """ + where: books_bool_exp + ): [books!]! + """ + fetch aggregated fields from the table: "book" + """ + books_aggregate( + """ + distinct select on columns + """ + distinct_on: [books_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [books_order_by!] + """ + filter the rows returned + """ + where: books_bool_exp + ): books_aggregate! + """ + fetch data from the table in a streaming manner: "book" + """ + books_stream( + """ + maximum number of rows returned in a single batch + """ + batch_size: Int! + """ + cursor to stream the results returned by the query + """ + cursor: [books_stream_cursor_input]! + """ + filter the rows returned + """ + where: books_bool_exp + ): [books!]! + """ + fetch data from the table: "byte_object" + """ + byte_object( + """ + distinct select on columns + """ + distinct_on: [byte_object_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [byte_object_order_by!] + """ + filter the rows returned + """ + where: byte_object_bool_exp + ): [byte_object!]! + """ + fetch aggregated fields from the table: "byte_object" + """ + byte_object_aggregate( + """ + distinct select on columns + """ + distinct_on: [byte_object_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [byte_object_order_by!] + """ + filter the rows returned + """ + where: byte_object_bool_exp + ): byte_object_aggregate! + """ + fetch data from the table: "byte_object" using primary key columns + """ + byte_object_by_pk(id: numeric!): byte_object + """ + fetch data from the table in a streaming manner: "byte_object" + """ + byte_object_stream( + """ + maximum number of rows returned in a single batch + """ + batch_size: Int! + """ + cursor to stream the results returned by the query + """ + cursor: [byte_object_stream_cursor_input]! + """ + filter the rows returned + """ + where: byte_object_bool_exp + ): [byte_object!]! + """ + fetch data from the table: "cached_images.cached_image" + """ + cached_images_cached_image( + """ + distinct select on columns + """ + distinct_on: [cached_images_cached_image_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [cached_images_cached_image_order_by!] + """ + filter the rows returned + """ + where: cached_images_cached_image_bool_exp + ): [cached_images_cached_image!]! + """ + fetch data from the table: "cached_images.cached_image" using primary key columns + """ + cached_images_cached_image_by_pk(url: String!): cached_images_cached_image + """ + fetch data from the table in a streaming manner: "cached_images.cached_image" + """ + cached_images_cached_image_stream( + """ + maximum number of rows returned in a single batch + """ + batch_size: Int! + """ + cursor to stream the results returned by the query + """ + cursor: [cached_images_cached_image_stream_cursor_input]! + """ + filter the rows returned + """ + where: cached_images_cached_image_bool_exp + ): [cached_images_cached_image!]! + """ + fetch data from the table: "caip10" using primary key columns + """ + caip10(id: numeric!): caip10 + """ + fetch aggregated fields from the table: "caip10" + """ + caip10_aggregate( + """ + distinct select on columns + """ + distinct_on: [caip10_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [caip10_order_by!] + """ + filter the rows returned + """ + where: caip10_bool_exp + ): caip10_aggregate! + """ + fetch data from the table in a streaming manner: "caip10" + """ + caip10_stream( + """ + maximum number of rows returned in a single batch + """ + batch_size: Int! + """ + cursor to stream the results returned by the query + """ + cursor: [caip10_stream_cursor_input]! + """ + filter the rows returned + """ + where: caip10_bool_exp + ): [caip10!]! + """ + fetch data from the table: "caip10" + """ + caip10s( + """ + distinct select on columns + """ + distinct_on: [caip10_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [caip10_order_by!] + """ + filter the rows returned + """ + where: caip10_bool_exp + ): [caip10!]! + """ + fetch data from the table: "chainlink_price" using primary key columns + """ + chainlink_price(id: numeric!): chainlink_prices + """ + fetch data from the table: "chainlink_price" + """ + chainlink_prices( + """ + distinct select on columns + """ + distinct_on: [chainlink_prices_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [chainlink_prices_order_by!] + """ + filter the rows returned + """ + where: chainlink_prices_bool_exp + ): [chainlink_prices!]! + """ + fetch data from the table in a streaming manner: "chainlink_price" + """ + chainlink_prices_stream( + """ + maximum number of rows returned in a single batch + """ + batch_size: Int! + """ + cursor to stream the results returned by the query + """ + cursor: [chainlink_prices_stream_cursor_input]! + """ + filter the rows returned + """ + where: chainlink_prices_bool_exp + ): [chainlink_prices!]! + """ + fetch data from the table: "deposit" using primary key columns + """ + deposit(id: String!): deposits + """ + An array relationship + """ + deposits( + """ + distinct select on columns + """ + distinct_on: [deposits_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [deposits_order_by!] + """ + filter the rows returned + """ + where: deposits_bool_exp + ): [deposits!]! + """ + An aggregate relationship + """ + deposits_aggregate( + """ + distinct select on columns + """ + distinct_on: [deposits_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [deposits_order_by!] + """ + filter the rows returned + """ + where: deposits_bool_exp + ): deposits_aggregate! + """ + fetch data from the table in a streaming manner: "deposit" + """ + deposits_stream( + """ + maximum number of rows returned in a single batch + """ + batch_size: Int! + """ + cursor to stream the results returned by the query + """ + cursor: [deposits_stream_cursor_input]! + """ + filter the rows returned + """ + where: deposits_bool_exp + ): [deposits!]! + """ + fetch data from the table: "event" using primary key columns + """ + event(id: String!): events + """ + fetch data from the table: "event" + """ + events( + """ + distinct select on columns + """ + distinct_on: [events_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [events_order_by!] + """ + filter the rows returned + """ + where: events_bool_exp + ): [events!]! + """ + fetch aggregated fields from the table: "event" + """ + events_aggregate( + """ + distinct select on columns + """ + distinct_on: [events_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [events_order_by!] + """ + filter the rows returned + """ + where: events_bool_exp + ): events_aggregate! + """ + fetch data from the table in a streaming manner: "event" + """ + events_stream( + """ + maximum number of rows returned in a single batch + """ + batch_size: Int! + """ + cursor to stream the results returned by the query + """ + cursor: [events_stream_cursor_input]! + """ + filter the rows returned + """ + where: events_bool_exp + ): [events!]! + """ + fetch data from the table: "fee_transfer" using primary key columns + """ + fee_transfer(id: String!): fee_transfers + """ + An array relationship + """ + fee_transfers( + """ + distinct select on columns + """ + distinct_on: [fee_transfers_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [fee_transfers_order_by!] + """ + filter the rows returned + """ + where: fee_transfers_bool_exp + ): [fee_transfers!]! + """ + An aggregate relationship + """ + fee_transfers_aggregate( + """ + distinct select on columns + """ + distinct_on: [fee_transfers_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [fee_transfers_order_by!] + """ + filter the rows returned + """ + where: fee_transfers_bool_exp + ): fee_transfers_aggregate! + """ + fetch data from the table in a streaming manner: "fee_transfer" + """ + fee_transfers_stream( + """ + maximum number of rows returned in a single batch + """ + batch_size: Int! + """ + cursor to stream the results returned by the query + """ + cursor: [fee_transfers_stream_cursor_input]! + """ + filter the rows returned + """ + where: fee_transfers_bool_exp + ): [fee_transfers!]! + """ + execute function "following" which returns "account" + """ + following( + """ + input parameters for function "following" + """ + args: following_args! + """ + distinct select on columns + """ + distinct_on: [accounts_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [accounts_order_by!] + """ + filter the rows returned + """ + where: accounts_bool_exp + ): [accounts!]! + """ + execute function "following" and query aggregates on result of table type "account" + """ + following_aggregate( + """ + input parameters for function "following_aggregate" + """ + args: following_args! + """ + distinct select on columns + """ + distinct_on: [accounts_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [accounts_order_by!] + """ + filter the rows returned + """ + where: accounts_bool_exp + ): accounts_aggregate! + """ + fetch data from the table: "json_object" using primary key columns + """ + json_object(id: numeric!): json_objects + """ + fetch data from the table: "json_object" + """ + json_objects( + """ + distinct select on columns + """ + distinct_on: [json_objects_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [json_objects_order_by!] + """ + filter the rows returned + """ + where: json_objects_bool_exp + ): [json_objects!]! + """ + fetch aggregated fields from the table: "json_object" + """ + json_objects_aggregate( + """ + distinct select on columns + """ + distinct_on: [json_objects_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [json_objects_order_by!] + """ + filter the rows returned + """ + where: json_objects_bool_exp + ): json_objects_aggregate! + """ + fetch data from the table in a streaming manner: "json_object" + """ + json_objects_stream( + """ + maximum number of rows returned in a single batch + """ + batch_size: Int! + """ + cursor to stream the results returned by the query + """ + cursor: [json_objects_stream_cursor_input]! + """ + filter the rows returned + """ + where: json_objects_bool_exp + ): [json_objects!]! + """ + fetch data from the table: "organization" using primary key columns + """ + organization(id: numeric!): organizations + """ + fetch data from the table: "organization" + """ + organizations( + """ + distinct select on columns + """ + distinct_on: [organizations_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [organizations_order_by!] + """ + filter the rows returned + """ + where: organizations_bool_exp + ): [organizations!]! + """ + fetch aggregated fields from the table: "organization" + """ + organizations_aggregate( + """ + distinct select on columns + """ + distinct_on: [organizations_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [organizations_order_by!] + """ + filter the rows returned + """ + where: organizations_bool_exp + ): organizations_aggregate! + """ + fetch data from the table in a streaming manner: "organization" + """ + organizations_stream( + """ + maximum number of rows returned in a single batch + """ + batch_size: Int! + """ + cursor to stream the results returned by the query + """ + cursor: [organizations_stream_cursor_input]! + """ + filter the rows returned + """ + where: organizations_bool_exp + ): [organizations!]! + """ + fetch data from the table: "person" using primary key columns + """ + person(id: numeric!): persons + """ + fetch data from the table: "person" + """ + persons( + """ + distinct select on columns + """ + distinct_on: [persons_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [persons_order_by!] + """ + filter the rows returned + """ + where: persons_bool_exp + ): [persons!]! + """ + fetch aggregated fields from the table: "person" + """ + persons_aggregate( + """ + distinct select on columns + """ + distinct_on: [persons_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [persons_order_by!] + """ + filter the rows returned + """ + where: persons_bool_exp + ): persons_aggregate! + """ + fetch data from the table in a streaming manner: "person" + """ + persons_stream( + """ + maximum number of rows returned in a single batch + """ + batch_size: Int! + """ + cursor to stream the results returned by the query + """ + cursor: [persons_stream_cursor_input]! + """ + filter the rows returned + """ + where: persons_bool_exp + ): [persons!]! + """ + fetch data from the table: "position" using primary key columns + """ + position(id: String!): positions + """ + An array relationship + """ + positions( + """ + distinct select on columns + """ + distinct_on: [positions_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [positions_order_by!] + """ + filter the rows returned + """ + where: positions_bool_exp + ): [positions!]! + """ + An aggregate relationship + """ + positions_aggregate( + """ + distinct select on columns + """ + distinct_on: [positions_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [positions_order_by!] + """ + filter the rows returned + """ + where: positions_bool_exp + ): positions_aggregate! + """ + execute function "positions_from_following" which returns "position" + """ + positions_from_following( + """ + input parameters for function "positions_from_following" + """ + args: positions_from_following_args! + """ + distinct select on columns + """ + distinct_on: [positions_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [positions_order_by!] + """ + filter the rows returned + """ + where: positions_bool_exp + ): [positions!]! + """ + execute function "positions_from_following" and query aggregates on result of table type "position" + """ + positions_from_following_aggregate( + """ + input parameters for function "positions_from_following_aggregate" + """ + args: positions_from_following_args! + """ + distinct select on columns + """ + distinct_on: [positions_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [positions_order_by!] + """ + filter the rows returned + """ + where: positions_bool_exp + ): positions_aggregate! + """ + fetch data from the table in a streaming manner: "position" + """ + positions_stream( + """ + maximum number of rows returned in a single batch + """ + batch_size: Int! + """ + cursor to stream the results returned by the query + """ + cursor: [positions_stream_cursor_input]! + """ + filter the rows returned + """ + where: positions_bool_exp + ): [positions!]! + """ + fetch data from the table: "predicate_object" + """ + predicate_objects( + """ + distinct select on columns + """ + distinct_on: [predicate_objects_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [predicate_objects_order_by!] + """ + filter the rows returned + """ + where: predicate_objects_bool_exp + ): [predicate_objects!]! + """ + fetch aggregated fields from the table: "predicate_object" + """ + predicate_objects_aggregate( + """ + distinct select on columns + """ + distinct_on: [predicate_objects_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [predicate_objects_order_by!] + """ + filter the rows returned + """ + where: predicate_objects_bool_exp + ): predicate_objects_aggregate! + """ + fetch data from the table: "predicate_object" using primary key columns + """ + predicate_objects_by_pk(id: String!): predicate_objects + """ + fetch data from the table in a streaming manner: "predicate_object" + """ + predicate_objects_stream( + """ + maximum number of rows returned in a single batch + """ + batch_size: Int! + """ + cursor to stream the results returned by the query + """ + cursor: [predicate_objects_stream_cursor_input]! + """ + filter the rows returned + """ + where: predicate_objects_bool_exp + ): [predicate_objects!]! + """ + fetch data from the table: "redemption" using primary key columns + """ + redemption(id: String!): redemptions + """ + An array relationship + """ + redemptions( + """ + distinct select on columns + """ + distinct_on: [redemptions_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [redemptions_order_by!] + """ + filter the rows returned + """ + where: redemptions_bool_exp + ): [redemptions!]! + """ + An aggregate relationship + """ + redemptions_aggregate( + """ + distinct select on columns + """ + distinct_on: [redemptions_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [redemptions_order_by!] + """ + filter the rows returned + """ + where: redemptions_bool_exp + ): redemptions_aggregate! + """ + fetch data from the table in a streaming manner: "redemption" + """ + redemptions_stream( + """ + maximum number of rows returned in a single batch + """ + batch_size: Int! + """ + cursor to stream the results returned by the query + """ + cursor: [redemptions_stream_cursor_input]! + """ + filter the rows returned + """ + where: redemptions_bool_exp + ): [redemptions!]! + """ + execute function "search_positions_on_subject" which returns "position" + """ + search_positions_on_subject( + """ + input parameters for function "search_positions_on_subject" + """ + args: search_positions_on_subject_args! + """ + distinct select on columns + """ + distinct_on: [positions_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [positions_order_by!] + """ + filter the rows returned + """ + where: positions_bool_exp + ): [positions!]! + """ + execute function "search_positions_on_subject" and query aggregates on result of table type "position" + """ + search_positions_on_subject_aggregate( + """ + input parameters for function "search_positions_on_subject_aggregate" + """ + args: search_positions_on_subject_args! + """ + distinct select on columns + """ + distinct_on: [positions_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [positions_order_by!] + """ + filter the rows returned + """ + where: positions_bool_exp + ): positions_aggregate! + """ + execute function "search_term" which returns "term" + """ + search_term( + """ + input parameters for function "search_term" + """ + args: search_term_args! + """ + distinct select on columns + """ + distinct_on: [terms_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [terms_order_by!] + """ + filter the rows returned + """ + where: terms_bool_exp + ): [terms!]! + """ + execute function "search_term" and query aggregates on result of table type "term" + """ + search_term_aggregate( + """ + input parameters for function "search_term_aggregate" + """ + args: search_term_args! + """ + distinct select on columns + """ + distinct_on: [terms_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [terms_order_by!] + """ + filter the rows returned + """ + where: terms_bool_exp + ): terms_aggregate! + """ + execute function "search_term_from_following" which returns "term" + """ + search_term_from_following( + """ + input parameters for function "search_term_from_following" + """ + args: search_term_from_following_args! + """ + distinct select on columns + """ + distinct_on: [terms_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [terms_order_by!] + """ + filter the rows returned + """ + where: terms_bool_exp + ): [terms!]! + """ + execute function "search_term_from_following" and query aggregates on result of table type "term" + """ + search_term_from_following_aggregate( + """ + input parameters for function "search_term_from_following_aggregate" + """ + args: search_term_from_following_args! + """ + distinct select on columns + """ + distinct_on: [terms_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [terms_order_by!] + """ + filter the rows returned + """ + where: terms_bool_exp + ): terms_aggregate! + """ + An array relationship + """ + share_price_change_stats_daily( + """ + distinct select on columns + """ + distinct_on: [share_price_change_stats_daily_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [share_price_change_stats_daily_order_by!] + """ + filter the rows returned + """ + where: share_price_change_stats_daily_bool_exp + ): [share_price_change_stats_daily!]! + """ + fetch data from the table in a streaming manner: "share_price_change_stats_daily" + """ + share_price_change_stats_daily_stream( + """ + maximum number of rows returned in a single batch + """ + batch_size: Int! + """ + cursor to stream the results returned by the query + """ + cursor: [share_price_change_stats_daily_stream_cursor_input]! + """ + filter the rows returned + """ + where: share_price_change_stats_daily_bool_exp + ): [share_price_change_stats_daily!]! + """ + An array relationship + """ + share_price_change_stats_hourly( + """ + distinct select on columns + """ + distinct_on: [share_price_change_stats_hourly_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [share_price_change_stats_hourly_order_by!] + """ + filter the rows returned + """ + where: share_price_change_stats_hourly_bool_exp + ): [share_price_change_stats_hourly!]! + """ + fetch data from the table in a streaming manner: "share_price_change_stats_hourly" + """ + share_price_change_stats_hourly_stream( + """ + maximum number of rows returned in a single batch + """ + batch_size: Int! + """ + cursor to stream the results returned by the query + """ + cursor: [share_price_change_stats_hourly_stream_cursor_input]! + """ + filter the rows returned + """ + where: share_price_change_stats_hourly_bool_exp + ): [share_price_change_stats_hourly!]! + """ + An array relationship + """ + share_price_change_stats_monthly( + """ + distinct select on columns + """ + distinct_on: [share_price_change_stats_monthly_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [share_price_change_stats_monthly_order_by!] + """ + filter the rows returned + """ + where: share_price_change_stats_monthly_bool_exp + ): [share_price_change_stats_monthly!]! + """ + fetch data from the table in a streaming manner: "share_price_change_stats_monthly" + """ + share_price_change_stats_monthly_stream( + """ + maximum number of rows returned in a single batch + """ + batch_size: Int! + """ + cursor to stream the results returned by the query + """ + cursor: [share_price_change_stats_monthly_stream_cursor_input]! + """ + filter the rows returned + """ + where: share_price_change_stats_monthly_bool_exp + ): [share_price_change_stats_monthly!]! + """ + An array relationship + """ + share_price_change_stats_weekly( + """ + distinct select on columns + """ + distinct_on: [share_price_change_stats_weekly_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [share_price_change_stats_weekly_order_by!] + """ + filter the rows returned + """ + where: share_price_change_stats_weekly_bool_exp + ): [share_price_change_stats_weekly!]! + """ + fetch data from the table in a streaming manner: "share_price_change_stats_weekly" + """ + share_price_change_stats_weekly_stream( + """ + maximum number of rows returned in a single batch + """ + batch_size: Int! + """ + cursor to stream the results returned by the query + """ + cursor: [share_price_change_stats_weekly_stream_cursor_input]! + """ + filter the rows returned + """ + where: share_price_change_stats_weekly_bool_exp + ): [share_price_change_stats_weekly!]! + """ + An array relationship + """ + share_price_changes( + """ + distinct select on columns + """ + distinct_on: [share_price_changes_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [share_price_changes_order_by!] + """ + filter the rows returned + """ + where: share_price_changes_bool_exp + ): [share_price_changes!]! + """ + An aggregate relationship + """ + share_price_changes_aggregate( + """ + distinct select on columns + """ + distinct_on: [share_price_changes_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [share_price_changes_order_by!] + """ + filter the rows returned + """ + where: share_price_changes_bool_exp + ): share_price_changes_aggregate! + """ + fetch data from the table in a streaming manner: "share_price_change" + """ + share_price_changes_stream( + """ + maximum number of rows returned in a single batch + """ + batch_size: Int! + """ + cursor to stream the results returned by the query + """ + cursor: [share_price_changes_stream_cursor_input]! + """ + filter the rows returned + """ + where: share_price_changes_bool_exp + ): [share_price_changes!]! + """ + fetch data from the table: "signal_stats_daily" + """ + signal_stats_daily( + """ + distinct select on columns + """ + distinct_on: [signal_stats_daily_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [signal_stats_daily_order_by!] + """ + filter the rows returned + """ + where: signal_stats_daily_bool_exp + ): [signal_stats_daily!]! + """ + fetch data from the table in a streaming manner: "signal_stats_daily" + """ + signal_stats_daily_stream( + """ + maximum number of rows returned in a single batch + """ + batch_size: Int! + """ + cursor to stream the results returned by the query + """ + cursor: [signal_stats_daily_stream_cursor_input]! + """ + filter the rows returned + """ + where: signal_stats_daily_bool_exp + ): [signal_stats_daily!]! + """ + fetch data from the table: "signal_stats_hourly" + """ + signal_stats_hourly( + """ + distinct select on columns + """ + distinct_on: [signal_stats_hourly_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [signal_stats_hourly_order_by!] + """ + filter the rows returned + """ + where: signal_stats_hourly_bool_exp + ): [signal_stats_hourly!]! + """ + fetch data from the table in a streaming manner: "signal_stats_hourly" + """ + signal_stats_hourly_stream( + """ + maximum number of rows returned in a single batch + """ + batch_size: Int! + """ + cursor to stream the results returned by the query + """ + cursor: [signal_stats_hourly_stream_cursor_input]! + """ + filter the rows returned + """ + where: signal_stats_hourly_bool_exp + ): [signal_stats_hourly!]! + """ + fetch data from the table: "signal_stats_monthly" + """ + signal_stats_monthly( + """ + distinct select on columns + """ + distinct_on: [signal_stats_monthly_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [signal_stats_monthly_order_by!] + """ + filter the rows returned + """ + where: signal_stats_monthly_bool_exp + ): [signal_stats_monthly!]! + """ + fetch data from the table in a streaming manner: "signal_stats_monthly" + """ + signal_stats_monthly_stream( + """ + maximum number of rows returned in a single batch + """ + batch_size: Int! + """ + cursor to stream the results returned by the query + """ + cursor: [signal_stats_monthly_stream_cursor_input]! + """ + filter the rows returned + """ + where: signal_stats_monthly_bool_exp + ): [signal_stats_monthly!]! + """ + fetch data from the table: "signal_stats_weekly" + """ + signal_stats_weekly( + """ + distinct select on columns + """ + distinct_on: [signal_stats_weekly_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [signal_stats_weekly_order_by!] + """ + filter the rows returned + """ + where: signal_stats_weekly_bool_exp + ): [signal_stats_weekly!]! + """ + fetch data from the table in a streaming manner: "signal_stats_weekly" + """ + signal_stats_weekly_stream( + """ + maximum number of rows returned in a single batch + """ + batch_size: Int! + """ + cursor to stream the results returned by the query + """ + cursor: [signal_stats_weekly_stream_cursor_input]! + """ + filter the rows returned + """ + where: signal_stats_weekly_bool_exp + ): [signal_stats_weekly!]! + """ + An array relationship + """ + signals( + """ + distinct select on columns + """ + distinct_on: [signals_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [signals_order_by!] + """ + filter the rows returned + """ + where: signals_bool_exp + ): [signals!]! + """ + An aggregate relationship + """ + signals_aggregate( + """ + distinct select on columns + """ + distinct_on: [signals_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [signals_order_by!] + """ + filter the rows returned + """ + where: signals_bool_exp + ): signals_aggregate! + """ + execute function "signals_from_following" which returns "signal" + """ + signals_from_following( + """ + input parameters for function "signals_from_following" + """ + args: signals_from_following_args! + """ + distinct select on columns + """ + distinct_on: [signals_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [signals_order_by!] + """ + filter the rows returned + """ + where: signals_bool_exp + ): [signals!]! + """ + execute function "signals_from_following" and query aggregates on result of table type "signal" + """ + signals_from_following_aggregate( + """ + input parameters for function "signals_from_following_aggregate" + """ + args: signals_from_following_args! + """ + distinct select on columns + """ + distinct_on: [signals_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [signals_order_by!] + """ + filter the rows returned + """ + where: signals_bool_exp + ): signals_aggregate! + """ + fetch data from the table in a streaming manner: "signal" + """ + signals_stream( + """ + maximum number of rows returned in a single batch + """ + batch_size: Int! + """ + cursor to stream the results returned by the query + """ + cursor: [signals_stream_cursor_input]! + """ + filter the rows returned + """ + where: signals_bool_exp + ): [signals!]! + """ + fetch data from the table: "stats" using primary key columns + """ + stat(id: Int!): stats + """ + fetch data from the table: "stats" + """ + stats( + """ + distinct select on columns + """ + distinct_on: [stats_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [stats_order_by!] + """ + filter the rows returned + """ + where: stats_bool_exp + ): [stats!]! + """ + fetch aggregated fields from the table: "stats" + """ + stats_aggregate( + """ + distinct select on columns + """ + distinct_on: [stats_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [stats_order_by!] + """ + filter the rows returned + """ + where: stats_bool_exp + ): stats_aggregate! + """ + fetch data from the table in a streaming manner: "stats" + """ + stats_stream( + """ + maximum number of rows returned in a single batch + """ + batch_size: Int! + """ + cursor to stream the results returned by the query + """ + cursor: [stats_stream_cursor_input]! + """ + filter the rows returned + """ + where: stats_bool_exp + ): [stats!]! + """ + fetch data from the table: "term" using primary key columns + """ + term(id: numeric!): terms + """ + fetch data from the table: "term" + """ + terms( + """ + distinct select on columns + """ + distinct_on: [terms_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [terms_order_by!] + """ + filter the rows returned + """ + where: terms_bool_exp + ): [terms!]! + """ + fetch aggregated fields from the table: "term" + """ + terms_aggregate( + """ + distinct select on columns + """ + distinct_on: [terms_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [terms_order_by!] + """ + filter the rows returned + """ + where: terms_bool_exp + ): terms_aggregate! + """ + fetch data from the table in a streaming manner: "term" + """ + terms_stream( + """ + maximum number of rows returned in a single batch + """ + batch_size: Int! + """ + cursor to stream the results returned by the query + """ + cursor: [terms_stream_cursor_input]! + """ + filter the rows returned + """ + where: terms_bool_exp + ): [terms!]! + """ + fetch data from the table: "text_object" using primary key columns + """ + text_object(id: numeric!): text_objects + """ + fetch data from the table: "text_object" + """ + text_objects( + """ + distinct select on columns + """ + distinct_on: [text_objects_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [text_objects_order_by!] + """ + filter the rows returned + """ + where: text_objects_bool_exp + ): [text_objects!]! + """ + fetch aggregated fields from the table: "text_object" + """ + text_objects_aggregate( + """ + distinct select on columns + """ + distinct_on: [text_objects_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [text_objects_order_by!] + """ + filter the rows returned + """ + where: text_objects_bool_exp + ): text_objects_aggregate! + """ + fetch data from the table in a streaming manner: "text_object" + """ + text_objects_stream( + """ + maximum number of rows returned in a single batch + """ + batch_size: Int! + """ + cursor to stream the results returned by the query + """ + cursor: [text_objects_stream_cursor_input]! + """ + filter the rows returned + """ + where: text_objects_bool_exp + ): [text_objects!]! + """ + fetch data from the table: "thing" using primary key columns + """ + thing(id: numeric!): things + """ + fetch data from the table: "thing" + """ + things( + """ + distinct select on columns + """ + distinct_on: [things_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [things_order_by!] + """ + filter the rows returned + """ + where: things_bool_exp + ): [things!]! + """ + fetch aggregated fields from the table: "thing" + """ + things_aggregate( + """ + distinct select on columns + """ + distinct_on: [things_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [things_order_by!] + """ + filter the rows returned + """ + where: things_bool_exp + ): things_aggregate! + """ + fetch data from the table in a streaming manner: "thing" + """ + things_stream( + """ + maximum number of rows returned in a single batch + """ + batch_size: Int! + """ + cursor to stream the results returned by the query + """ + cursor: [things_stream_cursor_input]! + """ + filter the rows returned + """ + where: things_bool_exp + ): [things!]! + """ + fetch data from the table: "triple" using primary key columns + """ + triple(term_id: numeric!): triples + """ + fetch data from the table: "triple_term" using primary key columns + """ + triple_term(term_id: numeric!): triple_term + """ + fetch data from the table in a streaming manner: "triple_term" + """ + triple_term_stream( + """ + maximum number of rows returned in a single batch + """ + batch_size: Int! + """ + cursor to stream the results returned by the query + """ + cursor: [triple_term_stream_cursor_input]! + """ + filter the rows returned + """ + where: triple_term_bool_exp + ): [triple_term!]! + """ + fetch data from the table: "triple_term" + """ + triple_terms( + """ + distinct select on columns + """ + distinct_on: [triple_term_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [triple_term_order_by!] + """ + filter the rows returned + """ + where: triple_term_bool_exp + ): [triple_term!]! + """ + fetch data from the table: "triple_vault" using primary key columns + """ + triple_vault(curve_id: numeric!, term_id: numeric!): triple_vault + """ + fetch data from the table in a streaming manner: "triple_vault" + """ + triple_vault_stream( + """ + maximum number of rows returned in a single batch + """ + batch_size: Int! + """ + cursor to stream the results returned by the query + """ + cursor: [triple_vault_stream_cursor_input]! + """ + filter the rows returned + """ + where: triple_vault_bool_exp + ): [triple_vault!]! + """ + fetch data from the table: "triple_vault" + """ + triple_vaults( + """ + distinct select on columns + """ + distinct_on: [triple_vault_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [triple_vault_order_by!] + """ + filter the rows returned + """ + where: triple_vault_bool_exp + ): [triple_vault!]! + """ + An array relationship + """ + triples( + """ + distinct select on columns + """ + distinct_on: [triples_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [triples_order_by!] + """ + filter the rows returned + """ + where: triples_bool_exp + ): [triples!]! + """ + An aggregate relationship + """ + triples_aggregate( + """ + distinct select on columns + """ + distinct_on: [triples_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [triples_order_by!] + """ + filter the rows returned + """ + where: triples_bool_exp + ): triples_aggregate! + """ + fetch data from the table in a streaming manner: "triple" + """ + triples_stream( + """ + maximum number of rows returned in a single batch + """ + batch_size: Int! + """ + cursor to stream the results returned by the query + """ + cursor: [triples_stream_cursor_input]! + """ + filter the rows returned + """ + where: triples_bool_exp + ): [triples!]! + """ + fetch data from the table: "vault" using primary key columns + """ + vault(curve_id: numeric!, term_id: numeric!): vaults + """ + An array relationship + """ + vaults( + """ + distinct select on columns + """ + distinct_on: [vaults_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [vaults_order_by!] + """ + filter the rows returned + """ + where: vaults_bool_exp + ): [vaults!]! + """ + An aggregate relationship + """ + vaults_aggregate( + """ + distinct select on columns + """ + distinct_on: [vaults_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [vaults_order_by!] + """ + filter the rows returned + """ + where: vaults_bool_exp + ): vaults_aggregate! + """ + fetch data from the table in a streaming manner: "vault" + """ + vaults_stream( + """ + maximum number of rows returned in a single batch + """ + batch_size: Int! + """ + cursor to stream the results returned by the query + """ + cursor: [vaults_stream_cursor_input]! + """ + filter the rows returned + """ + where: vaults_bool_exp + ): [vaults!]! +} + +scalar term_type + +""" +Boolean expression to compare columns of type "term_type". All fields are combined with logical 'AND'. +""" +input term_type_comparison_exp { + _eq: term_type + _gt: term_type + _gte: term_type + _in: [term_type!] + _is_null: Boolean + _lt: term_type + _lte: term_type + _neq: term_type + _nin: [term_type!] +} + +""" +columns and relationships of "term" +""" +type terms { + """ + An object relationship + """ + atom: atoms + """ + An object relationship + """ + atomById: atoms + atom_id: numeric + """ + An array relationship + """ + deposits( + """ + distinct select on columns + """ + distinct_on: [deposits_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [deposits_order_by!] + """ + filter the rows returned + """ + where: deposits_bool_exp + ): [deposits!]! + """ + An aggregate relationship + """ + deposits_aggregate( + """ + distinct select on columns + """ + distinct_on: [deposits_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [deposits_order_by!] + """ + filter the rows returned + """ + where: deposits_bool_exp + ): deposits_aggregate! + id: numeric! + """ + An array relationship + """ + positions( + """ + distinct select on columns + """ + distinct_on: [positions_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [positions_order_by!] + """ + filter the rows returned + """ + where: positions_bool_exp + ): [positions!]! + """ + An aggregate relationship + """ + positions_aggregate( + """ + distinct select on columns + """ + distinct_on: [positions_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [positions_order_by!] + """ + filter the rows returned + """ + where: positions_bool_exp + ): positions_aggregate! + """ + An array relationship + """ + redemptions( + """ + distinct select on columns + """ + distinct_on: [redemptions_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [redemptions_order_by!] + """ + filter the rows returned + """ + where: redemptions_bool_exp + ): [redemptions!]! + """ + An aggregate relationship + """ + redemptions_aggregate( + """ + distinct select on columns + """ + distinct_on: [redemptions_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [redemptions_order_by!] + """ + filter the rows returned + """ + where: redemptions_bool_exp + ): redemptions_aggregate! + """ + An array relationship + """ + share_price_change_stats_daily( + """ + distinct select on columns + """ + distinct_on: [share_price_change_stats_daily_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [share_price_change_stats_daily_order_by!] + """ + filter the rows returned + """ + where: share_price_change_stats_daily_bool_exp + ): [share_price_change_stats_daily!]! + """ + An array relationship + """ + share_price_change_stats_hourly( + """ + distinct select on columns + """ + distinct_on: [share_price_change_stats_hourly_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [share_price_change_stats_hourly_order_by!] + """ + filter the rows returned + """ + where: share_price_change_stats_hourly_bool_exp + ): [share_price_change_stats_hourly!]! + """ + An array relationship + """ + share_price_change_stats_monthly( + """ + distinct select on columns + """ + distinct_on: [share_price_change_stats_monthly_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [share_price_change_stats_monthly_order_by!] + """ + filter the rows returned + """ + where: share_price_change_stats_monthly_bool_exp + ): [share_price_change_stats_monthly!]! + """ + An array relationship + """ + share_price_change_stats_weekly( + """ + distinct select on columns + """ + distinct_on: [share_price_change_stats_weekly_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [share_price_change_stats_weekly_order_by!] + """ + filter the rows returned + """ + where: share_price_change_stats_weekly_bool_exp + ): [share_price_change_stats_weekly!]! + """ + An array relationship + """ + share_price_changes( + """ + distinct select on columns + """ + distinct_on: [share_price_changes_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [share_price_changes_order_by!] + """ + filter the rows returned + """ + where: share_price_changes_bool_exp + ): [share_price_changes!]! + """ + An aggregate relationship + """ + share_price_changes_aggregate( + """ + distinct select on columns + """ + distinct_on: [share_price_changes_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [share_price_changes_order_by!] + """ + filter the rows returned + """ + where: share_price_changes_bool_exp + ): share_price_changes_aggregate! + """ + An array relationship + """ + signals( + """ + distinct select on columns + """ + distinct_on: [signals_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [signals_order_by!] + """ + filter the rows returned + """ + where: signals_bool_exp + ): [signals!]! + """ + An aggregate relationship + """ + signals_aggregate( + """ + distinct select on columns + """ + distinct_on: [signals_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [signals_order_by!] + """ + filter the rows returned + """ + where: signals_bool_exp + ): signals_aggregate! + total_assets: numeric + total_market_cap: numeric + """ + An object relationship + """ + triple: triples + """ + An object relationship + """ + tripleById: triples + triple_id: numeric + type: term_type! + """ + An array relationship + """ + vaults( + """ + distinct select on columns + """ + distinct_on: [vaults_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [vaults_order_by!] + """ + filter the rows returned + """ + where: vaults_bool_exp + ): [vaults!]! + """ + An aggregate relationship + """ + vaults_aggregate( + """ + distinct select on columns + """ + distinct_on: [vaults_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [vaults_order_by!] + """ + filter the rows returned + """ + where: vaults_bool_exp + ): vaults_aggregate! +} + +type terms_aggregate { + aggregate: terms_aggregate_fields + nodes: [terms!]! +} + +""" +aggregate fields of "term" +""" +type terms_aggregate_fields { + avg: terms_avg_fields + count(columns: [terms_select_column!], distinct: Boolean): Int! + max: terms_max_fields + min: terms_min_fields + stddev: terms_stddev_fields + stddev_pop: terms_stddev_pop_fields + stddev_samp: terms_stddev_samp_fields + sum: terms_sum_fields + var_pop: terms_var_pop_fields + var_samp: terms_var_samp_fields + variance: terms_variance_fields +} + +""" +aggregate avg on columns +""" +type terms_avg_fields { + atom_id: Float + id: Float + total_assets: Float + total_market_cap: Float + triple_id: Float +} + +""" +Boolean expression to filter rows from the table "term". All fields are combined with a logical 'AND'. +""" +input terms_bool_exp { + _and: [terms_bool_exp!] + _not: terms_bool_exp + _or: [terms_bool_exp!] + atom: atoms_bool_exp + atomById: atoms_bool_exp + atom_id: numeric_comparison_exp + deposits: deposits_bool_exp + deposits_aggregate: deposits_aggregate_bool_exp + id: numeric_comparison_exp + positions: positions_bool_exp + positions_aggregate: positions_aggregate_bool_exp + redemptions: redemptions_bool_exp + redemptions_aggregate: redemptions_aggregate_bool_exp + share_price_change_stats_daily: share_price_change_stats_daily_bool_exp + share_price_change_stats_hourly: share_price_change_stats_hourly_bool_exp + share_price_change_stats_monthly: share_price_change_stats_monthly_bool_exp + share_price_change_stats_weekly: share_price_change_stats_weekly_bool_exp + share_price_changes: share_price_changes_bool_exp + share_price_changes_aggregate: share_price_changes_aggregate_bool_exp + signals: signals_bool_exp + signals_aggregate: signals_aggregate_bool_exp + total_assets: numeric_comparison_exp + total_market_cap: numeric_comparison_exp + triple: triples_bool_exp + tripleById: triples_bool_exp + triple_id: numeric_comparison_exp + type: term_type_comparison_exp + vaults: vaults_bool_exp + vaults_aggregate: vaults_aggregate_bool_exp +} + +""" +aggregate max on columns +""" +type terms_max_fields { + atom_id: numeric + id: numeric + total_assets: numeric + total_market_cap: numeric + triple_id: numeric + type: term_type +} + +""" +aggregate min on columns +""" +type terms_min_fields { + atom_id: numeric + id: numeric + total_assets: numeric + total_market_cap: numeric + triple_id: numeric + type: term_type +} + +""" +Ordering options when selecting data from "term". +""" +input terms_order_by { + atom: atoms_order_by + atomById: atoms_order_by + atom_id: order_by + deposits_aggregate: deposits_aggregate_order_by + id: order_by + positions_aggregate: positions_aggregate_order_by + redemptions_aggregate: redemptions_aggregate_order_by + share_price_change_stats_daily_aggregate: share_price_change_stats_daily_aggregate_order_by + share_price_change_stats_hourly_aggregate: share_price_change_stats_hourly_aggregate_order_by + share_price_change_stats_monthly_aggregate: share_price_change_stats_monthly_aggregate_order_by + share_price_change_stats_weekly_aggregate: share_price_change_stats_weekly_aggregate_order_by + share_price_changes_aggregate: share_price_changes_aggregate_order_by + signals_aggregate: signals_aggregate_order_by + total_assets: order_by + total_market_cap: order_by + triple: triples_order_by + tripleById: triples_order_by + triple_id: order_by + type: order_by + vaults_aggregate: vaults_aggregate_order_by +} + +""" +select columns of table "term" +""" +enum terms_select_column { + """ + column name + """ + atom_id + """ + column name + """ + id + """ + column name + """ + total_assets + """ + column name + """ + total_market_cap + """ + column name + """ + triple_id + """ + column name + """ + type +} + +""" +aggregate stddev on columns +""" +type terms_stddev_fields { + atom_id: Float + id: Float + total_assets: Float + total_market_cap: Float + triple_id: Float +} + +""" +aggregate stddev_pop on columns +""" +type terms_stddev_pop_fields { + atom_id: Float + id: Float + total_assets: Float + total_market_cap: Float + triple_id: Float +} + +""" +aggregate stddev_samp on columns +""" +type terms_stddev_samp_fields { + atom_id: Float + id: Float + total_assets: Float + total_market_cap: Float + triple_id: Float +} + +""" +Streaming cursor of the table "terms" +""" +input terms_stream_cursor_input { + """ + Stream column input with initial value + """ + initial_value: terms_stream_cursor_value_input! + """ + cursor ordering + """ + ordering: cursor_ordering +} + +""" +Initial value of the column from where the streaming should start +""" +input terms_stream_cursor_value_input { + atom_id: numeric + id: numeric + total_assets: numeric + total_market_cap: numeric + triple_id: numeric + type: term_type +} + +""" +aggregate sum on columns +""" +type terms_sum_fields { + atom_id: numeric + id: numeric + total_assets: numeric + total_market_cap: numeric + triple_id: numeric +} + +""" +aggregate var_pop on columns +""" +type terms_var_pop_fields { + atom_id: Float + id: Float + total_assets: Float + total_market_cap: Float + triple_id: Float +} + +""" +aggregate var_samp on columns +""" +type terms_var_samp_fields { + atom_id: Float + id: Float + total_assets: Float + total_market_cap: Float + triple_id: Float +} + +""" +aggregate variance on columns +""" +type terms_variance_fields { + atom_id: Float + id: Float + total_assets: Float + total_market_cap: Float + triple_id: Float +} + +""" +columns and relationships of "text_object" +""" +type text_objects { + """ + An object relationship + """ + atom: atoms + data: String! + id: numeric! +} + +""" +aggregated selection of "text_object" +""" +type text_objects_aggregate { + aggregate: text_objects_aggregate_fields + nodes: [text_objects!]! +} + +""" +aggregate fields of "text_object" +""" +type text_objects_aggregate_fields { + avg: text_objects_avg_fields + count(columns: [text_objects_select_column!], distinct: Boolean): Int! + max: text_objects_max_fields + min: text_objects_min_fields + stddev: text_objects_stddev_fields + stddev_pop: text_objects_stddev_pop_fields + stddev_samp: text_objects_stddev_samp_fields + sum: text_objects_sum_fields + var_pop: text_objects_var_pop_fields + var_samp: text_objects_var_samp_fields + variance: text_objects_variance_fields +} + +""" +aggregate avg on columns +""" +type text_objects_avg_fields { + id: Float +} + +""" +Boolean expression to filter rows from the table "text_object". All fields are combined with a logical 'AND'. +""" +input text_objects_bool_exp { + _and: [text_objects_bool_exp!] + _not: text_objects_bool_exp + _or: [text_objects_bool_exp!] + atom: atoms_bool_exp + data: String_comparison_exp + id: numeric_comparison_exp +} + +""" +aggregate max on columns +""" +type text_objects_max_fields { + data: String + id: numeric +} + +""" +aggregate min on columns +""" +type text_objects_min_fields { + data: String + id: numeric +} + +""" +Ordering options when selecting data from "text_object". +""" +input text_objects_order_by { + atom: atoms_order_by + data: order_by + id: order_by +} + +""" +select columns of table "text_object" +""" +enum text_objects_select_column { + """ + column name + """ + data + """ + column name + """ + id +} + +""" +aggregate stddev on columns +""" +type text_objects_stddev_fields { + id: Float +} + +""" +aggregate stddev_pop on columns +""" +type text_objects_stddev_pop_fields { + id: Float +} + +""" +aggregate stddev_samp on columns +""" +type text_objects_stddev_samp_fields { + id: Float +} + +""" +Streaming cursor of the table "text_objects" +""" +input text_objects_stream_cursor_input { + """ + Stream column input with initial value + """ + initial_value: text_objects_stream_cursor_value_input! + """ + cursor ordering + """ + ordering: cursor_ordering +} + +""" +Initial value of the column from where the streaming should start +""" +input text_objects_stream_cursor_value_input { + data: String + id: numeric +} + +""" +aggregate sum on columns +""" +type text_objects_sum_fields { + id: numeric +} + +""" +aggregate var_pop on columns +""" +type text_objects_var_pop_fields { + id: Float +} + +""" +aggregate var_samp on columns +""" +type text_objects_var_samp_fields { + id: Float +} + +""" +aggregate variance on columns +""" +type text_objects_variance_fields { + id: Float +} + +""" +columns and relationships of "thing" +""" +type things { + """ + An object relationship + """ + atom: atoms + cached_image: cached_images_cached_image + description: String + id: numeric! + image: String + name: String + url: String +} + +""" +aggregated selection of "thing" +""" +type things_aggregate { + aggregate: things_aggregate_fields + nodes: [things!]! +} + +""" +aggregate fields of "thing" +""" +type things_aggregate_fields { + avg: things_avg_fields + count(columns: [things_select_column!], distinct: Boolean): Int! + max: things_max_fields + min: things_min_fields + stddev: things_stddev_fields + stddev_pop: things_stddev_pop_fields + stddev_samp: things_stddev_samp_fields + sum: things_sum_fields + var_pop: things_var_pop_fields + var_samp: things_var_samp_fields + variance: things_variance_fields +} + +""" +aggregate avg on columns +""" +type things_avg_fields { + id: Float +} + +""" +Boolean expression to filter rows from the table "thing". All fields are combined with a logical 'AND'. +""" +input things_bool_exp { + _and: [things_bool_exp!] + _not: things_bool_exp + _or: [things_bool_exp!] + atom: atoms_bool_exp + description: String_comparison_exp + id: numeric_comparison_exp + image: String_comparison_exp + name: String_comparison_exp + url: String_comparison_exp +} + +""" +aggregate max on columns +""" +type things_max_fields { + description: String + id: numeric + image: String + name: String + url: String +} + +""" +aggregate min on columns +""" +type things_min_fields { + description: String + id: numeric + image: String + name: String + url: String +} + +""" +Ordering options when selecting data from "thing". +""" +input things_order_by { + atom: atoms_order_by + description: order_by + id: order_by + image: order_by + name: order_by + url: order_by +} + +""" +select columns of table "thing" +""" +enum things_select_column { + """ + column name + """ + description + """ + column name + """ + id + """ + column name + """ + image + """ + column name + """ + name + """ + column name + """ + url +} + +""" +aggregate stddev on columns +""" +type things_stddev_fields { + id: Float +} + +""" +aggregate stddev_pop on columns +""" +type things_stddev_pop_fields { + id: Float +} + +""" +aggregate stddev_samp on columns +""" +type things_stddev_samp_fields { + id: Float +} + +""" +Streaming cursor of the table "things" +""" +input things_stream_cursor_input { + """ + Stream column input with initial value + """ + initial_value: things_stream_cursor_value_input! + """ + cursor ordering + """ + ordering: cursor_ordering +} + +""" +Initial value of the column from where the streaming should start +""" +input things_stream_cursor_value_input { + description: String + id: numeric + image: String + name: String + url: String +} + +""" +aggregate sum on columns +""" +type things_sum_fields { + id: numeric +} + +""" +aggregate var_pop on columns +""" +type things_var_pop_fields { + id: Float +} + +""" +aggregate var_samp on columns +""" +type things_var_samp_fields { + id: Float +} + +""" +aggregate variance on columns +""" +type things_variance_fields { + id: Float +} + +scalar timestamptz + +""" +Boolean expression to compare columns of type "timestamptz". All fields are combined with logical 'AND'. +""" +input timestamptz_comparison_exp { + _eq: timestamptz + _gt: timestamptz + _gte: timestamptz + _in: [timestamptz!] + _is_null: Boolean + _lt: timestamptz + _lte: timestamptz + _neq: timestamptz + _nin: [timestamptz!] +} + +""" +columns and relationships of "triple_term" +""" +type triple_term { + """ + An object relationship + """ + counter_term: terms! + counter_term_id: numeric! + """ + An object relationship + """ + term: terms! + term_id: numeric! + total_assets: numeric! + total_market_cap: numeric! + total_position_count: bigint! + updated_at: timestamptz! +} + +""" +Boolean expression to filter rows from the table "triple_term". All fields are combined with a logical 'AND'. +""" +input triple_term_bool_exp { + _and: [triple_term_bool_exp!] + _not: triple_term_bool_exp + _or: [triple_term_bool_exp!] + counter_term: terms_bool_exp + counter_term_id: numeric_comparison_exp + term: terms_bool_exp + term_id: numeric_comparison_exp + total_assets: numeric_comparison_exp + total_market_cap: numeric_comparison_exp + total_position_count: bigint_comparison_exp + updated_at: timestamptz_comparison_exp +} + +""" +Ordering options when selecting data from "triple_term". +""" +input triple_term_order_by { + counter_term: terms_order_by + counter_term_id: order_by + term: terms_order_by + term_id: order_by + total_assets: order_by + total_market_cap: order_by + total_position_count: order_by + updated_at: order_by +} + +""" +select columns of table "triple_term" +""" +enum triple_term_select_column { + """ + column name + """ + counter_term_id + """ + column name + """ + term_id + """ + column name + """ + total_assets + """ + column name + """ + total_market_cap + """ + column name + """ + total_position_count + """ + column name + """ + updated_at +} + +""" +Streaming cursor of the table "triple_term" +""" +input triple_term_stream_cursor_input { + """ + Stream column input with initial value + """ + initial_value: triple_term_stream_cursor_value_input! + """ + cursor ordering + """ + ordering: cursor_ordering +} + +""" +Initial value of the column from where the streaming should start +""" +input triple_term_stream_cursor_value_input { + counter_term_id: numeric + term_id: numeric + total_assets: numeric + total_market_cap: numeric + total_position_count: bigint + updated_at: timestamptz +} + +""" +columns and relationships of "triple_vault" +""" +type triple_vault { + block_number: numeric! + """ + An object relationship + """ + counter_term: terms + counter_term_id: numeric! + curve_id: numeric! + log_index: bigint! + market_cap: numeric! + position_count: bigint! + """ + An object relationship + """ + term: terms + term_id: numeric! + total_assets: numeric! + total_shares: numeric! + updated_at: timestamptz! +} + +""" +Boolean expression to filter rows from the table "triple_vault". All fields are combined with a logical 'AND'. +""" +input triple_vault_bool_exp { + _and: [triple_vault_bool_exp!] + _not: triple_vault_bool_exp + _or: [triple_vault_bool_exp!] + block_number: numeric_comparison_exp + counter_term: terms_bool_exp + counter_term_id: numeric_comparison_exp + curve_id: numeric_comparison_exp + log_index: bigint_comparison_exp + market_cap: numeric_comparison_exp + position_count: bigint_comparison_exp + term: terms_bool_exp + term_id: numeric_comparison_exp + total_assets: numeric_comparison_exp + total_shares: numeric_comparison_exp + updated_at: timestamptz_comparison_exp +} + +""" +Ordering options when selecting data from "triple_vault". +""" +input triple_vault_order_by { + block_number: order_by + counter_term: terms_order_by + counter_term_id: order_by + curve_id: order_by + log_index: order_by + market_cap: order_by + position_count: order_by + term: terms_order_by + term_id: order_by + total_assets: order_by + total_shares: order_by + updated_at: order_by +} + +""" +select columns of table "triple_vault" +""" +enum triple_vault_select_column { + """ + column name + """ + block_number + """ + column name + """ + counter_term_id + """ + column name + """ + curve_id + """ + column name + """ + log_index + """ + column name + """ + market_cap + """ + column name + """ + position_count + """ + column name + """ + term_id + """ + column name + """ + total_assets + """ + column name + """ + total_shares + """ + column name + """ + updated_at +} + +""" +Streaming cursor of the table "triple_vault" +""" +input triple_vault_stream_cursor_input { + """ + Stream column input with initial value + """ + initial_value: triple_vault_stream_cursor_value_input! + """ + cursor ordering + """ + ordering: cursor_ordering +} + +""" +Initial value of the column from where the streaming should start +""" +input triple_vault_stream_cursor_value_input { + block_number: numeric + counter_term_id: numeric + curve_id: numeric + log_index: bigint + market_cap: numeric + position_count: bigint + term_id: numeric + total_assets: numeric + total_shares: numeric + updated_at: timestamptz +} + +""" +columns and relationships of "triple" +""" +type triples { + block_number: numeric! + """ + An array relationship + """ + counter_positions( + """ + distinct select on columns + """ + distinct_on: [positions_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [positions_order_by!] + """ + filter the rows returned + """ + where: positions_bool_exp + ): [positions!]! + """ + An aggregate relationship + """ + counter_positions_aggregate( + """ + distinct select on columns + """ + distinct_on: [positions_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [positions_order_by!] + """ + filter the rows returned + """ + where: positions_bool_exp + ): positions_aggregate! + """ + An object relationship + """ + counter_term: terms + counter_term_id: numeric! + created_at: timestamptz! + """ + An object relationship + """ + creator: accounts + creator_id: String! + """ + An object relationship + """ + object: atoms! + object_id: numeric! + """ + An array relationship + """ + positions( + """ + distinct select on columns + """ + distinct_on: [positions_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [positions_order_by!] + """ + filter the rows returned + """ + where: positions_bool_exp + ): [positions!]! + """ + An aggregate relationship + """ + positions_aggregate( + """ + distinct select on columns + """ + distinct_on: [positions_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [positions_order_by!] + """ + filter the rows returned + """ + where: positions_bool_exp + ): positions_aggregate! + """ + An object relationship + """ + predicate: atoms! + predicate_id: numeric! + """ + An object relationship + """ + subject: atoms! + subject_id: numeric! + """ + An object relationship + """ + term: terms + term_id: numeric! + transaction_hash: String! + """ + An object relationship + """ + triple_term: triple_term + """ + An object relationship + """ + triple_vault: triple_vault +} + +""" +aggregated selection of "triple" +""" +type triples_aggregate { + aggregate: triples_aggregate_fields + nodes: [triples!]! +} + +input triples_aggregate_bool_exp { + count: triples_aggregate_bool_exp_count +} + +input triples_aggregate_bool_exp_count { + arguments: [triples_select_column!] + distinct: Boolean + filter: triples_bool_exp + predicate: Int_comparison_exp! +} + +""" +aggregate fields of "triple" +""" +type triples_aggregate_fields { + avg: triples_avg_fields + count(columns: [triples_select_column!], distinct: Boolean): Int! + max: triples_max_fields + min: triples_min_fields + stddev: triples_stddev_fields + stddev_pop: triples_stddev_pop_fields + stddev_samp: triples_stddev_samp_fields + sum: triples_sum_fields + var_pop: triples_var_pop_fields + var_samp: triples_var_samp_fields + variance: triples_variance_fields +} + +""" +order by aggregate values of table "triple" +""" +input triples_aggregate_order_by { + avg: triples_avg_order_by + count: order_by + max: triples_max_order_by + min: triples_min_order_by + stddev: triples_stddev_order_by + stddev_pop: triples_stddev_pop_order_by + stddev_samp: triples_stddev_samp_order_by + sum: triples_sum_order_by + var_pop: triples_var_pop_order_by + var_samp: triples_var_samp_order_by + variance: triples_variance_order_by +} + +""" +aggregate avg on columns +""" +type triples_avg_fields { + block_number: Float + counter_term_id: Float + object_id: Float + predicate_id: Float + subject_id: Float + term_id: Float +} + +""" +order by avg() on columns of table "triple" +""" +input triples_avg_order_by { + block_number: order_by + counter_term_id: order_by + object_id: order_by + predicate_id: order_by + subject_id: order_by + term_id: order_by +} + +""" +Boolean expression to filter rows from the table "triple". All fields are combined with a logical 'AND'. +""" +input triples_bool_exp { + _and: [triples_bool_exp!] + _not: triples_bool_exp + _or: [triples_bool_exp!] + block_number: numeric_comparison_exp + counter_positions: positions_bool_exp + counter_positions_aggregate: positions_aggregate_bool_exp + counter_term: terms_bool_exp + counter_term_id: numeric_comparison_exp + created_at: timestamptz_comparison_exp + creator: accounts_bool_exp + creator_id: String_comparison_exp + object: atoms_bool_exp + object_id: numeric_comparison_exp + positions: positions_bool_exp + positions_aggregate: positions_aggregate_bool_exp + predicate: atoms_bool_exp + predicate_id: numeric_comparison_exp + subject: atoms_bool_exp + subject_id: numeric_comparison_exp + term: terms_bool_exp + term_id: numeric_comparison_exp + transaction_hash: String_comparison_exp + triple_term: triple_term_bool_exp + triple_vault: triple_vault_bool_exp +} + +""" +aggregate max on columns +""" +type triples_max_fields { + block_number: numeric + counter_term_id: numeric + created_at: timestamptz + creator_id: String + object_id: numeric + predicate_id: numeric + subject_id: numeric + term_id: numeric + transaction_hash: String +} + +""" +order by max() on columns of table "triple" +""" +input triples_max_order_by { + block_number: order_by + counter_term_id: order_by + created_at: order_by + creator_id: order_by + object_id: order_by + predicate_id: order_by + subject_id: order_by + term_id: order_by + transaction_hash: order_by +} + +""" +aggregate min on columns +""" +type triples_min_fields { + block_number: numeric + counter_term_id: numeric + created_at: timestamptz + creator_id: String + object_id: numeric + predicate_id: numeric + subject_id: numeric + term_id: numeric + transaction_hash: String +} + +""" +order by min() on columns of table "triple" +""" +input triples_min_order_by { + block_number: order_by + counter_term_id: order_by + created_at: order_by + creator_id: order_by + object_id: order_by + predicate_id: order_by + subject_id: order_by + term_id: order_by + transaction_hash: order_by +} + +""" +Ordering options when selecting data from "triple". +""" +input triples_order_by { + block_number: order_by + counter_positions_aggregate: positions_aggregate_order_by + counter_term: terms_order_by + counter_term_id: order_by + created_at: order_by + creator: accounts_order_by + creator_id: order_by + object: atoms_order_by + object_id: order_by + positions_aggregate: positions_aggregate_order_by + predicate: atoms_order_by + predicate_id: order_by + subject: atoms_order_by + subject_id: order_by + term: terms_order_by + term_id: order_by + transaction_hash: order_by + triple_term: triple_term_order_by + triple_vault: triple_vault_order_by +} + +""" +select columns of table "triple" +""" +enum triples_select_column { + """ + column name + """ + block_number + """ + column name + """ + counter_term_id + """ + column name + """ + created_at + """ + column name + """ + creator_id + """ + column name + """ + object_id + """ + column name + """ + predicate_id + """ + column name + """ + subject_id + """ + column name + """ + term_id + """ + column name + """ + transaction_hash +} + +""" +aggregate stddev on columns +""" +type triples_stddev_fields { + block_number: Float + counter_term_id: Float + object_id: Float + predicate_id: Float + subject_id: Float + term_id: Float +} + +""" +order by stddev() on columns of table "triple" +""" +input triples_stddev_order_by { + block_number: order_by + counter_term_id: order_by + object_id: order_by + predicate_id: order_by + subject_id: order_by + term_id: order_by +} + +""" +aggregate stddev_pop on columns +""" +type triples_stddev_pop_fields { + block_number: Float + counter_term_id: Float + object_id: Float + predicate_id: Float + subject_id: Float + term_id: Float +} + +""" +order by stddev_pop() on columns of table "triple" +""" +input triples_stddev_pop_order_by { + block_number: order_by + counter_term_id: order_by + object_id: order_by + predicate_id: order_by + subject_id: order_by + term_id: order_by +} + +""" +aggregate stddev_samp on columns +""" +type triples_stddev_samp_fields { + block_number: Float + counter_term_id: Float + object_id: Float + predicate_id: Float + subject_id: Float + term_id: Float +} + +""" +order by stddev_samp() on columns of table "triple" +""" +input triples_stddev_samp_order_by { + block_number: order_by + counter_term_id: order_by + object_id: order_by + predicate_id: order_by + subject_id: order_by + term_id: order_by +} + +""" +Streaming cursor of the table "triples" +""" +input triples_stream_cursor_input { + """ + Stream column input with initial value + """ + initial_value: triples_stream_cursor_value_input! + """ + cursor ordering + """ + ordering: cursor_ordering +} + +""" +Initial value of the column from where the streaming should start +""" +input triples_stream_cursor_value_input { + block_number: numeric + counter_term_id: numeric + created_at: timestamptz + creator_id: String + object_id: numeric + predicate_id: numeric + subject_id: numeric + term_id: numeric + transaction_hash: String +} + +""" +aggregate sum on columns +""" +type triples_sum_fields { + block_number: numeric + counter_term_id: numeric + object_id: numeric + predicate_id: numeric + subject_id: numeric + term_id: numeric +} + +""" +order by sum() on columns of table "triple" +""" +input triples_sum_order_by { + block_number: order_by + counter_term_id: order_by + object_id: order_by + predicate_id: order_by + subject_id: order_by + term_id: order_by +} + +""" +aggregate var_pop on columns +""" +type triples_var_pop_fields { + block_number: Float + counter_term_id: Float + object_id: Float + predicate_id: Float + subject_id: Float + term_id: Float +} + +""" +order by var_pop() on columns of table "triple" +""" +input triples_var_pop_order_by { + block_number: order_by + counter_term_id: order_by + object_id: order_by + predicate_id: order_by + subject_id: order_by + term_id: order_by +} + +""" +aggregate var_samp on columns +""" +type triples_var_samp_fields { + block_number: Float + counter_term_id: Float + object_id: Float + predicate_id: Float + subject_id: Float + term_id: Float +} + +""" +order by var_samp() on columns of table "triple" +""" +input triples_var_samp_order_by { + block_number: order_by + counter_term_id: order_by + object_id: order_by + predicate_id: order_by + subject_id: order_by + term_id: order_by +} + +""" +aggregate variance on columns +""" +type triples_variance_fields { + block_number: Float + counter_term_id: Float + object_id: Float + predicate_id: Float + subject_id: Float + term_id: Float +} + +""" +order by variance() on columns of table "triple" +""" +input triples_variance_order_by { + block_number: order_by + counter_term_id: order_by + object_id: order_by + predicate_id: order_by + subject_id: order_by + term_id: order_by +} + +""" +columns and relationships of "vault" +""" +type vaults { + created_at: timestamptz! + current_share_price: numeric! + curve_id: numeric! + """ + An array relationship + """ + deposits( + """ + distinct select on columns + """ + distinct_on: [deposits_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [deposits_order_by!] + """ + filter the rows returned + """ + where: deposits_bool_exp + ): [deposits!]! + """ + An aggregate relationship + """ + deposits_aggregate( + """ + distinct select on columns + """ + distinct_on: [deposits_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [deposits_order_by!] + """ + filter the rows returned + """ + where: deposits_bool_exp + ): deposits_aggregate! + market_cap: numeric! + position_count: Int! + """ + An array relationship + """ + positions( + """ + distinct select on columns + """ + distinct_on: [positions_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [positions_order_by!] + """ + filter the rows returned + """ + where: positions_bool_exp + ): [positions!]! + """ + An aggregate relationship + """ + positions_aggregate( + """ + distinct select on columns + """ + distinct_on: [positions_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [positions_order_by!] + """ + filter the rows returned + """ + where: positions_bool_exp + ): positions_aggregate! + """ + An array relationship + """ + redemptions( + """ + distinct select on columns + """ + distinct_on: [redemptions_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [redemptions_order_by!] + """ + filter the rows returned + """ + where: redemptions_bool_exp + ): [redemptions!]! + """ + An aggregate relationship + """ + redemptions_aggregate( + """ + distinct select on columns + """ + distinct_on: [redemptions_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [redemptions_order_by!] + """ + filter the rows returned + """ + where: redemptions_bool_exp + ): redemptions_aggregate! + """ + An array relationship + """ + share_price_change_stats_daily( + """ + distinct select on columns + """ + distinct_on: [share_price_change_stats_daily_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [share_price_change_stats_daily_order_by!] + """ + filter the rows returned + """ + where: share_price_change_stats_daily_bool_exp + ): [share_price_change_stats_daily!]! + """ + An array relationship + """ + share_price_change_stats_hourly( + """ + distinct select on columns + """ + distinct_on: [share_price_change_stats_hourly_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [share_price_change_stats_hourly_order_by!] + """ + filter the rows returned + """ + where: share_price_change_stats_hourly_bool_exp + ): [share_price_change_stats_hourly!]! + """ + An array relationship + """ + share_price_change_stats_monthly( + """ + distinct select on columns + """ + distinct_on: [share_price_change_stats_monthly_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [share_price_change_stats_monthly_order_by!] + """ + filter the rows returned + """ + where: share_price_change_stats_monthly_bool_exp + ): [share_price_change_stats_monthly!]! + """ + An array relationship + """ + share_price_change_stats_weekly( + """ + distinct select on columns + """ + distinct_on: [share_price_change_stats_weekly_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [share_price_change_stats_weekly_order_by!] + """ + filter the rows returned + """ + where: share_price_change_stats_weekly_bool_exp + ): [share_price_change_stats_weekly!]! + """ + An array relationship + """ + share_price_changes( + """ + distinct select on columns + """ + distinct_on: [share_price_changes_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [share_price_changes_order_by!] + """ + filter the rows returned + """ + where: share_price_changes_bool_exp + ): [share_price_changes!]! + """ + An aggregate relationship + """ + share_price_changes_aggregate( + """ + distinct select on columns + """ + distinct_on: [share_price_changes_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [share_price_changes_order_by!] + """ + filter the rows returned + """ + where: share_price_changes_bool_exp + ): share_price_changes_aggregate! + """ + An array relationship + """ + signals( + """ + distinct select on columns + """ + distinct_on: [signals_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [signals_order_by!] + """ + filter the rows returned + """ + where: signals_bool_exp + ): [signals!]! + """ + An aggregate relationship + """ + signals_aggregate( + """ + distinct select on columns + """ + distinct_on: [signals_select_column!] + """ + limit the number of rows returned + """ + limit: Int + """ + skip the first n rows. Use only with order_by + """ + offset: Int + """ + sort the rows by one or more columns + """ + order_by: [signals_order_by!] + """ + filter the rows returned + """ + where: signals_bool_exp + ): signals_aggregate! + """ + An object relationship + """ + term: terms! + term_id: numeric! + total_assets: numeric! + total_shares: numeric! + updated_at: timestamptz! +} + +""" +aggregated selection of "vault" +""" +type vaults_aggregate { + aggregate: vaults_aggregate_fields + nodes: [vaults!]! +} + +input vaults_aggregate_bool_exp { + count: vaults_aggregate_bool_exp_count +} + +input vaults_aggregate_bool_exp_count { + arguments: [vaults_select_column!] + distinct: Boolean + filter: vaults_bool_exp + predicate: Int_comparison_exp! +} + +""" +aggregate fields of "vault" +""" +type vaults_aggregate_fields { + avg: vaults_avg_fields + count(columns: [vaults_select_column!], distinct: Boolean): Int! + max: vaults_max_fields + min: vaults_min_fields + stddev: vaults_stddev_fields + stddev_pop: vaults_stddev_pop_fields + stddev_samp: vaults_stddev_samp_fields + sum: vaults_sum_fields + var_pop: vaults_var_pop_fields + var_samp: vaults_var_samp_fields + variance: vaults_variance_fields +} + +""" +order by aggregate values of table "vault" +""" +input vaults_aggregate_order_by { + avg: vaults_avg_order_by + count: order_by + max: vaults_max_order_by + min: vaults_min_order_by + stddev: vaults_stddev_order_by + stddev_pop: vaults_stddev_pop_order_by + stddev_samp: vaults_stddev_samp_order_by + sum: vaults_sum_order_by + var_pop: vaults_var_pop_order_by + var_samp: vaults_var_samp_order_by + variance: vaults_variance_order_by +} + +""" +aggregate avg on columns +""" +type vaults_avg_fields { + current_share_price: Float + curve_id: Float + market_cap: Float + position_count: Float + term_id: Float + total_assets: Float + total_shares: Float +} + +""" +order by avg() on columns of table "vault" +""" +input vaults_avg_order_by { + current_share_price: order_by + curve_id: order_by + market_cap: order_by + position_count: order_by + term_id: order_by + total_assets: order_by + total_shares: order_by +} + +""" +Boolean expression to filter rows from the table "vault". All fields are combined with a logical 'AND'. +""" +input vaults_bool_exp { + _and: [vaults_bool_exp!] + _not: vaults_bool_exp + _or: [vaults_bool_exp!] + created_at: timestamptz_comparison_exp + current_share_price: numeric_comparison_exp + curve_id: numeric_comparison_exp + deposits: deposits_bool_exp + deposits_aggregate: deposits_aggregate_bool_exp + market_cap: numeric_comparison_exp + position_count: Int_comparison_exp + positions: positions_bool_exp + positions_aggregate: positions_aggregate_bool_exp + redemptions: redemptions_bool_exp + redemptions_aggregate: redemptions_aggregate_bool_exp + share_price_change_stats_daily: share_price_change_stats_daily_bool_exp + share_price_change_stats_hourly: share_price_change_stats_hourly_bool_exp + share_price_change_stats_monthly: share_price_change_stats_monthly_bool_exp + share_price_change_stats_weekly: share_price_change_stats_weekly_bool_exp + share_price_changes: share_price_changes_bool_exp + share_price_changes_aggregate: share_price_changes_aggregate_bool_exp + signals: signals_bool_exp + signals_aggregate: signals_aggregate_bool_exp + term: terms_bool_exp + term_id: numeric_comparison_exp + total_assets: numeric_comparison_exp + total_shares: numeric_comparison_exp + updated_at: timestamptz_comparison_exp +} + +""" +aggregate max on columns +""" +type vaults_max_fields { + created_at: timestamptz + current_share_price: numeric + curve_id: numeric + market_cap: numeric + position_count: Int + term_id: numeric + total_assets: numeric + total_shares: numeric + updated_at: timestamptz +} + +""" +order by max() on columns of table "vault" +""" +input vaults_max_order_by { + created_at: order_by + current_share_price: order_by + curve_id: order_by + market_cap: order_by + position_count: order_by + term_id: order_by + total_assets: order_by + total_shares: order_by + updated_at: order_by +} + +""" +aggregate min on columns +""" +type vaults_min_fields { + created_at: timestamptz + current_share_price: numeric + curve_id: numeric + market_cap: numeric + position_count: Int + term_id: numeric + total_assets: numeric + total_shares: numeric + updated_at: timestamptz +} + +""" +order by min() on columns of table "vault" +""" +input vaults_min_order_by { + created_at: order_by + current_share_price: order_by + curve_id: order_by + market_cap: order_by + position_count: order_by + term_id: order_by + total_assets: order_by + total_shares: order_by + updated_at: order_by +} + +""" +Ordering options when selecting data from "vault". +""" +input vaults_order_by { + created_at: order_by + current_share_price: order_by + curve_id: order_by + deposits_aggregate: deposits_aggregate_order_by + market_cap: order_by + position_count: order_by + positions_aggregate: positions_aggregate_order_by + redemptions_aggregate: redemptions_aggregate_order_by + share_price_change_stats_daily_aggregate: share_price_change_stats_daily_aggregate_order_by + share_price_change_stats_hourly_aggregate: share_price_change_stats_hourly_aggregate_order_by + share_price_change_stats_monthly_aggregate: share_price_change_stats_monthly_aggregate_order_by + share_price_change_stats_weekly_aggregate: share_price_change_stats_weekly_aggregate_order_by + share_price_changes_aggregate: share_price_changes_aggregate_order_by + signals_aggregate: signals_aggregate_order_by + term: terms_order_by + term_id: order_by + total_assets: order_by + total_shares: order_by + updated_at: order_by +} + +""" +select columns of table "vault" +""" +enum vaults_select_column { + """ + column name + """ + created_at + """ + column name + """ + current_share_price + """ + column name + """ + curve_id + """ + column name + """ + market_cap + """ + column name + """ + position_count + """ + column name + """ + term_id + """ + column name + """ + total_assets + """ + column name + """ + total_shares + """ + column name + """ + updated_at +} + +""" +aggregate stddev on columns +""" +type vaults_stddev_fields { + current_share_price: Float + curve_id: Float + market_cap: Float + position_count: Float + term_id: Float + total_assets: Float + total_shares: Float +} + +""" +order by stddev() on columns of table "vault" +""" +input vaults_stddev_order_by { + current_share_price: order_by + curve_id: order_by + market_cap: order_by + position_count: order_by + term_id: order_by + total_assets: order_by + total_shares: order_by +} + +""" +aggregate stddev_pop on columns +""" +type vaults_stddev_pop_fields { + current_share_price: Float + curve_id: Float + market_cap: Float + position_count: Float + term_id: Float + total_assets: Float + total_shares: Float +} + +""" +order by stddev_pop() on columns of table "vault" +""" +input vaults_stddev_pop_order_by { + current_share_price: order_by + curve_id: order_by + market_cap: order_by + position_count: order_by + term_id: order_by + total_assets: order_by + total_shares: order_by +} + +""" +aggregate stddev_samp on columns +""" +type vaults_stddev_samp_fields { + current_share_price: Float + curve_id: Float + market_cap: Float + position_count: Float + term_id: Float + total_assets: Float + total_shares: Float +} + +""" +order by stddev_samp() on columns of table "vault" +""" +input vaults_stddev_samp_order_by { + current_share_price: order_by + curve_id: order_by + market_cap: order_by + position_count: order_by + term_id: order_by + total_assets: order_by + total_shares: order_by +} + +""" +Streaming cursor of the table "vaults" +""" +input vaults_stream_cursor_input { + """ + Stream column input with initial value + """ + initial_value: vaults_stream_cursor_value_input! + """ + cursor ordering + """ + ordering: cursor_ordering +} + +""" +Initial value of the column from where the streaming should start +""" +input vaults_stream_cursor_value_input { + created_at: timestamptz + current_share_price: numeric + curve_id: numeric + market_cap: numeric + position_count: Int + term_id: numeric + total_assets: numeric + total_shares: numeric + updated_at: timestamptz +} + +""" +aggregate sum on columns +""" +type vaults_sum_fields { + current_share_price: numeric + curve_id: numeric + market_cap: numeric + position_count: Int + term_id: numeric + total_assets: numeric + total_shares: numeric +} + +""" +order by sum() on columns of table "vault" +""" +input vaults_sum_order_by { + current_share_price: order_by + curve_id: order_by + market_cap: order_by + position_count: order_by + term_id: order_by + total_assets: order_by + total_shares: order_by +} + +""" +aggregate var_pop on columns +""" +type vaults_var_pop_fields { + current_share_price: Float + curve_id: Float + market_cap: Float + position_count: Float + term_id: Float + total_assets: Float + total_shares: Float +} + +""" +order by var_pop() on columns of table "vault" +""" +input vaults_var_pop_order_by { + current_share_price: order_by + curve_id: order_by + market_cap: order_by + position_count: order_by + term_id: order_by + total_assets: order_by + total_shares: order_by +} + +""" +aggregate var_samp on columns +""" +type vaults_var_samp_fields { + current_share_price: Float + curve_id: Float + market_cap: Float + position_count: Float + term_id: Float + total_assets: Float + total_shares: Float +} + +""" +order by var_samp() on columns of table "vault" +""" +input vaults_var_samp_order_by { + current_share_price: order_by + curve_id: order_by + market_cap: order_by + position_count: order_by + term_id: order_by + total_assets: order_by + total_shares: order_by +} + +""" +aggregate variance on columns +""" +type vaults_variance_fields { + current_share_price: Float + curve_id: Float + market_cap: Float + position_count: Float + term_id: Float + total_assets: Float + total_shares: Float +} + +""" +order by variance() on columns of table "vault" +""" +input vaults_variance_order_by { + current_share_price: order_by + curve_id: order_by + market_cap: order_by + position_count: order_by + term_id: order_by + total_assets: order_by + total_shares: order_by +} diff --git a/packages/intuition-graphql/src/client.ts b/packages/intuition-graphql/src/client.ts new file mode 100644 index 000000000..29621ea12 --- /dev/null +++ b/packages/intuition-graphql/src/client.ts @@ -0,0 +1,76 @@ +import { GraphQLClient } from 'graphql-request' + +import { API_URL_PROD } from './constants' + +export interface ClientConfig { + headers: HeadersInit + apiUrl?: string +} + +const DEFAULT_API_URL = API_URL_PROD + +let globalConfig: { apiUrl?: string } = { + apiUrl: DEFAULT_API_URL, +} + +export function configureClient(config: { apiUrl: string }) { + globalConfig = { ...globalConfig, ...config } +} + +export function getClientConfig(token?: string): ClientConfig { + return { + headers: { + ...(token && { authorization: `Bearer ${token}` }), + 'Content-Type': 'application/json', + }, + apiUrl: globalConfig.apiUrl, + } +} + +export function createServerClient({ token }: { token?: string }) { + const config = getClientConfig(token) + if (!config.apiUrl) { + throw new Error( + 'GraphQL API URL not configured. Call configureClient first.', + ) + } + return new GraphQLClient(config.apiUrl, config) +} + +export const fetchParams = () => { + return { + headers: { + 'Content-Type': 'application/json; charset=utf-8', + }, + } +} + +export function fetcher( + query: string, + variables?: TVariables, + options?: RequestInit['headers'], +) { + return async () => { + if (!globalConfig.apiUrl) { + throw new Error( + 'GraphQL API URL not configured. Call configureClient first.', + ) + } + + const res = await fetch(globalConfig.apiUrl, { + method: 'POST', + ...fetchParams(), + ...options, + body: JSON.stringify({ query, variables }), + }) + + const json = await res.json() + + if (json.errors && (!json.data || Object.keys(json.data).length === 0)) { + const { message } = json.errors[0] + throw new Error(message) + } + + return json.data as TData + } +} diff --git a/packages/intuition-graphql/src/constants.ts b/packages/intuition-graphql/src/constants.ts new file mode 100644 index 000000000..b1ff52115 --- /dev/null +++ b/packages/intuition-graphql/src/constants.ts @@ -0,0 +1,5 @@ +export const API_URL_LOCAL = 'http://localhost:8080/v1/graphql' +export const API_URL_DEV = + 'https://testnet.intuition.sh/v1/graphql' +export const API_URL_PROD = + 'https://prod.base-mainnet-v-1-0.intuition.sh/v1/graphql' diff --git a/packages/intuition-graphql/src/fragments/account.graphql b/packages/intuition-graphql/src/fragments/account.graphql new file mode 100644 index 000000000..cc7d923c5 --- /dev/null +++ b/packages/intuition-graphql/src/fragments/account.graphql @@ -0,0 +1,175 @@ +fragment AccountMetadata on accounts { + label + image + id + atom_id + type +} + +fragment AccountPositionsAggregate on accounts { + positions_aggregate(order_by: { shares: desc }) { + aggregate { + count + } + nodes { + id + shares + vault { + term_id + total_shares + current_share_price + term { + atom { + term_id + label + } + triple { + term_id + } + } + } + } + } +} + +fragment AccountPositions on accounts { + positions( + order_by: { shares: desc } + limit: $positionsLimit + offset: $positionsOffset + where: $positionsWhere + ) { + id + shares + vault { + term_id + total_shares + current_share_price + term { + atom { + term_id + label + } + triple { + term_id + } + } + } + } +} + +fragment AccountAtoms on accounts { + atoms( + where: $atomsWhere + order_by: $atomsOrderBy + limit: $atomsLimit + offset: $atomsOffset + ) { + term_id + label + data + term { + vaults(where: { curve_id: { _eq: "1" } }) { + total_shares + positions_aggregate(where: { account_id: { _eq: $address } }) { + nodes { + account { + id + } + shares + } + } + } + } + } +} + +fragment AccountAtomsAggregate on accounts { + atoms_aggregate( + where: $atomsWhere + order_by: $atomsOrderBy + limit: $atomsLimit + offset: $atomsOffset + ) { + aggregate { + count + sum { + term_id + } + } + nodes { + term_id + label + data + term { + vaults(where: { curve_id: { _eq: "1" } }) { + total_shares + positions_aggregate(where: { account_id: { _eq: $address } }) { + nodes { + account { + id + } + shares + } + } + } + } + } + } +} + +fragment AccountTriples on accounts { + triples_aggregate( + where: $triplesWhere + order_by: $triplesOrderBy + limit: $triplesLimit + offset: $triplesOffset + ) { + aggregate { + count + } + nodes { + term_id + subject { + term_id + label + } + predicate { + term_id + label + } + object { + term_id + label + } + } + } +} + +fragment AccountTriplesAggregate on accounts { + triples_aggregate( + where: $triplesWhere + order_by: $triplesOrderBy + limit: $triplesLimit + offset: $triplesOffset + ) { + aggregate { + count + } + nodes { + term_id + subject { + term_id + label + } + predicate { + term_id + label + } + object { + term_id + label + } + } + } +} diff --git a/packages/intuition-graphql/src/fragments/atom.graphql b/packages/intuition-graphql/src/fragments/atom.graphql new file mode 100644 index 000000000..622b176f8 --- /dev/null +++ b/packages/intuition-graphql/src/fragments/atom.graphql @@ -0,0 +1,178 @@ +fragment AtomValue on atoms { + value { + person { + name + image + description + url + } + thing { + name + image + description + url + } + organization { + name + image + description + url + } + account { + id + label + image + } + } +} + +fragment AtomMetadata on atoms { + term_id + data + image + label + emoji + type + wallet_id + creator { + id + label + image + } + ...AtomValue +} + +fragment AtomTxn on atoms { + block_number + created_at + transaction_hash + creator_id +} + +fragment AtomVaultDetails on atoms { + term_id + wallet_id + term { + vaults(where: { curve_id: { _eq: "1" } }) { + position_count + total_shares + current_share_price + positions_aggregate { + aggregate { + count + sum { + shares + } + } + } + positions { + id + account { + label + id + } + shares + } + } + } +} + +fragment AtomTriple on atoms { + as_subject_triples { + term_id + object { + data + term_id + image + label + emoji + type + creator { + ...AccountMetadata + } + } + predicate { + data + term_id + image + label + emoji + type + creator { + ...AccountMetadata + } + } + } + as_predicate_triples { + term_id + subject { + data + term_id + image + label + emoji + type + creator { + ...AccountMetadata + } + } + object { + data + term_id + image + label + emoji + type + creator { + ...AccountMetadata + } + } + } + as_object_triples { + term_id + subject { + data + term_id + image + label + emoji + type + creator { + ...AccountMetadata + } + } + predicate { + data + term_id + image + label + emoji + type + creator { + ...AccountMetadata + } + } + } +} + +fragment AtomVaultDetailsWithPositions on atoms { + term { + vaults(where: { curve_id: { _eq: "1" } }) { + total_shares + current_share_price + positions_aggregate(where: { account_id: { _in: $addresses } }) { + aggregate { + sum { + shares + } + } + nodes { + account { + id + } + shares + } + } + } + } +} diff --git a/packages/intuition-graphql/src/fragments/deposit.graphql b/packages/intuition-graphql/src/fragments/deposit.graphql new file mode 100644 index 000000000..4af21d6e0 --- /dev/null +++ b/packages/intuition-graphql/src/fragments/deposit.graphql @@ -0,0 +1,14 @@ +fragment DepositEventFragment on events { + deposit { + term_id + curve_id + sender_assets_after_total_fees + shares_for_receiver + receiver { + id + } + sender { + id + } + } +} diff --git a/packages/intuition-graphql/src/fragments/event.graphql b/packages/intuition-graphql/src/fragments/event.graphql new file mode 100644 index 000000000..26cfc3d56 --- /dev/null +++ b/packages/intuition-graphql/src/fragments/event.graphql @@ -0,0 +1,63 @@ +fragment EventDetails on events { + block_number + created_at + type + transaction_hash + atom_id + triple_id + deposit_id + redemption_id + ...DepositEventFragment + ...RedemptionEventFragment + atom { + ...AtomMetadata + term { + vaults(where: { curve_id: { _eq: "1" } }) { + total_shares + position_count + positions { + account_id + shares + account { + id + label + image + } + } + } + } + } + triple { + ...TripleMetadata + term { + vaults(where: { curve_id: { _eq: "1" } }) { + total_shares + position_count + positions { + account_id + shares + account { + id + label + image + } + } + } + } + counter_term { + vaults(where: { curve_id: { _eq: "1" } }) { + total_shares + position_count + positions { + account_id + shares + account { + id + label + image + } + } + } + } + } +} diff --git a/packages/intuition-graphql/src/fragments/follow.graphql b/packages/intuition-graphql/src/fragments/follow.graphql new file mode 100644 index 000000000..ba7e5a96b --- /dev/null +++ b/packages/intuition-graphql/src/fragments/follow.graphql @@ -0,0 +1,48 @@ +fragment FollowMetadata on triples { + term_id + subject { + term_id + label + } + predicate { + term_id + label + } + object { + term_id + label + } + term { + vaults(where: { curve_id: { _eq: "1" } }) { + term_id + total_shares + current_share_price + positions_aggregate(where: $positionsWhere) { + aggregate { + count + sum { + shares + } + } + } + positions( + limit: $positionsLimit + offset: $positionsOffset + order_by: $positionsOrderBy + where: $positionsWhere + ) { + account { + id + label + } + shares + } + } + } +} + +fragment FollowAggregate on triples_aggregate { + aggregate { + count + } +} diff --git a/packages/intuition-graphql/src/fragments/position.graphql b/packages/intuition-graphql/src/fragments/position.graphql new file mode 100644 index 000000000..d9917dec6 --- /dev/null +++ b/packages/intuition-graphql/src/fragments/position.graphql @@ -0,0 +1,108 @@ +fragment PositionDetails on positions { + id + account { + id + label + image + } + vault { + term_id + term { + atom { + term_id + label + image + } + triple { + term_id + term { + vaults(where: { curve_id: { _eq: "1" } }) { + term_id + position_count + positions_aggregate { + aggregate { + sum { + shares + } + } + } + } + } + counter_term { + vaults(where: { curve_id: { _eq: "1" } }) { + term_id + position_count + positions_aggregate { + aggregate { + sum { + shares + } + } + } + } + } + subject { + data + term_id + label + image + emoji + type + ...AtomValue + creator { + ...AccountMetadata + } + } + predicate { + data + term_id + label + image + emoji + type + ...AtomValue + creator { + ...AccountMetadata + } + } + object { + data + term_id + label + image + emoji + type + ...AtomValue + creator { + ...AccountMetadata + } + } + } + } + } + shares + term_id + curve_id +} + +fragment PositionFields on positions { + account { + id + label + } + shares + vault { + term_id + total_shares + current_share_price + } +} + +fragment PositionAggregateFields on positions_aggregate { + aggregate { + count + sum { + shares + } + } +} diff --git a/packages/intuition-graphql/src/fragments/redemption.graphql b/packages/intuition-graphql/src/fragments/redemption.graphql new file mode 100644 index 000000000..fa8d9758c --- /dev/null +++ b/packages/intuition-graphql/src/fragments/redemption.graphql @@ -0,0 +1,9 @@ +fragment RedemptionEventFragment on events { + redemption { + term_id + curve_id + receiver_id + shares_redeemed_by_sender + assets_for_receiver + } +} diff --git a/packages/intuition-graphql/src/fragments/stat.graphql b/packages/intuition-graphql/src/fragments/stat.graphql new file mode 100644 index 000000000..52bfff534 --- /dev/null +++ b/packages/intuition-graphql/src/fragments/stat.graphql @@ -0,0 +1,9 @@ +fragment StatDetails on stats { + contract_balance + total_accounts + total_fees + total_atoms + total_triples + total_positions + total_signals +} diff --git a/packages/intuition-graphql/src/fragments/triple.graphql b/packages/intuition-graphql/src/fragments/triple.graphql new file mode 100644 index 000000000..9f93a5ab5 --- /dev/null +++ b/packages/intuition-graphql/src/fragments/triple.graphql @@ -0,0 +1,107 @@ +fragment TripleMetadata on triples { + term_id + subject_id + predicate_id + object_id + subject { + data + term_id + image + label + emoji + type + ...AtomValue + creator { + ...AccountMetadata + } + } + predicate { + data + term_id + image + label + emoji + type + ...AtomValue + creator { + ...AccountMetadata + } + } + object { + data + term_id + image + label + emoji + type + ...AtomValue + creator { + ...AccountMetadata + } + } + term { + vaults(where: { curve_id: { _eq: "1" } }) { + total_shares + current_share_price + allPositions: positions_aggregate { + ...PositionAggregateFields + } + positions { + ...PositionFields + } + } + } + counter_term { + vaults(where: { curve_id: { _eq: "1" } }) { + total_shares + current_share_price + allPositions: positions_aggregate { + ...PositionAggregateFields + } + positions { + ...PositionFields + } + } + } +} + +fragment TripleTxn on triples { + block_number + created_at + transaction_hash + creator_id +} + +fragment TripleVaultDetails on triples { + term_id + counter_term_id + term { + vaults(where: { curve_id: { _eq: "1" } }) { + positions { + ...PositionDetails + } + } + } + counter_term { + vaults(where: { curve_id: { _eq: "1" } }) { + positions { + ...PositionDetails + } + } + } +} + +fragment TripleVaultCouterVaultDetailsWithPositions on triples { + term_id + counter_term_id + term { + vaults(where: { curve_id: { _eq: "1" } }) { + ...VaultDetailsWithFilteredPositions + } + } + counter_term { + vaults(where: { curve_id: { _eq: "1" } }) { + ...VaultDetailsWithFilteredPositions + } + } +} diff --git a/packages/intuition-graphql/src/fragments/vault.graphql b/packages/intuition-graphql/src/fragments/vault.graphql new file mode 100644 index 000000000..a4c94289c --- /dev/null +++ b/packages/intuition-graphql/src/fragments/vault.graphql @@ -0,0 +1,61 @@ +fragment VaultBasicDetails on vaults { + term_id + curve_id + term { + atom { + term_id + label + } + triple { + term_id + subject { + term_id + label + } + predicate { + term_id + label + } + object { + term_id + label + } + } + } + current_share_price + total_shares +} + +fragment VaultPositionsAggregate on vaults { + positions_aggregate { + ...PositionAggregateFields + } +} + +fragment VaultFilteredPositions on vaults { + positions(where: { account_id: { _in: $addresses } }) { + ...PositionFields + } +} + +fragment VaultUnfilteredPositions on vaults { + positions { + ...PositionFields + } +} + +fragment VaultDetails on vaults { + ...VaultBasicDetails +} + +fragment VaultDetailsWithFilteredPositions on vaults { + ...VaultBasicDetails + ...VaultFilteredPositions +} + +fragment VaultFieldsForTriple on vaults { + total_shares + current_share_price + ...VaultPositionsAggregate + ...VaultFilteredPositions +} diff --git a/packages/intuition-graphql/src/generated/index.ts b/packages/intuition-graphql/src/generated/index.ts new file mode 100644 index 000000000..1ba30d40c --- /dev/null +++ b/packages/intuition-graphql/src/generated/index.ts @@ -0,0 +1,60640 @@ +import { + InfiniteData, + useInfiniteQuery, + UseInfiniteQueryOptions, + useMutation, + UseMutationOptions, + useQuery, + UseQueryOptions, +} from '@tanstack/react-query' +import { DocumentNode } from 'graphql' + +import { fetcher } from '../client' + +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< + T extends { [key: string]: unknown }, + K extends keyof T, +> = { [_ 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 } + _text: { input: any; output: any } + account_type: { input: any; output: any } + atom_type: { input: any; output: any } + bigint: { input: any; output: any } + bytea: { input: any; output: any } + event_type: { input: any; output: any } + float8: { input: any; output: any } + jsonb: { input: any; output: any } + numeric: { input: any; output: any } + term_type: { input: any; output: any } + timestamptz: { input: any; output: any } +} + +/** Boolean expression to compare columns of type "Boolean". All fields are combined with logical 'AND'. */ +export type Boolean_Comparison_Exp = { + _eq?: InputMaybe + _gt?: InputMaybe + _gte?: InputMaybe + _in?: InputMaybe> + _is_null?: InputMaybe + _lt?: InputMaybe + _lte?: InputMaybe + _neq?: InputMaybe + _nin?: InputMaybe> +} + +/** Boolean expression to compare columns of type "Int". All fields are combined with logical 'AND'. */ +export type Int_Comparison_Exp = { + _eq?: InputMaybe + _gt?: InputMaybe + _gte?: InputMaybe + _in?: InputMaybe> + _is_null?: InputMaybe + _lt?: InputMaybe + _lte?: InputMaybe + _neq?: InputMaybe + _nin?: InputMaybe> +} + +export type PinOrganizationInput = { + description?: InputMaybe + email?: InputMaybe + image?: InputMaybe + name?: InputMaybe + url?: InputMaybe +} + +export type PinOutput = { + __typename?: 'PinOutput' + uri?: Maybe +} + +export type PinPersonInput = { + description?: InputMaybe + email?: InputMaybe + identifier?: InputMaybe + image?: InputMaybe + name?: InputMaybe + url?: InputMaybe +} + +export type PinThingInput = { + description?: InputMaybe + image?: InputMaybe + name?: InputMaybe + url?: InputMaybe +} + +/** Boolean expression to compare columns of type "String". All fields are combined with logical 'AND'. */ +export type String_Comparison_Exp = { + _eq?: InputMaybe + _gt?: InputMaybe + _gte?: InputMaybe + /** does the column match the given case-insensitive pattern */ + _ilike?: InputMaybe + _in?: InputMaybe> + /** does the column match the given POSIX regular expression, case insensitive */ + _iregex?: InputMaybe + _is_null?: InputMaybe + /** does the column match the given pattern */ + _like?: InputMaybe + _lt?: InputMaybe + _lte?: InputMaybe + _neq?: InputMaybe + /** does the column NOT match the given case-insensitive pattern */ + _nilike?: InputMaybe + _nin?: InputMaybe> + /** does the column NOT match the given POSIX regular expression, case insensitive */ + _niregex?: InputMaybe + /** does the column NOT match the given pattern */ + _nlike?: InputMaybe + /** does the column NOT match the given POSIX regular expression, case sensitive */ + _nregex?: InputMaybe + /** does the column NOT match the given SQL regular expression */ + _nsimilar?: InputMaybe + /** does the column match the given POSIX regular expression, case sensitive */ + _regex?: InputMaybe + /** does the column match the given SQL regular expression */ + _similar?: InputMaybe +} + +/** Boolean expression to compare columns of type "account_type". All fields are combined with logical 'AND'. */ +export type Account_Type_Comparison_Exp = { + _eq?: InputMaybe + _gt?: InputMaybe + _gte?: InputMaybe + _in?: InputMaybe> + _is_null?: InputMaybe + _lt?: InputMaybe + _lte?: InputMaybe + _neq?: InputMaybe + _nin?: InputMaybe> +} + +/** columns and relationships of "account" */ +export type Accounts = { + __typename?: 'accounts' + /** An object relationship */ + atom?: Maybe + atom_id?: Maybe + /** An array relationship */ + atoms: Array + /** An aggregate relationship */ + atoms_aggregate: Atoms_Aggregate + cached_image?: Maybe + /** An array relationship */ + deposits_received: Array + /** An aggregate relationship */ + deposits_received_aggregate: Deposits_Aggregate + /** An array relationship */ + deposits_sent: Array + /** An aggregate relationship */ + deposits_sent_aggregate: Deposits_Aggregate + /** An array relationship */ + fee_transfers: Array + /** An aggregate relationship */ + fee_transfers_aggregate: Fee_Transfers_Aggregate + id: Scalars['String']['output'] + image?: Maybe + label: Scalars['String']['output'] + /** An array relationship */ + positions: Array + /** An aggregate relationship */ + positions_aggregate: Positions_Aggregate + /** An array relationship */ + redemptions_received: Array + /** An aggregate relationship */ + redemptions_received_aggregate: Redemptions_Aggregate + /** An array relationship */ + redemptions_sent: Array + /** An aggregate relationship */ + redemptions_sent_aggregate: Redemptions_Aggregate + /** An array relationship */ + signals: Array + /** An aggregate relationship */ + signals_aggregate: Signals_Aggregate + /** An array relationship */ + triples: Array + /** An aggregate relationship */ + triples_aggregate: Triples_Aggregate + type: Scalars['account_type']['output'] +} + +/** columns and relationships of "account" */ +export type AccountsAtomsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "account" */ +export type AccountsAtoms_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "account" */ +export type AccountsDeposits_ReceivedArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "account" */ +export type AccountsDeposits_Received_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "account" */ +export type AccountsDeposits_SentArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "account" */ +export type AccountsDeposits_Sent_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "account" */ +export type AccountsFee_TransfersArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "account" */ +export type AccountsFee_Transfers_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "account" */ +export type AccountsPositionsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "account" */ +export type AccountsPositions_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "account" */ +export type AccountsRedemptions_ReceivedArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "account" */ +export type AccountsRedemptions_Received_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "account" */ +export type AccountsRedemptions_SentArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "account" */ +export type AccountsRedemptions_Sent_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "account" */ +export type AccountsSignalsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "account" */ +export type AccountsSignals_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "account" */ +export type AccountsTriplesArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "account" */ +export type AccountsTriples_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** aggregated selection of "account" */ +export type Accounts_Aggregate = { + __typename?: 'accounts_aggregate' + aggregate?: Maybe + nodes: Array +} + +export type Accounts_Aggregate_Bool_Exp = { + count?: InputMaybe +} + +export type Accounts_Aggregate_Bool_Exp_Count = { + arguments?: InputMaybe> + distinct?: InputMaybe + filter?: InputMaybe + predicate: Int_Comparison_Exp +} + +/** aggregate fields of "account" */ +export type Accounts_Aggregate_Fields = { + __typename?: 'accounts_aggregate_fields' + avg?: Maybe + count: Scalars['Int']['output'] + max?: Maybe + min?: Maybe + stddev?: Maybe + stddev_pop?: Maybe + stddev_samp?: Maybe + sum?: Maybe + var_pop?: Maybe + var_samp?: Maybe + variance?: Maybe +} + +/** aggregate fields of "account" */ +export type Accounts_Aggregate_FieldsCountArgs = { + columns?: InputMaybe> + distinct?: InputMaybe +} + +/** order by aggregate values of table "account" */ +export type Accounts_Aggregate_Order_By = { + avg?: InputMaybe + count?: InputMaybe + max?: InputMaybe + min?: InputMaybe + stddev?: InputMaybe + stddev_pop?: InputMaybe + stddev_samp?: InputMaybe + sum?: InputMaybe + var_pop?: InputMaybe + var_samp?: InputMaybe + variance?: InputMaybe +} + +/** aggregate avg on columns */ +export type Accounts_Avg_Fields = { + __typename?: 'accounts_avg_fields' + atom_id?: Maybe +} + +/** order by avg() on columns of table "account" */ +export type Accounts_Avg_Order_By = { + atom_id?: InputMaybe +} + +/** Boolean expression to filter rows from the table "account". All fields are combined with a logical 'AND'. */ +export type Accounts_Bool_Exp = { + _and?: InputMaybe> + _not?: InputMaybe + _or?: InputMaybe> + atom?: InputMaybe + atom_id?: InputMaybe + atoms?: InputMaybe + atoms_aggregate?: InputMaybe + deposits_received?: InputMaybe + deposits_received_aggregate?: InputMaybe + deposits_sent?: InputMaybe + deposits_sent_aggregate?: InputMaybe + fee_transfers?: InputMaybe + fee_transfers_aggregate?: InputMaybe + id?: InputMaybe + image?: InputMaybe + label?: InputMaybe + positions?: InputMaybe + positions_aggregate?: InputMaybe + redemptions_received?: InputMaybe + redemptions_received_aggregate?: InputMaybe + redemptions_sent?: InputMaybe + redemptions_sent_aggregate?: InputMaybe + signals?: InputMaybe + signals_aggregate?: InputMaybe + triples?: InputMaybe + triples_aggregate?: InputMaybe + type?: InputMaybe +} + +/** aggregate max on columns */ +export type Accounts_Max_Fields = { + __typename?: 'accounts_max_fields' + atom_id?: Maybe + id?: Maybe + image?: Maybe + label?: Maybe + type?: Maybe +} + +/** order by max() on columns of table "account" */ +export type Accounts_Max_Order_By = { + atom_id?: InputMaybe + id?: InputMaybe + image?: InputMaybe + label?: InputMaybe + type?: InputMaybe +} + +/** aggregate min on columns */ +export type Accounts_Min_Fields = { + __typename?: 'accounts_min_fields' + atom_id?: Maybe + id?: Maybe + image?: Maybe + label?: Maybe + type?: Maybe +} + +/** order by min() on columns of table "account" */ +export type Accounts_Min_Order_By = { + atom_id?: InputMaybe + id?: InputMaybe + image?: InputMaybe + label?: InputMaybe + type?: InputMaybe +} + +/** Ordering options when selecting data from "account". */ +export type Accounts_Order_By = { + atom?: InputMaybe + atom_id?: InputMaybe + atoms_aggregate?: InputMaybe + deposits_received_aggregate?: InputMaybe + deposits_sent_aggregate?: InputMaybe + fee_transfers_aggregate?: InputMaybe + id?: InputMaybe + image?: InputMaybe + label?: InputMaybe + positions_aggregate?: InputMaybe + redemptions_received_aggregate?: InputMaybe + redemptions_sent_aggregate?: InputMaybe + signals_aggregate?: InputMaybe + triples_aggregate?: InputMaybe + type?: InputMaybe +} + +/** select columns of table "account" */ +export type Accounts_Select_Column = + /** column name */ + | 'atom_id' + /** column name */ + | 'id' + /** column name */ + | 'image' + /** column name */ + | 'label' + /** column name */ + | 'type' + +/** aggregate stddev on columns */ +export type Accounts_Stddev_Fields = { + __typename?: 'accounts_stddev_fields' + atom_id?: Maybe +} + +/** order by stddev() on columns of table "account" */ +export type Accounts_Stddev_Order_By = { + atom_id?: InputMaybe +} + +/** aggregate stddev_pop on columns */ +export type Accounts_Stddev_Pop_Fields = { + __typename?: 'accounts_stddev_pop_fields' + atom_id?: Maybe +} + +/** order by stddev_pop() on columns of table "account" */ +export type Accounts_Stddev_Pop_Order_By = { + atom_id?: InputMaybe +} + +/** aggregate stddev_samp on columns */ +export type Accounts_Stddev_Samp_Fields = { + __typename?: 'accounts_stddev_samp_fields' + atom_id?: Maybe +} + +/** order by stddev_samp() on columns of table "account" */ +export type Accounts_Stddev_Samp_Order_By = { + atom_id?: InputMaybe +} + +/** Streaming cursor of the table "accounts" */ +export type Accounts_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Accounts_Stream_Cursor_Value_Input + /** cursor ordering */ + ordering?: InputMaybe +} + +/** Initial value of the column from where the streaming should start */ +export type Accounts_Stream_Cursor_Value_Input = { + atom_id?: InputMaybe + id?: InputMaybe + image?: InputMaybe + label?: InputMaybe + type?: InputMaybe +} + +/** aggregate sum on columns */ +export type Accounts_Sum_Fields = { + __typename?: 'accounts_sum_fields' + atom_id?: Maybe +} + +/** order by sum() on columns of table "account" */ +export type Accounts_Sum_Order_By = { + atom_id?: InputMaybe +} + +/** aggregate var_pop on columns */ +export type Accounts_Var_Pop_Fields = { + __typename?: 'accounts_var_pop_fields' + atom_id?: Maybe +} + +/** order by var_pop() on columns of table "account" */ +export type Accounts_Var_Pop_Order_By = { + atom_id?: InputMaybe +} + +/** aggregate var_samp on columns */ +export type Accounts_Var_Samp_Fields = { + __typename?: 'accounts_var_samp_fields' + atom_id?: Maybe +} + +/** order by var_samp() on columns of table "account" */ +export type Accounts_Var_Samp_Order_By = { + atom_id?: InputMaybe +} + +/** aggregate variance on columns */ +export type Accounts_Variance_Fields = { + __typename?: 'accounts_variance_fields' + atom_id?: Maybe +} + +/** order by variance() on columns of table "account" */ +export type Accounts_Variance_Order_By = { + atom_id?: InputMaybe +} + +/** Boolean expression to compare columns of type "atom_type". All fields are combined with logical 'AND'. */ +export type Atom_Type_Comparison_Exp = { + _eq?: InputMaybe + _gt?: InputMaybe + _gte?: InputMaybe + _in?: InputMaybe> + _is_null?: InputMaybe + _lt?: InputMaybe + _lte?: InputMaybe + _neq?: InputMaybe + _nin?: InputMaybe> +} + +/** columns and relationships of "atom_value" */ +export type Atom_Values = { + __typename?: 'atom_values' + /** An object relationship */ + account?: Maybe + account_id?: Maybe + /** An object relationship */ + atom: Atoms + /** An object relationship */ + book?: Maybe + book_id?: Maybe + /** An object relationship */ + byte_object?: Maybe + byte_object_id?: Maybe + /** An object relationship */ + caip10?: Maybe + id: Scalars['numeric']['output'] + /** An object relationship */ + json_object?: Maybe + json_object_id?: Maybe + /** An object relationship */ + organization?: Maybe + organization_id?: Maybe + /** An object relationship */ + person?: Maybe + person_id?: Maybe + /** An object relationship */ + text_object?: Maybe + text_object_id?: Maybe + /** An object relationship */ + thing?: Maybe + thing_id?: Maybe +} + +/** aggregated selection of "atom_value" */ +export type Atom_Values_Aggregate = { + __typename?: 'atom_values_aggregate' + aggregate?: Maybe + nodes: Array +} + +/** aggregate fields of "atom_value" */ +export type Atom_Values_Aggregate_Fields = { + __typename?: 'atom_values_aggregate_fields' + avg?: Maybe + count: Scalars['Int']['output'] + max?: Maybe + min?: Maybe + stddev?: Maybe + stddev_pop?: Maybe + stddev_samp?: Maybe + sum?: Maybe + var_pop?: Maybe + var_samp?: Maybe + variance?: Maybe +} + +/** aggregate fields of "atom_value" */ +export type Atom_Values_Aggregate_FieldsCountArgs = { + columns?: InputMaybe> + distinct?: InputMaybe +} + +/** aggregate avg on columns */ +export type Atom_Values_Avg_Fields = { + __typename?: 'atom_values_avg_fields' + book_id?: Maybe + byte_object_id?: Maybe + id?: Maybe + json_object_id?: Maybe + organization_id?: Maybe + person_id?: Maybe + text_object_id?: Maybe + thing_id?: Maybe +} + +/** Boolean expression to filter rows from the table "atom_value". All fields are combined with a logical 'AND'. */ +export type Atom_Values_Bool_Exp = { + _and?: InputMaybe> + _not?: InputMaybe + _or?: InputMaybe> + account?: InputMaybe + account_id?: InputMaybe + atom?: InputMaybe + book?: InputMaybe + book_id?: InputMaybe + byte_object?: InputMaybe + byte_object_id?: InputMaybe + caip10?: InputMaybe + id?: InputMaybe + json_object?: InputMaybe + json_object_id?: InputMaybe + organization?: InputMaybe + organization_id?: InputMaybe + person?: InputMaybe + person_id?: InputMaybe + text_object?: InputMaybe + text_object_id?: InputMaybe + thing?: InputMaybe + thing_id?: InputMaybe +} + +/** aggregate max on columns */ +export type Atom_Values_Max_Fields = { + __typename?: 'atom_values_max_fields' + account_id?: Maybe + book_id?: Maybe + byte_object_id?: Maybe + id?: Maybe + json_object_id?: Maybe + organization_id?: Maybe + person_id?: Maybe + text_object_id?: Maybe + thing_id?: Maybe +} + +/** aggregate min on columns */ +export type Atom_Values_Min_Fields = { + __typename?: 'atom_values_min_fields' + account_id?: Maybe + book_id?: Maybe + byte_object_id?: Maybe + id?: Maybe + json_object_id?: Maybe + organization_id?: Maybe + person_id?: Maybe + text_object_id?: Maybe + thing_id?: Maybe +} + +/** Ordering options when selecting data from "atom_value". */ +export type Atom_Values_Order_By = { + account?: InputMaybe + account_id?: InputMaybe + atom?: InputMaybe + book?: InputMaybe + book_id?: InputMaybe + byte_object?: InputMaybe + byte_object_id?: InputMaybe + caip10?: InputMaybe + id?: InputMaybe + json_object?: InputMaybe + json_object_id?: InputMaybe + organization?: InputMaybe + organization_id?: InputMaybe + person?: InputMaybe + person_id?: InputMaybe + text_object?: InputMaybe + text_object_id?: InputMaybe + thing?: InputMaybe + thing_id?: InputMaybe +} + +/** select columns of table "atom_value" */ +export type Atom_Values_Select_Column = + /** column name */ + | 'account_id' + /** column name */ + | 'book_id' + /** column name */ + | 'byte_object_id' + /** column name */ + | 'id' + /** column name */ + | 'json_object_id' + /** column name */ + | 'organization_id' + /** column name */ + | 'person_id' + /** column name */ + | 'text_object_id' + /** column name */ + | 'thing_id' + +/** aggregate stddev on columns */ +export type Atom_Values_Stddev_Fields = { + __typename?: 'atom_values_stddev_fields' + book_id?: Maybe + byte_object_id?: Maybe + id?: Maybe + json_object_id?: Maybe + organization_id?: Maybe + person_id?: Maybe + text_object_id?: Maybe + thing_id?: Maybe +} + +/** aggregate stddev_pop on columns */ +export type Atom_Values_Stddev_Pop_Fields = { + __typename?: 'atom_values_stddev_pop_fields' + book_id?: Maybe + byte_object_id?: Maybe + id?: Maybe + json_object_id?: Maybe + organization_id?: Maybe + person_id?: Maybe + text_object_id?: Maybe + thing_id?: Maybe +} + +/** aggregate stddev_samp on columns */ +export type Atom_Values_Stddev_Samp_Fields = { + __typename?: 'atom_values_stddev_samp_fields' + book_id?: Maybe + byte_object_id?: Maybe + id?: Maybe + json_object_id?: Maybe + organization_id?: Maybe + person_id?: Maybe + text_object_id?: Maybe + thing_id?: Maybe +} + +/** Streaming cursor of the table "atom_values" */ +export type Atom_Values_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Atom_Values_Stream_Cursor_Value_Input + /** cursor ordering */ + ordering?: InputMaybe +} + +/** Initial value of the column from where the streaming should start */ +export type Atom_Values_Stream_Cursor_Value_Input = { + account_id?: InputMaybe + book_id?: InputMaybe + byte_object_id?: InputMaybe + id?: InputMaybe + json_object_id?: InputMaybe + organization_id?: InputMaybe + person_id?: InputMaybe + text_object_id?: InputMaybe + thing_id?: InputMaybe +} + +/** aggregate sum on columns */ +export type Atom_Values_Sum_Fields = { + __typename?: 'atom_values_sum_fields' + book_id?: Maybe + byte_object_id?: Maybe + id?: Maybe + json_object_id?: Maybe + organization_id?: Maybe + person_id?: Maybe + text_object_id?: Maybe + thing_id?: Maybe +} + +/** aggregate var_pop on columns */ +export type Atom_Values_Var_Pop_Fields = { + __typename?: 'atom_values_var_pop_fields' + book_id?: Maybe + byte_object_id?: Maybe + id?: Maybe + json_object_id?: Maybe + organization_id?: Maybe + person_id?: Maybe + text_object_id?: Maybe + thing_id?: Maybe +} + +/** aggregate var_samp on columns */ +export type Atom_Values_Var_Samp_Fields = { + __typename?: 'atom_values_var_samp_fields' + book_id?: Maybe + byte_object_id?: Maybe + id?: Maybe + json_object_id?: Maybe + organization_id?: Maybe + person_id?: Maybe + text_object_id?: Maybe + thing_id?: Maybe +} + +/** aggregate variance on columns */ +export type Atom_Values_Variance_Fields = { + __typename?: 'atom_values_variance_fields' + book_id?: Maybe + byte_object_id?: Maybe + id?: Maybe + json_object_id?: Maybe + organization_id?: Maybe + person_id?: Maybe + text_object_id?: Maybe + thing_id?: Maybe +} + +/** columns and relationships of "atom" */ +export type Atoms = { + __typename?: 'atoms' + /** An array relationship */ + accounts: Array + /** An aggregate relationship */ + accounts_aggregate: Accounts_Aggregate + /** An array relationship */ + as_object_predicate_objects: Array + /** An aggregate relationship */ + as_object_predicate_objects_aggregate: Predicate_Objects_Aggregate + /** An array relationship */ + as_object_triples: Array + /** An aggregate relationship */ + as_object_triples_aggregate: Triples_Aggregate + /** An array relationship */ + as_predicate_predicate_objects: Array + /** An aggregate relationship */ + as_predicate_predicate_objects_aggregate: Predicate_Objects_Aggregate + /** An array relationship */ + as_predicate_triples: Array + /** An aggregate relationship */ + as_predicate_triples_aggregate: Triples_Aggregate + /** An array relationship */ + as_subject_triples: Array + /** An aggregate relationship */ + as_subject_triples_aggregate: Triples_Aggregate + block_number: Scalars['numeric']['output'] + cached_image?: Maybe + /** An object relationship */ + controller?: Maybe + created_at: Scalars['timestamptz']['output'] + /** An object relationship */ + creator: Accounts + creator_id: Scalars['String']['output'] + data?: Maybe + emoji?: Maybe + image?: Maybe + label?: Maybe + /** An array relationship */ + positions: Array + /** An aggregate relationship */ + positions_aggregate: Positions_Aggregate + /** An array relationship */ + signals: Array + /** An aggregate relationship */ + signals_aggregate: Signals_Aggregate + /** An object relationship */ + term: Terms + term_id: Scalars['numeric']['output'] + transaction_hash: Scalars['String']['output'] + type: Scalars['atom_type']['output'] + updated_at: Scalars['timestamptz']['output'] + /** An object relationship */ + value?: Maybe + value_id?: Maybe + wallet_id: Scalars['String']['output'] +} + +/** columns and relationships of "atom" */ +export type AtomsAccountsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "atom" */ +export type AtomsAccounts_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "atom" */ +export type AtomsAs_Object_Predicate_ObjectsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "atom" */ +export type AtomsAs_Object_Predicate_Objects_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "atom" */ +export type AtomsAs_Object_TriplesArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "atom" */ +export type AtomsAs_Object_Triples_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "atom" */ +export type AtomsAs_Predicate_Predicate_ObjectsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "atom" */ +export type AtomsAs_Predicate_Predicate_Objects_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "atom" */ +export type AtomsAs_Predicate_TriplesArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "atom" */ +export type AtomsAs_Predicate_Triples_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "atom" */ +export type AtomsAs_Subject_TriplesArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "atom" */ +export type AtomsAs_Subject_Triples_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "atom" */ +export type AtomsPositionsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "atom" */ +export type AtomsPositions_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "atom" */ +export type AtomsSignalsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "atom" */ +export type AtomsSignals_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** aggregated selection of "atom" */ +export type Atoms_Aggregate = { + __typename?: 'atoms_aggregate' + aggregate?: Maybe + nodes: Array +} + +export type Atoms_Aggregate_Bool_Exp = { + count?: InputMaybe +} + +export type Atoms_Aggregate_Bool_Exp_Count = { + arguments?: InputMaybe> + distinct?: InputMaybe + filter?: InputMaybe + predicate: Int_Comparison_Exp +} + +/** aggregate fields of "atom" */ +export type Atoms_Aggregate_Fields = { + __typename?: 'atoms_aggregate_fields' + avg?: Maybe + count: Scalars['Int']['output'] + max?: Maybe + min?: Maybe + stddev?: Maybe + stddev_pop?: Maybe + stddev_samp?: Maybe + sum?: Maybe + var_pop?: Maybe + var_samp?: Maybe + variance?: Maybe +} + +/** aggregate fields of "atom" */ +export type Atoms_Aggregate_FieldsCountArgs = { + columns?: InputMaybe> + distinct?: InputMaybe +} + +/** order by aggregate values of table "atom" */ +export type Atoms_Aggregate_Order_By = { + avg?: InputMaybe + count?: InputMaybe + max?: InputMaybe + min?: InputMaybe + stddev?: InputMaybe + stddev_pop?: InputMaybe + stddev_samp?: InputMaybe + sum?: InputMaybe + var_pop?: InputMaybe + var_samp?: InputMaybe + variance?: InputMaybe +} + +/** aggregate avg on columns */ +export type Atoms_Avg_Fields = { + __typename?: 'atoms_avg_fields' + block_number?: Maybe + term_id?: Maybe + value_id?: Maybe +} + +/** order by avg() on columns of table "atom" */ +export type Atoms_Avg_Order_By = { + block_number?: InputMaybe + term_id?: InputMaybe + value_id?: InputMaybe +} + +/** Boolean expression to filter rows from the table "atom". All fields are combined with a logical 'AND'. */ +export type Atoms_Bool_Exp = { + _and?: InputMaybe> + _not?: InputMaybe + _or?: InputMaybe> + accounts?: InputMaybe + accounts_aggregate?: InputMaybe + as_object_predicate_objects?: InputMaybe + as_object_predicate_objects_aggregate?: InputMaybe + as_object_triples?: InputMaybe + as_object_triples_aggregate?: InputMaybe + as_predicate_predicate_objects?: InputMaybe + as_predicate_predicate_objects_aggregate?: InputMaybe + as_predicate_triples?: InputMaybe + as_predicate_triples_aggregate?: InputMaybe + as_subject_triples?: InputMaybe + as_subject_triples_aggregate?: InputMaybe + block_number?: InputMaybe + controller?: InputMaybe + created_at?: InputMaybe + creator?: InputMaybe + creator_id?: InputMaybe + data?: InputMaybe + emoji?: InputMaybe + image?: InputMaybe + label?: InputMaybe + positions?: InputMaybe + positions_aggregate?: InputMaybe + signals?: InputMaybe + signals_aggregate?: InputMaybe + term?: InputMaybe + term_id?: InputMaybe + transaction_hash?: InputMaybe + type?: InputMaybe + updated_at?: InputMaybe + value?: InputMaybe + value_id?: InputMaybe + wallet_id?: InputMaybe +} + +/** aggregate max on columns */ +export type Atoms_Max_Fields = { + __typename?: 'atoms_max_fields' + block_number?: Maybe + created_at?: Maybe + creator_id?: Maybe + data?: Maybe + emoji?: Maybe + image?: Maybe + label?: Maybe + term_id?: Maybe + transaction_hash?: Maybe + type?: Maybe + updated_at?: Maybe + value_id?: Maybe + wallet_id?: Maybe +} + +/** order by max() on columns of table "atom" */ +export type Atoms_Max_Order_By = { + block_number?: InputMaybe + created_at?: InputMaybe + creator_id?: InputMaybe + data?: InputMaybe + emoji?: InputMaybe + image?: InputMaybe + label?: InputMaybe + term_id?: InputMaybe + transaction_hash?: InputMaybe + type?: InputMaybe + updated_at?: InputMaybe + value_id?: InputMaybe + wallet_id?: InputMaybe +} + +/** aggregate min on columns */ +export type Atoms_Min_Fields = { + __typename?: 'atoms_min_fields' + block_number?: Maybe + created_at?: Maybe + creator_id?: Maybe + data?: Maybe + emoji?: Maybe + image?: Maybe + label?: Maybe + term_id?: Maybe + transaction_hash?: Maybe + type?: Maybe + updated_at?: Maybe + value_id?: Maybe + wallet_id?: Maybe +} + +/** order by min() on columns of table "atom" */ +export type Atoms_Min_Order_By = { + block_number?: InputMaybe + created_at?: InputMaybe + creator_id?: InputMaybe + data?: InputMaybe + emoji?: InputMaybe + image?: InputMaybe + label?: InputMaybe + term_id?: InputMaybe + transaction_hash?: InputMaybe + type?: InputMaybe + updated_at?: InputMaybe + value_id?: InputMaybe + wallet_id?: InputMaybe +} + +/** Ordering options when selecting data from "atom". */ +export type Atoms_Order_By = { + accounts_aggregate?: InputMaybe + as_object_predicate_objects_aggregate?: InputMaybe + as_object_triples_aggregate?: InputMaybe + as_predicate_predicate_objects_aggregate?: InputMaybe + as_predicate_triples_aggregate?: InputMaybe + as_subject_triples_aggregate?: InputMaybe + block_number?: InputMaybe + controller?: InputMaybe + created_at?: InputMaybe + creator?: InputMaybe + creator_id?: InputMaybe + data?: InputMaybe + emoji?: InputMaybe + image?: InputMaybe + label?: InputMaybe + positions_aggregate?: InputMaybe + signals_aggregate?: InputMaybe + term?: InputMaybe + term_id?: InputMaybe + transaction_hash?: InputMaybe + type?: InputMaybe + updated_at?: InputMaybe + value?: InputMaybe + value_id?: InputMaybe + wallet_id?: InputMaybe +} + +/** select columns of table "atom" */ +export type Atoms_Select_Column = + /** column name */ + | 'block_number' + /** column name */ + | 'created_at' + /** column name */ + | 'creator_id' + /** column name */ + | 'data' + /** column name */ + | 'emoji' + /** column name */ + | 'image' + /** column name */ + | 'label' + /** column name */ + | 'term_id' + /** column name */ + | 'transaction_hash' + /** column name */ + | 'type' + /** column name */ + | 'updated_at' + /** column name */ + | 'value_id' + /** column name */ + | 'wallet_id' + +/** aggregate stddev on columns */ +export type Atoms_Stddev_Fields = { + __typename?: 'atoms_stddev_fields' + block_number?: Maybe + term_id?: Maybe + value_id?: Maybe +} + +/** order by stddev() on columns of table "atom" */ +export type Atoms_Stddev_Order_By = { + block_number?: InputMaybe + term_id?: InputMaybe + value_id?: InputMaybe +} + +/** aggregate stddev_pop on columns */ +export type Atoms_Stddev_Pop_Fields = { + __typename?: 'atoms_stddev_pop_fields' + block_number?: Maybe + term_id?: Maybe + value_id?: Maybe +} + +/** order by stddev_pop() on columns of table "atom" */ +export type Atoms_Stddev_Pop_Order_By = { + block_number?: InputMaybe + term_id?: InputMaybe + value_id?: InputMaybe +} + +/** aggregate stddev_samp on columns */ +export type Atoms_Stddev_Samp_Fields = { + __typename?: 'atoms_stddev_samp_fields' + block_number?: Maybe + term_id?: Maybe + value_id?: Maybe +} + +/** order by stddev_samp() on columns of table "atom" */ +export type Atoms_Stddev_Samp_Order_By = { + block_number?: InputMaybe + term_id?: InputMaybe + value_id?: InputMaybe +} + +/** Streaming cursor of the table "atoms" */ +export type Atoms_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Atoms_Stream_Cursor_Value_Input + /** cursor ordering */ + ordering?: InputMaybe +} + +/** Initial value of the column from where the streaming should start */ +export type Atoms_Stream_Cursor_Value_Input = { + block_number?: InputMaybe + created_at?: InputMaybe + creator_id?: InputMaybe + data?: InputMaybe + emoji?: InputMaybe + image?: InputMaybe + label?: InputMaybe + term_id?: InputMaybe + transaction_hash?: InputMaybe + type?: InputMaybe + updated_at?: InputMaybe + value_id?: InputMaybe + wallet_id?: InputMaybe +} + +/** aggregate sum on columns */ +export type Atoms_Sum_Fields = { + __typename?: 'atoms_sum_fields' + block_number?: Maybe + term_id?: Maybe + value_id?: Maybe +} + +/** order by sum() on columns of table "atom" */ +export type Atoms_Sum_Order_By = { + block_number?: InputMaybe + term_id?: InputMaybe + value_id?: InputMaybe +} + +/** aggregate var_pop on columns */ +export type Atoms_Var_Pop_Fields = { + __typename?: 'atoms_var_pop_fields' + block_number?: Maybe + term_id?: Maybe + value_id?: Maybe +} + +/** order by var_pop() on columns of table "atom" */ +export type Atoms_Var_Pop_Order_By = { + block_number?: InputMaybe + term_id?: InputMaybe + value_id?: InputMaybe +} + +/** aggregate var_samp on columns */ +export type Atoms_Var_Samp_Fields = { + __typename?: 'atoms_var_samp_fields' + block_number?: Maybe + term_id?: Maybe + value_id?: Maybe +} + +/** order by var_samp() on columns of table "atom" */ +export type Atoms_Var_Samp_Order_By = { + block_number?: InputMaybe + term_id?: InputMaybe + value_id?: InputMaybe +} + +/** aggregate variance on columns */ +export type Atoms_Variance_Fields = { + __typename?: 'atoms_variance_fields' + block_number?: Maybe + term_id?: Maybe + value_id?: Maybe +} + +/** order by variance() on columns of table "atom" */ +export type Atoms_Variance_Order_By = { + block_number?: InputMaybe + term_id?: InputMaybe + value_id?: InputMaybe +} + +/** Boolean expression to compare columns of type "bigint". All fields are combined with logical 'AND'. */ +export type Bigint_Comparison_Exp = { + _eq?: InputMaybe + _gt?: InputMaybe + _gte?: InputMaybe + _in?: InputMaybe> + _is_null?: InputMaybe + _lt?: InputMaybe + _lte?: InputMaybe + _neq?: InputMaybe + _nin?: InputMaybe> +} + +/** columns and relationships of "book" */ +export type Books = { + __typename?: 'books' + /** An object relationship */ + atom?: Maybe + description?: Maybe + genre?: Maybe + id: Scalars['numeric']['output'] + name?: Maybe + url?: Maybe +} + +/** aggregated selection of "book" */ +export type Books_Aggregate = { + __typename?: 'books_aggregate' + aggregate?: Maybe + nodes: Array +} + +/** aggregate fields of "book" */ +export type Books_Aggregate_Fields = { + __typename?: 'books_aggregate_fields' + avg?: Maybe + count: Scalars['Int']['output'] + max?: Maybe + min?: Maybe + stddev?: Maybe + stddev_pop?: Maybe + stddev_samp?: Maybe + sum?: Maybe + var_pop?: Maybe + var_samp?: Maybe + variance?: Maybe +} + +/** aggregate fields of "book" */ +export type Books_Aggregate_FieldsCountArgs = { + columns?: InputMaybe> + distinct?: InputMaybe +} + +/** aggregate avg on columns */ +export type Books_Avg_Fields = { + __typename?: 'books_avg_fields' + id?: Maybe +} + +/** Boolean expression to filter rows from the table "book". All fields are combined with a logical 'AND'. */ +export type Books_Bool_Exp = { + _and?: InputMaybe> + _not?: InputMaybe + _or?: InputMaybe> + atom?: InputMaybe + description?: InputMaybe + genre?: InputMaybe + id?: InputMaybe + name?: InputMaybe + url?: InputMaybe +} + +/** aggregate max on columns */ +export type Books_Max_Fields = { + __typename?: 'books_max_fields' + description?: Maybe + genre?: Maybe + id?: Maybe + name?: Maybe + url?: Maybe +} + +/** aggregate min on columns */ +export type Books_Min_Fields = { + __typename?: 'books_min_fields' + description?: Maybe + genre?: Maybe + id?: Maybe + name?: Maybe + url?: Maybe +} + +/** Ordering options when selecting data from "book". */ +export type Books_Order_By = { + atom?: InputMaybe + description?: InputMaybe + genre?: InputMaybe + id?: InputMaybe + name?: InputMaybe + url?: InputMaybe +} + +/** select columns of table "book" */ +export type Books_Select_Column = + /** column name */ + | 'description' + /** column name */ + | 'genre' + /** column name */ + | 'id' + /** column name */ + | 'name' + /** column name */ + | 'url' + +/** aggregate stddev on columns */ +export type Books_Stddev_Fields = { + __typename?: 'books_stddev_fields' + id?: Maybe +} + +/** aggregate stddev_pop on columns */ +export type Books_Stddev_Pop_Fields = { + __typename?: 'books_stddev_pop_fields' + id?: Maybe +} + +/** aggregate stddev_samp on columns */ +export type Books_Stddev_Samp_Fields = { + __typename?: 'books_stddev_samp_fields' + id?: Maybe +} + +/** Streaming cursor of the table "books" */ +export type Books_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Books_Stream_Cursor_Value_Input + /** cursor ordering */ + ordering?: InputMaybe +} + +/** Initial value of the column from where the streaming should start */ +export type Books_Stream_Cursor_Value_Input = { + description?: InputMaybe + genre?: InputMaybe + id?: InputMaybe + name?: InputMaybe + url?: InputMaybe +} + +/** aggregate sum on columns */ +export type Books_Sum_Fields = { + __typename?: 'books_sum_fields' + id?: Maybe +} + +/** aggregate var_pop on columns */ +export type Books_Var_Pop_Fields = { + __typename?: 'books_var_pop_fields' + id?: Maybe +} + +/** aggregate var_samp on columns */ +export type Books_Var_Samp_Fields = { + __typename?: 'books_var_samp_fields' + id?: Maybe +} + +/** aggregate variance on columns */ +export type Books_Variance_Fields = { + __typename?: 'books_variance_fields' + id?: Maybe +} + +/** columns and relationships of "byte_object" */ +export type Byte_Object = { + __typename?: 'byte_object' + /** An object relationship */ + atom?: Maybe + data: Scalars['bytea']['output'] + id: Scalars['numeric']['output'] +} + +/** aggregated selection of "byte_object" */ +export type Byte_Object_Aggregate = { + __typename?: 'byte_object_aggregate' + aggregate?: Maybe + nodes: Array +} + +/** aggregate fields of "byte_object" */ +export type Byte_Object_Aggregate_Fields = { + __typename?: 'byte_object_aggregate_fields' + avg?: Maybe + count: Scalars['Int']['output'] + max?: Maybe + min?: Maybe + stddev?: Maybe + stddev_pop?: Maybe + stddev_samp?: Maybe + sum?: Maybe + var_pop?: Maybe + var_samp?: Maybe + variance?: Maybe +} + +/** aggregate fields of "byte_object" */ +export type Byte_Object_Aggregate_FieldsCountArgs = { + columns?: InputMaybe> + distinct?: InputMaybe +} + +/** aggregate avg on columns */ +export type Byte_Object_Avg_Fields = { + __typename?: 'byte_object_avg_fields' + id?: Maybe +} + +/** Boolean expression to filter rows from the table "byte_object". All fields are combined with a logical 'AND'. */ +export type Byte_Object_Bool_Exp = { + _and?: InputMaybe> + _not?: InputMaybe + _or?: InputMaybe> + atom?: InputMaybe + data?: InputMaybe + id?: InputMaybe +} + +/** aggregate max on columns */ +export type Byte_Object_Max_Fields = { + __typename?: 'byte_object_max_fields' + id?: Maybe +} + +/** aggregate min on columns */ +export type Byte_Object_Min_Fields = { + __typename?: 'byte_object_min_fields' + id?: Maybe +} + +/** Ordering options when selecting data from "byte_object". */ +export type Byte_Object_Order_By = { + atom?: InputMaybe + data?: InputMaybe + id?: InputMaybe +} + +/** select columns of table "byte_object" */ +export type Byte_Object_Select_Column = + /** column name */ + | 'data' + /** column name */ + | 'id' + +/** aggregate stddev on columns */ +export type Byte_Object_Stddev_Fields = { + __typename?: 'byte_object_stddev_fields' + id?: Maybe +} + +/** aggregate stddev_pop on columns */ +export type Byte_Object_Stddev_Pop_Fields = { + __typename?: 'byte_object_stddev_pop_fields' + id?: Maybe +} + +/** aggregate stddev_samp on columns */ +export type Byte_Object_Stddev_Samp_Fields = { + __typename?: 'byte_object_stddev_samp_fields' + id?: Maybe +} + +/** Streaming cursor of the table "byte_object" */ +export type Byte_Object_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Byte_Object_Stream_Cursor_Value_Input + /** cursor ordering */ + ordering?: InputMaybe +} + +/** Initial value of the column from where the streaming should start */ +export type Byte_Object_Stream_Cursor_Value_Input = { + data?: InputMaybe + id?: InputMaybe +} + +/** aggregate sum on columns */ +export type Byte_Object_Sum_Fields = { + __typename?: 'byte_object_sum_fields' + id?: Maybe +} + +/** aggregate var_pop on columns */ +export type Byte_Object_Var_Pop_Fields = { + __typename?: 'byte_object_var_pop_fields' + id?: Maybe +} + +/** aggregate var_samp on columns */ +export type Byte_Object_Var_Samp_Fields = { + __typename?: 'byte_object_var_samp_fields' + id?: Maybe +} + +/** aggregate variance on columns */ +export type Byte_Object_Variance_Fields = { + __typename?: 'byte_object_variance_fields' + id?: Maybe +} + +/** Boolean expression to compare columns of type "bytea". All fields are combined with logical 'AND'. */ +export type Bytea_Comparison_Exp = { + _eq?: InputMaybe + _gt?: InputMaybe + _gte?: InputMaybe + _in?: InputMaybe> + _is_null?: InputMaybe + _lt?: InputMaybe + _lte?: InputMaybe + _neq?: InputMaybe + _nin?: InputMaybe> +} + +/** columns and relationships of "cached_images.cached_image" */ +export type Cached_Images_Cached_Image = { + __typename?: 'cached_images_cached_image' + created_at: Scalars['timestamptz']['output'] + model?: Maybe + original_url: Scalars['String']['output'] + safe: Scalars['Boolean']['output'] + score?: Maybe + url: Scalars['String']['output'] +} + +/** columns and relationships of "cached_images.cached_image" */ +export type Cached_Images_Cached_ImageScoreArgs = { + path?: InputMaybe +} + +/** Boolean expression to filter rows from the table "cached_images.cached_image". All fields are combined with a logical 'AND'. */ +export type Cached_Images_Cached_Image_Bool_Exp = { + _and?: InputMaybe> + _not?: InputMaybe + _or?: InputMaybe> + created_at?: InputMaybe + model?: InputMaybe + original_url?: InputMaybe + safe?: InputMaybe + score?: InputMaybe + url?: InputMaybe +} + +/** Ordering options when selecting data from "cached_images.cached_image". */ +export type Cached_Images_Cached_Image_Order_By = { + created_at?: InputMaybe + model?: InputMaybe + original_url?: InputMaybe + safe?: InputMaybe + score?: InputMaybe + url?: InputMaybe +} + +/** select columns of table "cached_images.cached_image" */ +export type Cached_Images_Cached_Image_Select_Column = + /** column name */ + | 'created_at' + /** column name */ + | 'model' + /** column name */ + | 'original_url' + /** column name */ + | 'safe' + /** column name */ + | 'score' + /** column name */ + | 'url' + +/** Streaming cursor of the table "cached_images_cached_image" */ +export type Cached_Images_Cached_Image_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Cached_Images_Cached_Image_Stream_Cursor_Value_Input + /** cursor ordering */ + ordering?: InputMaybe +} + +/** Initial value of the column from where the streaming should start */ +export type Cached_Images_Cached_Image_Stream_Cursor_Value_Input = { + created_at?: InputMaybe + model?: InputMaybe + original_url?: InputMaybe + safe?: InputMaybe + score?: InputMaybe + url?: InputMaybe +} + +/** columns and relationships of "caip10" */ +export type Caip10 = { + __typename?: 'caip10' + account_address: Scalars['String']['output'] + /** An object relationship */ + atom?: Maybe + chain_id: Scalars['Int']['output'] + id: Scalars['numeric']['output'] + namespace: Scalars['String']['output'] +} + +/** aggregated selection of "caip10" */ +export type Caip10_Aggregate = { + __typename?: 'caip10_aggregate' + aggregate?: Maybe + nodes: Array +} + +/** aggregate fields of "caip10" */ +export type Caip10_Aggregate_Fields = { + __typename?: 'caip10_aggregate_fields' + avg?: Maybe + count: Scalars['Int']['output'] + max?: Maybe + min?: Maybe + stddev?: Maybe + stddev_pop?: Maybe + stddev_samp?: Maybe + sum?: Maybe + var_pop?: Maybe + var_samp?: Maybe + variance?: Maybe +} + +/** aggregate fields of "caip10" */ +export type Caip10_Aggregate_FieldsCountArgs = { + columns?: InputMaybe> + distinct?: InputMaybe +} + +/** aggregate avg on columns */ +export type Caip10_Avg_Fields = { + __typename?: 'caip10_avg_fields' + chain_id?: Maybe + id?: Maybe +} + +/** Boolean expression to filter rows from the table "caip10". All fields are combined with a logical 'AND'. */ +export type Caip10_Bool_Exp = { + _and?: InputMaybe> + _not?: InputMaybe + _or?: InputMaybe> + account_address?: InputMaybe + atom?: InputMaybe + chain_id?: InputMaybe + id?: InputMaybe + namespace?: InputMaybe +} + +/** aggregate max on columns */ +export type Caip10_Max_Fields = { + __typename?: 'caip10_max_fields' + account_address?: Maybe + chain_id?: Maybe + id?: Maybe + namespace?: Maybe +} + +/** aggregate min on columns */ +export type Caip10_Min_Fields = { + __typename?: 'caip10_min_fields' + account_address?: Maybe + chain_id?: Maybe + id?: Maybe + namespace?: Maybe +} + +/** Ordering options when selecting data from "caip10". */ +export type Caip10_Order_By = { + account_address?: InputMaybe + atom?: InputMaybe + chain_id?: InputMaybe + id?: InputMaybe + namespace?: InputMaybe +} + +/** select columns of table "caip10" */ +export type Caip10_Select_Column = + /** column name */ + | 'account_address' + /** column name */ + | 'chain_id' + /** column name */ + | 'id' + /** column name */ + | 'namespace' + +/** aggregate stddev on columns */ +export type Caip10_Stddev_Fields = { + __typename?: 'caip10_stddev_fields' + chain_id?: Maybe + id?: Maybe +} + +/** aggregate stddev_pop on columns */ +export type Caip10_Stddev_Pop_Fields = { + __typename?: 'caip10_stddev_pop_fields' + chain_id?: Maybe + id?: Maybe +} + +/** aggregate stddev_samp on columns */ +export type Caip10_Stddev_Samp_Fields = { + __typename?: 'caip10_stddev_samp_fields' + chain_id?: Maybe + id?: Maybe +} + +/** Streaming cursor of the table "caip10" */ +export type Caip10_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Caip10_Stream_Cursor_Value_Input + /** cursor ordering */ + ordering?: InputMaybe +} + +/** Initial value of the column from where the streaming should start */ +export type Caip10_Stream_Cursor_Value_Input = { + account_address?: InputMaybe + chain_id?: InputMaybe + id?: InputMaybe + namespace?: InputMaybe +} + +/** aggregate sum on columns */ +export type Caip10_Sum_Fields = { + __typename?: 'caip10_sum_fields' + chain_id?: Maybe + id?: Maybe +} + +/** aggregate var_pop on columns */ +export type Caip10_Var_Pop_Fields = { + __typename?: 'caip10_var_pop_fields' + chain_id?: Maybe + id?: Maybe +} + +/** aggregate var_samp on columns */ +export type Caip10_Var_Samp_Fields = { + __typename?: 'caip10_var_samp_fields' + chain_id?: Maybe + id?: Maybe +} + +/** aggregate variance on columns */ +export type Caip10_Variance_Fields = { + __typename?: 'caip10_variance_fields' + chain_id?: Maybe + id?: Maybe +} + +/** columns and relationships of "chainlink_price" */ +export type Chainlink_Prices = { + __typename?: 'chainlink_prices' + id: Scalars['numeric']['output'] + usd?: Maybe +} + +/** Boolean expression to filter rows from the table "chainlink_price". All fields are combined with a logical 'AND'. */ +export type Chainlink_Prices_Bool_Exp = { + _and?: InputMaybe> + _not?: InputMaybe + _or?: InputMaybe> + id?: InputMaybe + usd?: InputMaybe +} + +/** Ordering options when selecting data from "chainlink_price". */ +export type Chainlink_Prices_Order_By = { + id?: InputMaybe + usd?: InputMaybe +} + +/** select columns of table "chainlink_price" */ +export type Chainlink_Prices_Select_Column = + /** column name */ + | 'id' + /** column name */ + | 'usd' + +/** Streaming cursor of the table "chainlink_prices" */ +export type Chainlink_Prices_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Chainlink_Prices_Stream_Cursor_Value_Input + /** cursor ordering */ + ordering?: InputMaybe +} + +/** Initial value of the column from where the streaming should start */ +export type Chainlink_Prices_Stream_Cursor_Value_Input = { + id?: InputMaybe + usd?: InputMaybe +} + +/** ordering argument of a cursor */ +export type Cursor_Ordering = + /** ascending ordering of the cursor */ + | 'ASC' + /** descending ordering of the cursor */ + | 'DESC' + +/** columns and relationships of "deposit" */ +export type Deposits = { + __typename?: 'deposits' + block_number: Scalars['numeric']['output'] + created_at: Scalars['timestamptz']['output'] + curve_id: Scalars['numeric']['output'] + entry_fee: Scalars['numeric']['output'] + id: Scalars['String']['output'] + is_atom_wallet: Scalars['Boolean']['output'] + is_triple: Scalars['Boolean']['output'] + /** An object relationship */ + receiver: Accounts + receiver_id: Scalars['String']['output'] + receiver_total_shares_in_vault: Scalars['numeric']['output'] + /** An object relationship */ + sender?: Maybe + sender_assets_after_total_fees: Scalars['numeric']['output'] + sender_id: Scalars['String']['output'] + shares_for_receiver: Scalars['numeric']['output'] + /** An object relationship */ + term: Terms + term_id: Scalars['numeric']['output'] + transaction_hash: Scalars['String']['output'] + /** An object relationship */ + vault?: Maybe +} + +/** aggregated selection of "deposit" */ +export type Deposits_Aggregate = { + __typename?: 'deposits_aggregate' + aggregate?: Maybe + nodes: Array +} + +export type Deposits_Aggregate_Bool_Exp = { + bool_and?: InputMaybe + bool_or?: InputMaybe + count?: InputMaybe +} + +export type Deposits_Aggregate_Bool_Exp_Bool_And = { + arguments: Deposits_Select_Column_Deposits_Aggregate_Bool_Exp_Bool_And_Arguments_Columns + distinct?: InputMaybe + filter?: InputMaybe + predicate: Boolean_Comparison_Exp +} + +export type Deposits_Aggregate_Bool_Exp_Bool_Or = { + arguments: Deposits_Select_Column_Deposits_Aggregate_Bool_Exp_Bool_Or_Arguments_Columns + distinct?: InputMaybe + filter?: InputMaybe + predicate: Boolean_Comparison_Exp +} + +export type Deposits_Aggregate_Bool_Exp_Count = { + arguments?: InputMaybe> + distinct?: InputMaybe + filter?: InputMaybe + predicate: Int_Comparison_Exp +} + +/** aggregate fields of "deposit" */ +export type Deposits_Aggregate_Fields = { + __typename?: 'deposits_aggregate_fields' + avg?: Maybe + count: Scalars['Int']['output'] + max?: Maybe + min?: Maybe + stddev?: Maybe + stddev_pop?: Maybe + stddev_samp?: Maybe + sum?: Maybe + var_pop?: Maybe + var_samp?: Maybe + variance?: Maybe +} + +/** aggregate fields of "deposit" */ +export type Deposits_Aggregate_FieldsCountArgs = { + columns?: InputMaybe> + distinct?: InputMaybe +} + +/** order by aggregate values of table "deposit" */ +export type Deposits_Aggregate_Order_By = { + avg?: InputMaybe + count?: InputMaybe + max?: InputMaybe + min?: InputMaybe + stddev?: InputMaybe + stddev_pop?: InputMaybe + stddev_samp?: InputMaybe + sum?: InputMaybe + var_pop?: InputMaybe + var_samp?: InputMaybe + variance?: InputMaybe +} + +/** aggregate avg on columns */ +export type Deposits_Avg_Fields = { + __typename?: 'deposits_avg_fields' + block_number?: Maybe + curve_id?: Maybe + entry_fee?: Maybe + receiver_total_shares_in_vault?: Maybe + sender_assets_after_total_fees?: Maybe + shares_for_receiver?: Maybe + term_id?: Maybe +} + +/** order by avg() on columns of table "deposit" */ +export type Deposits_Avg_Order_By = { + block_number?: InputMaybe + curve_id?: InputMaybe + entry_fee?: InputMaybe + receiver_total_shares_in_vault?: InputMaybe + sender_assets_after_total_fees?: InputMaybe + shares_for_receiver?: InputMaybe + term_id?: InputMaybe +} + +/** Boolean expression to filter rows from the table "deposit". All fields are combined with a logical 'AND'. */ +export type Deposits_Bool_Exp = { + _and?: InputMaybe> + _not?: InputMaybe + _or?: InputMaybe> + block_number?: InputMaybe + created_at?: InputMaybe + curve_id?: InputMaybe + entry_fee?: InputMaybe + id?: InputMaybe + is_atom_wallet?: InputMaybe + is_triple?: InputMaybe + receiver?: InputMaybe + receiver_id?: InputMaybe + receiver_total_shares_in_vault?: InputMaybe + sender?: InputMaybe + sender_assets_after_total_fees?: InputMaybe + sender_id?: InputMaybe + shares_for_receiver?: InputMaybe + term?: InputMaybe + term_id?: InputMaybe + transaction_hash?: InputMaybe + vault?: InputMaybe +} + +/** aggregate max on columns */ +export type Deposits_Max_Fields = { + __typename?: 'deposits_max_fields' + block_number?: Maybe + created_at?: Maybe + curve_id?: Maybe + entry_fee?: Maybe + id?: Maybe + receiver_id?: Maybe + receiver_total_shares_in_vault?: Maybe + sender_assets_after_total_fees?: Maybe + sender_id?: Maybe + shares_for_receiver?: Maybe + term_id?: Maybe + transaction_hash?: Maybe +} + +/** order by max() on columns of table "deposit" */ +export type Deposits_Max_Order_By = { + block_number?: InputMaybe + created_at?: InputMaybe + curve_id?: InputMaybe + entry_fee?: InputMaybe + id?: InputMaybe + receiver_id?: InputMaybe + receiver_total_shares_in_vault?: InputMaybe + sender_assets_after_total_fees?: InputMaybe + sender_id?: InputMaybe + shares_for_receiver?: InputMaybe + term_id?: InputMaybe + transaction_hash?: InputMaybe +} + +/** aggregate min on columns */ +export type Deposits_Min_Fields = { + __typename?: 'deposits_min_fields' + block_number?: Maybe + created_at?: Maybe + curve_id?: Maybe + entry_fee?: Maybe + id?: Maybe + receiver_id?: Maybe + receiver_total_shares_in_vault?: Maybe + sender_assets_after_total_fees?: Maybe + sender_id?: Maybe + shares_for_receiver?: Maybe + term_id?: Maybe + transaction_hash?: Maybe +} + +/** order by min() on columns of table "deposit" */ +export type Deposits_Min_Order_By = { + block_number?: InputMaybe + created_at?: InputMaybe + curve_id?: InputMaybe + entry_fee?: InputMaybe + id?: InputMaybe + receiver_id?: InputMaybe + receiver_total_shares_in_vault?: InputMaybe + sender_assets_after_total_fees?: InputMaybe + sender_id?: InputMaybe + shares_for_receiver?: InputMaybe + term_id?: InputMaybe + transaction_hash?: InputMaybe +} + +/** Ordering options when selecting data from "deposit". */ +export type Deposits_Order_By = { + block_number?: InputMaybe + created_at?: InputMaybe + curve_id?: InputMaybe + entry_fee?: InputMaybe + id?: InputMaybe + is_atom_wallet?: InputMaybe + is_triple?: InputMaybe + receiver?: InputMaybe + receiver_id?: InputMaybe + receiver_total_shares_in_vault?: InputMaybe + sender?: InputMaybe + sender_assets_after_total_fees?: InputMaybe + sender_id?: InputMaybe + shares_for_receiver?: InputMaybe + term?: InputMaybe + term_id?: InputMaybe + transaction_hash?: InputMaybe + vault?: InputMaybe +} + +/** select columns of table "deposit" */ +export type Deposits_Select_Column = + /** column name */ + | 'block_number' + /** column name */ + | 'created_at' + /** column name */ + | 'curve_id' + /** column name */ + | 'entry_fee' + /** column name */ + | 'id' + /** column name */ + | 'is_atom_wallet' + /** column name */ + | 'is_triple' + /** column name */ + | 'receiver_id' + /** column name */ + | 'receiver_total_shares_in_vault' + /** column name */ + | 'sender_assets_after_total_fees' + /** column name */ + | 'sender_id' + /** column name */ + | 'shares_for_receiver' + /** column name */ + | 'term_id' + /** column name */ + | 'transaction_hash' + +/** select "deposits_aggregate_bool_exp_bool_and_arguments_columns" columns of table "deposit" */ +export type Deposits_Select_Column_Deposits_Aggregate_Bool_Exp_Bool_And_Arguments_Columns = + /** column name */ + | 'is_atom_wallet' + /** column name */ + | 'is_triple' + +/** select "deposits_aggregate_bool_exp_bool_or_arguments_columns" columns of table "deposit" */ +export type Deposits_Select_Column_Deposits_Aggregate_Bool_Exp_Bool_Or_Arguments_Columns = + /** column name */ + | 'is_atom_wallet' + /** column name */ + | 'is_triple' + +/** aggregate stddev on columns */ +export type Deposits_Stddev_Fields = { + __typename?: 'deposits_stddev_fields' + block_number?: Maybe + curve_id?: Maybe + entry_fee?: Maybe + receiver_total_shares_in_vault?: Maybe + sender_assets_after_total_fees?: Maybe + shares_for_receiver?: Maybe + term_id?: Maybe +} + +/** order by stddev() on columns of table "deposit" */ +export type Deposits_Stddev_Order_By = { + block_number?: InputMaybe + curve_id?: InputMaybe + entry_fee?: InputMaybe + receiver_total_shares_in_vault?: InputMaybe + sender_assets_after_total_fees?: InputMaybe + shares_for_receiver?: InputMaybe + term_id?: InputMaybe +} + +/** aggregate stddev_pop on columns */ +export type Deposits_Stddev_Pop_Fields = { + __typename?: 'deposits_stddev_pop_fields' + block_number?: Maybe + curve_id?: Maybe + entry_fee?: Maybe + receiver_total_shares_in_vault?: Maybe + sender_assets_after_total_fees?: Maybe + shares_for_receiver?: Maybe + term_id?: Maybe +} + +/** order by stddev_pop() on columns of table "deposit" */ +export type Deposits_Stddev_Pop_Order_By = { + block_number?: InputMaybe + curve_id?: InputMaybe + entry_fee?: InputMaybe + receiver_total_shares_in_vault?: InputMaybe + sender_assets_after_total_fees?: InputMaybe + shares_for_receiver?: InputMaybe + term_id?: InputMaybe +} + +/** aggregate stddev_samp on columns */ +export type Deposits_Stddev_Samp_Fields = { + __typename?: 'deposits_stddev_samp_fields' + block_number?: Maybe + curve_id?: Maybe + entry_fee?: Maybe + receiver_total_shares_in_vault?: Maybe + sender_assets_after_total_fees?: Maybe + shares_for_receiver?: Maybe + term_id?: Maybe +} + +/** order by stddev_samp() on columns of table "deposit" */ +export type Deposits_Stddev_Samp_Order_By = { + block_number?: InputMaybe + curve_id?: InputMaybe + entry_fee?: InputMaybe + receiver_total_shares_in_vault?: InputMaybe + sender_assets_after_total_fees?: InputMaybe + shares_for_receiver?: InputMaybe + term_id?: InputMaybe +} + +/** Streaming cursor of the table "deposits" */ +export type Deposits_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Deposits_Stream_Cursor_Value_Input + /** cursor ordering */ + ordering?: InputMaybe +} + +/** Initial value of the column from where the streaming should start */ +export type Deposits_Stream_Cursor_Value_Input = { + block_number?: InputMaybe + created_at?: InputMaybe + curve_id?: InputMaybe + entry_fee?: InputMaybe + id?: InputMaybe + is_atom_wallet?: InputMaybe + is_triple?: InputMaybe + receiver_id?: InputMaybe + receiver_total_shares_in_vault?: InputMaybe + sender_assets_after_total_fees?: InputMaybe + sender_id?: InputMaybe + shares_for_receiver?: InputMaybe + term_id?: InputMaybe + transaction_hash?: InputMaybe +} + +/** aggregate sum on columns */ +export type Deposits_Sum_Fields = { + __typename?: 'deposits_sum_fields' + block_number?: Maybe + curve_id?: Maybe + entry_fee?: Maybe + receiver_total_shares_in_vault?: Maybe + sender_assets_after_total_fees?: Maybe + shares_for_receiver?: Maybe + term_id?: Maybe +} + +/** order by sum() on columns of table "deposit" */ +export type Deposits_Sum_Order_By = { + block_number?: InputMaybe + curve_id?: InputMaybe + entry_fee?: InputMaybe + receiver_total_shares_in_vault?: InputMaybe + sender_assets_after_total_fees?: InputMaybe + shares_for_receiver?: InputMaybe + term_id?: InputMaybe +} + +/** aggregate var_pop on columns */ +export type Deposits_Var_Pop_Fields = { + __typename?: 'deposits_var_pop_fields' + block_number?: Maybe + curve_id?: Maybe + entry_fee?: Maybe + receiver_total_shares_in_vault?: Maybe + sender_assets_after_total_fees?: Maybe + shares_for_receiver?: Maybe + term_id?: Maybe +} + +/** order by var_pop() on columns of table "deposit" */ +export type Deposits_Var_Pop_Order_By = { + block_number?: InputMaybe + curve_id?: InputMaybe + entry_fee?: InputMaybe + receiver_total_shares_in_vault?: InputMaybe + sender_assets_after_total_fees?: InputMaybe + shares_for_receiver?: InputMaybe + term_id?: InputMaybe +} + +/** aggregate var_samp on columns */ +export type Deposits_Var_Samp_Fields = { + __typename?: 'deposits_var_samp_fields' + block_number?: Maybe + curve_id?: Maybe + entry_fee?: Maybe + receiver_total_shares_in_vault?: Maybe + sender_assets_after_total_fees?: Maybe + shares_for_receiver?: Maybe + term_id?: Maybe +} + +/** order by var_samp() on columns of table "deposit" */ +export type Deposits_Var_Samp_Order_By = { + block_number?: InputMaybe + curve_id?: InputMaybe + entry_fee?: InputMaybe + receiver_total_shares_in_vault?: InputMaybe + sender_assets_after_total_fees?: InputMaybe + shares_for_receiver?: InputMaybe + term_id?: InputMaybe +} + +/** aggregate variance on columns */ +export type Deposits_Variance_Fields = { + __typename?: 'deposits_variance_fields' + block_number?: Maybe + curve_id?: Maybe + entry_fee?: Maybe + receiver_total_shares_in_vault?: Maybe + sender_assets_after_total_fees?: Maybe + shares_for_receiver?: Maybe + term_id?: Maybe +} + +/** order by variance() on columns of table "deposit" */ +export type Deposits_Variance_Order_By = { + block_number?: InputMaybe + curve_id?: InputMaybe + entry_fee?: InputMaybe + receiver_total_shares_in_vault?: InputMaybe + sender_assets_after_total_fees?: InputMaybe + shares_for_receiver?: InputMaybe + term_id?: InputMaybe +} + +/** Boolean expression to compare columns of type "event_type". All fields are combined with logical 'AND'. */ +export type Event_Type_Comparison_Exp = { + _eq?: InputMaybe + _gt?: InputMaybe + _gte?: InputMaybe + _in?: InputMaybe> + _is_null?: InputMaybe + _lt?: InputMaybe + _lte?: InputMaybe + _neq?: InputMaybe + _nin?: InputMaybe> +} + +/** columns and relationships of "event" */ +export type Events = { + __typename?: 'events' + /** An object relationship */ + atom?: Maybe + atom_id?: Maybe + block_number: Scalars['numeric']['output'] + created_at: Scalars['timestamptz']['output'] + /** An object relationship */ + deposit?: Maybe + deposit_id?: Maybe + /** An object relationship */ + fee_transfer?: Maybe + fee_transfer_id?: Maybe + id: Scalars['String']['output'] + /** An object relationship */ + redemption?: Maybe + redemption_id?: Maybe + transaction_hash: Scalars['String']['output'] + /** An object relationship */ + triple?: Maybe + triple_id?: Maybe + type: Scalars['event_type']['output'] +} + +/** aggregated selection of "event" */ +export type Events_Aggregate = { + __typename?: 'events_aggregate' + aggregate?: Maybe + nodes: Array +} + +/** aggregate fields of "event" */ +export type Events_Aggregate_Fields = { + __typename?: 'events_aggregate_fields' + avg?: Maybe + count: Scalars['Int']['output'] + max?: Maybe + min?: Maybe + stddev?: Maybe + stddev_pop?: Maybe + stddev_samp?: Maybe + sum?: Maybe + var_pop?: Maybe + var_samp?: Maybe + variance?: Maybe +} + +/** aggregate fields of "event" */ +export type Events_Aggregate_FieldsCountArgs = { + columns?: InputMaybe> + distinct?: InputMaybe +} + +/** aggregate avg on columns */ +export type Events_Avg_Fields = { + __typename?: 'events_avg_fields' + atom_id?: Maybe + block_number?: Maybe + triple_id?: Maybe +} + +/** Boolean expression to filter rows from the table "event". All fields are combined with a logical 'AND'. */ +export type Events_Bool_Exp = { + _and?: InputMaybe> + _not?: InputMaybe + _or?: InputMaybe> + atom?: InputMaybe + atom_id?: InputMaybe + block_number?: InputMaybe + created_at?: InputMaybe + deposit?: InputMaybe + deposit_id?: InputMaybe + fee_transfer?: InputMaybe + fee_transfer_id?: InputMaybe + id?: InputMaybe + redemption?: InputMaybe + redemption_id?: InputMaybe + transaction_hash?: InputMaybe + triple?: InputMaybe + triple_id?: InputMaybe + type?: InputMaybe +} + +/** aggregate max on columns */ +export type Events_Max_Fields = { + __typename?: 'events_max_fields' + atom_id?: Maybe + block_number?: Maybe + created_at?: Maybe + deposit_id?: Maybe + fee_transfer_id?: Maybe + id?: Maybe + redemption_id?: Maybe + transaction_hash?: Maybe + triple_id?: Maybe + type?: Maybe +} + +/** aggregate min on columns */ +export type Events_Min_Fields = { + __typename?: 'events_min_fields' + atom_id?: Maybe + block_number?: Maybe + created_at?: Maybe + deposit_id?: Maybe + fee_transfer_id?: Maybe + id?: Maybe + redemption_id?: Maybe + transaction_hash?: Maybe + triple_id?: Maybe + type?: Maybe +} + +/** Ordering options when selecting data from "event". */ +export type Events_Order_By = { + atom?: InputMaybe + atom_id?: InputMaybe + block_number?: InputMaybe + created_at?: InputMaybe + deposit?: InputMaybe + deposit_id?: InputMaybe + fee_transfer?: InputMaybe + fee_transfer_id?: InputMaybe + id?: InputMaybe + redemption?: InputMaybe + redemption_id?: InputMaybe + transaction_hash?: InputMaybe + triple?: InputMaybe + triple_id?: InputMaybe + type?: InputMaybe +} + +/** select columns of table "event" */ +export type Events_Select_Column = + /** column name */ + | 'atom_id' + /** column name */ + | 'block_number' + /** column name */ + | 'created_at' + /** column name */ + | 'deposit_id' + /** column name */ + | 'fee_transfer_id' + /** column name */ + | 'id' + /** column name */ + | 'redemption_id' + /** column name */ + | 'transaction_hash' + /** column name */ + | 'triple_id' + /** column name */ + | 'type' + +/** aggregate stddev on columns */ +export type Events_Stddev_Fields = { + __typename?: 'events_stddev_fields' + atom_id?: Maybe + block_number?: Maybe + triple_id?: Maybe +} + +/** aggregate stddev_pop on columns */ +export type Events_Stddev_Pop_Fields = { + __typename?: 'events_stddev_pop_fields' + atom_id?: Maybe + block_number?: Maybe + triple_id?: Maybe +} + +/** aggregate stddev_samp on columns */ +export type Events_Stddev_Samp_Fields = { + __typename?: 'events_stddev_samp_fields' + atom_id?: Maybe + block_number?: Maybe + triple_id?: Maybe +} + +/** Streaming cursor of the table "events" */ +export type Events_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Events_Stream_Cursor_Value_Input + /** cursor ordering */ + ordering?: InputMaybe +} + +/** Initial value of the column from where the streaming should start */ +export type Events_Stream_Cursor_Value_Input = { + atom_id?: InputMaybe + block_number?: InputMaybe + created_at?: InputMaybe + deposit_id?: InputMaybe + fee_transfer_id?: InputMaybe + id?: InputMaybe + redemption_id?: InputMaybe + transaction_hash?: InputMaybe + triple_id?: InputMaybe + type?: InputMaybe +} + +/** aggregate sum on columns */ +export type Events_Sum_Fields = { + __typename?: 'events_sum_fields' + atom_id?: Maybe + block_number?: Maybe + triple_id?: Maybe +} + +/** aggregate var_pop on columns */ +export type Events_Var_Pop_Fields = { + __typename?: 'events_var_pop_fields' + atom_id?: Maybe + block_number?: Maybe + triple_id?: Maybe +} + +/** aggregate var_samp on columns */ +export type Events_Var_Samp_Fields = { + __typename?: 'events_var_samp_fields' + atom_id?: Maybe + block_number?: Maybe + triple_id?: Maybe +} + +/** aggregate variance on columns */ +export type Events_Variance_Fields = { + __typename?: 'events_variance_fields' + atom_id?: Maybe + block_number?: Maybe + triple_id?: Maybe +} + +/** columns and relationships of "fee_transfer" */ +export type Fee_Transfers = { + __typename?: 'fee_transfers' + amount: Scalars['numeric']['output'] + block_number: Scalars['numeric']['output'] + created_at: Scalars['timestamptz']['output'] + id: Scalars['String']['output'] + /** An object relationship */ + receiver: Accounts + receiver_id: Scalars['String']['output'] + /** An object relationship */ + sender?: Maybe + sender_id: Scalars['String']['output'] + transaction_hash: Scalars['String']['output'] +} + +/** aggregated selection of "fee_transfer" */ +export type Fee_Transfers_Aggregate = { + __typename?: 'fee_transfers_aggregate' + aggregate?: Maybe + nodes: Array +} + +export type Fee_Transfers_Aggregate_Bool_Exp = { + count?: InputMaybe +} + +export type Fee_Transfers_Aggregate_Bool_Exp_Count = { + arguments?: InputMaybe> + distinct?: InputMaybe + filter?: InputMaybe + predicate: Int_Comparison_Exp +} + +/** aggregate fields of "fee_transfer" */ +export type Fee_Transfers_Aggregate_Fields = { + __typename?: 'fee_transfers_aggregate_fields' + avg?: Maybe + count: Scalars['Int']['output'] + max?: Maybe + min?: Maybe + stddev?: Maybe + stddev_pop?: Maybe + stddev_samp?: Maybe + sum?: Maybe + var_pop?: Maybe + var_samp?: Maybe + variance?: Maybe +} + +/** aggregate fields of "fee_transfer" */ +export type Fee_Transfers_Aggregate_FieldsCountArgs = { + columns?: InputMaybe> + distinct?: InputMaybe +} + +/** order by aggregate values of table "fee_transfer" */ +export type Fee_Transfers_Aggregate_Order_By = { + avg?: InputMaybe + count?: InputMaybe + max?: InputMaybe + min?: InputMaybe + stddev?: InputMaybe + stddev_pop?: InputMaybe + stddev_samp?: InputMaybe + sum?: InputMaybe + var_pop?: InputMaybe + var_samp?: InputMaybe + variance?: InputMaybe +} + +/** aggregate avg on columns */ +export type Fee_Transfers_Avg_Fields = { + __typename?: 'fee_transfers_avg_fields' + amount?: Maybe + block_number?: Maybe +} + +/** order by avg() on columns of table "fee_transfer" */ +export type Fee_Transfers_Avg_Order_By = { + amount?: InputMaybe + block_number?: InputMaybe +} + +/** Boolean expression to filter rows from the table "fee_transfer". All fields are combined with a logical 'AND'. */ +export type Fee_Transfers_Bool_Exp = { + _and?: InputMaybe> + _not?: InputMaybe + _or?: InputMaybe> + amount?: InputMaybe + block_number?: InputMaybe + created_at?: InputMaybe + id?: InputMaybe + receiver?: InputMaybe + receiver_id?: InputMaybe + sender?: InputMaybe + sender_id?: InputMaybe + transaction_hash?: InputMaybe +} + +/** aggregate max on columns */ +export type Fee_Transfers_Max_Fields = { + __typename?: 'fee_transfers_max_fields' + amount?: Maybe + block_number?: Maybe + created_at?: Maybe + id?: Maybe + receiver_id?: Maybe + sender_id?: Maybe + transaction_hash?: Maybe +} + +/** order by max() on columns of table "fee_transfer" */ +export type Fee_Transfers_Max_Order_By = { + amount?: InputMaybe + block_number?: InputMaybe + created_at?: InputMaybe + id?: InputMaybe + receiver_id?: InputMaybe + sender_id?: InputMaybe + transaction_hash?: InputMaybe +} + +/** aggregate min on columns */ +export type Fee_Transfers_Min_Fields = { + __typename?: 'fee_transfers_min_fields' + amount?: Maybe + block_number?: Maybe + created_at?: Maybe + id?: Maybe + receiver_id?: Maybe + sender_id?: Maybe + transaction_hash?: Maybe +} + +/** order by min() on columns of table "fee_transfer" */ +export type Fee_Transfers_Min_Order_By = { + amount?: InputMaybe + block_number?: InputMaybe + created_at?: InputMaybe + id?: InputMaybe + receiver_id?: InputMaybe + sender_id?: InputMaybe + transaction_hash?: InputMaybe +} + +/** Ordering options when selecting data from "fee_transfer". */ +export type Fee_Transfers_Order_By = { + amount?: InputMaybe + block_number?: InputMaybe + created_at?: InputMaybe + id?: InputMaybe + receiver?: InputMaybe + receiver_id?: InputMaybe + sender?: InputMaybe + sender_id?: InputMaybe + transaction_hash?: InputMaybe +} + +/** select columns of table "fee_transfer" */ +export type Fee_Transfers_Select_Column = + /** column name */ + | 'amount' + /** column name */ + | 'block_number' + /** column name */ + | 'created_at' + /** column name */ + | 'id' + /** column name */ + | 'receiver_id' + /** column name */ + | 'sender_id' + /** column name */ + | 'transaction_hash' + +/** aggregate stddev on columns */ +export type Fee_Transfers_Stddev_Fields = { + __typename?: 'fee_transfers_stddev_fields' + amount?: Maybe + block_number?: Maybe +} + +/** order by stddev() on columns of table "fee_transfer" */ +export type Fee_Transfers_Stddev_Order_By = { + amount?: InputMaybe + block_number?: InputMaybe +} + +/** aggregate stddev_pop on columns */ +export type Fee_Transfers_Stddev_Pop_Fields = { + __typename?: 'fee_transfers_stddev_pop_fields' + amount?: Maybe + block_number?: Maybe +} + +/** order by stddev_pop() on columns of table "fee_transfer" */ +export type Fee_Transfers_Stddev_Pop_Order_By = { + amount?: InputMaybe + block_number?: InputMaybe +} + +/** aggregate stddev_samp on columns */ +export type Fee_Transfers_Stddev_Samp_Fields = { + __typename?: 'fee_transfers_stddev_samp_fields' + amount?: Maybe + block_number?: Maybe +} + +/** order by stddev_samp() on columns of table "fee_transfer" */ +export type Fee_Transfers_Stddev_Samp_Order_By = { + amount?: InputMaybe + block_number?: InputMaybe +} + +/** Streaming cursor of the table "fee_transfers" */ +export type Fee_Transfers_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Fee_Transfers_Stream_Cursor_Value_Input + /** cursor ordering */ + ordering?: InputMaybe +} + +/** Initial value of the column from where the streaming should start */ +export type Fee_Transfers_Stream_Cursor_Value_Input = { + amount?: InputMaybe + block_number?: InputMaybe + created_at?: InputMaybe + id?: InputMaybe + receiver_id?: InputMaybe + sender_id?: InputMaybe + transaction_hash?: InputMaybe +} + +/** aggregate sum on columns */ +export type Fee_Transfers_Sum_Fields = { + __typename?: 'fee_transfers_sum_fields' + amount?: Maybe + block_number?: Maybe +} + +/** order by sum() on columns of table "fee_transfer" */ +export type Fee_Transfers_Sum_Order_By = { + amount?: InputMaybe + block_number?: InputMaybe +} + +/** aggregate var_pop on columns */ +export type Fee_Transfers_Var_Pop_Fields = { + __typename?: 'fee_transfers_var_pop_fields' + amount?: Maybe + block_number?: Maybe +} + +/** order by var_pop() on columns of table "fee_transfer" */ +export type Fee_Transfers_Var_Pop_Order_By = { + amount?: InputMaybe + block_number?: InputMaybe +} + +/** aggregate var_samp on columns */ +export type Fee_Transfers_Var_Samp_Fields = { + __typename?: 'fee_transfers_var_samp_fields' + amount?: Maybe + block_number?: Maybe +} + +/** order by var_samp() on columns of table "fee_transfer" */ +export type Fee_Transfers_Var_Samp_Order_By = { + amount?: InputMaybe + block_number?: InputMaybe +} + +/** aggregate variance on columns */ +export type Fee_Transfers_Variance_Fields = { + __typename?: 'fee_transfers_variance_fields' + amount?: Maybe + block_number?: Maybe +} + +/** order by variance() on columns of table "fee_transfer" */ +export type Fee_Transfers_Variance_Order_By = { + amount?: InputMaybe + block_number?: InputMaybe +} + +/** Boolean expression to compare columns of type "float8". All fields are combined with logical 'AND'. */ +export type Float8_Comparison_Exp = { + _eq?: InputMaybe + _gt?: InputMaybe + _gte?: InputMaybe + _in?: InputMaybe> + _is_null?: InputMaybe + _lt?: InputMaybe + _lte?: InputMaybe + _neq?: InputMaybe + _nin?: InputMaybe> +} + +export type Following_Args = { + address?: InputMaybe +} + +/** columns and relationships of "json_object" */ +export type Json_Objects = { + __typename?: 'json_objects' + /** An object relationship */ + atom?: Maybe + data: Scalars['jsonb']['output'] + id: Scalars['numeric']['output'] +} + +/** columns and relationships of "json_object" */ +export type Json_ObjectsDataArgs = { + path?: InputMaybe +} + +/** aggregated selection of "json_object" */ +export type Json_Objects_Aggregate = { + __typename?: 'json_objects_aggregate' + aggregate?: Maybe + nodes: Array +} + +/** aggregate fields of "json_object" */ +export type Json_Objects_Aggregate_Fields = { + __typename?: 'json_objects_aggregate_fields' + avg?: Maybe + count: Scalars['Int']['output'] + max?: Maybe + min?: Maybe + stddev?: Maybe + stddev_pop?: Maybe + stddev_samp?: Maybe + sum?: Maybe + var_pop?: Maybe + var_samp?: Maybe + variance?: Maybe +} + +/** aggregate fields of "json_object" */ +export type Json_Objects_Aggregate_FieldsCountArgs = { + columns?: InputMaybe> + distinct?: InputMaybe +} + +/** aggregate avg on columns */ +export type Json_Objects_Avg_Fields = { + __typename?: 'json_objects_avg_fields' + id?: Maybe +} + +/** Boolean expression to filter rows from the table "json_object". All fields are combined with a logical 'AND'. */ +export type Json_Objects_Bool_Exp = { + _and?: InputMaybe> + _not?: InputMaybe + _or?: InputMaybe> + atom?: InputMaybe + data?: InputMaybe + id?: InputMaybe +} + +/** aggregate max on columns */ +export type Json_Objects_Max_Fields = { + __typename?: 'json_objects_max_fields' + id?: Maybe +} + +/** aggregate min on columns */ +export type Json_Objects_Min_Fields = { + __typename?: 'json_objects_min_fields' + id?: Maybe +} + +/** Ordering options when selecting data from "json_object". */ +export type Json_Objects_Order_By = { + atom?: InputMaybe + data?: InputMaybe + id?: InputMaybe +} + +/** select columns of table "json_object" */ +export type Json_Objects_Select_Column = + /** column name */ + | 'data' + /** column name */ + | 'id' + +/** aggregate stddev on columns */ +export type Json_Objects_Stddev_Fields = { + __typename?: 'json_objects_stddev_fields' + id?: Maybe +} + +/** aggregate stddev_pop on columns */ +export type Json_Objects_Stddev_Pop_Fields = { + __typename?: 'json_objects_stddev_pop_fields' + id?: Maybe +} + +/** aggregate stddev_samp on columns */ +export type Json_Objects_Stddev_Samp_Fields = { + __typename?: 'json_objects_stddev_samp_fields' + id?: Maybe +} + +/** Streaming cursor of the table "json_objects" */ +export type Json_Objects_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Json_Objects_Stream_Cursor_Value_Input + /** cursor ordering */ + ordering?: InputMaybe +} + +/** Initial value of the column from where the streaming should start */ +export type Json_Objects_Stream_Cursor_Value_Input = { + data?: InputMaybe + id?: InputMaybe +} + +/** aggregate sum on columns */ +export type Json_Objects_Sum_Fields = { + __typename?: 'json_objects_sum_fields' + id?: Maybe +} + +/** aggregate var_pop on columns */ +export type Json_Objects_Var_Pop_Fields = { + __typename?: 'json_objects_var_pop_fields' + id?: Maybe +} + +/** aggregate var_samp on columns */ +export type Json_Objects_Var_Samp_Fields = { + __typename?: 'json_objects_var_samp_fields' + id?: Maybe +} + +/** aggregate variance on columns */ +export type Json_Objects_Variance_Fields = { + __typename?: 'json_objects_variance_fields' + id?: Maybe +} + +export type Jsonb_Cast_Exp = { + String?: InputMaybe +} + +/** Boolean expression to compare columns of type "jsonb". All fields are combined with logical 'AND'. */ +export type Jsonb_Comparison_Exp = { + _cast?: InputMaybe + /** is the column contained in the given json value */ + _contained_in?: InputMaybe + /** does the column contain the given json value at the top level */ + _contains?: InputMaybe + _eq?: InputMaybe + _gt?: InputMaybe + _gte?: InputMaybe + /** does the string exist as a top-level key in the column */ + _has_key?: InputMaybe + /** do all of these strings exist as top-level keys in the column */ + _has_keys_all?: InputMaybe> + /** do any of these strings exist as top-level keys in the column */ + _has_keys_any?: InputMaybe> + _in?: InputMaybe> + _is_null?: InputMaybe + _lt?: InputMaybe + _lte?: InputMaybe + _neq?: InputMaybe + _nin?: InputMaybe> +} + +/** mutation root */ +export type Mutation_Root = { + __typename?: 'mutation_root' + /** Uploads and pins Organization to IPFS */ + pinOrganization?: Maybe + /** Uploads and pins Person to IPFS */ + pinPerson?: Maybe + /** Uploads and pins Thing to IPFS */ + pinThing?: Maybe +} + +/** mutation root */ +export type Mutation_RootPinOrganizationArgs = { + organization: PinOrganizationInput +} + +/** mutation root */ +export type Mutation_RootPinPersonArgs = { + person: PinPersonInput +} + +/** mutation root */ +export type Mutation_RootPinThingArgs = { + thing: PinThingInput +} + +/** Boolean expression to compare columns of type "numeric". All fields are combined with logical 'AND'. */ +export type Numeric_Comparison_Exp = { + _eq?: InputMaybe + _gt?: InputMaybe + _gte?: InputMaybe + _in?: InputMaybe> + _is_null?: InputMaybe + _lt?: InputMaybe + _lte?: InputMaybe + _neq?: InputMaybe + _nin?: InputMaybe> +} + +/** column ordering options */ +export type Order_By = + /** in ascending order, nulls last */ + | 'asc' + /** in ascending order, nulls first */ + | 'asc_nulls_first' + /** in ascending order, nulls last */ + | 'asc_nulls_last' + /** in descending order, nulls first */ + | 'desc' + /** in descending order, nulls first */ + | 'desc_nulls_first' + /** in descending order, nulls last */ + | 'desc_nulls_last' + +/** columns and relationships of "organization" */ +export type Organizations = { + __typename?: 'organizations' + /** An object relationship */ + atom?: Maybe + description?: Maybe + email?: Maybe + id: Scalars['numeric']['output'] + image?: Maybe + name?: Maybe + url?: Maybe +} + +/** aggregated selection of "organization" */ +export type Organizations_Aggregate = { + __typename?: 'organizations_aggregate' + aggregate?: Maybe + nodes: Array +} + +/** aggregate fields of "organization" */ +export type Organizations_Aggregate_Fields = { + __typename?: 'organizations_aggregate_fields' + avg?: Maybe + count: Scalars['Int']['output'] + max?: Maybe + min?: Maybe + stddev?: Maybe + stddev_pop?: Maybe + stddev_samp?: Maybe + sum?: Maybe + var_pop?: Maybe + var_samp?: Maybe + variance?: Maybe +} + +/** aggregate fields of "organization" */ +export type Organizations_Aggregate_FieldsCountArgs = { + columns?: InputMaybe> + distinct?: InputMaybe +} + +/** aggregate avg on columns */ +export type Organizations_Avg_Fields = { + __typename?: 'organizations_avg_fields' + id?: Maybe +} + +/** Boolean expression to filter rows from the table "organization". All fields are combined with a logical 'AND'. */ +export type Organizations_Bool_Exp = { + _and?: InputMaybe> + _not?: InputMaybe + _or?: InputMaybe> + atom?: InputMaybe + description?: InputMaybe + email?: InputMaybe + id?: InputMaybe + image?: InputMaybe + name?: InputMaybe + url?: InputMaybe +} + +/** aggregate max on columns */ +export type Organizations_Max_Fields = { + __typename?: 'organizations_max_fields' + description?: Maybe + email?: Maybe + id?: Maybe + image?: Maybe + name?: Maybe + url?: Maybe +} + +/** aggregate min on columns */ +export type Organizations_Min_Fields = { + __typename?: 'organizations_min_fields' + description?: Maybe + email?: Maybe + id?: Maybe + image?: Maybe + name?: Maybe + url?: Maybe +} + +/** Ordering options when selecting data from "organization". */ +export type Organizations_Order_By = { + atom?: InputMaybe + description?: InputMaybe + email?: InputMaybe + id?: InputMaybe + image?: InputMaybe + name?: InputMaybe + url?: InputMaybe +} + +/** select columns of table "organization" */ +export type Organizations_Select_Column = + /** column name */ + | 'description' + /** column name */ + | 'email' + /** column name */ + | 'id' + /** column name */ + | 'image' + /** column name */ + | 'name' + /** column name */ + | 'url' + +/** aggregate stddev on columns */ +export type Organizations_Stddev_Fields = { + __typename?: 'organizations_stddev_fields' + id?: Maybe +} + +/** aggregate stddev_pop on columns */ +export type Organizations_Stddev_Pop_Fields = { + __typename?: 'organizations_stddev_pop_fields' + id?: Maybe +} + +/** aggregate stddev_samp on columns */ +export type Organizations_Stddev_Samp_Fields = { + __typename?: 'organizations_stddev_samp_fields' + id?: Maybe +} + +/** Streaming cursor of the table "organizations" */ +export type Organizations_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Organizations_Stream_Cursor_Value_Input + /** cursor ordering */ + ordering?: InputMaybe +} + +/** Initial value of the column from where the streaming should start */ +export type Organizations_Stream_Cursor_Value_Input = { + description?: InputMaybe + email?: InputMaybe + id?: InputMaybe + image?: InputMaybe + name?: InputMaybe + url?: InputMaybe +} + +/** aggregate sum on columns */ +export type Organizations_Sum_Fields = { + __typename?: 'organizations_sum_fields' + id?: Maybe +} + +/** aggregate var_pop on columns */ +export type Organizations_Var_Pop_Fields = { + __typename?: 'organizations_var_pop_fields' + id?: Maybe +} + +/** aggregate var_samp on columns */ +export type Organizations_Var_Samp_Fields = { + __typename?: 'organizations_var_samp_fields' + id?: Maybe +} + +/** aggregate variance on columns */ +export type Organizations_Variance_Fields = { + __typename?: 'organizations_variance_fields' + id?: Maybe +} + +/** columns and relationships of "person" */ +export type Persons = { + __typename?: 'persons' + /** An object relationship */ + atom?: Maybe + cached_image?: Maybe + description?: Maybe + email?: Maybe + id: Scalars['numeric']['output'] + identifier?: Maybe + image?: Maybe + name?: Maybe + url?: Maybe +} + +/** aggregated selection of "person" */ +export type Persons_Aggregate = { + __typename?: 'persons_aggregate' + aggregate?: Maybe + nodes: Array +} + +/** aggregate fields of "person" */ +export type Persons_Aggregate_Fields = { + __typename?: 'persons_aggregate_fields' + avg?: Maybe + count: Scalars['Int']['output'] + max?: Maybe + min?: Maybe + stddev?: Maybe + stddev_pop?: Maybe + stddev_samp?: Maybe + sum?: Maybe + var_pop?: Maybe + var_samp?: Maybe + variance?: Maybe +} + +/** aggregate fields of "person" */ +export type Persons_Aggregate_FieldsCountArgs = { + columns?: InputMaybe> + distinct?: InputMaybe +} + +/** aggregate avg on columns */ +export type Persons_Avg_Fields = { + __typename?: 'persons_avg_fields' + id?: Maybe +} + +/** Boolean expression to filter rows from the table "person". All fields are combined with a logical 'AND'. */ +export type Persons_Bool_Exp = { + _and?: InputMaybe> + _not?: InputMaybe + _or?: InputMaybe> + atom?: InputMaybe + description?: InputMaybe + email?: InputMaybe + id?: InputMaybe + identifier?: InputMaybe + image?: InputMaybe + name?: InputMaybe + url?: InputMaybe +} + +/** aggregate max on columns */ +export type Persons_Max_Fields = { + __typename?: 'persons_max_fields' + description?: Maybe + email?: Maybe + id?: Maybe + identifier?: Maybe + image?: Maybe + name?: Maybe + url?: Maybe +} + +/** aggregate min on columns */ +export type Persons_Min_Fields = { + __typename?: 'persons_min_fields' + description?: Maybe + email?: Maybe + id?: Maybe + identifier?: Maybe + image?: Maybe + name?: Maybe + url?: Maybe +} + +/** Ordering options when selecting data from "person". */ +export type Persons_Order_By = { + atom?: InputMaybe + description?: InputMaybe + email?: InputMaybe + id?: InputMaybe + identifier?: InputMaybe + image?: InputMaybe + name?: InputMaybe + url?: InputMaybe +} + +/** select columns of table "person" */ +export type Persons_Select_Column = + /** column name */ + | 'description' + /** column name */ + | 'email' + /** column name */ + | 'id' + /** column name */ + | 'identifier' + /** column name */ + | 'image' + /** column name */ + | 'name' + /** column name */ + | 'url' + +/** aggregate stddev on columns */ +export type Persons_Stddev_Fields = { + __typename?: 'persons_stddev_fields' + id?: Maybe +} + +/** aggregate stddev_pop on columns */ +export type Persons_Stddev_Pop_Fields = { + __typename?: 'persons_stddev_pop_fields' + id?: Maybe +} + +/** aggregate stddev_samp on columns */ +export type Persons_Stddev_Samp_Fields = { + __typename?: 'persons_stddev_samp_fields' + id?: Maybe +} + +/** Streaming cursor of the table "persons" */ +export type Persons_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Persons_Stream_Cursor_Value_Input + /** cursor ordering */ + ordering?: InputMaybe +} + +/** Initial value of the column from where the streaming should start */ +export type Persons_Stream_Cursor_Value_Input = { + description?: InputMaybe + email?: InputMaybe + id?: InputMaybe + identifier?: InputMaybe + image?: InputMaybe + name?: InputMaybe + url?: InputMaybe +} + +/** aggregate sum on columns */ +export type Persons_Sum_Fields = { + __typename?: 'persons_sum_fields' + id?: Maybe +} + +/** aggregate var_pop on columns */ +export type Persons_Var_Pop_Fields = { + __typename?: 'persons_var_pop_fields' + id?: Maybe +} + +/** aggregate var_samp on columns */ +export type Persons_Var_Samp_Fields = { + __typename?: 'persons_var_samp_fields' + id?: Maybe +} + +/** aggregate variance on columns */ +export type Persons_Variance_Fields = { + __typename?: 'persons_variance_fields' + id?: Maybe +} + +/** columns and relationships of "position" */ +export type Positions = { + __typename?: 'positions' + /** An object relationship */ + account?: Maybe + account_id: Scalars['String']['output'] + created_at: Scalars['timestamptz']['output'] + curve_id: Scalars['numeric']['output'] + id: Scalars['String']['output'] + shares: Scalars['numeric']['output'] + /** An object relationship */ + term: Terms + term_id: Scalars['numeric']['output'] + updated_at: Scalars['timestamptz']['output'] + /** An object relationship */ + vault?: Maybe +} + +/** aggregated selection of "position" */ +export type Positions_Aggregate = { + __typename?: 'positions_aggregate' + aggregate?: Maybe + nodes: Array +} + +export type Positions_Aggregate_Bool_Exp = { + count?: InputMaybe +} + +export type Positions_Aggregate_Bool_Exp_Count = { + arguments?: InputMaybe> + distinct?: InputMaybe + filter?: InputMaybe + predicate: Int_Comparison_Exp +} + +/** aggregate fields of "position" */ +export type Positions_Aggregate_Fields = { + __typename?: 'positions_aggregate_fields' + avg?: Maybe + count: Scalars['Int']['output'] + max?: Maybe + min?: Maybe + stddev?: Maybe + stddev_pop?: Maybe + stddev_samp?: Maybe + sum?: Maybe + var_pop?: Maybe + var_samp?: Maybe + variance?: Maybe +} + +/** aggregate fields of "position" */ +export type Positions_Aggregate_FieldsCountArgs = { + columns?: InputMaybe> + distinct?: InputMaybe +} + +/** order by aggregate values of table "position" */ +export type Positions_Aggregate_Order_By = { + avg?: InputMaybe + count?: InputMaybe + max?: InputMaybe + min?: InputMaybe + stddev?: InputMaybe + stddev_pop?: InputMaybe + stddev_samp?: InputMaybe + sum?: InputMaybe + var_pop?: InputMaybe + var_samp?: InputMaybe + variance?: InputMaybe +} + +/** aggregate avg on columns */ +export type Positions_Avg_Fields = { + __typename?: 'positions_avg_fields' + curve_id?: Maybe + shares?: Maybe + term_id?: Maybe +} + +/** order by avg() on columns of table "position" */ +export type Positions_Avg_Order_By = { + curve_id?: InputMaybe + shares?: InputMaybe + term_id?: InputMaybe +} + +/** Boolean expression to filter rows from the table "position". All fields are combined with a logical 'AND'. */ +export type Positions_Bool_Exp = { + _and?: InputMaybe> + _not?: InputMaybe + _or?: InputMaybe> + account?: InputMaybe + account_id?: InputMaybe + created_at?: InputMaybe + curve_id?: InputMaybe + id?: InputMaybe + shares?: InputMaybe + term?: InputMaybe + term_id?: InputMaybe + updated_at?: InputMaybe + vault?: InputMaybe +} + +export type Positions_From_Following_Args = { + address?: InputMaybe +} + +/** aggregate max on columns */ +export type Positions_Max_Fields = { + __typename?: 'positions_max_fields' + account_id?: Maybe + created_at?: Maybe + curve_id?: Maybe + id?: Maybe + shares?: Maybe + term_id?: Maybe + updated_at?: Maybe +} + +/** order by max() on columns of table "position" */ +export type Positions_Max_Order_By = { + account_id?: InputMaybe + created_at?: InputMaybe + curve_id?: InputMaybe + id?: InputMaybe + shares?: InputMaybe + term_id?: InputMaybe + updated_at?: InputMaybe +} + +/** aggregate min on columns */ +export type Positions_Min_Fields = { + __typename?: 'positions_min_fields' + account_id?: Maybe + created_at?: Maybe + curve_id?: Maybe + id?: Maybe + shares?: Maybe + term_id?: Maybe + updated_at?: Maybe +} + +/** order by min() on columns of table "position" */ +export type Positions_Min_Order_By = { + account_id?: InputMaybe + created_at?: InputMaybe + curve_id?: InputMaybe + id?: InputMaybe + shares?: InputMaybe + term_id?: InputMaybe + updated_at?: InputMaybe +} + +/** Ordering options when selecting data from "position". */ +export type Positions_Order_By = { + account?: InputMaybe + account_id?: InputMaybe + created_at?: InputMaybe + curve_id?: InputMaybe + id?: InputMaybe + shares?: InputMaybe + term?: InputMaybe + term_id?: InputMaybe + updated_at?: InputMaybe + vault?: InputMaybe +} + +/** select columns of table "position" */ +export type Positions_Select_Column = + /** column name */ + | 'account_id' + /** column name */ + | 'created_at' + /** column name */ + | 'curve_id' + /** column name */ + | 'id' + /** column name */ + | 'shares' + /** column name */ + | 'term_id' + /** column name */ + | 'updated_at' + +/** aggregate stddev on columns */ +export type Positions_Stddev_Fields = { + __typename?: 'positions_stddev_fields' + curve_id?: Maybe + shares?: Maybe + term_id?: Maybe +} + +/** order by stddev() on columns of table "position" */ +export type Positions_Stddev_Order_By = { + curve_id?: InputMaybe + shares?: InputMaybe + term_id?: InputMaybe +} + +/** aggregate stddev_pop on columns */ +export type Positions_Stddev_Pop_Fields = { + __typename?: 'positions_stddev_pop_fields' + curve_id?: Maybe + shares?: Maybe + term_id?: Maybe +} + +/** order by stddev_pop() on columns of table "position" */ +export type Positions_Stddev_Pop_Order_By = { + curve_id?: InputMaybe + shares?: InputMaybe + term_id?: InputMaybe +} + +/** aggregate stddev_samp on columns */ +export type Positions_Stddev_Samp_Fields = { + __typename?: 'positions_stddev_samp_fields' + curve_id?: Maybe + shares?: Maybe + term_id?: Maybe +} + +/** order by stddev_samp() on columns of table "position" */ +export type Positions_Stddev_Samp_Order_By = { + curve_id?: InputMaybe + shares?: InputMaybe + term_id?: InputMaybe +} + +/** Streaming cursor of the table "positions" */ +export type Positions_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Positions_Stream_Cursor_Value_Input + /** cursor ordering */ + ordering?: InputMaybe +} + +/** Initial value of the column from where the streaming should start */ +export type Positions_Stream_Cursor_Value_Input = { + account_id?: InputMaybe + created_at?: InputMaybe + curve_id?: InputMaybe + id?: InputMaybe + shares?: InputMaybe + term_id?: InputMaybe + updated_at?: InputMaybe +} + +/** aggregate sum on columns */ +export type Positions_Sum_Fields = { + __typename?: 'positions_sum_fields' + curve_id?: Maybe + shares?: Maybe + term_id?: Maybe +} + +/** order by sum() on columns of table "position" */ +export type Positions_Sum_Order_By = { + curve_id?: InputMaybe + shares?: InputMaybe + term_id?: InputMaybe +} + +/** aggregate var_pop on columns */ +export type Positions_Var_Pop_Fields = { + __typename?: 'positions_var_pop_fields' + curve_id?: Maybe + shares?: Maybe + term_id?: Maybe +} + +/** order by var_pop() on columns of table "position" */ +export type Positions_Var_Pop_Order_By = { + curve_id?: InputMaybe + shares?: InputMaybe + term_id?: InputMaybe +} + +/** aggregate var_samp on columns */ +export type Positions_Var_Samp_Fields = { + __typename?: 'positions_var_samp_fields' + curve_id?: Maybe + shares?: Maybe + term_id?: Maybe +} + +/** order by var_samp() on columns of table "position" */ +export type Positions_Var_Samp_Order_By = { + curve_id?: InputMaybe + shares?: InputMaybe + term_id?: InputMaybe +} + +/** aggregate variance on columns */ +export type Positions_Variance_Fields = { + __typename?: 'positions_variance_fields' + curve_id?: Maybe + shares?: Maybe + term_id?: Maybe +} + +/** order by variance() on columns of table "position" */ +export type Positions_Variance_Order_By = { + curve_id?: InputMaybe + shares?: InputMaybe + term_id?: InputMaybe +} + +/** columns and relationships of "predicate_object" */ +export type Predicate_Objects = { + __typename?: 'predicate_objects' + id: Scalars['String']['output'] + /** An object relationship */ + object: Atoms + object_id: Scalars['numeric']['output'] + /** An object relationship */ + predicate: Atoms + predicate_id: Scalars['numeric']['output'] + triple_count: Scalars['Int']['output'] +} + +/** aggregated selection of "predicate_object" */ +export type Predicate_Objects_Aggregate = { + __typename?: 'predicate_objects_aggregate' + aggregate?: Maybe + nodes: Array +} + +export type Predicate_Objects_Aggregate_Bool_Exp = { + count?: InputMaybe +} + +export type Predicate_Objects_Aggregate_Bool_Exp_Count = { + arguments?: InputMaybe> + distinct?: InputMaybe + filter?: InputMaybe + predicate: Int_Comparison_Exp +} + +/** aggregate fields of "predicate_object" */ +export type Predicate_Objects_Aggregate_Fields = { + __typename?: 'predicate_objects_aggregate_fields' + avg?: Maybe + count: Scalars['Int']['output'] + max?: Maybe + min?: Maybe + stddev?: Maybe + stddev_pop?: Maybe + stddev_samp?: Maybe + sum?: Maybe + var_pop?: Maybe + var_samp?: Maybe + variance?: Maybe +} + +/** aggregate fields of "predicate_object" */ +export type Predicate_Objects_Aggregate_FieldsCountArgs = { + columns?: InputMaybe> + distinct?: InputMaybe +} + +/** order by aggregate values of table "predicate_object" */ +export type Predicate_Objects_Aggregate_Order_By = { + avg?: InputMaybe + count?: InputMaybe + max?: InputMaybe + min?: InputMaybe + stddev?: InputMaybe + stddev_pop?: InputMaybe + stddev_samp?: InputMaybe + sum?: InputMaybe + var_pop?: InputMaybe + var_samp?: InputMaybe + variance?: InputMaybe +} + +/** aggregate avg on columns */ +export type Predicate_Objects_Avg_Fields = { + __typename?: 'predicate_objects_avg_fields' + object_id?: Maybe + predicate_id?: Maybe + triple_count?: Maybe +} + +/** order by avg() on columns of table "predicate_object" */ +export type Predicate_Objects_Avg_Order_By = { + object_id?: InputMaybe + predicate_id?: InputMaybe + triple_count?: InputMaybe +} + +/** Boolean expression to filter rows from the table "predicate_object". All fields are combined with a logical 'AND'. */ +export type Predicate_Objects_Bool_Exp = { + _and?: InputMaybe> + _not?: InputMaybe + _or?: InputMaybe> + id?: InputMaybe + object?: InputMaybe + object_id?: InputMaybe + predicate?: InputMaybe + predicate_id?: InputMaybe + triple_count?: InputMaybe +} + +/** aggregate max on columns */ +export type Predicate_Objects_Max_Fields = { + __typename?: 'predicate_objects_max_fields' + id?: Maybe + object_id?: Maybe + predicate_id?: Maybe + triple_count?: Maybe +} + +/** order by max() on columns of table "predicate_object" */ +export type Predicate_Objects_Max_Order_By = { + id?: InputMaybe + object_id?: InputMaybe + predicate_id?: InputMaybe + triple_count?: InputMaybe +} + +/** aggregate min on columns */ +export type Predicate_Objects_Min_Fields = { + __typename?: 'predicate_objects_min_fields' + id?: Maybe + object_id?: Maybe + predicate_id?: Maybe + triple_count?: Maybe +} + +/** order by min() on columns of table "predicate_object" */ +export type Predicate_Objects_Min_Order_By = { + id?: InputMaybe + object_id?: InputMaybe + predicate_id?: InputMaybe + triple_count?: InputMaybe +} + +/** Ordering options when selecting data from "predicate_object". */ +export type Predicate_Objects_Order_By = { + id?: InputMaybe + object?: InputMaybe + object_id?: InputMaybe + predicate?: InputMaybe + predicate_id?: InputMaybe + triple_count?: InputMaybe +} + +/** select columns of table "predicate_object" */ +export type Predicate_Objects_Select_Column = + /** column name */ + | 'id' + /** column name */ + | 'object_id' + /** column name */ + | 'predicate_id' + /** column name */ + | 'triple_count' + +/** aggregate stddev on columns */ +export type Predicate_Objects_Stddev_Fields = { + __typename?: 'predicate_objects_stddev_fields' + object_id?: Maybe + predicate_id?: Maybe + triple_count?: Maybe +} + +/** order by stddev() on columns of table "predicate_object" */ +export type Predicate_Objects_Stddev_Order_By = { + object_id?: InputMaybe + predicate_id?: InputMaybe + triple_count?: InputMaybe +} + +/** aggregate stddev_pop on columns */ +export type Predicate_Objects_Stddev_Pop_Fields = { + __typename?: 'predicate_objects_stddev_pop_fields' + object_id?: Maybe + predicate_id?: Maybe + triple_count?: Maybe +} + +/** order by stddev_pop() on columns of table "predicate_object" */ +export type Predicate_Objects_Stddev_Pop_Order_By = { + object_id?: InputMaybe + predicate_id?: InputMaybe + triple_count?: InputMaybe +} + +/** aggregate stddev_samp on columns */ +export type Predicate_Objects_Stddev_Samp_Fields = { + __typename?: 'predicate_objects_stddev_samp_fields' + object_id?: Maybe + predicate_id?: Maybe + triple_count?: Maybe +} + +/** order by stddev_samp() on columns of table "predicate_object" */ +export type Predicate_Objects_Stddev_Samp_Order_By = { + object_id?: InputMaybe + predicate_id?: InputMaybe + triple_count?: InputMaybe +} + +/** Streaming cursor of the table "predicate_objects" */ +export type Predicate_Objects_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Predicate_Objects_Stream_Cursor_Value_Input + /** cursor ordering */ + ordering?: InputMaybe +} + +/** Initial value of the column from where the streaming should start */ +export type Predicate_Objects_Stream_Cursor_Value_Input = { + id?: InputMaybe + object_id?: InputMaybe + predicate_id?: InputMaybe + triple_count?: InputMaybe +} + +/** aggregate sum on columns */ +export type Predicate_Objects_Sum_Fields = { + __typename?: 'predicate_objects_sum_fields' + object_id?: Maybe + predicate_id?: Maybe + triple_count?: Maybe +} + +/** order by sum() on columns of table "predicate_object" */ +export type Predicate_Objects_Sum_Order_By = { + object_id?: InputMaybe + predicate_id?: InputMaybe + triple_count?: InputMaybe +} + +/** aggregate var_pop on columns */ +export type Predicate_Objects_Var_Pop_Fields = { + __typename?: 'predicate_objects_var_pop_fields' + object_id?: Maybe + predicate_id?: Maybe + triple_count?: Maybe +} + +/** order by var_pop() on columns of table "predicate_object" */ +export type Predicate_Objects_Var_Pop_Order_By = { + object_id?: InputMaybe + predicate_id?: InputMaybe + triple_count?: InputMaybe +} + +/** aggregate var_samp on columns */ +export type Predicate_Objects_Var_Samp_Fields = { + __typename?: 'predicate_objects_var_samp_fields' + object_id?: Maybe + predicate_id?: Maybe + triple_count?: Maybe +} + +/** order by var_samp() on columns of table "predicate_object" */ +export type Predicate_Objects_Var_Samp_Order_By = { + object_id?: InputMaybe + predicate_id?: InputMaybe + triple_count?: InputMaybe +} + +/** aggregate variance on columns */ +export type Predicate_Objects_Variance_Fields = { + __typename?: 'predicate_objects_variance_fields' + object_id?: Maybe + predicate_id?: Maybe + triple_count?: Maybe +} + +/** order by variance() on columns of table "predicate_object" */ +export type Predicate_Objects_Variance_Order_By = { + object_id?: InputMaybe + predicate_id?: InputMaybe + triple_count?: InputMaybe +} + +export type Query_Root = { + __typename?: 'query_root' + /** fetch data from the table: "account" using primary key columns */ + account?: Maybe + /** An array relationship */ + accounts: Array + /** An aggregate relationship */ + accounts_aggregate: Accounts_Aggregate + /** fetch data from the table: "atom" using primary key columns */ + atom?: Maybe + /** fetch data from the table: "atom_value" using primary key columns */ + atom_value?: Maybe + /** fetch data from the table: "atom_value" */ + atom_values: Array + /** fetch aggregated fields from the table: "atom_value" */ + atom_values_aggregate: Atom_Values_Aggregate + /** An array relationship */ + atoms: Array + /** An aggregate relationship */ + atoms_aggregate: Atoms_Aggregate + /** fetch data from the table: "book" using primary key columns */ + book?: Maybe + /** fetch data from the table: "book" */ + books: Array + /** fetch aggregated fields from the table: "book" */ + books_aggregate: Books_Aggregate + /** fetch data from the table: "byte_object" */ + byte_object: Array + /** fetch aggregated fields from the table: "byte_object" */ + byte_object_aggregate: Byte_Object_Aggregate + /** fetch data from the table: "byte_object" using primary key columns */ + byte_object_by_pk?: Maybe + /** fetch data from the table: "cached_images.cached_image" */ + cached_images_cached_image: Array + /** fetch data from the table: "cached_images.cached_image" using primary key columns */ + cached_images_cached_image_by_pk?: Maybe + /** fetch data from the table: "caip10" using primary key columns */ + caip10?: Maybe + /** fetch aggregated fields from the table: "caip10" */ + caip10_aggregate: Caip10_Aggregate + /** fetch data from the table: "caip10" */ + caip10s: Array + /** fetch data from the table: "chainlink_price" using primary key columns */ + chainlink_price?: Maybe + /** fetch data from the table: "chainlink_price" */ + chainlink_prices: Array + /** fetch data from the table: "deposit" using primary key columns */ + deposit?: Maybe + /** An array relationship */ + deposits: Array + /** An aggregate relationship */ + deposits_aggregate: Deposits_Aggregate + /** fetch data from the table: "event" using primary key columns */ + event?: Maybe + /** fetch data from the table: "event" */ + events: Array + /** fetch aggregated fields from the table: "event" */ + events_aggregate: Events_Aggregate + /** fetch data from the table: "fee_transfer" using primary key columns */ + fee_transfer?: Maybe + /** An array relationship */ + fee_transfers: Array + /** An aggregate relationship */ + fee_transfers_aggregate: Fee_Transfers_Aggregate + /** execute function "following" which returns "account" */ + following: Array + /** execute function "following" and query aggregates on result of table type "account" */ + following_aggregate: Accounts_Aggregate + /** fetch data from the table: "json_object" using primary key columns */ + json_object?: Maybe + /** fetch data from the table: "json_object" */ + json_objects: Array + /** fetch aggregated fields from the table: "json_object" */ + json_objects_aggregate: Json_Objects_Aggregate + /** fetch data from the table: "organization" using primary key columns */ + organization?: Maybe + /** fetch data from the table: "organization" */ + organizations: Array + /** fetch aggregated fields from the table: "organization" */ + organizations_aggregate: Organizations_Aggregate + /** fetch data from the table: "person" using primary key columns */ + person?: Maybe + /** fetch data from the table: "person" */ + persons: Array + /** fetch aggregated fields from the table: "person" */ + persons_aggregate: Persons_Aggregate + /** fetch data from the table: "position" using primary key columns */ + position?: Maybe + /** An array relationship */ + positions: Array + /** An aggregate relationship */ + positions_aggregate: Positions_Aggregate + /** execute function "positions_from_following" which returns "position" */ + positions_from_following: Array + /** execute function "positions_from_following" and query aggregates on result of table type "position" */ + positions_from_following_aggregate: Positions_Aggregate + /** fetch data from the table: "predicate_object" */ + predicate_objects: Array + /** fetch aggregated fields from the table: "predicate_object" */ + predicate_objects_aggregate: Predicate_Objects_Aggregate + /** fetch data from the table: "predicate_object" using primary key columns */ + predicate_objects_by_pk?: Maybe + /** fetch data from the table: "redemption" using primary key columns */ + redemption?: Maybe + /** An array relationship */ + redemptions: Array + /** An aggregate relationship */ + redemptions_aggregate: Redemptions_Aggregate + /** execute function "search_positions_on_subject" which returns "position" */ + search_positions_on_subject: Array + /** execute function "search_positions_on_subject" and query aggregates on result of table type "position" */ + search_positions_on_subject_aggregate: Positions_Aggregate + /** execute function "search_term" which returns "term" */ + search_term: Array + /** execute function "search_term" and query aggregates on result of table type "term" */ + search_term_aggregate: Terms_Aggregate + /** execute function "search_term_from_following" which returns "term" */ + search_term_from_following: Array + /** execute function "search_term_from_following" and query aggregates on result of table type "term" */ + search_term_from_following_aggregate: Terms_Aggregate + /** An array relationship */ + share_price_change_stats_daily: Array + /** An array relationship */ + share_price_change_stats_hourly: Array + /** An array relationship */ + share_price_change_stats_monthly: Array + /** An array relationship */ + share_price_change_stats_weekly: Array + /** An array relationship */ + share_price_changes: Array + /** An aggregate relationship */ + share_price_changes_aggregate: Share_Price_Changes_Aggregate + /** fetch data from the table: "signal_stats_daily" */ + signal_stats_daily: Array + /** fetch data from the table: "signal_stats_hourly" */ + signal_stats_hourly: Array + /** fetch data from the table: "signal_stats_monthly" */ + signal_stats_monthly: Array + /** fetch data from the table: "signal_stats_weekly" */ + signal_stats_weekly: Array + /** An array relationship */ + signals: Array + /** An aggregate relationship */ + signals_aggregate: Signals_Aggregate + /** execute function "signals_from_following" which returns "signal" */ + signals_from_following: Array + /** execute function "signals_from_following" and query aggregates on result of table type "signal" */ + signals_from_following_aggregate: Signals_Aggregate + /** fetch data from the table: "stats" using primary key columns */ + stat?: Maybe + /** fetch data from the table: "stats" */ + stats: Array + /** fetch aggregated fields from the table: "stats" */ + stats_aggregate: Stats_Aggregate + /** fetch data from the table: "term" using primary key columns */ + term?: Maybe + /** fetch data from the table: "term" */ + terms: Array + /** fetch aggregated fields from the table: "term" */ + terms_aggregate: Terms_Aggregate + /** fetch data from the table: "text_object" using primary key columns */ + text_object?: Maybe + /** fetch data from the table: "text_object" */ + text_objects: Array + /** fetch aggregated fields from the table: "text_object" */ + text_objects_aggregate: Text_Objects_Aggregate + /** fetch data from the table: "thing" using primary key columns */ + thing?: Maybe + /** fetch data from the table: "thing" */ + things: Array + /** fetch aggregated fields from the table: "thing" */ + things_aggregate: Things_Aggregate + /** fetch data from the table: "triple" using primary key columns */ + triple?: Maybe + /** fetch data from the table: "triple_term" using primary key columns */ + triple_term?: Maybe + /** fetch data from the table: "triple_term" */ + triple_terms: Array + /** fetch data from the table: "triple_vault" using primary key columns */ + triple_vault?: Maybe + /** fetch data from the table: "triple_vault" */ + triple_vaults: Array + /** An array relationship */ + triples: Array + /** An aggregate relationship */ + triples_aggregate: Triples_Aggregate + /** fetch data from the table: "vault" using primary key columns */ + vault?: Maybe + /** An array relationship */ + vaults: Array + /** An aggregate relationship */ + vaults_aggregate: Vaults_Aggregate +} + +export type Query_RootAccountArgs = { + id: Scalars['String']['input'] +} + +export type Query_RootAccountsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootAccounts_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootAtomArgs = { + term_id: Scalars['numeric']['input'] +} + +export type Query_RootAtom_ValueArgs = { + id: Scalars['numeric']['input'] +} + +export type Query_RootAtom_ValuesArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootAtom_Values_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootAtomsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootAtoms_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootBookArgs = { + id: Scalars['numeric']['input'] +} + +export type Query_RootBooksArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootBooks_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootByte_ObjectArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootByte_Object_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootByte_Object_By_PkArgs = { + id: Scalars['numeric']['input'] +} + +export type Query_RootCached_Images_Cached_ImageArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootCached_Images_Cached_Image_By_PkArgs = { + url: Scalars['String']['input'] +} + +export type Query_RootCaip10Args = { + id: Scalars['numeric']['input'] +} + +export type Query_RootCaip10_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootCaip10sArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootChainlink_PriceArgs = { + id: Scalars['numeric']['input'] +} + +export type Query_RootChainlink_PricesArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootDepositArgs = { + id: Scalars['String']['input'] +} + +export type Query_RootDepositsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootDeposits_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootEventArgs = { + id: Scalars['String']['input'] +} + +export type Query_RootEventsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootEvents_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootFee_TransferArgs = { + id: Scalars['String']['input'] +} + +export type Query_RootFee_TransfersArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootFee_Transfers_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootFollowingArgs = { + args: Following_Args + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootFollowing_AggregateArgs = { + args: Following_Args + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootJson_ObjectArgs = { + id: Scalars['numeric']['input'] +} + +export type Query_RootJson_ObjectsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootJson_Objects_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootOrganizationArgs = { + id: Scalars['numeric']['input'] +} + +export type Query_RootOrganizationsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootOrganizations_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootPersonArgs = { + id: Scalars['numeric']['input'] +} + +export type Query_RootPersonsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootPersons_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootPositionArgs = { + id: Scalars['String']['input'] +} + +export type Query_RootPositionsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootPositions_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootPositions_From_FollowingArgs = { + args: Positions_From_Following_Args + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootPositions_From_Following_AggregateArgs = { + args: Positions_From_Following_Args + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootPredicate_ObjectsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootPredicate_Objects_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootPredicate_Objects_By_PkArgs = { + id: Scalars['String']['input'] +} + +export type Query_RootRedemptionArgs = { + id: Scalars['String']['input'] +} + +export type Query_RootRedemptionsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootRedemptions_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootSearch_Positions_On_SubjectArgs = { + args: Search_Positions_On_Subject_Args + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootSearch_Positions_On_Subject_AggregateArgs = { + args: Search_Positions_On_Subject_Args + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootSearch_TermArgs = { + args: Search_Term_Args + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootSearch_Term_AggregateArgs = { + args: Search_Term_Args + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootSearch_Term_From_FollowingArgs = { + args: Search_Term_From_Following_Args + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootSearch_Term_From_Following_AggregateArgs = { + args: Search_Term_From_Following_Args + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootShare_Price_Change_Stats_DailyArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootShare_Price_Change_Stats_HourlyArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootShare_Price_Change_Stats_MonthlyArgs = { + distinct_on?: InputMaybe< + Array + > + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootShare_Price_Change_Stats_WeeklyArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootShare_Price_ChangesArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootShare_Price_Changes_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootSignal_Stats_DailyArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootSignal_Stats_HourlyArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootSignal_Stats_MonthlyArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootSignal_Stats_WeeklyArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootSignalsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootSignals_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootSignals_From_FollowingArgs = { + args: Signals_From_Following_Args + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootSignals_From_Following_AggregateArgs = { + args: Signals_From_Following_Args + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootStatArgs = { + id: Scalars['Int']['input'] +} + +export type Query_RootStatsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootStats_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootTermArgs = { + id: Scalars['numeric']['input'] +} + +export type Query_RootTermsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootTerms_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootText_ObjectArgs = { + id: Scalars['numeric']['input'] +} + +export type Query_RootText_ObjectsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootText_Objects_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootThingArgs = { + id: Scalars['numeric']['input'] +} + +export type Query_RootThingsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootThings_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootTripleArgs = { + term_id: Scalars['numeric']['input'] +} + +export type Query_RootTriple_TermArgs = { + term_id: Scalars['numeric']['input'] +} + +export type Query_RootTriple_TermsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootTriple_VaultArgs = { + curve_id: Scalars['numeric']['input'] + term_id: Scalars['numeric']['input'] +} + +export type Query_RootTriple_VaultsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootTriplesArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootTriples_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootVaultArgs = { + curve_id: Scalars['numeric']['input'] + term_id: Scalars['numeric']['input'] +} + +export type Query_RootVaultsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootVaults_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "redemption" */ +export type Redemptions = { + __typename?: 'redemptions' + assets_for_receiver: Scalars['numeric']['output'] + block_number: Scalars['numeric']['output'] + created_at: Scalars['timestamptz']['output'] + curve_id: Scalars['numeric']['output'] + exit_fee: Scalars['numeric']['output'] + id: Scalars['String']['output'] + /** An object relationship */ + receiver: Accounts + receiver_id: Scalars['String']['output'] + /** An object relationship */ + sender?: Maybe + sender_id: Scalars['String']['output'] + sender_total_shares_in_vault: Scalars['numeric']['output'] + shares_redeemed_by_sender: Scalars['numeric']['output'] + /** An object relationship */ + term: Terms + term_id: Scalars['numeric']['output'] + transaction_hash: Scalars['String']['output'] + /** An object relationship */ + vault?: Maybe +} + +/** aggregated selection of "redemption" */ +export type Redemptions_Aggregate = { + __typename?: 'redemptions_aggregate' + aggregate?: Maybe + nodes: Array +} + +export type Redemptions_Aggregate_Bool_Exp = { + count?: InputMaybe +} + +export type Redemptions_Aggregate_Bool_Exp_Count = { + arguments?: InputMaybe> + distinct?: InputMaybe + filter?: InputMaybe + predicate: Int_Comparison_Exp +} + +/** aggregate fields of "redemption" */ +export type Redemptions_Aggregate_Fields = { + __typename?: 'redemptions_aggregate_fields' + avg?: Maybe + count: Scalars['Int']['output'] + max?: Maybe + min?: Maybe + stddev?: Maybe + stddev_pop?: Maybe + stddev_samp?: Maybe + sum?: Maybe + var_pop?: Maybe + var_samp?: Maybe + variance?: Maybe +} + +/** aggregate fields of "redemption" */ +export type Redemptions_Aggregate_FieldsCountArgs = { + columns?: InputMaybe> + distinct?: InputMaybe +} + +/** order by aggregate values of table "redemption" */ +export type Redemptions_Aggregate_Order_By = { + avg?: InputMaybe + count?: InputMaybe + max?: InputMaybe + min?: InputMaybe + stddev?: InputMaybe + stddev_pop?: InputMaybe + stddev_samp?: InputMaybe + sum?: InputMaybe + var_pop?: InputMaybe + var_samp?: InputMaybe + variance?: InputMaybe +} + +/** aggregate avg on columns */ +export type Redemptions_Avg_Fields = { + __typename?: 'redemptions_avg_fields' + assets_for_receiver?: Maybe + block_number?: Maybe + curve_id?: Maybe + exit_fee?: Maybe + sender_total_shares_in_vault?: Maybe + shares_redeemed_by_sender?: Maybe + term_id?: Maybe +} + +/** order by avg() on columns of table "redemption" */ +export type Redemptions_Avg_Order_By = { + assets_for_receiver?: InputMaybe + block_number?: InputMaybe + curve_id?: InputMaybe + exit_fee?: InputMaybe + sender_total_shares_in_vault?: InputMaybe + shares_redeemed_by_sender?: InputMaybe + term_id?: InputMaybe +} + +/** Boolean expression to filter rows from the table "redemption". All fields are combined with a logical 'AND'. */ +export type Redemptions_Bool_Exp = { + _and?: InputMaybe> + _not?: InputMaybe + _or?: InputMaybe> + assets_for_receiver?: InputMaybe + block_number?: InputMaybe + created_at?: InputMaybe + curve_id?: InputMaybe + exit_fee?: InputMaybe + id?: InputMaybe + receiver?: InputMaybe + receiver_id?: InputMaybe + sender?: InputMaybe + sender_id?: InputMaybe + sender_total_shares_in_vault?: InputMaybe + shares_redeemed_by_sender?: InputMaybe + term?: InputMaybe + term_id?: InputMaybe + transaction_hash?: InputMaybe + vault?: InputMaybe +} + +/** aggregate max on columns */ +export type Redemptions_Max_Fields = { + __typename?: 'redemptions_max_fields' + assets_for_receiver?: Maybe + block_number?: Maybe + created_at?: Maybe + curve_id?: Maybe + exit_fee?: Maybe + id?: Maybe + receiver_id?: Maybe + sender_id?: Maybe + sender_total_shares_in_vault?: Maybe + shares_redeemed_by_sender?: Maybe + term_id?: Maybe + transaction_hash?: Maybe +} + +/** order by max() on columns of table "redemption" */ +export type Redemptions_Max_Order_By = { + assets_for_receiver?: InputMaybe + block_number?: InputMaybe + created_at?: InputMaybe + curve_id?: InputMaybe + exit_fee?: InputMaybe + id?: InputMaybe + receiver_id?: InputMaybe + sender_id?: InputMaybe + sender_total_shares_in_vault?: InputMaybe + shares_redeemed_by_sender?: InputMaybe + term_id?: InputMaybe + transaction_hash?: InputMaybe +} + +/** aggregate min on columns */ +export type Redemptions_Min_Fields = { + __typename?: 'redemptions_min_fields' + assets_for_receiver?: Maybe + block_number?: Maybe + created_at?: Maybe + curve_id?: Maybe + exit_fee?: Maybe + id?: Maybe + receiver_id?: Maybe + sender_id?: Maybe + sender_total_shares_in_vault?: Maybe + shares_redeemed_by_sender?: Maybe + term_id?: Maybe + transaction_hash?: Maybe +} + +/** order by min() on columns of table "redemption" */ +export type Redemptions_Min_Order_By = { + assets_for_receiver?: InputMaybe + block_number?: InputMaybe + created_at?: InputMaybe + curve_id?: InputMaybe + exit_fee?: InputMaybe + id?: InputMaybe + receiver_id?: InputMaybe + sender_id?: InputMaybe + sender_total_shares_in_vault?: InputMaybe + shares_redeemed_by_sender?: InputMaybe + term_id?: InputMaybe + transaction_hash?: InputMaybe +} + +/** Ordering options when selecting data from "redemption". */ +export type Redemptions_Order_By = { + assets_for_receiver?: InputMaybe + block_number?: InputMaybe + created_at?: InputMaybe + curve_id?: InputMaybe + exit_fee?: InputMaybe + id?: InputMaybe + receiver?: InputMaybe + receiver_id?: InputMaybe + sender?: InputMaybe + sender_id?: InputMaybe + sender_total_shares_in_vault?: InputMaybe + shares_redeemed_by_sender?: InputMaybe + term?: InputMaybe + term_id?: InputMaybe + transaction_hash?: InputMaybe + vault?: InputMaybe +} + +/** select columns of table "redemption" */ +export type Redemptions_Select_Column = + /** column name */ + | 'assets_for_receiver' + /** column name */ + | 'block_number' + /** column name */ + | 'created_at' + /** column name */ + | 'curve_id' + /** column name */ + | 'exit_fee' + /** column name */ + | 'id' + /** column name */ + | 'receiver_id' + /** column name */ + | 'sender_id' + /** column name */ + | 'sender_total_shares_in_vault' + /** column name */ + | 'shares_redeemed_by_sender' + /** column name */ + | 'term_id' + /** column name */ + | 'transaction_hash' + +/** aggregate stddev on columns */ +export type Redemptions_Stddev_Fields = { + __typename?: 'redemptions_stddev_fields' + assets_for_receiver?: Maybe + block_number?: Maybe + curve_id?: Maybe + exit_fee?: Maybe + sender_total_shares_in_vault?: Maybe + shares_redeemed_by_sender?: Maybe + term_id?: Maybe +} + +/** order by stddev() on columns of table "redemption" */ +export type Redemptions_Stddev_Order_By = { + assets_for_receiver?: InputMaybe + block_number?: InputMaybe + curve_id?: InputMaybe + exit_fee?: InputMaybe + sender_total_shares_in_vault?: InputMaybe + shares_redeemed_by_sender?: InputMaybe + term_id?: InputMaybe +} + +/** aggregate stddev_pop on columns */ +export type Redemptions_Stddev_Pop_Fields = { + __typename?: 'redemptions_stddev_pop_fields' + assets_for_receiver?: Maybe + block_number?: Maybe + curve_id?: Maybe + exit_fee?: Maybe + sender_total_shares_in_vault?: Maybe + shares_redeemed_by_sender?: Maybe + term_id?: Maybe +} + +/** order by stddev_pop() on columns of table "redemption" */ +export type Redemptions_Stddev_Pop_Order_By = { + assets_for_receiver?: InputMaybe + block_number?: InputMaybe + curve_id?: InputMaybe + exit_fee?: InputMaybe + sender_total_shares_in_vault?: InputMaybe + shares_redeemed_by_sender?: InputMaybe + term_id?: InputMaybe +} + +/** aggregate stddev_samp on columns */ +export type Redemptions_Stddev_Samp_Fields = { + __typename?: 'redemptions_stddev_samp_fields' + assets_for_receiver?: Maybe + block_number?: Maybe + curve_id?: Maybe + exit_fee?: Maybe + sender_total_shares_in_vault?: Maybe + shares_redeemed_by_sender?: Maybe + term_id?: Maybe +} + +/** order by stddev_samp() on columns of table "redemption" */ +export type Redemptions_Stddev_Samp_Order_By = { + assets_for_receiver?: InputMaybe + block_number?: InputMaybe + curve_id?: InputMaybe + exit_fee?: InputMaybe + sender_total_shares_in_vault?: InputMaybe + shares_redeemed_by_sender?: InputMaybe + term_id?: InputMaybe +} + +/** Streaming cursor of the table "redemptions" */ +export type Redemptions_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Redemptions_Stream_Cursor_Value_Input + /** cursor ordering */ + ordering?: InputMaybe +} + +/** Initial value of the column from where the streaming should start */ +export type Redemptions_Stream_Cursor_Value_Input = { + assets_for_receiver?: InputMaybe + block_number?: InputMaybe + created_at?: InputMaybe + curve_id?: InputMaybe + exit_fee?: InputMaybe + id?: InputMaybe + receiver_id?: InputMaybe + sender_id?: InputMaybe + sender_total_shares_in_vault?: InputMaybe + shares_redeemed_by_sender?: InputMaybe + term_id?: InputMaybe + transaction_hash?: InputMaybe +} + +/** aggregate sum on columns */ +export type Redemptions_Sum_Fields = { + __typename?: 'redemptions_sum_fields' + assets_for_receiver?: Maybe + block_number?: Maybe + curve_id?: Maybe + exit_fee?: Maybe + sender_total_shares_in_vault?: Maybe + shares_redeemed_by_sender?: Maybe + term_id?: Maybe +} + +/** order by sum() on columns of table "redemption" */ +export type Redemptions_Sum_Order_By = { + assets_for_receiver?: InputMaybe + block_number?: InputMaybe + curve_id?: InputMaybe + exit_fee?: InputMaybe + sender_total_shares_in_vault?: InputMaybe + shares_redeemed_by_sender?: InputMaybe + term_id?: InputMaybe +} + +/** aggregate var_pop on columns */ +export type Redemptions_Var_Pop_Fields = { + __typename?: 'redemptions_var_pop_fields' + assets_for_receiver?: Maybe + block_number?: Maybe + curve_id?: Maybe + exit_fee?: Maybe + sender_total_shares_in_vault?: Maybe + shares_redeemed_by_sender?: Maybe + term_id?: Maybe +} + +/** order by var_pop() on columns of table "redemption" */ +export type Redemptions_Var_Pop_Order_By = { + assets_for_receiver?: InputMaybe + block_number?: InputMaybe + curve_id?: InputMaybe + exit_fee?: InputMaybe + sender_total_shares_in_vault?: InputMaybe + shares_redeemed_by_sender?: InputMaybe + term_id?: InputMaybe +} + +/** aggregate var_samp on columns */ +export type Redemptions_Var_Samp_Fields = { + __typename?: 'redemptions_var_samp_fields' + assets_for_receiver?: Maybe + block_number?: Maybe + curve_id?: Maybe + exit_fee?: Maybe + sender_total_shares_in_vault?: Maybe + shares_redeemed_by_sender?: Maybe + term_id?: Maybe +} + +/** order by var_samp() on columns of table "redemption" */ +export type Redemptions_Var_Samp_Order_By = { + assets_for_receiver?: InputMaybe + block_number?: InputMaybe + curve_id?: InputMaybe + exit_fee?: InputMaybe + sender_total_shares_in_vault?: InputMaybe + shares_redeemed_by_sender?: InputMaybe + term_id?: InputMaybe +} + +/** aggregate variance on columns */ +export type Redemptions_Variance_Fields = { + __typename?: 'redemptions_variance_fields' + assets_for_receiver?: Maybe + block_number?: Maybe + curve_id?: Maybe + exit_fee?: Maybe + sender_total_shares_in_vault?: Maybe + shares_redeemed_by_sender?: Maybe + term_id?: Maybe +} + +/** order by variance() on columns of table "redemption" */ +export type Redemptions_Variance_Order_By = { + assets_for_receiver?: InputMaybe + block_number?: InputMaybe + curve_id?: InputMaybe + exit_fee?: InputMaybe + sender_total_shares_in_vault?: InputMaybe + shares_redeemed_by_sender?: InputMaybe + term_id?: InputMaybe +} + +export type Search_Positions_On_Subject_Args = { + addresses?: InputMaybe + search_fields?: InputMaybe +} + +export type Search_Term_Args = { + query?: InputMaybe +} + +export type Search_Term_From_Following_Args = { + address?: InputMaybe + query?: InputMaybe +} + +/** columns and relationships of "share_price_change_stats_daily" */ +export type Share_Price_Change_Stats_Daily = { + __typename?: 'share_price_change_stats_daily' + bucket?: Maybe + change_count?: Maybe + curve_id?: Maybe + difference?: Maybe + first_share_price?: Maybe + last_share_price?: Maybe + /** An object relationship */ + term?: Maybe + term_id?: Maybe +} + +/** order by aggregate values of table "share_price_change_stats_daily" */ +export type Share_Price_Change_Stats_Daily_Aggregate_Order_By = { + avg?: InputMaybe + count?: InputMaybe + max?: InputMaybe + min?: InputMaybe + stddev?: InputMaybe + stddev_pop?: InputMaybe + stddev_samp?: InputMaybe + sum?: InputMaybe + var_pop?: InputMaybe + var_samp?: InputMaybe + variance?: InputMaybe +} + +/** order by avg() on columns of table "share_price_change_stats_daily" */ +export type Share_Price_Change_Stats_Daily_Avg_Order_By = { + change_count?: InputMaybe + curve_id?: InputMaybe + difference?: InputMaybe + first_share_price?: InputMaybe + last_share_price?: InputMaybe + term_id?: InputMaybe +} + +/** Boolean expression to filter rows from the table "share_price_change_stats_daily". All fields are combined with a logical 'AND'. */ +export type Share_Price_Change_Stats_Daily_Bool_Exp = { + _and?: InputMaybe> + _not?: InputMaybe + _or?: InputMaybe> + bucket?: InputMaybe + change_count?: InputMaybe + curve_id?: InputMaybe + difference?: InputMaybe + first_share_price?: InputMaybe + last_share_price?: InputMaybe + term?: InputMaybe + term_id?: InputMaybe +} + +/** order by max() on columns of table "share_price_change_stats_daily" */ +export type Share_Price_Change_Stats_Daily_Max_Order_By = { + bucket?: InputMaybe + change_count?: InputMaybe + curve_id?: InputMaybe + difference?: InputMaybe + first_share_price?: InputMaybe + last_share_price?: InputMaybe + term_id?: InputMaybe +} + +/** order by min() on columns of table "share_price_change_stats_daily" */ +export type Share_Price_Change_Stats_Daily_Min_Order_By = { + bucket?: InputMaybe + change_count?: InputMaybe + curve_id?: InputMaybe + difference?: InputMaybe + first_share_price?: InputMaybe + last_share_price?: InputMaybe + term_id?: InputMaybe +} + +/** Ordering options when selecting data from "share_price_change_stats_daily". */ +export type Share_Price_Change_Stats_Daily_Order_By = { + bucket?: InputMaybe + change_count?: InputMaybe + curve_id?: InputMaybe + difference?: InputMaybe + first_share_price?: InputMaybe + last_share_price?: InputMaybe + term?: InputMaybe + term_id?: InputMaybe +} + +/** select columns of table "share_price_change_stats_daily" */ +export type Share_Price_Change_Stats_Daily_Select_Column = + /** column name */ + | 'bucket' + /** column name */ + | 'change_count' + /** column name */ + | 'curve_id' + /** column name */ + | 'difference' + /** column name */ + | 'first_share_price' + /** column name */ + | 'last_share_price' + /** column name */ + | 'term_id' + +/** order by stddev() on columns of table "share_price_change_stats_daily" */ +export type Share_Price_Change_Stats_Daily_Stddev_Order_By = { + change_count?: InputMaybe + curve_id?: InputMaybe + difference?: InputMaybe + first_share_price?: InputMaybe + last_share_price?: InputMaybe + term_id?: InputMaybe +} + +/** order by stddev_pop() on columns of table "share_price_change_stats_daily" */ +export type Share_Price_Change_Stats_Daily_Stddev_Pop_Order_By = { + change_count?: InputMaybe + curve_id?: InputMaybe + difference?: InputMaybe + first_share_price?: InputMaybe + last_share_price?: InputMaybe + term_id?: InputMaybe +} + +/** order by stddev_samp() on columns of table "share_price_change_stats_daily" */ +export type Share_Price_Change_Stats_Daily_Stddev_Samp_Order_By = { + change_count?: InputMaybe + curve_id?: InputMaybe + difference?: InputMaybe + first_share_price?: InputMaybe + last_share_price?: InputMaybe + term_id?: InputMaybe +} + +/** Streaming cursor of the table "share_price_change_stats_daily" */ +export type Share_Price_Change_Stats_Daily_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Share_Price_Change_Stats_Daily_Stream_Cursor_Value_Input + /** cursor ordering */ + ordering?: InputMaybe +} + +/** Initial value of the column from where the streaming should start */ +export type Share_Price_Change_Stats_Daily_Stream_Cursor_Value_Input = { + bucket?: InputMaybe + change_count?: InputMaybe + curve_id?: InputMaybe + difference?: InputMaybe + first_share_price?: InputMaybe + last_share_price?: InputMaybe + term_id?: InputMaybe +} + +/** order by sum() on columns of table "share_price_change_stats_daily" */ +export type Share_Price_Change_Stats_Daily_Sum_Order_By = { + change_count?: InputMaybe + curve_id?: InputMaybe + difference?: InputMaybe + first_share_price?: InputMaybe + last_share_price?: InputMaybe + term_id?: InputMaybe +} + +/** order by var_pop() on columns of table "share_price_change_stats_daily" */ +export type Share_Price_Change_Stats_Daily_Var_Pop_Order_By = { + change_count?: InputMaybe + curve_id?: InputMaybe + difference?: InputMaybe + first_share_price?: InputMaybe + last_share_price?: InputMaybe + term_id?: InputMaybe +} + +/** order by var_samp() on columns of table "share_price_change_stats_daily" */ +export type Share_Price_Change_Stats_Daily_Var_Samp_Order_By = { + change_count?: InputMaybe + curve_id?: InputMaybe + difference?: InputMaybe + first_share_price?: InputMaybe + last_share_price?: InputMaybe + term_id?: InputMaybe +} + +/** order by variance() on columns of table "share_price_change_stats_daily" */ +export type Share_Price_Change_Stats_Daily_Variance_Order_By = { + change_count?: InputMaybe + curve_id?: InputMaybe + difference?: InputMaybe + first_share_price?: InputMaybe + last_share_price?: InputMaybe + term_id?: InputMaybe +} + +/** columns and relationships of "share_price_change_stats_hourly" */ +export type Share_Price_Change_Stats_Hourly = { + __typename?: 'share_price_change_stats_hourly' + bucket?: Maybe + change_count?: Maybe + curve_id?: Maybe + difference?: Maybe + first_share_price?: Maybe + last_share_price?: Maybe + /** An object relationship */ + term?: Maybe + term_id?: Maybe +} + +/** order by aggregate values of table "share_price_change_stats_hourly" */ +export type Share_Price_Change_Stats_Hourly_Aggregate_Order_By = { + avg?: InputMaybe + count?: InputMaybe + max?: InputMaybe + min?: InputMaybe + stddev?: InputMaybe + stddev_pop?: InputMaybe + stddev_samp?: InputMaybe + sum?: InputMaybe + var_pop?: InputMaybe + var_samp?: InputMaybe + variance?: InputMaybe +} + +/** order by avg() on columns of table "share_price_change_stats_hourly" */ +export type Share_Price_Change_Stats_Hourly_Avg_Order_By = { + change_count?: InputMaybe + curve_id?: InputMaybe + difference?: InputMaybe + first_share_price?: InputMaybe + last_share_price?: InputMaybe + term_id?: InputMaybe +} + +/** Boolean expression to filter rows from the table "share_price_change_stats_hourly". All fields are combined with a logical 'AND'. */ +export type Share_Price_Change_Stats_Hourly_Bool_Exp = { + _and?: InputMaybe> + _not?: InputMaybe + _or?: InputMaybe> + bucket?: InputMaybe + change_count?: InputMaybe + curve_id?: InputMaybe + difference?: InputMaybe + first_share_price?: InputMaybe + last_share_price?: InputMaybe + term?: InputMaybe + term_id?: InputMaybe +} + +/** order by max() on columns of table "share_price_change_stats_hourly" */ +export type Share_Price_Change_Stats_Hourly_Max_Order_By = { + bucket?: InputMaybe + change_count?: InputMaybe + curve_id?: InputMaybe + difference?: InputMaybe + first_share_price?: InputMaybe + last_share_price?: InputMaybe + term_id?: InputMaybe +} + +/** order by min() on columns of table "share_price_change_stats_hourly" */ +export type Share_Price_Change_Stats_Hourly_Min_Order_By = { + bucket?: InputMaybe + change_count?: InputMaybe + curve_id?: InputMaybe + difference?: InputMaybe + first_share_price?: InputMaybe + last_share_price?: InputMaybe + term_id?: InputMaybe +} + +/** Ordering options when selecting data from "share_price_change_stats_hourly". */ +export type Share_Price_Change_Stats_Hourly_Order_By = { + bucket?: InputMaybe + change_count?: InputMaybe + curve_id?: InputMaybe + difference?: InputMaybe + first_share_price?: InputMaybe + last_share_price?: InputMaybe + term?: InputMaybe + term_id?: InputMaybe +} + +/** select columns of table "share_price_change_stats_hourly" */ +export type Share_Price_Change_Stats_Hourly_Select_Column = + /** column name */ + | 'bucket' + /** column name */ + | 'change_count' + /** column name */ + | 'curve_id' + /** column name */ + | 'difference' + /** column name */ + | 'first_share_price' + /** column name */ + | 'last_share_price' + /** column name */ + | 'term_id' + +/** order by stddev() on columns of table "share_price_change_stats_hourly" */ +export type Share_Price_Change_Stats_Hourly_Stddev_Order_By = { + change_count?: InputMaybe + curve_id?: InputMaybe + difference?: InputMaybe + first_share_price?: InputMaybe + last_share_price?: InputMaybe + term_id?: InputMaybe +} + +/** order by stddev_pop() on columns of table "share_price_change_stats_hourly" */ +export type Share_Price_Change_Stats_Hourly_Stddev_Pop_Order_By = { + change_count?: InputMaybe + curve_id?: InputMaybe + difference?: InputMaybe + first_share_price?: InputMaybe + last_share_price?: InputMaybe + term_id?: InputMaybe +} + +/** order by stddev_samp() on columns of table "share_price_change_stats_hourly" */ +export type Share_Price_Change_Stats_Hourly_Stddev_Samp_Order_By = { + change_count?: InputMaybe + curve_id?: InputMaybe + difference?: InputMaybe + first_share_price?: InputMaybe + last_share_price?: InputMaybe + term_id?: InputMaybe +} + +/** Streaming cursor of the table "share_price_change_stats_hourly" */ +export type Share_Price_Change_Stats_Hourly_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Share_Price_Change_Stats_Hourly_Stream_Cursor_Value_Input + /** cursor ordering */ + ordering?: InputMaybe +} + +/** Initial value of the column from where the streaming should start */ +export type Share_Price_Change_Stats_Hourly_Stream_Cursor_Value_Input = { + bucket?: InputMaybe + change_count?: InputMaybe + curve_id?: InputMaybe + difference?: InputMaybe + first_share_price?: InputMaybe + last_share_price?: InputMaybe + term_id?: InputMaybe +} + +/** order by sum() on columns of table "share_price_change_stats_hourly" */ +export type Share_Price_Change_Stats_Hourly_Sum_Order_By = { + change_count?: InputMaybe + curve_id?: InputMaybe + difference?: InputMaybe + first_share_price?: InputMaybe + last_share_price?: InputMaybe + term_id?: InputMaybe +} + +/** order by var_pop() on columns of table "share_price_change_stats_hourly" */ +export type Share_Price_Change_Stats_Hourly_Var_Pop_Order_By = { + change_count?: InputMaybe + curve_id?: InputMaybe + difference?: InputMaybe + first_share_price?: InputMaybe + last_share_price?: InputMaybe + term_id?: InputMaybe +} + +/** order by var_samp() on columns of table "share_price_change_stats_hourly" */ +export type Share_Price_Change_Stats_Hourly_Var_Samp_Order_By = { + change_count?: InputMaybe + curve_id?: InputMaybe + difference?: InputMaybe + first_share_price?: InputMaybe + last_share_price?: InputMaybe + term_id?: InputMaybe +} + +/** order by variance() on columns of table "share_price_change_stats_hourly" */ +export type Share_Price_Change_Stats_Hourly_Variance_Order_By = { + change_count?: InputMaybe + curve_id?: InputMaybe + difference?: InputMaybe + first_share_price?: InputMaybe + last_share_price?: InputMaybe + term_id?: InputMaybe +} + +/** columns and relationships of "share_price_change_stats_monthly" */ +export type Share_Price_Change_Stats_Monthly = { + __typename?: 'share_price_change_stats_monthly' + bucket?: Maybe + change_count?: Maybe + curve_id?: Maybe + difference?: Maybe + first_share_price?: Maybe + last_share_price?: Maybe + /** An object relationship */ + term?: Maybe + term_id?: Maybe +} + +/** order by aggregate values of table "share_price_change_stats_monthly" */ +export type Share_Price_Change_Stats_Monthly_Aggregate_Order_By = { + avg?: InputMaybe + count?: InputMaybe + max?: InputMaybe + min?: InputMaybe + stddev?: InputMaybe + stddev_pop?: InputMaybe + stddev_samp?: InputMaybe + sum?: InputMaybe + var_pop?: InputMaybe + var_samp?: InputMaybe + variance?: InputMaybe +} + +/** order by avg() on columns of table "share_price_change_stats_monthly" */ +export type Share_Price_Change_Stats_Monthly_Avg_Order_By = { + change_count?: InputMaybe + curve_id?: InputMaybe + difference?: InputMaybe + first_share_price?: InputMaybe + last_share_price?: InputMaybe + term_id?: InputMaybe +} + +/** Boolean expression to filter rows from the table "share_price_change_stats_monthly". All fields are combined with a logical 'AND'. */ +export type Share_Price_Change_Stats_Monthly_Bool_Exp = { + _and?: InputMaybe> + _not?: InputMaybe + _or?: InputMaybe> + bucket?: InputMaybe + change_count?: InputMaybe + curve_id?: InputMaybe + difference?: InputMaybe + first_share_price?: InputMaybe + last_share_price?: InputMaybe + term?: InputMaybe + term_id?: InputMaybe +} + +/** order by max() on columns of table "share_price_change_stats_monthly" */ +export type Share_Price_Change_Stats_Monthly_Max_Order_By = { + bucket?: InputMaybe + change_count?: InputMaybe + curve_id?: InputMaybe + difference?: InputMaybe + first_share_price?: InputMaybe + last_share_price?: InputMaybe + term_id?: InputMaybe +} + +/** order by min() on columns of table "share_price_change_stats_monthly" */ +export type Share_Price_Change_Stats_Monthly_Min_Order_By = { + bucket?: InputMaybe + change_count?: InputMaybe + curve_id?: InputMaybe + difference?: InputMaybe + first_share_price?: InputMaybe + last_share_price?: InputMaybe + term_id?: InputMaybe +} + +/** Ordering options when selecting data from "share_price_change_stats_monthly". */ +export type Share_Price_Change_Stats_Monthly_Order_By = { + bucket?: InputMaybe + change_count?: InputMaybe + curve_id?: InputMaybe + difference?: InputMaybe + first_share_price?: InputMaybe + last_share_price?: InputMaybe + term?: InputMaybe + term_id?: InputMaybe +} + +/** select columns of table "share_price_change_stats_monthly" */ +export type Share_Price_Change_Stats_Monthly_Select_Column = + /** column name */ + | 'bucket' + /** column name */ + | 'change_count' + /** column name */ + | 'curve_id' + /** column name */ + | 'difference' + /** column name */ + | 'first_share_price' + /** column name */ + | 'last_share_price' + /** column name */ + | 'term_id' + +/** order by stddev() on columns of table "share_price_change_stats_monthly" */ +export type Share_Price_Change_Stats_Monthly_Stddev_Order_By = { + change_count?: InputMaybe + curve_id?: InputMaybe + difference?: InputMaybe + first_share_price?: InputMaybe + last_share_price?: InputMaybe + term_id?: InputMaybe +} + +/** order by stddev_pop() on columns of table "share_price_change_stats_monthly" */ +export type Share_Price_Change_Stats_Monthly_Stddev_Pop_Order_By = { + change_count?: InputMaybe + curve_id?: InputMaybe + difference?: InputMaybe + first_share_price?: InputMaybe + last_share_price?: InputMaybe + term_id?: InputMaybe +} + +/** order by stddev_samp() on columns of table "share_price_change_stats_monthly" */ +export type Share_Price_Change_Stats_Monthly_Stddev_Samp_Order_By = { + change_count?: InputMaybe + curve_id?: InputMaybe + difference?: InputMaybe + first_share_price?: InputMaybe + last_share_price?: InputMaybe + term_id?: InputMaybe +} + +/** Streaming cursor of the table "share_price_change_stats_monthly" */ +export type Share_Price_Change_Stats_Monthly_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Share_Price_Change_Stats_Monthly_Stream_Cursor_Value_Input + /** cursor ordering */ + ordering?: InputMaybe +} + +/** Initial value of the column from where the streaming should start */ +export type Share_Price_Change_Stats_Monthly_Stream_Cursor_Value_Input = { + bucket?: InputMaybe + change_count?: InputMaybe + curve_id?: InputMaybe + difference?: InputMaybe + first_share_price?: InputMaybe + last_share_price?: InputMaybe + term_id?: InputMaybe +} + +/** order by sum() on columns of table "share_price_change_stats_monthly" */ +export type Share_Price_Change_Stats_Monthly_Sum_Order_By = { + change_count?: InputMaybe + curve_id?: InputMaybe + difference?: InputMaybe + first_share_price?: InputMaybe + last_share_price?: InputMaybe + term_id?: InputMaybe +} + +/** order by var_pop() on columns of table "share_price_change_stats_monthly" */ +export type Share_Price_Change_Stats_Monthly_Var_Pop_Order_By = { + change_count?: InputMaybe + curve_id?: InputMaybe + difference?: InputMaybe + first_share_price?: InputMaybe + last_share_price?: InputMaybe + term_id?: InputMaybe +} + +/** order by var_samp() on columns of table "share_price_change_stats_monthly" */ +export type Share_Price_Change_Stats_Monthly_Var_Samp_Order_By = { + change_count?: InputMaybe + curve_id?: InputMaybe + difference?: InputMaybe + first_share_price?: InputMaybe + last_share_price?: InputMaybe + term_id?: InputMaybe +} + +/** order by variance() on columns of table "share_price_change_stats_monthly" */ +export type Share_Price_Change_Stats_Monthly_Variance_Order_By = { + change_count?: InputMaybe + curve_id?: InputMaybe + difference?: InputMaybe + first_share_price?: InputMaybe + last_share_price?: InputMaybe + term_id?: InputMaybe +} + +/** columns and relationships of "share_price_change_stats_weekly" */ +export type Share_Price_Change_Stats_Weekly = { + __typename?: 'share_price_change_stats_weekly' + bucket?: Maybe + change_count?: Maybe + curve_id?: Maybe + difference?: Maybe + first_share_price?: Maybe + last_share_price?: Maybe + /** An object relationship */ + term?: Maybe + term_id?: Maybe +} + +/** order by aggregate values of table "share_price_change_stats_weekly" */ +export type Share_Price_Change_Stats_Weekly_Aggregate_Order_By = { + avg?: InputMaybe + count?: InputMaybe + max?: InputMaybe + min?: InputMaybe + stddev?: InputMaybe + stddev_pop?: InputMaybe + stddev_samp?: InputMaybe + sum?: InputMaybe + var_pop?: InputMaybe + var_samp?: InputMaybe + variance?: InputMaybe +} + +/** order by avg() on columns of table "share_price_change_stats_weekly" */ +export type Share_Price_Change_Stats_Weekly_Avg_Order_By = { + change_count?: InputMaybe + curve_id?: InputMaybe + difference?: InputMaybe + first_share_price?: InputMaybe + last_share_price?: InputMaybe + term_id?: InputMaybe +} + +/** Boolean expression to filter rows from the table "share_price_change_stats_weekly". All fields are combined with a logical 'AND'. */ +export type Share_Price_Change_Stats_Weekly_Bool_Exp = { + _and?: InputMaybe> + _not?: InputMaybe + _or?: InputMaybe> + bucket?: InputMaybe + change_count?: InputMaybe + curve_id?: InputMaybe + difference?: InputMaybe + first_share_price?: InputMaybe + last_share_price?: InputMaybe + term?: InputMaybe + term_id?: InputMaybe +} + +/** order by max() on columns of table "share_price_change_stats_weekly" */ +export type Share_Price_Change_Stats_Weekly_Max_Order_By = { + bucket?: InputMaybe + change_count?: InputMaybe + curve_id?: InputMaybe + difference?: InputMaybe + first_share_price?: InputMaybe + last_share_price?: InputMaybe + term_id?: InputMaybe +} + +/** order by min() on columns of table "share_price_change_stats_weekly" */ +export type Share_Price_Change_Stats_Weekly_Min_Order_By = { + bucket?: InputMaybe + change_count?: InputMaybe + curve_id?: InputMaybe + difference?: InputMaybe + first_share_price?: InputMaybe + last_share_price?: InputMaybe + term_id?: InputMaybe +} + +/** Ordering options when selecting data from "share_price_change_stats_weekly". */ +export type Share_Price_Change_Stats_Weekly_Order_By = { + bucket?: InputMaybe + change_count?: InputMaybe + curve_id?: InputMaybe + difference?: InputMaybe + first_share_price?: InputMaybe + last_share_price?: InputMaybe + term?: InputMaybe + term_id?: InputMaybe +} + +/** select columns of table "share_price_change_stats_weekly" */ +export type Share_Price_Change_Stats_Weekly_Select_Column = + /** column name */ + | 'bucket' + /** column name */ + | 'change_count' + /** column name */ + | 'curve_id' + /** column name */ + | 'difference' + /** column name */ + | 'first_share_price' + /** column name */ + | 'last_share_price' + /** column name */ + | 'term_id' + +/** order by stddev() on columns of table "share_price_change_stats_weekly" */ +export type Share_Price_Change_Stats_Weekly_Stddev_Order_By = { + change_count?: InputMaybe + curve_id?: InputMaybe + difference?: InputMaybe + first_share_price?: InputMaybe + last_share_price?: InputMaybe + term_id?: InputMaybe +} + +/** order by stddev_pop() on columns of table "share_price_change_stats_weekly" */ +export type Share_Price_Change_Stats_Weekly_Stddev_Pop_Order_By = { + change_count?: InputMaybe + curve_id?: InputMaybe + difference?: InputMaybe + first_share_price?: InputMaybe + last_share_price?: InputMaybe + term_id?: InputMaybe +} + +/** order by stddev_samp() on columns of table "share_price_change_stats_weekly" */ +export type Share_Price_Change_Stats_Weekly_Stddev_Samp_Order_By = { + change_count?: InputMaybe + curve_id?: InputMaybe + difference?: InputMaybe + first_share_price?: InputMaybe + last_share_price?: InputMaybe + term_id?: InputMaybe +} + +/** Streaming cursor of the table "share_price_change_stats_weekly" */ +export type Share_Price_Change_Stats_Weekly_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Share_Price_Change_Stats_Weekly_Stream_Cursor_Value_Input + /** cursor ordering */ + ordering?: InputMaybe +} + +/** Initial value of the column from where the streaming should start */ +export type Share_Price_Change_Stats_Weekly_Stream_Cursor_Value_Input = { + bucket?: InputMaybe + change_count?: InputMaybe + curve_id?: InputMaybe + difference?: InputMaybe + first_share_price?: InputMaybe + last_share_price?: InputMaybe + term_id?: InputMaybe +} + +/** order by sum() on columns of table "share_price_change_stats_weekly" */ +export type Share_Price_Change_Stats_Weekly_Sum_Order_By = { + change_count?: InputMaybe + curve_id?: InputMaybe + difference?: InputMaybe + first_share_price?: InputMaybe + last_share_price?: InputMaybe + term_id?: InputMaybe +} + +/** order by var_pop() on columns of table "share_price_change_stats_weekly" */ +export type Share_Price_Change_Stats_Weekly_Var_Pop_Order_By = { + change_count?: InputMaybe + curve_id?: InputMaybe + difference?: InputMaybe + first_share_price?: InputMaybe + last_share_price?: InputMaybe + term_id?: InputMaybe +} + +/** order by var_samp() on columns of table "share_price_change_stats_weekly" */ +export type Share_Price_Change_Stats_Weekly_Var_Samp_Order_By = { + change_count?: InputMaybe + curve_id?: InputMaybe + difference?: InputMaybe + first_share_price?: InputMaybe + last_share_price?: InputMaybe + term_id?: InputMaybe +} + +/** order by variance() on columns of table "share_price_change_stats_weekly" */ +export type Share_Price_Change_Stats_Weekly_Variance_Order_By = { + change_count?: InputMaybe + curve_id?: InputMaybe + difference?: InputMaybe + first_share_price?: InputMaybe + last_share_price?: InputMaybe + term_id?: InputMaybe +} + +/** columns and relationships of "share_price_change" */ +export type Share_Price_Changes = { + __typename?: 'share_price_changes' + block_number: Scalars['numeric']['output'] + block_timestamp: Scalars['bigint']['output'] + curve_id: Scalars['numeric']['output'] + id: Scalars['bigint']['output'] + share_price: Scalars['numeric']['output'] + /** An object relationship */ + term: Terms + term_id: Scalars['numeric']['output'] + total_assets: Scalars['numeric']['output'] + total_shares: Scalars['numeric']['output'] + transaction_hash: Scalars['String']['output'] + updated_at: Scalars['timestamptz']['output'] + /** An object relationship */ + vault?: Maybe +} + +/** aggregated selection of "share_price_change" */ +export type Share_Price_Changes_Aggregate = { + __typename?: 'share_price_changes_aggregate' + aggregate?: Maybe + nodes: Array +} + +export type Share_Price_Changes_Aggregate_Bool_Exp = { + count?: InputMaybe +} + +export type Share_Price_Changes_Aggregate_Bool_Exp_Count = { + arguments?: InputMaybe> + distinct?: InputMaybe + filter?: InputMaybe + predicate: Int_Comparison_Exp +} + +/** aggregate fields of "share_price_change" */ +export type Share_Price_Changes_Aggregate_Fields = { + __typename?: 'share_price_changes_aggregate_fields' + avg?: Maybe + count: Scalars['Int']['output'] + max?: Maybe + min?: Maybe + stddev?: Maybe + stddev_pop?: Maybe + stddev_samp?: Maybe + sum?: Maybe + var_pop?: Maybe + var_samp?: Maybe + variance?: Maybe +} + +/** aggregate fields of "share_price_change" */ +export type Share_Price_Changes_Aggregate_FieldsCountArgs = { + columns?: InputMaybe> + distinct?: InputMaybe +} + +/** order by aggregate values of table "share_price_change" */ +export type Share_Price_Changes_Aggregate_Order_By = { + avg?: InputMaybe + count?: InputMaybe + max?: InputMaybe + min?: InputMaybe + stddev?: InputMaybe + stddev_pop?: InputMaybe + stddev_samp?: InputMaybe + sum?: InputMaybe + var_pop?: InputMaybe + var_samp?: InputMaybe + variance?: InputMaybe +} + +/** aggregate avg on columns */ +export type Share_Price_Changes_Avg_Fields = { + __typename?: 'share_price_changes_avg_fields' + block_number?: Maybe + block_timestamp?: Maybe + curve_id?: Maybe + id?: Maybe + share_price?: Maybe + term_id?: Maybe + total_assets?: Maybe + total_shares?: Maybe +} + +/** order by avg() on columns of table "share_price_change" */ +export type Share_Price_Changes_Avg_Order_By = { + block_number?: InputMaybe + block_timestamp?: InputMaybe + curve_id?: InputMaybe + id?: InputMaybe + share_price?: InputMaybe + term_id?: InputMaybe + total_assets?: InputMaybe + total_shares?: InputMaybe +} + +/** Boolean expression to filter rows from the table "share_price_change". All fields are combined with a logical 'AND'. */ +export type Share_Price_Changes_Bool_Exp = { + _and?: InputMaybe> + _not?: InputMaybe + _or?: InputMaybe> + block_number?: InputMaybe + block_timestamp?: InputMaybe + curve_id?: InputMaybe + id?: InputMaybe + share_price?: InputMaybe + term?: InputMaybe + term_id?: InputMaybe + total_assets?: InputMaybe + total_shares?: InputMaybe + transaction_hash?: InputMaybe + updated_at?: InputMaybe + vault?: InputMaybe +} + +/** aggregate max on columns */ +export type Share_Price_Changes_Max_Fields = { + __typename?: 'share_price_changes_max_fields' + block_number?: Maybe + block_timestamp?: Maybe + curve_id?: Maybe + id?: Maybe + share_price?: Maybe + term_id?: Maybe + total_assets?: Maybe + total_shares?: Maybe + transaction_hash?: Maybe + updated_at?: Maybe +} + +/** order by max() on columns of table "share_price_change" */ +export type Share_Price_Changes_Max_Order_By = { + block_number?: InputMaybe + block_timestamp?: InputMaybe + curve_id?: InputMaybe + id?: InputMaybe + share_price?: InputMaybe + term_id?: InputMaybe + total_assets?: InputMaybe + total_shares?: InputMaybe + transaction_hash?: InputMaybe + updated_at?: InputMaybe +} + +/** aggregate min on columns */ +export type Share_Price_Changes_Min_Fields = { + __typename?: 'share_price_changes_min_fields' + block_number?: Maybe + block_timestamp?: Maybe + curve_id?: Maybe + id?: Maybe + share_price?: Maybe + term_id?: Maybe + total_assets?: Maybe + total_shares?: Maybe + transaction_hash?: Maybe + updated_at?: Maybe +} + +/** order by min() on columns of table "share_price_change" */ +export type Share_Price_Changes_Min_Order_By = { + block_number?: InputMaybe + block_timestamp?: InputMaybe + curve_id?: InputMaybe + id?: InputMaybe + share_price?: InputMaybe + term_id?: InputMaybe + total_assets?: InputMaybe + total_shares?: InputMaybe + transaction_hash?: InputMaybe + updated_at?: InputMaybe +} + +/** Ordering options when selecting data from "share_price_change". */ +export type Share_Price_Changes_Order_By = { + block_number?: InputMaybe + block_timestamp?: InputMaybe + curve_id?: InputMaybe + id?: InputMaybe + share_price?: InputMaybe + term?: InputMaybe + term_id?: InputMaybe + total_assets?: InputMaybe + total_shares?: InputMaybe + transaction_hash?: InputMaybe + updated_at?: InputMaybe + vault?: InputMaybe +} + +/** select columns of table "share_price_change" */ +export type Share_Price_Changes_Select_Column = + /** column name */ + | 'block_number' + /** column name */ + | 'block_timestamp' + /** column name */ + | 'curve_id' + /** column name */ + | 'id' + /** column name */ + | 'share_price' + /** column name */ + | 'term_id' + /** column name */ + | 'total_assets' + /** column name */ + | 'total_shares' + /** column name */ + | 'transaction_hash' + /** column name */ + | 'updated_at' + +/** aggregate stddev on columns */ +export type Share_Price_Changes_Stddev_Fields = { + __typename?: 'share_price_changes_stddev_fields' + block_number?: Maybe + block_timestamp?: Maybe + curve_id?: Maybe + id?: Maybe + share_price?: Maybe + term_id?: Maybe + total_assets?: Maybe + total_shares?: Maybe +} + +/** order by stddev() on columns of table "share_price_change" */ +export type Share_Price_Changes_Stddev_Order_By = { + block_number?: InputMaybe + block_timestamp?: InputMaybe + curve_id?: InputMaybe + id?: InputMaybe + share_price?: InputMaybe + term_id?: InputMaybe + total_assets?: InputMaybe + total_shares?: InputMaybe +} + +/** aggregate stddev_pop on columns */ +export type Share_Price_Changes_Stddev_Pop_Fields = { + __typename?: 'share_price_changes_stddev_pop_fields' + block_number?: Maybe + block_timestamp?: Maybe + curve_id?: Maybe + id?: Maybe + share_price?: Maybe + term_id?: Maybe + total_assets?: Maybe + total_shares?: Maybe +} + +/** order by stddev_pop() on columns of table "share_price_change" */ +export type Share_Price_Changes_Stddev_Pop_Order_By = { + block_number?: InputMaybe + block_timestamp?: InputMaybe + curve_id?: InputMaybe + id?: InputMaybe + share_price?: InputMaybe + term_id?: InputMaybe + total_assets?: InputMaybe + total_shares?: InputMaybe +} + +/** aggregate stddev_samp on columns */ +export type Share_Price_Changes_Stddev_Samp_Fields = { + __typename?: 'share_price_changes_stddev_samp_fields' + block_number?: Maybe + block_timestamp?: Maybe + curve_id?: Maybe + id?: Maybe + share_price?: Maybe + term_id?: Maybe + total_assets?: Maybe + total_shares?: Maybe +} + +/** order by stddev_samp() on columns of table "share_price_change" */ +export type Share_Price_Changes_Stddev_Samp_Order_By = { + block_number?: InputMaybe + block_timestamp?: InputMaybe + curve_id?: InputMaybe + id?: InputMaybe + share_price?: InputMaybe + term_id?: InputMaybe + total_assets?: InputMaybe + total_shares?: InputMaybe +} + +/** Streaming cursor of the table "share_price_changes" */ +export type Share_Price_Changes_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Share_Price_Changes_Stream_Cursor_Value_Input + /** cursor ordering */ + ordering?: InputMaybe +} + +/** Initial value of the column from where the streaming should start */ +export type Share_Price_Changes_Stream_Cursor_Value_Input = { + block_number?: InputMaybe + block_timestamp?: InputMaybe + curve_id?: InputMaybe + id?: InputMaybe + share_price?: InputMaybe + term_id?: InputMaybe + total_assets?: InputMaybe + total_shares?: InputMaybe + transaction_hash?: InputMaybe + updated_at?: InputMaybe +} + +/** aggregate sum on columns */ +export type Share_Price_Changes_Sum_Fields = { + __typename?: 'share_price_changes_sum_fields' + block_number?: Maybe + block_timestamp?: Maybe + curve_id?: Maybe + id?: Maybe + share_price?: Maybe + term_id?: Maybe + total_assets?: Maybe + total_shares?: Maybe +} + +/** order by sum() on columns of table "share_price_change" */ +export type Share_Price_Changes_Sum_Order_By = { + block_number?: InputMaybe + block_timestamp?: InputMaybe + curve_id?: InputMaybe + id?: InputMaybe + share_price?: InputMaybe + term_id?: InputMaybe + total_assets?: InputMaybe + total_shares?: InputMaybe +} + +/** aggregate var_pop on columns */ +export type Share_Price_Changes_Var_Pop_Fields = { + __typename?: 'share_price_changes_var_pop_fields' + block_number?: Maybe + block_timestamp?: Maybe + curve_id?: Maybe + id?: Maybe + share_price?: Maybe + term_id?: Maybe + total_assets?: Maybe + total_shares?: Maybe +} + +/** order by var_pop() on columns of table "share_price_change" */ +export type Share_Price_Changes_Var_Pop_Order_By = { + block_number?: InputMaybe + block_timestamp?: InputMaybe + curve_id?: InputMaybe + id?: InputMaybe + share_price?: InputMaybe + term_id?: InputMaybe + total_assets?: InputMaybe + total_shares?: InputMaybe +} + +/** aggregate var_samp on columns */ +export type Share_Price_Changes_Var_Samp_Fields = { + __typename?: 'share_price_changes_var_samp_fields' + block_number?: Maybe + block_timestamp?: Maybe + curve_id?: Maybe + id?: Maybe + share_price?: Maybe + term_id?: Maybe + total_assets?: Maybe + total_shares?: Maybe +} + +/** order by var_samp() on columns of table "share_price_change" */ +export type Share_Price_Changes_Var_Samp_Order_By = { + block_number?: InputMaybe + block_timestamp?: InputMaybe + curve_id?: InputMaybe + id?: InputMaybe + share_price?: InputMaybe + term_id?: InputMaybe + total_assets?: InputMaybe + total_shares?: InputMaybe +} + +/** aggregate variance on columns */ +export type Share_Price_Changes_Variance_Fields = { + __typename?: 'share_price_changes_variance_fields' + block_number?: Maybe + block_timestamp?: Maybe + curve_id?: Maybe + id?: Maybe + share_price?: Maybe + term_id?: Maybe + total_assets?: Maybe + total_shares?: Maybe +} + +/** order by variance() on columns of table "share_price_change" */ +export type Share_Price_Changes_Variance_Order_By = { + block_number?: InputMaybe + block_timestamp?: InputMaybe + curve_id?: InputMaybe + id?: InputMaybe + share_price?: InputMaybe + term_id?: InputMaybe + total_assets?: InputMaybe + total_shares?: InputMaybe +} + +/** columns and relationships of "signal_stats_daily" */ +export type Signal_Stats_Daily = { + __typename?: 'signal_stats_daily' + bucket?: Maybe + count?: Maybe + curve_id?: Maybe + /** An object relationship */ + term?: Maybe + term_id?: Maybe + volume?: Maybe +} + +/** Boolean expression to filter rows from the table "signal_stats_daily". All fields are combined with a logical 'AND'. */ +export type Signal_Stats_Daily_Bool_Exp = { + _and?: InputMaybe> + _not?: InputMaybe + _or?: InputMaybe> + bucket?: InputMaybe + count?: InputMaybe + curve_id?: InputMaybe + term?: InputMaybe + term_id?: InputMaybe + volume?: InputMaybe +} + +/** Ordering options when selecting data from "signal_stats_daily". */ +export type Signal_Stats_Daily_Order_By = { + bucket?: InputMaybe + count?: InputMaybe + curve_id?: InputMaybe + term?: InputMaybe + term_id?: InputMaybe + volume?: InputMaybe +} + +/** select columns of table "signal_stats_daily" */ +export type Signal_Stats_Daily_Select_Column = + /** column name */ + | 'bucket' + /** column name */ + | 'count' + /** column name */ + | 'curve_id' + /** column name */ + | 'term_id' + /** column name */ + | 'volume' + +/** Streaming cursor of the table "signal_stats_daily" */ +export type Signal_Stats_Daily_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Signal_Stats_Daily_Stream_Cursor_Value_Input + /** cursor ordering */ + ordering?: InputMaybe +} + +/** Initial value of the column from where the streaming should start */ +export type Signal_Stats_Daily_Stream_Cursor_Value_Input = { + bucket?: InputMaybe + count?: InputMaybe + curve_id?: InputMaybe + term_id?: InputMaybe + volume?: InputMaybe +} + +/** columns and relationships of "signal_stats_hourly" */ +export type Signal_Stats_Hourly = { + __typename?: 'signal_stats_hourly' + bucket?: Maybe + count?: Maybe + curve_id?: Maybe + /** An object relationship */ + term?: Maybe + term_id?: Maybe + volume?: Maybe +} + +/** Boolean expression to filter rows from the table "signal_stats_hourly". All fields are combined with a logical 'AND'. */ +export type Signal_Stats_Hourly_Bool_Exp = { + _and?: InputMaybe> + _not?: InputMaybe + _or?: InputMaybe> + bucket?: InputMaybe + count?: InputMaybe + curve_id?: InputMaybe + term?: InputMaybe + term_id?: InputMaybe + volume?: InputMaybe +} + +/** Ordering options when selecting data from "signal_stats_hourly". */ +export type Signal_Stats_Hourly_Order_By = { + bucket?: InputMaybe + count?: InputMaybe + curve_id?: InputMaybe + term?: InputMaybe + term_id?: InputMaybe + volume?: InputMaybe +} + +/** select columns of table "signal_stats_hourly" */ +export type Signal_Stats_Hourly_Select_Column = + /** column name */ + | 'bucket' + /** column name */ + | 'count' + /** column name */ + | 'curve_id' + /** column name */ + | 'term_id' + /** column name */ + | 'volume' + +/** Streaming cursor of the table "signal_stats_hourly" */ +export type Signal_Stats_Hourly_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Signal_Stats_Hourly_Stream_Cursor_Value_Input + /** cursor ordering */ + ordering?: InputMaybe +} + +/** Initial value of the column from where the streaming should start */ +export type Signal_Stats_Hourly_Stream_Cursor_Value_Input = { + bucket?: InputMaybe + count?: InputMaybe + curve_id?: InputMaybe + term_id?: InputMaybe + volume?: InputMaybe +} + +/** columns and relationships of "signal_stats_monthly" */ +export type Signal_Stats_Monthly = { + __typename?: 'signal_stats_monthly' + bucket?: Maybe + count?: Maybe + curve_id?: Maybe + /** An object relationship */ + term?: Maybe + term_id?: Maybe + volume?: Maybe +} + +/** Boolean expression to filter rows from the table "signal_stats_monthly". All fields are combined with a logical 'AND'. */ +export type Signal_Stats_Monthly_Bool_Exp = { + _and?: InputMaybe> + _not?: InputMaybe + _or?: InputMaybe> + bucket?: InputMaybe + count?: InputMaybe + curve_id?: InputMaybe + term?: InputMaybe + term_id?: InputMaybe + volume?: InputMaybe +} + +/** Ordering options when selecting data from "signal_stats_monthly". */ +export type Signal_Stats_Monthly_Order_By = { + bucket?: InputMaybe + count?: InputMaybe + curve_id?: InputMaybe + term?: InputMaybe + term_id?: InputMaybe + volume?: InputMaybe +} + +/** select columns of table "signal_stats_monthly" */ +export type Signal_Stats_Monthly_Select_Column = + /** column name */ + | 'bucket' + /** column name */ + | 'count' + /** column name */ + | 'curve_id' + /** column name */ + | 'term_id' + /** column name */ + | 'volume' + +/** Streaming cursor of the table "signal_stats_monthly" */ +export type Signal_Stats_Monthly_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Signal_Stats_Monthly_Stream_Cursor_Value_Input + /** cursor ordering */ + ordering?: InputMaybe +} + +/** Initial value of the column from where the streaming should start */ +export type Signal_Stats_Monthly_Stream_Cursor_Value_Input = { + bucket?: InputMaybe + count?: InputMaybe + curve_id?: InputMaybe + term_id?: InputMaybe + volume?: InputMaybe +} + +/** columns and relationships of "signal_stats_weekly" */ +export type Signal_Stats_Weekly = { + __typename?: 'signal_stats_weekly' + bucket?: Maybe + count?: Maybe + curve_id?: Maybe + /** An object relationship */ + term?: Maybe + term_id?: Maybe + volume?: Maybe +} + +/** Boolean expression to filter rows from the table "signal_stats_weekly". All fields are combined with a logical 'AND'. */ +export type Signal_Stats_Weekly_Bool_Exp = { + _and?: InputMaybe> + _not?: InputMaybe + _or?: InputMaybe> + bucket?: InputMaybe + count?: InputMaybe + curve_id?: InputMaybe + term?: InputMaybe + term_id?: InputMaybe + volume?: InputMaybe +} + +/** Ordering options when selecting data from "signal_stats_weekly". */ +export type Signal_Stats_Weekly_Order_By = { + bucket?: InputMaybe + count?: InputMaybe + curve_id?: InputMaybe + term?: InputMaybe + term_id?: InputMaybe + volume?: InputMaybe +} + +/** select columns of table "signal_stats_weekly" */ +export type Signal_Stats_Weekly_Select_Column = + /** column name */ + | 'bucket' + /** column name */ + | 'count' + /** column name */ + | 'curve_id' + /** column name */ + | 'term_id' + /** column name */ + | 'volume' + +/** Streaming cursor of the table "signal_stats_weekly" */ +export type Signal_Stats_Weekly_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Signal_Stats_Weekly_Stream_Cursor_Value_Input + /** cursor ordering */ + ordering?: InputMaybe +} + +/** Initial value of the column from where the streaming should start */ +export type Signal_Stats_Weekly_Stream_Cursor_Value_Input = { + bucket?: InputMaybe + count?: InputMaybe + curve_id?: InputMaybe + term_id?: InputMaybe + volume?: InputMaybe +} + +/** columns and relationships of "signal" */ +export type Signals = { + __typename?: 'signals' + /** An object relationship */ + account?: Maybe + account_id: Scalars['String']['output'] + atom_id?: Maybe + block_number: Scalars['numeric']['output'] + created_at: Scalars['timestamptz']['output'] + delta: Scalars['numeric']['output'] + /** An object relationship */ + deposit?: Maybe + deposit_id?: Maybe + id: Scalars['String']['output'] + /** An object relationship */ + redemption?: Maybe + redemption_id?: Maybe + /** An object relationship */ + term: Terms + transaction_hash: Scalars['String']['output'] + triple_id?: Maybe + /** An object relationship */ + vault?: Maybe +} + +/** aggregated selection of "signal" */ +export type Signals_Aggregate = { + __typename?: 'signals_aggregate' + aggregate?: Maybe + nodes: Array +} + +export type Signals_Aggregate_Bool_Exp = { + count?: InputMaybe +} + +export type Signals_Aggregate_Bool_Exp_Count = { + arguments?: InputMaybe> + distinct?: InputMaybe + filter?: InputMaybe + predicate: Int_Comparison_Exp +} + +/** aggregate fields of "signal" */ +export type Signals_Aggregate_Fields = { + __typename?: 'signals_aggregate_fields' + avg?: Maybe + count: Scalars['Int']['output'] + max?: Maybe + min?: Maybe + stddev?: Maybe + stddev_pop?: Maybe + stddev_samp?: Maybe + sum?: Maybe + var_pop?: Maybe + var_samp?: Maybe + variance?: Maybe +} + +/** aggregate fields of "signal" */ +export type Signals_Aggregate_FieldsCountArgs = { + columns?: InputMaybe> + distinct?: InputMaybe +} + +/** order by aggregate values of table "signal" */ +export type Signals_Aggregate_Order_By = { + avg?: InputMaybe + count?: InputMaybe + max?: InputMaybe + min?: InputMaybe + stddev?: InputMaybe + stddev_pop?: InputMaybe + stddev_samp?: InputMaybe + sum?: InputMaybe + var_pop?: InputMaybe + var_samp?: InputMaybe + variance?: InputMaybe +} + +/** aggregate avg on columns */ +export type Signals_Avg_Fields = { + __typename?: 'signals_avg_fields' + atom_id?: Maybe + block_number?: Maybe + delta?: Maybe + triple_id?: Maybe +} + +/** order by avg() on columns of table "signal" */ +export type Signals_Avg_Order_By = { + atom_id?: InputMaybe + block_number?: InputMaybe + delta?: InputMaybe + triple_id?: InputMaybe +} + +/** Boolean expression to filter rows from the table "signal". All fields are combined with a logical 'AND'. */ +export type Signals_Bool_Exp = { + _and?: InputMaybe> + _not?: InputMaybe + _or?: InputMaybe> + account?: InputMaybe + account_id?: InputMaybe + atom_id?: InputMaybe + block_number?: InputMaybe + created_at?: InputMaybe + delta?: InputMaybe + deposit?: InputMaybe + deposit_id?: InputMaybe + id?: InputMaybe + redemption?: InputMaybe + redemption_id?: InputMaybe + term?: InputMaybe + transaction_hash?: InputMaybe + triple_id?: InputMaybe + vault?: InputMaybe +} + +export type Signals_From_Following_Args = { + address?: InputMaybe +} + +/** aggregate max on columns */ +export type Signals_Max_Fields = { + __typename?: 'signals_max_fields' + account_id?: Maybe + atom_id?: Maybe + block_number?: Maybe + created_at?: Maybe + delta?: Maybe + deposit_id?: Maybe + id?: Maybe + redemption_id?: Maybe + transaction_hash?: Maybe + triple_id?: Maybe +} + +/** order by max() on columns of table "signal" */ +export type Signals_Max_Order_By = { + account_id?: InputMaybe + atom_id?: InputMaybe + block_number?: InputMaybe + created_at?: InputMaybe + delta?: InputMaybe + deposit_id?: InputMaybe + id?: InputMaybe + redemption_id?: InputMaybe + transaction_hash?: InputMaybe + triple_id?: InputMaybe +} + +/** aggregate min on columns */ +export type Signals_Min_Fields = { + __typename?: 'signals_min_fields' + account_id?: Maybe + atom_id?: Maybe + block_number?: Maybe + created_at?: Maybe + delta?: Maybe + deposit_id?: Maybe + id?: Maybe + redemption_id?: Maybe + transaction_hash?: Maybe + triple_id?: Maybe +} + +/** order by min() on columns of table "signal" */ +export type Signals_Min_Order_By = { + account_id?: InputMaybe + atom_id?: InputMaybe + block_number?: InputMaybe + created_at?: InputMaybe + delta?: InputMaybe + deposit_id?: InputMaybe + id?: InputMaybe + redemption_id?: InputMaybe + transaction_hash?: InputMaybe + triple_id?: InputMaybe +} + +/** Ordering options when selecting data from "signal". */ +export type Signals_Order_By = { + account?: InputMaybe + account_id?: InputMaybe + atom_id?: InputMaybe + block_number?: InputMaybe + created_at?: InputMaybe + delta?: InputMaybe + deposit?: InputMaybe + deposit_id?: InputMaybe + id?: InputMaybe + redemption?: InputMaybe + redemption_id?: InputMaybe + term?: InputMaybe + transaction_hash?: InputMaybe + triple_id?: InputMaybe + vault?: InputMaybe +} + +/** select columns of table "signal" */ +export type Signals_Select_Column = + /** column name */ + | 'account_id' + /** column name */ + | 'atom_id' + /** column name */ + | 'block_number' + /** column name */ + | 'created_at' + /** column name */ + | 'delta' + /** column name */ + | 'deposit_id' + /** column name */ + | 'id' + /** column name */ + | 'redemption_id' + /** column name */ + | 'transaction_hash' + /** column name */ + | 'triple_id' + +/** aggregate stddev on columns */ +export type Signals_Stddev_Fields = { + __typename?: 'signals_stddev_fields' + atom_id?: Maybe + block_number?: Maybe + delta?: Maybe + triple_id?: Maybe +} + +/** order by stddev() on columns of table "signal" */ +export type Signals_Stddev_Order_By = { + atom_id?: InputMaybe + block_number?: InputMaybe + delta?: InputMaybe + triple_id?: InputMaybe +} + +/** aggregate stddev_pop on columns */ +export type Signals_Stddev_Pop_Fields = { + __typename?: 'signals_stddev_pop_fields' + atom_id?: Maybe + block_number?: Maybe + delta?: Maybe + triple_id?: Maybe +} + +/** order by stddev_pop() on columns of table "signal" */ +export type Signals_Stddev_Pop_Order_By = { + atom_id?: InputMaybe + block_number?: InputMaybe + delta?: InputMaybe + triple_id?: InputMaybe +} + +/** aggregate stddev_samp on columns */ +export type Signals_Stddev_Samp_Fields = { + __typename?: 'signals_stddev_samp_fields' + atom_id?: Maybe + block_number?: Maybe + delta?: Maybe + triple_id?: Maybe +} + +/** order by stddev_samp() on columns of table "signal" */ +export type Signals_Stddev_Samp_Order_By = { + atom_id?: InputMaybe + block_number?: InputMaybe + delta?: InputMaybe + triple_id?: InputMaybe +} + +/** Streaming cursor of the table "signals" */ +export type Signals_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Signals_Stream_Cursor_Value_Input + /** cursor ordering */ + ordering?: InputMaybe +} + +/** Initial value of the column from where the streaming should start */ +export type Signals_Stream_Cursor_Value_Input = { + account_id?: InputMaybe + atom_id?: InputMaybe + block_number?: InputMaybe + created_at?: InputMaybe + delta?: InputMaybe + deposit_id?: InputMaybe + id?: InputMaybe + redemption_id?: InputMaybe + transaction_hash?: InputMaybe + triple_id?: InputMaybe +} + +/** aggregate sum on columns */ +export type Signals_Sum_Fields = { + __typename?: 'signals_sum_fields' + atom_id?: Maybe + block_number?: Maybe + delta?: Maybe + triple_id?: Maybe +} + +/** order by sum() on columns of table "signal" */ +export type Signals_Sum_Order_By = { + atom_id?: InputMaybe + block_number?: InputMaybe + delta?: InputMaybe + triple_id?: InputMaybe +} + +/** aggregate var_pop on columns */ +export type Signals_Var_Pop_Fields = { + __typename?: 'signals_var_pop_fields' + atom_id?: Maybe + block_number?: Maybe + delta?: Maybe + triple_id?: Maybe +} + +/** order by var_pop() on columns of table "signal" */ +export type Signals_Var_Pop_Order_By = { + atom_id?: InputMaybe + block_number?: InputMaybe + delta?: InputMaybe + triple_id?: InputMaybe +} + +/** aggregate var_samp on columns */ +export type Signals_Var_Samp_Fields = { + __typename?: 'signals_var_samp_fields' + atom_id?: Maybe + block_number?: Maybe + delta?: Maybe + triple_id?: Maybe +} + +/** order by var_samp() on columns of table "signal" */ +export type Signals_Var_Samp_Order_By = { + atom_id?: InputMaybe + block_number?: InputMaybe + delta?: InputMaybe + triple_id?: InputMaybe +} + +/** aggregate variance on columns */ +export type Signals_Variance_Fields = { + __typename?: 'signals_variance_fields' + atom_id?: Maybe + block_number?: Maybe + delta?: Maybe + triple_id?: Maybe +} + +/** order by variance() on columns of table "signal" */ +export type Signals_Variance_Order_By = { + atom_id?: InputMaybe + block_number?: InputMaybe + delta?: InputMaybe + triple_id?: InputMaybe +} + +/** columns and relationships of "stats" */ +export type Stats = { + __typename?: 'stats' + contract_balance?: Maybe + id: Scalars['Int']['output'] + total_accounts?: Maybe + total_atoms?: Maybe + total_fees?: Maybe + total_positions?: Maybe + total_signals?: Maybe + total_triples?: Maybe +} + +/** aggregated selection of "stats" */ +export type Stats_Aggregate = { + __typename?: 'stats_aggregate' + aggregate?: Maybe + nodes: Array +} + +/** aggregate fields of "stats" */ +export type Stats_Aggregate_Fields = { + __typename?: 'stats_aggregate_fields' + avg?: Maybe + count: Scalars['Int']['output'] + max?: Maybe + min?: Maybe + stddev?: Maybe + stddev_pop?: Maybe + stddev_samp?: Maybe + sum?: Maybe + var_pop?: Maybe + var_samp?: Maybe + variance?: Maybe +} + +/** aggregate fields of "stats" */ +export type Stats_Aggregate_FieldsCountArgs = { + columns?: InputMaybe> + distinct?: InputMaybe +} + +/** aggregate avg on columns */ +export type Stats_Avg_Fields = { + __typename?: 'stats_avg_fields' + contract_balance?: Maybe + id?: Maybe + total_accounts?: Maybe + total_atoms?: Maybe + total_fees?: Maybe + total_positions?: Maybe + total_signals?: Maybe + total_triples?: Maybe +} + +/** Boolean expression to filter rows from the table "stats". All fields are combined with a logical 'AND'. */ +export type Stats_Bool_Exp = { + _and?: InputMaybe> + _not?: InputMaybe + _or?: InputMaybe> + contract_balance?: InputMaybe + id?: InputMaybe + total_accounts?: InputMaybe + total_atoms?: InputMaybe + total_fees?: InputMaybe + total_positions?: InputMaybe + total_signals?: InputMaybe + total_triples?: InputMaybe +} + +/** aggregate max on columns */ +export type Stats_Max_Fields = { + __typename?: 'stats_max_fields' + contract_balance?: Maybe + id?: Maybe + total_accounts?: Maybe + total_atoms?: Maybe + total_fees?: Maybe + total_positions?: Maybe + total_signals?: Maybe + total_triples?: Maybe +} + +/** aggregate min on columns */ +export type Stats_Min_Fields = { + __typename?: 'stats_min_fields' + contract_balance?: Maybe + id?: Maybe + total_accounts?: Maybe + total_atoms?: Maybe + total_fees?: Maybe + total_positions?: Maybe + total_signals?: Maybe + total_triples?: Maybe +} + +/** Ordering options when selecting data from "stats". */ +export type Stats_Order_By = { + contract_balance?: InputMaybe + id?: InputMaybe + total_accounts?: InputMaybe + total_atoms?: InputMaybe + total_fees?: InputMaybe + total_positions?: InputMaybe + total_signals?: InputMaybe + total_triples?: InputMaybe +} + +/** select columns of table "stats" */ +export type Stats_Select_Column = + /** column name */ + | 'contract_balance' + /** column name */ + | 'id' + /** column name */ + | 'total_accounts' + /** column name */ + | 'total_atoms' + /** column name */ + | 'total_fees' + /** column name */ + | 'total_positions' + /** column name */ + | 'total_signals' + /** column name */ + | 'total_triples' + +/** aggregate stddev on columns */ +export type Stats_Stddev_Fields = { + __typename?: 'stats_stddev_fields' + contract_balance?: Maybe + id?: Maybe + total_accounts?: Maybe + total_atoms?: Maybe + total_fees?: Maybe + total_positions?: Maybe + total_signals?: Maybe + total_triples?: Maybe +} + +/** aggregate stddev_pop on columns */ +export type Stats_Stddev_Pop_Fields = { + __typename?: 'stats_stddev_pop_fields' + contract_balance?: Maybe + id?: Maybe + total_accounts?: Maybe + total_atoms?: Maybe + total_fees?: Maybe + total_positions?: Maybe + total_signals?: Maybe + total_triples?: Maybe +} + +/** aggregate stddev_samp on columns */ +export type Stats_Stddev_Samp_Fields = { + __typename?: 'stats_stddev_samp_fields' + contract_balance?: Maybe + id?: Maybe + total_accounts?: Maybe + total_atoms?: Maybe + total_fees?: Maybe + total_positions?: Maybe + total_signals?: Maybe + total_triples?: Maybe +} + +/** Streaming cursor of the table "stats" */ +export type Stats_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Stats_Stream_Cursor_Value_Input + /** cursor ordering */ + ordering?: InputMaybe +} + +/** Initial value of the column from where the streaming should start */ +export type Stats_Stream_Cursor_Value_Input = { + contract_balance?: InputMaybe + id?: InputMaybe + total_accounts?: InputMaybe + total_atoms?: InputMaybe + total_fees?: InputMaybe + total_positions?: InputMaybe + total_signals?: InputMaybe + total_triples?: InputMaybe +} + +/** aggregate sum on columns */ +export type Stats_Sum_Fields = { + __typename?: 'stats_sum_fields' + contract_balance?: Maybe + id?: Maybe + total_accounts?: Maybe + total_atoms?: Maybe + total_fees?: Maybe + total_positions?: Maybe + total_signals?: Maybe + total_triples?: Maybe +} + +/** aggregate var_pop on columns */ +export type Stats_Var_Pop_Fields = { + __typename?: 'stats_var_pop_fields' + contract_balance?: Maybe + id?: Maybe + total_accounts?: Maybe + total_atoms?: Maybe + total_fees?: Maybe + total_positions?: Maybe + total_signals?: Maybe + total_triples?: Maybe +} + +/** aggregate var_samp on columns */ +export type Stats_Var_Samp_Fields = { + __typename?: 'stats_var_samp_fields' + contract_balance?: Maybe + id?: Maybe + total_accounts?: Maybe + total_atoms?: Maybe + total_fees?: Maybe + total_positions?: Maybe + total_signals?: Maybe + total_triples?: Maybe +} + +/** aggregate variance on columns */ +export type Stats_Variance_Fields = { + __typename?: 'stats_variance_fields' + contract_balance?: Maybe + id?: Maybe + total_accounts?: Maybe + total_atoms?: Maybe + total_fees?: Maybe + total_positions?: Maybe + total_signals?: Maybe + total_triples?: Maybe +} + +export type Subscription_Root = { + __typename?: 'subscription_root' + /** fetch data from the table: "account" using primary key columns */ + account?: Maybe + /** An array relationship */ + accounts: Array + /** An aggregate relationship */ + accounts_aggregate: Accounts_Aggregate + /** fetch data from the table in a streaming manner: "account" */ + accounts_stream: Array + /** fetch data from the table: "atom" using primary key columns */ + atom?: Maybe + /** fetch data from the table: "atom_value" using primary key columns */ + atom_value?: Maybe + /** fetch data from the table: "atom_value" */ + atom_values: Array + /** fetch aggregated fields from the table: "atom_value" */ + atom_values_aggregate: Atom_Values_Aggregate + /** fetch data from the table in a streaming manner: "atom_value" */ + atom_values_stream: Array + /** An array relationship */ + atoms: Array + /** An aggregate relationship */ + atoms_aggregate: Atoms_Aggregate + /** fetch data from the table in a streaming manner: "atom" */ + atoms_stream: Array + /** fetch data from the table: "book" using primary key columns */ + book?: Maybe + /** fetch data from the table: "book" */ + books: Array + /** fetch aggregated fields from the table: "book" */ + books_aggregate: Books_Aggregate + /** fetch data from the table in a streaming manner: "book" */ + books_stream: Array + /** fetch data from the table: "byte_object" */ + byte_object: Array + /** fetch aggregated fields from the table: "byte_object" */ + byte_object_aggregate: Byte_Object_Aggregate + /** fetch data from the table: "byte_object" using primary key columns */ + byte_object_by_pk?: Maybe + /** fetch data from the table in a streaming manner: "byte_object" */ + byte_object_stream: Array + /** fetch data from the table: "cached_images.cached_image" */ + cached_images_cached_image: Array + /** fetch data from the table: "cached_images.cached_image" using primary key columns */ + cached_images_cached_image_by_pk?: Maybe + /** fetch data from the table in a streaming manner: "cached_images.cached_image" */ + cached_images_cached_image_stream: Array + /** fetch data from the table: "caip10" using primary key columns */ + caip10?: Maybe + /** fetch aggregated fields from the table: "caip10" */ + caip10_aggregate: Caip10_Aggregate + /** fetch data from the table in a streaming manner: "caip10" */ + caip10_stream: Array + /** fetch data from the table: "caip10" */ + caip10s: Array + /** fetch data from the table: "chainlink_price" using primary key columns */ + chainlink_price?: Maybe + /** fetch data from the table: "chainlink_price" */ + chainlink_prices: Array + /** fetch data from the table in a streaming manner: "chainlink_price" */ + chainlink_prices_stream: Array + /** fetch data from the table: "deposit" using primary key columns */ + deposit?: Maybe + /** An array relationship */ + deposits: Array + /** An aggregate relationship */ + deposits_aggregate: Deposits_Aggregate + /** fetch data from the table in a streaming manner: "deposit" */ + deposits_stream: Array + /** fetch data from the table: "event" using primary key columns */ + event?: Maybe + /** fetch data from the table: "event" */ + events: Array + /** fetch aggregated fields from the table: "event" */ + events_aggregate: Events_Aggregate + /** fetch data from the table in a streaming manner: "event" */ + events_stream: Array + /** fetch data from the table: "fee_transfer" using primary key columns */ + fee_transfer?: Maybe + /** An array relationship */ + fee_transfers: Array + /** An aggregate relationship */ + fee_transfers_aggregate: Fee_Transfers_Aggregate + /** fetch data from the table in a streaming manner: "fee_transfer" */ + fee_transfers_stream: Array + /** execute function "following" which returns "account" */ + following: Array + /** execute function "following" and query aggregates on result of table type "account" */ + following_aggregate: Accounts_Aggregate + /** fetch data from the table: "json_object" using primary key columns */ + json_object?: Maybe + /** fetch data from the table: "json_object" */ + json_objects: Array + /** fetch aggregated fields from the table: "json_object" */ + json_objects_aggregate: Json_Objects_Aggregate + /** fetch data from the table in a streaming manner: "json_object" */ + json_objects_stream: Array + /** fetch data from the table: "organization" using primary key columns */ + organization?: Maybe + /** fetch data from the table: "organization" */ + organizations: Array + /** fetch aggregated fields from the table: "organization" */ + organizations_aggregate: Organizations_Aggregate + /** fetch data from the table in a streaming manner: "organization" */ + organizations_stream: Array + /** fetch data from the table: "person" using primary key columns */ + person?: Maybe + /** fetch data from the table: "person" */ + persons: Array + /** fetch aggregated fields from the table: "person" */ + persons_aggregate: Persons_Aggregate + /** fetch data from the table in a streaming manner: "person" */ + persons_stream: Array + /** fetch data from the table: "position" using primary key columns */ + position?: Maybe + /** An array relationship */ + positions: Array + /** An aggregate relationship */ + positions_aggregate: Positions_Aggregate + /** execute function "positions_from_following" which returns "position" */ + positions_from_following: Array + /** execute function "positions_from_following" and query aggregates on result of table type "position" */ + positions_from_following_aggregate: Positions_Aggregate + /** fetch data from the table in a streaming manner: "position" */ + positions_stream: Array + /** fetch data from the table: "predicate_object" */ + predicate_objects: Array + /** fetch aggregated fields from the table: "predicate_object" */ + predicate_objects_aggregate: Predicate_Objects_Aggregate + /** fetch data from the table: "predicate_object" using primary key columns */ + predicate_objects_by_pk?: Maybe + /** fetch data from the table in a streaming manner: "predicate_object" */ + predicate_objects_stream: Array + /** fetch data from the table: "redemption" using primary key columns */ + redemption?: Maybe + /** An array relationship */ + redemptions: Array + /** An aggregate relationship */ + redemptions_aggregate: Redemptions_Aggregate + /** fetch data from the table in a streaming manner: "redemption" */ + redemptions_stream: Array + /** execute function "search_positions_on_subject" which returns "position" */ + search_positions_on_subject: Array + /** execute function "search_positions_on_subject" and query aggregates on result of table type "position" */ + search_positions_on_subject_aggregate: Positions_Aggregate + /** execute function "search_term" which returns "term" */ + search_term: Array + /** execute function "search_term" and query aggregates on result of table type "term" */ + search_term_aggregate: Terms_Aggregate + /** execute function "search_term_from_following" which returns "term" */ + search_term_from_following: Array + /** execute function "search_term_from_following" and query aggregates on result of table type "term" */ + search_term_from_following_aggregate: Terms_Aggregate + /** An array relationship */ + share_price_change_stats_daily: Array + /** fetch data from the table in a streaming manner: "share_price_change_stats_daily" */ + share_price_change_stats_daily_stream: Array + /** An array relationship */ + share_price_change_stats_hourly: Array + /** fetch data from the table in a streaming manner: "share_price_change_stats_hourly" */ + share_price_change_stats_hourly_stream: Array + /** An array relationship */ + share_price_change_stats_monthly: Array + /** fetch data from the table in a streaming manner: "share_price_change_stats_monthly" */ + share_price_change_stats_monthly_stream: Array + /** An array relationship */ + share_price_change_stats_weekly: Array + /** fetch data from the table in a streaming manner: "share_price_change_stats_weekly" */ + share_price_change_stats_weekly_stream: Array + /** An array relationship */ + share_price_changes: Array + /** An aggregate relationship */ + share_price_changes_aggregate: Share_Price_Changes_Aggregate + /** fetch data from the table in a streaming manner: "share_price_change" */ + share_price_changes_stream: Array + /** fetch data from the table: "signal_stats_daily" */ + signal_stats_daily: Array + /** fetch data from the table in a streaming manner: "signal_stats_daily" */ + signal_stats_daily_stream: Array + /** fetch data from the table: "signal_stats_hourly" */ + signal_stats_hourly: Array + /** fetch data from the table in a streaming manner: "signal_stats_hourly" */ + signal_stats_hourly_stream: Array + /** fetch data from the table: "signal_stats_monthly" */ + signal_stats_monthly: Array + /** fetch data from the table in a streaming manner: "signal_stats_monthly" */ + signal_stats_monthly_stream: Array + /** fetch data from the table: "signal_stats_weekly" */ + signal_stats_weekly: Array + /** fetch data from the table in a streaming manner: "signal_stats_weekly" */ + signal_stats_weekly_stream: Array + /** An array relationship */ + signals: Array + /** An aggregate relationship */ + signals_aggregate: Signals_Aggregate + /** execute function "signals_from_following" which returns "signal" */ + signals_from_following: Array + /** execute function "signals_from_following" and query aggregates on result of table type "signal" */ + signals_from_following_aggregate: Signals_Aggregate + /** fetch data from the table in a streaming manner: "signal" */ + signals_stream: Array + /** fetch data from the table: "stats" using primary key columns */ + stat?: Maybe + /** fetch data from the table: "stats" */ + stats: Array + /** fetch aggregated fields from the table: "stats" */ + stats_aggregate: Stats_Aggregate + /** fetch data from the table in a streaming manner: "stats" */ + stats_stream: Array + /** fetch data from the table: "term" using primary key columns */ + term?: Maybe + /** fetch data from the table: "term" */ + terms: Array + /** fetch aggregated fields from the table: "term" */ + terms_aggregate: Terms_Aggregate + /** fetch data from the table in a streaming manner: "term" */ + terms_stream: Array + /** fetch data from the table: "text_object" using primary key columns */ + text_object?: Maybe + /** fetch data from the table: "text_object" */ + text_objects: Array + /** fetch aggregated fields from the table: "text_object" */ + text_objects_aggregate: Text_Objects_Aggregate + /** fetch data from the table in a streaming manner: "text_object" */ + text_objects_stream: Array + /** fetch data from the table: "thing" using primary key columns */ + thing?: Maybe + /** fetch data from the table: "thing" */ + things: Array + /** fetch aggregated fields from the table: "thing" */ + things_aggregate: Things_Aggregate + /** fetch data from the table in a streaming manner: "thing" */ + things_stream: Array + /** fetch data from the table: "triple" using primary key columns */ + triple?: Maybe + /** fetch data from the table: "triple_term" using primary key columns */ + triple_term?: Maybe + /** fetch data from the table in a streaming manner: "triple_term" */ + triple_term_stream: Array + /** fetch data from the table: "triple_term" */ + triple_terms: Array + /** fetch data from the table: "triple_vault" using primary key columns */ + triple_vault?: Maybe + /** fetch data from the table in a streaming manner: "triple_vault" */ + triple_vault_stream: Array + /** fetch data from the table: "triple_vault" */ + triple_vaults: Array + /** An array relationship */ + triples: Array + /** An aggregate relationship */ + triples_aggregate: Triples_Aggregate + /** fetch data from the table in a streaming manner: "triple" */ + triples_stream: Array + /** fetch data from the table: "vault" using primary key columns */ + vault?: Maybe + /** An array relationship */ + vaults: Array + /** An aggregate relationship */ + vaults_aggregate: Vaults_Aggregate + /** fetch data from the table in a streaming manner: "vault" */ + vaults_stream: Array +} + +export type Subscription_RootAccountArgs = { + id: Scalars['String']['input'] +} + +export type Subscription_RootAccountsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootAccounts_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootAccounts_StreamArgs = { + batch_size: Scalars['Int']['input'] + cursor: Array> + where?: InputMaybe +} + +export type Subscription_RootAtomArgs = { + term_id: Scalars['numeric']['input'] +} + +export type Subscription_RootAtom_ValueArgs = { + id: Scalars['numeric']['input'] +} + +export type Subscription_RootAtom_ValuesArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootAtom_Values_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootAtom_Values_StreamArgs = { + batch_size: Scalars['Int']['input'] + cursor: Array> + where?: InputMaybe +} + +export type Subscription_RootAtomsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootAtoms_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootAtoms_StreamArgs = { + batch_size: Scalars['Int']['input'] + cursor: Array> + where?: InputMaybe +} + +export type Subscription_RootBookArgs = { + id: Scalars['numeric']['input'] +} + +export type Subscription_RootBooksArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootBooks_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootBooks_StreamArgs = { + batch_size: Scalars['Int']['input'] + cursor: Array> + where?: InputMaybe +} + +export type Subscription_RootByte_ObjectArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootByte_Object_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootByte_Object_By_PkArgs = { + id: Scalars['numeric']['input'] +} + +export type Subscription_RootByte_Object_StreamArgs = { + batch_size: Scalars['Int']['input'] + cursor: Array> + where?: InputMaybe +} + +export type Subscription_RootCached_Images_Cached_ImageArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootCached_Images_Cached_Image_By_PkArgs = { + url: Scalars['String']['input'] +} + +export type Subscription_RootCached_Images_Cached_Image_StreamArgs = { + batch_size: Scalars['Int']['input'] + cursor: Array> + where?: InputMaybe +} + +export type Subscription_RootCaip10Args = { + id: Scalars['numeric']['input'] +} + +export type Subscription_RootCaip10_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootCaip10_StreamArgs = { + batch_size: Scalars['Int']['input'] + cursor: Array> + where?: InputMaybe +} + +export type Subscription_RootCaip10sArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootChainlink_PriceArgs = { + id: Scalars['numeric']['input'] +} + +export type Subscription_RootChainlink_PricesArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootChainlink_Prices_StreamArgs = { + batch_size: Scalars['Int']['input'] + cursor: Array> + where?: InputMaybe +} + +export type Subscription_RootDepositArgs = { + id: Scalars['String']['input'] +} + +export type Subscription_RootDepositsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootDeposits_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootDeposits_StreamArgs = { + batch_size: Scalars['Int']['input'] + cursor: Array> + where?: InputMaybe +} + +export type Subscription_RootEventArgs = { + id: Scalars['String']['input'] +} + +export type Subscription_RootEventsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootEvents_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootEvents_StreamArgs = { + batch_size: Scalars['Int']['input'] + cursor: Array> + where?: InputMaybe +} + +export type Subscription_RootFee_TransferArgs = { + id: Scalars['String']['input'] +} + +export type Subscription_RootFee_TransfersArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootFee_Transfers_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootFee_Transfers_StreamArgs = { + batch_size: Scalars['Int']['input'] + cursor: Array> + where?: InputMaybe +} + +export type Subscription_RootFollowingArgs = { + args: Following_Args + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootFollowing_AggregateArgs = { + args: Following_Args + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootJson_ObjectArgs = { + id: Scalars['numeric']['input'] +} + +export type Subscription_RootJson_ObjectsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootJson_Objects_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootJson_Objects_StreamArgs = { + batch_size: Scalars['Int']['input'] + cursor: Array> + where?: InputMaybe +} + +export type Subscription_RootOrganizationArgs = { + id: Scalars['numeric']['input'] +} + +export type Subscription_RootOrganizationsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootOrganizations_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootOrganizations_StreamArgs = { + batch_size: Scalars['Int']['input'] + cursor: Array> + where?: InputMaybe +} + +export type Subscription_RootPersonArgs = { + id: Scalars['numeric']['input'] +} + +export type Subscription_RootPersonsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootPersons_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootPersons_StreamArgs = { + batch_size: Scalars['Int']['input'] + cursor: Array> + where?: InputMaybe +} + +export type Subscription_RootPositionArgs = { + id: Scalars['String']['input'] +} + +export type Subscription_RootPositionsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootPositions_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootPositions_From_FollowingArgs = { + args: Positions_From_Following_Args + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootPositions_From_Following_AggregateArgs = { + args: Positions_From_Following_Args + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootPositions_StreamArgs = { + batch_size: Scalars['Int']['input'] + cursor: Array> + where?: InputMaybe +} + +export type Subscription_RootPredicate_ObjectsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootPredicate_Objects_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootPredicate_Objects_By_PkArgs = { + id: Scalars['String']['input'] +} + +export type Subscription_RootPredicate_Objects_StreamArgs = { + batch_size: Scalars['Int']['input'] + cursor: Array> + where?: InputMaybe +} + +export type Subscription_RootRedemptionArgs = { + id: Scalars['String']['input'] +} + +export type Subscription_RootRedemptionsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootRedemptions_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootRedemptions_StreamArgs = { + batch_size: Scalars['Int']['input'] + cursor: Array> + where?: InputMaybe +} + +export type Subscription_RootSearch_Positions_On_SubjectArgs = { + args: Search_Positions_On_Subject_Args + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootSearch_Positions_On_Subject_AggregateArgs = { + args: Search_Positions_On_Subject_Args + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootSearch_TermArgs = { + args: Search_Term_Args + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootSearch_Term_AggregateArgs = { + args: Search_Term_Args + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootSearch_Term_From_FollowingArgs = { + args: Search_Term_From_Following_Args + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootSearch_Term_From_Following_AggregateArgs = { + args: Search_Term_From_Following_Args + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootShare_Price_Change_Stats_DailyArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootShare_Price_Change_Stats_Daily_StreamArgs = { + batch_size: Scalars['Int']['input'] + cursor: Array> + where?: InputMaybe +} + +export type Subscription_RootShare_Price_Change_Stats_HourlyArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootShare_Price_Change_Stats_Hourly_StreamArgs = { + batch_size: Scalars['Int']['input'] + cursor: Array> + where?: InputMaybe +} + +export type Subscription_RootShare_Price_Change_Stats_MonthlyArgs = { + distinct_on?: InputMaybe< + Array + > + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootShare_Price_Change_Stats_Monthly_StreamArgs = { + batch_size: Scalars['Int']['input'] + cursor: Array< + InputMaybe + > + where?: InputMaybe +} + +export type Subscription_RootShare_Price_Change_Stats_WeeklyArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootShare_Price_Change_Stats_Weekly_StreamArgs = { + batch_size: Scalars['Int']['input'] + cursor: Array> + where?: InputMaybe +} + +export type Subscription_RootShare_Price_ChangesArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootShare_Price_Changes_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootShare_Price_Changes_StreamArgs = { + batch_size: Scalars['Int']['input'] + cursor: Array> + where?: InputMaybe +} + +export type Subscription_RootSignal_Stats_DailyArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootSignal_Stats_Daily_StreamArgs = { + batch_size: Scalars['Int']['input'] + cursor: Array> + where?: InputMaybe +} + +export type Subscription_RootSignal_Stats_HourlyArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootSignal_Stats_Hourly_StreamArgs = { + batch_size: Scalars['Int']['input'] + cursor: Array> + where?: InputMaybe +} + +export type Subscription_RootSignal_Stats_MonthlyArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootSignal_Stats_Monthly_StreamArgs = { + batch_size: Scalars['Int']['input'] + cursor: Array> + where?: InputMaybe +} + +export type Subscription_RootSignal_Stats_WeeklyArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootSignal_Stats_Weekly_StreamArgs = { + batch_size: Scalars['Int']['input'] + cursor: Array> + where?: InputMaybe +} + +export type Subscription_RootSignalsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootSignals_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootSignals_From_FollowingArgs = { + args: Signals_From_Following_Args + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootSignals_From_Following_AggregateArgs = { + args: Signals_From_Following_Args + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootSignals_StreamArgs = { + batch_size: Scalars['Int']['input'] + cursor: Array> + where?: InputMaybe +} + +export type Subscription_RootStatArgs = { + id: Scalars['Int']['input'] +} + +export type Subscription_RootStatsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootStats_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootStats_StreamArgs = { + batch_size: Scalars['Int']['input'] + cursor: Array> + where?: InputMaybe +} + +export type Subscription_RootTermArgs = { + id: Scalars['numeric']['input'] +} + +export type Subscription_RootTermsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootTerms_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootTerms_StreamArgs = { + batch_size: Scalars['Int']['input'] + cursor: Array> + where?: InputMaybe +} + +export type Subscription_RootText_ObjectArgs = { + id: Scalars['numeric']['input'] +} + +export type Subscription_RootText_ObjectsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootText_Objects_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootText_Objects_StreamArgs = { + batch_size: Scalars['Int']['input'] + cursor: Array> + where?: InputMaybe +} + +export type Subscription_RootThingArgs = { + id: Scalars['numeric']['input'] +} + +export type Subscription_RootThingsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootThings_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootThings_StreamArgs = { + batch_size: Scalars['Int']['input'] + cursor: Array> + where?: InputMaybe +} + +export type Subscription_RootTripleArgs = { + term_id: Scalars['numeric']['input'] +} + +export type Subscription_RootTriple_TermArgs = { + term_id: Scalars['numeric']['input'] +} + +export type Subscription_RootTriple_Term_StreamArgs = { + batch_size: Scalars['Int']['input'] + cursor: Array> + where?: InputMaybe +} + +export type Subscription_RootTriple_TermsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootTriple_VaultArgs = { + curve_id: Scalars['numeric']['input'] + term_id: Scalars['numeric']['input'] +} + +export type Subscription_RootTriple_Vault_StreamArgs = { + batch_size: Scalars['Int']['input'] + cursor: Array> + where?: InputMaybe +} + +export type Subscription_RootTriple_VaultsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootTriplesArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootTriples_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootTriples_StreamArgs = { + batch_size: Scalars['Int']['input'] + cursor: Array> + where?: InputMaybe +} + +export type Subscription_RootVaultArgs = { + curve_id: Scalars['numeric']['input'] + term_id: Scalars['numeric']['input'] +} + +export type Subscription_RootVaultsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootVaults_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootVaults_StreamArgs = { + batch_size: Scalars['Int']['input'] + cursor: Array> + where?: InputMaybe +} + +/** Boolean expression to compare columns of type "term_type". All fields are combined with logical 'AND'. */ +export type Term_Type_Comparison_Exp = { + _eq?: InputMaybe + _gt?: InputMaybe + _gte?: InputMaybe + _in?: InputMaybe> + _is_null?: InputMaybe + _lt?: InputMaybe + _lte?: InputMaybe + _neq?: InputMaybe + _nin?: InputMaybe> +} + +/** columns and relationships of "term" */ +export type Terms = { + __typename?: 'terms' + /** An object relationship */ + atom?: Maybe + /** An object relationship */ + atomById?: Maybe + atom_id?: Maybe + /** An array relationship */ + deposits: Array + /** An aggregate relationship */ + deposits_aggregate: Deposits_Aggregate + id: Scalars['numeric']['output'] + /** An array relationship */ + positions: Array + /** An aggregate relationship */ + positions_aggregate: Positions_Aggregate + /** An array relationship */ + redemptions: Array + /** An aggregate relationship */ + redemptions_aggregate: Redemptions_Aggregate + /** An array relationship */ + share_price_change_stats_daily: Array + /** An array relationship */ + share_price_change_stats_hourly: Array + /** An array relationship */ + share_price_change_stats_monthly: Array + /** An array relationship */ + share_price_change_stats_weekly: Array + /** An array relationship */ + share_price_changes: Array + /** An aggregate relationship */ + share_price_changes_aggregate: Share_Price_Changes_Aggregate + /** An array relationship */ + signals: Array + /** An aggregate relationship */ + signals_aggregate: Signals_Aggregate + total_assets?: Maybe + total_market_cap?: Maybe + /** An object relationship */ + triple?: Maybe + /** An object relationship */ + tripleById?: Maybe + triple_id?: Maybe + type: Scalars['term_type']['output'] + /** An array relationship */ + vaults: Array + /** An aggregate relationship */ + vaults_aggregate: Vaults_Aggregate +} + +/** columns and relationships of "term" */ +export type TermsDepositsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "term" */ +export type TermsDeposits_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "term" */ +export type TermsPositionsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "term" */ +export type TermsPositions_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "term" */ +export type TermsRedemptionsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "term" */ +export type TermsRedemptions_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "term" */ +export type TermsShare_Price_Change_Stats_DailyArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "term" */ +export type TermsShare_Price_Change_Stats_HourlyArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "term" */ +export type TermsShare_Price_Change_Stats_MonthlyArgs = { + distinct_on?: InputMaybe< + Array + > + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "term" */ +export type TermsShare_Price_Change_Stats_WeeklyArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "term" */ +export type TermsShare_Price_ChangesArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "term" */ +export type TermsShare_Price_Changes_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "term" */ +export type TermsSignalsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "term" */ +export type TermsSignals_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "term" */ +export type TermsVaultsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "term" */ +export type TermsVaults_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Terms_Aggregate = { + __typename?: 'terms_aggregate' + aggregate?: Maybe + nodes: Array +} + +/** aggregate fields of "term" */ +export type Terms_Aggregate_Fields = { + __typename?: 'terms_aggregate_fields' + avg?: Maybe + count: Scalars['Int']['output'] + max?: Maybe + min?: Maybe + stddev?: Maybe + stddev_pop?: Maybe + stddev_samp?: Maybe + sum?: Maybe + var_pop?: Maybe + var_samp?: Maybe + variance?: Maybe +} + +/** aggregate fields of "term" */ +export type Terms_Aggregate_FieldsCountArgs = { + columns?: InputMaybe> + distinct?: InputMaybe +} + +/** aggregate avg on columns */ +export type Terms_Avg_Fields = { + __typename?: 'terms_avg_fields' + atom_id?: Maybe + id?: Maybe + total_assets?: Maybe + total_market_cap?: Maybe + triple_id?: Maybe +} + +/** Boolean expression to filter rows from the table "term". All fields are combined with a logical 'AND'. */ +export type Terms_Bool_Exp = { + _and?: InputMaybe> + _not?: InputMaybe + _or?: InputMaybe> + atom?: InputMaybe + atomById?: InputMaybe + atom_id?: InputMaybe + deposits?: InputMaybe + deposits_aggregate?: InputMaybe + id?: InputMaybe + positions?: InputMaybe + positions_aggregate?: InputMaybe + redemptions?: InputMaybe + redemptions_aggregate?: InputMaybe + share_price_change_stats_daily?: InputMaybe + share_price_change_stats_hourly?: InputMaybe + share_price_change_stats_monthly?: InputMaybe + share_price_change_stats_weekly?: InputMaybe + share_price_changes?: InputMaybe + share_price_changes_aggregate?: InputMaybe + signals?: InputMaybe + signals_aggregate?: InputMaybe + total_assets?: InputMaybe + total_market_cap?: InputMaybe + triple?: InputMaybe + tripleById?: InputMaybe + triple_id?: InputMaybe + type?: InputMaybe + vaults?: InputMaybe + vaults_aggregate?: InputMaybe +} + +/** aggregate max on columns */ +export type Terms_Max_Fields = { + __typename?: 'terms_max_fields' + atom_id?: Maybe + id?: Maybe + total_assets?: Maybe + total_market_cap?: Maybe + triple_id?: Maybe + type?: Maybe +} + +/** aggregate min on columns */ +export type Terms_Min_Fields = { + __typename?: 'terms_min_fields' + atom_id?: Maybe + id?: Maybe + total_assets?: Maybe + total_market_cap?: Maybe + triple_id?: Maybe + type?: Maybe +} + +/** Ordering options when selecting data from "term". */ +export type Terms_Order_By = { + atom?: InputMaybe + atomById?: InputMaybe + atom_id?: InputMaybe + deposits_aggregate?: InputMaybe + id?: InputMaybe + positions_aggregate?: InputMaybe + redemptions_aggregate?: InputMaybe + share_price_change_stats_daily_aggregate?: InputMaybe + share_price_change_stats_hourly_aggregate?: InputMaybe + share_price_change_stats_monthly_aggregate?: InputMaybe + share_price_change_stats_weekly_aggregate?: InputMaybe + share_price_changes_aggregate?: InputMaybe + signals_aggregate?: InputMaybe + total_assets?: InputMaybe + total_market_cap?: InputMaybe + triple?: InputMaybe + tripleById?: InputMaybe + triple_id?: InputMaybe + type?: InputMaybe + vaults_aggregate?: InputMaybe +} + +/** select columns of table "term" */ +export type Terms_Select_Column = + /** column name */ + | 'atom_id' + /** column name */ + | 'id' + /** column name */ + | 'total_assets' + /** column name */ + | 'total_market_cap' + /** column name */ + | 'triple_id' + /** column name */ + | 'type' + +/** aggregate stddev on columns */ +export type Terms_Stddev_Fields = { + __typename?: 'terms_stddev_fields' + atom_id?: Maybe + id?: Maybe + total_assets?: Maybe + total_market_cap?: Maybe + triple_id?: Maybe +} + +/** aggregate stddev_pop on columns */ +export type Terms_Stddev_Pop_Fields = { + __typename?: 'terms_stddev_pop_fields' + atom_id?: Maybe + id?: Maybe + total_assets?: Maybe + total_market_cap?: Maybe + triple_id?: Maybe +} + +/** aggregate stddev_samp on columns */ +export type Terms_Stddev_Samp_Fields = { + __typename?: 'terms_stddev_samp_fields' + atom_id?: Maybe + id?: Maybe + total_assets?: Maybe + total_market_cap?: Maybe + triple_id?: Maybe +} + +/** Streaming cursor of the table "terms" */ +export type Terms_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Terms_Stream_Cursor_Value_Input + /** cursor ordering */ + ordering?: InputMaybe +} + +/** Initial value of the column from where the streaming should start */ +export type Terms_Stream_Cursor_Value_Input = { + atom_id?: InputMaybe + id?: InputMaybe + total_assets?: InputMaybe + total_market_cap?: InputMaybe + triple_id?: InputMaybe + type?: InputMaybe +} + +/** aggregate sum on columns */ +export type Terms_Sum_Fields = { + __typename?: 'terms_sum_fields' + atom_id?: Maybe + id?: Maybe + total_assets?: Maybe + total_market_cap?: Maybe + triple_id?: Maybe +} + +/** aggregate var_pop on columns */ +export type Terms_Var_Pop_Fields = { + __typename?: 'terms_var_pop_fields' + atom_id?: Maybe + id?: Maybe + total_assets?: Maybe + total_market_cap?: Maybe + triple_id?: Maybe +} + +/** aggregate var_samp on columns */ +export type Terms_Var_Samp_Fields = { + __typename?: 'terms_var_samp_fields' + atom_id?: Maybe + id?: Maybe + total_assets?: Maybe + total_market_cap?: Maybe + triple_id?: Maybe +} + +/** aggregate variance on columns */ +export type Terms_Variance_Fields = { + __typename?: 'terms_variance_fields' + atom_id?: Maybe + id?: Maybe + total_assets?: Maybe + total_market_cap?: Maybe + triple_id?: Maybe +} + +/** columns and relationships of "text_object" */ +export type Text_Objects = { + __typename?: 'text_objects' + /** An object relationship */ + atom?: Maybe + data: Scalars['String']['output'] + id: Scalars['numeric']['output'] +} + +/** aggregated selection of "text_object" */ +export type Text_Objects_Aggregate = { + __typename?: 'text_objects_aggregate' + aggregate?: Maybe + nodes: Array +} + +/** aggregate fields of "text_object" */ +export type Text_Objects_Aggregate_Fields = { + __typename?: 'text_objects_aggregate_fields' + avg?: Maybe + count: Scalars['Int']['output'] + max?: Maybe + min?: Maybe + stddev?: Maybe + stddev_pop?: Maybe + stddev_samp?: Maybe + sum?: Maybe + var_pop?: Maybe + var_samp?: Maybe + variance?: Maybe +} + +/** aggregate fields of "text_object" */ +export type Text_Objects_Aggregate_FieldsCountArgs = { + columns?: InputMaybe> + distinct?: InputMaybe +} + +/** aggregate avg on columns */ +export type Text_Objects_Avg_Fields = { + __typename?: 'text_objects_avg_fields' + id?: Maybe +} + +/** Boolean expression to filter rows from the table "text_object". All fields are combined with a logical 'AND'. */ +export type Text_Objects_Bool_Exp = { + _and?: InputMaybe> + _not?: InputMaybe + _or?: InputMaybe> + atom?: InputMaybe + data?: InputMaybe + id?: InputMaybe +} + +/** aggregate max on columns */ +export type Text_Objects_Max_Fields = { + __typename?: 'text_objects_max_fields' + data?: Maybe + id?: Maybe +} + +/** aggregate min on columns */ +export type Text_Objects_Min_Fields = { + __typename?: 'text_objects_min_fields' + data?: Maybe + id?: Maybe +} + +/** Ordering options when selecting data from "text_object". */ +export type Text_Objects_Order_By = { + atom?: InputMaybe + data?: InputMaybe + id?: InputMaybe +} + +/** select columns of table "text_object" */ +export type Text_Objects_Select_Column = + /** column name */ + | 'data' + /** column name */ + | 'id' + +/** aggregate stddev on columns */ +export type Text_Objects_Stddev_Fields = { + __typename?: 'text_objects_stddev_fields' + id?: Maybe +} + +/** aggregate stddev_pop on columns */ +export type Text_Objects_Stddev_Pop_Fields = { + __typename?: 'text_objects_stddev_pop_fields' + id?: Maybe +} + +/** aggregate stddev_samp on columns */ +export type Text_Objects_Stddev_Samp_Fields = { + __typename?: 'text_objects_stddev_samp_fields' + id?: Maybe +} + +/** Streaming cursor of the table "text_objects" */ +export type Text_Objects_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Text_Objects_Stream_Cursor_Value_Input + /** cursor ordering */ + ordering?: InputMaybe +} + +/** Initial value of the column from where the streaming should start */ +export type Text_Objects_Stream_Cursor_Value_Input = { + data?: InputMaybe + id?: InputMaybe +} + +/** aggregate sum on columns */ +export type Text_Objects_Sum_Fields = { + __typename?: 'text_objects_sum_fields' + id?: Maybe +} + +/** aggregate var_pop on columns */ +export type Text_Objects_Var_Pop_Fields = { + __typename?: 'text_objects_var_pop_fields' + id?: Maybe +} + +/** aggregate var_samp on columns */ +export type Text_Objects_Var_Samp_Fields = { + __typename?: 'text_objects_var_samp_fields' + id?: Maybe +} + +/** aggregate variance on columns */ +export type Text_Objects_Variance_Fields = { + __typename?: 'text_objects_variance_fields' + id?: Maybe +} + +/** columns and relationships of "thing" */ +export type Things = { + __typename?: 'things' + /** An object relationship */ + atom?: Maybe + cached_image?: Maybe + description?: Maybe + id: Scalars['numeric']['output'] + image?: Maybe + name?: Maybe + url?: Maybe +} + +/** aggregated selection of "thing" */ +export type Things_Aggregate = { + __typename?: 'things_aggregate' + aggregate?: Maybe + nodes: Array +} + +/** aggregate fields of "thing" */ +export type Things_Aggregate_Fields = { + __typename?: 'things_aggregate_fields' + avg?: Maybe + count: Scalars['Int']['output'] + max?: Maybe + min?: Maybe + stddev?: Maybe + stddev_pop?: Maybe + stddev_samp?: Maybe + sum?: Maybe + var_pop?: Maybe + var_samp?: Maybe + variance?: Maybe +} + +/** aggregate fields of "thing" */ +export type Things_Aggregate_FieldsCountArgs = { + columns?: InputMaybe> + distinct?: InputMaybe +} + +/** aggregate avg on columns */ +export type Things_Avg_Fields = { + __typename?: 'things_avg_fields' + id?: Maybe +} + +/** Boolean expression to filter rows from the table "thing". All fields are combined with a logical 'AND'. */ +export type Things_Bool_Exp = { + _and?: InputMaybe> + _not?: InputMaybe + _or?: InputMaybe> + atom?: InputMaybe + description?: InputMaybe + id?: InputMaybe + image?: InputMaybe + name?: InputMaybe + url?: InputMaybe +} + +/** aggregate max on columns */ +export type Things_Max_Fields = { + __typename?: 'things_max_fields' + description?: Maybe + id?: Maybe + image?: Maybe + name?: Maybe + url?: Maybe +} + +/** aggregate min on columns */ +export type Things_Min_Fields = { + __typename?: 'things_min_fields' + description?: Maybe + id?: Maybe + image?: Maybe + name?: Maybe + url?: Maybe +} + +/** Ordering options when selecting data from "thing". */ +export type Things_Order_By = { + atom?: InputMaybe + description?: InputMaybe + id?: InputMaybe + image?: InputMaybe + name?: InputMaybe + url?: InputMaybe +} + +/** select columns of table "thing" */ +export type Things_Select_Column = + /** column name */ + | 'description' + /** column name */ + | 'id' + /** column name */ + | 'image' + /** column name */ + | 'name' + /** column name */ + | 'url' + +/** aggregate stddev on columns */ +export type Things_Stddev_Fields = { + __typename?: 'things_stddev_fields' + id?: Maybe +} + +/** aggregate stddev_pop on columns */ +export type Things_Stddev_Pop_Fields = { + __typename?: 'things_stddev_pop_fields' + id?: Maybe +} + +/** aggregate stddev_samp on columns */ +export type Things_Stddev_Samp_Fields = { + __typename?: 'things_stddev_samp_fields' + id?: Maybe +} + +/** Streaming cursor of the table "things" */ +export type Things_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Things_Stream_Cursor_Value_Input + /** cursor ordering */ + ordering?: InputMaybe +} + +/** Initial value of the column from where the streaming should start */ +export type Things_Stream_Cursor_Value_Input = { + description?: InputMaybe + id?: InputMaybe + image?: InputMaybe + name?: InputMaybe + url?: InputMaybe +} + +/** aggregate sum on columns */ +export type Things_Sum_Fields = { + __typename?: 'things_sum_fields' + id?: Maybe +} + +/** aggregate var_pop on columns */ +export type Things_Var_Pop_Fields = { + __typename?: 'things_var_pop_fields' + id?: Maybe +} + +/** aggregate var_samp on columns */ +export type Things_Var_Samp_Fields = { + __typename?: 'things_var_samp_fields' + id?: Maybe +} + +/** aggregate variance on columns */ +export type Things_Variance_Fields = { + __typename?: 'things_variance_fields' + id?: Maybe +} + +/** Boolean expression to compare columns of type "timestamptz". All fields are combined with logical 'AND'. */ +export type Timestamptz_Comparison_Exp = { + _eq?: InputMaybe + _gt?: InputMaybe + _gte?: InputMaybe + _in?: InputMaybe> + _is_null?: InputMaybe + _lt?: InputMaybe + _lte?: InputMaybe + _neq?: InputMaybe + _nin?: InputMaybe> +} + +/** columns and relationships of "triple_term" */ +export type Triple_Term = { + __typename?: 'triple_term' + /** An object relationship */ + counter_term: Terms + counter_term_id: Scalars['numeric']['output'] + /** An object relationship */ + term: Terms + term_id: Scalars['numeric']['output'] + total_assets: Scalars['numeric']['output'] + total_market_cap: Scalars['numeric']['output'] + total_position_count: Scalars['bigint']['output'] + updated_at: Scalars['timestamptz']['output'] +} + +/** Boolean expression to filter rows from the table "triple_term". All fields are combined with a logical 'AND'. */ +export type Triple_Term_Bool_Exp = { + _and?: InputMaybe> + _not?: InputMaybe + _or?: InputMaybe> + counter_term?: InputMaybe + counter_term_id?: InputMaybe + term?: InputMaybe + term_id?: InputMaybe + total_assets?: InputMaybe + total_market_cap?: InputMaybe + total_position_count?: InputMaybe + updated_at?: InputMaybe +} + +/** Ordering options when selecting data from "triple_term". */ +export type Triple_Term_Order_By = { + counter_term?: InputMaybe + counter_term_id?: InputMaybe + term?: InputMaybe + term_id?: InputMaybe + total_assets?: InputMaybe + total_market_cap?: InputMaybe + total_position_count?: InputMaybe + updated_at?: InputMaybe +} + +/** select columns of table "triple_term" */ +export type Triple_Term_Select_Column = + /** column name */ + | 'counter_term_id' + /** column name */ + | 'term_id' + /** column name */ + | 'total_assets' + /** column name */ + | 'total_market_cap' + /** column name */ + | 'total_position_count' + /** column name */ + | 'updated_at' + +/** Streaming cursor of the table "triple_term" */ +export type Triple_Term_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Triple_Term_Stream_Cursor_Value_Input + /** cursor ordering */ + ordering?: InputMaybe +} + +/** Initial value of the column from where the streaming should start */ +export type Triple_Term_Stream_Cursor_Value_Input = { + counter_term_id?: InputMaybe + term_id?: InputMaybe + total_assets?: InputMaybe + total_market_cap?: InputMaybe + total_position_count?: InputMaybe + updated_at?: InputMaybe +} + +/** columns and relationships of "triple_vault" */ +export type Triple_Vault = { + __typename?: 'triple_vault' + block_number: Scalars['numeric']['output'] + /** An object relationship */ + counter_term?: Maybe + counter_term_id: Scalars['numeric']['output'] + curve_id: Scalars['numeric']['output'] + log_index: Scalars['bigint']['output'] + market_cap: Scalars['numeric']['output'] + position_count: Scalars['bigint']['output'] + /** An object relationship */ + term?: Maybe + term_id: Scalars['numeric']['output'] + total_assets: Scalars['numeric']['output'] + total_shares: Scalars['numeric']['output'] + updated_at: Scalars['timestamptz']['output'] +} + +/** Boolean expression to filter rows from the table "triple_vault". All fields are combined with a logical 'AND'. */ +export type Triple_Vault_Bool_Exp = { + _and?: InputMaybe> + _not?: InputMaybe + _or?: InputMaybe> + block_number?: InputMaybe + counter_term?: InputMaybe + counter_term_id?: InputMaybe + curve_id?: InputMaybe + log_index?: InputMaybe + market_cap?: InputMaybe + position_count?: InputMaybe + term?: InputMaybe + term_id?: InputMaybe + total_assets?: InputMaybe + total_shares?: InputMaybe + updated_at?: InputMaybe +} + +/** Ordering options when selecting data from "triple_vault". */ +export type Triple_Vault_Order_By = { + block_number?: InputMaybe + counter_term?: InputMaybe + counter_term_id?: InputMaybe + curve_id?: InputMaybe + log_index?: InputMaybe + market_cap?: InputMaybe + position_count?: InputMaybe + term?: InputMaybe + term_id?: InputMaybe + total_assets?: InputMaybe + total_shares?: InputMaybe + updated_at?: InputMaybe +} + +/** select columns of table "triple_vault" */ +export type Triple_Vault_Select_Column = + /** column name */ + | 'block_number' + /** column name */ + | 'counter_term_id' + /** column name */ + | 'curve_id' + /** column name */ + | 'log_index' + /** column name */ + | 'market_cap' + /** column name */ + | 'position_count' + /** column name */ + | 'term_id' + /** column name */ + | 'total_assets' + /** column name */ + | 'total_shares' + /** column name */ + | 'updated_at' + +/** Streaming cursor of the table "triple_vault" */ +export type Triple_Vault_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Triple_Vault_Stream_Cursor_Value_Input + /** cursor ordering */ + ordering?: InputMaybe +} + +/** Initial value of the column from where the streaming should start */ +export type Triple_Vault_Stream_Cursor_Value_Input = { + block_number?: InputMaybe + counter_term_id?: InputMaybe + curve_id?: InputMaybe + log_index?: InputMaybe + market_cap?: InputMaybe + position_count?: InputMaybe + term_id?: InputMaybe + total_assets?: InputMaybe + total_shares?: InputMaybe + updated_at?: InputMaybe +} + +/** columns and relationships of "triple" */ +export type Triples = { + __typename?: 'triples' + block_number: Scalars['numeric']['output'] + /** An array relationship */ + counter_positions: Array + /** An aggregate relationship */ + counter_positions_aggregate: Positions_Aggregate + /** An object relationship */ + counter_term?: Maybe + counter_term_id: Scalars['numeric']['output'] + created_at: Scalars['timestamptz']['output'] + /** An object relationship */ + creator?: Maybe + creator_id: Scalars['String']['output'] + /** An object relationship */ + object: Atoms + object_id: Scalars['numeric']['output'] + /** An array relationship */ + positions: Array + /** An aggregate relationship */ + positions_aggregate: Positions_Aggregate + /** An object relationship */ + predicate: Atoms + predicate_id: Scalars['numeric']['output'] + /** An object relationship */ + subject: Atoms + subject_id: Scalars['numeric']['output'] + /** An object relationship */ + term?: Maybe + term_id: Scalars['numeric']['output'] + transaction_hash: Scalars['String']['output'] + /** An object relationship */ + triple_term?: Maybe + /** An object relationship */ + triple_vault?: Maybe +} + +/** columns and relationships of "triple" */ +export type TriplesCounter_PositionsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "triple" */ +export type TriplesCounter_Positions_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "triple" */ +export type TriplesPositionsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "triple" */ +export type TriplesPositions_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** aggregated selection of "triple" */ +export type Triples_Aggregate = { + __typename?: 'triples_aggregate' + aggregate?: Maybe + nodes: Array +} + +export type Triples_Aggregate_Bool_Exp = { + count?: InputMaybe +} + +export type Triples_Aggregate_Bool_Exp_Count = { + arguments?: InputMaybe> + distinct?: InputMaybe + filter?: InputMaybe + predicate: Int_Comparison_Exp +} + +/** aggregate fields of "triple" */ +export type Triples_Aggregate_Fields = { + __typename?: 'triples_aggregate_fields' + avg?: Maybe + count: Scalars['Int']['output'] + max?: Maybe + min?: Maybe + stddev?: Maybe + stddev_pop?: Maybe + stddev_samp?: Maybe + sum?: Maybe + var_pop?: Maybe + var_samp?: Maybe + variance?: Maybe +} + +/** aggregate fields of "triple" */ +export type Triples_Aggregate_FieldsCountArgs = { + columns?: InputMaybe> + distinct?: InputMaybe +} + +/** order by aggregate values of table "triple" */ +export type Triples_Aggregate_Order_By = { + avg?: InputMaybe + count?: InputMaybe + max?: InputMaybe + min?: InputMaybe + stddev?: InputMaybe + stddev_pop?: InputMaybe + stddev_samp?: InputMaybe + sum?: InputMaybe + var_pop?: InputMaybe + var_samp?: InputMaybe + variance?: InputMaybe +} + +/** aggregate avg on columns */ +export type Triples_Avg_Fields = { + __typename?: 'triples_avg_fields' + block_number?: Maybe + counter_term_id?: Maybe + object_id?: Maybe + predicate_id?: Maybe + subject_id?: Maybe + term_id?: Maybe +} + +/** order by avg() on columns of table "triple" */ +export type Triples_Avg_Order_By = { + block_number?: InputMaybe + counter_term_id?: InputMaybe + object_id?: InputMaybe + predicate_id?: InputMaybe + subject_id?: InputMaybe + term_id?: InputMaybe +} + +/** Boolean expression to filter rows from the table "triple". All fields are combined with a logical 'AND'. */ +export type Triples_Bool_Exp = { + _and?: InputMaybe> + _not?: InputMaybe + _or?: InputMaybe> + block_number?: InputMaybe + counter_positions?: InputMaybe + counter_positions_aggregate?: InputMaybe + counter_term?: InputMaybe + counter_term_id?: InputMaybe + created_at?: InputMaybe + creator?: InputMaybe + creator_id?: InputMaybe + object?: InputMaybe + object_id?: InputMaybe + positions?: InputMaybe + positions_aggregate?: InputMaybe + predicate?: InputMaybe + predicate_id?: InputMaybe + subject?: InputMaybe + subject_id?: InputMaybe + term?: InputMaybe + term_id?: InputMaybe + transaction_hash?: InputMaybe + triple_term?: InputMaybe + triple_vault?: InputMaybe +} + +/** aggregate max on columns */ +export type Triples_Max_Fields = { + __typename?: 'triples_max_fields' + block_number?: Maybe + counter_term_id?: Maybe + created_at?: Maybe + creator_id?: Maybe + object_id?: Maybe + predicate_id?: Maybe + subject_id?: Maybe + term_id?: Maybe + transaction_hash?: Maybe +} + +/** order by max() on columns of table "triple" */ +export type Triples_Max_Order_By = { + block_number?: InputMaybe + counter_term_id?: InputMaybe + created_at?: InputMaybe + creator_id?: InputMaybe + object_id?: InputMaybe + predicate_id?: InputMaybe + subject_id?: InputMaybe + term_id?: InputMaybe + transaction_hash?: InputMaybe +} + +/** aggregate min on columns */ +export type Triples_Min_Fields = { + __typename?: 'triples_min_fields' + block_number?: Maybe + counter_term_id?: Maybe + created_at?: Maybe + creator_id?: Maybe + object_id?: Maybe + predicate_id?: Maybe + subject_id?: Maybe + term_id?: Maybe + transaction_hash?: Maybe +} + +/** order by min() on columns of table "triple" */ +export type Triples_Min_Order_By = { + block_number?: InputMaybe + counter_term_id?: InputMaybe + created_at?: InputMaybe + creator_id?: InputMaybe + object_id?: InputMaybe + predicate_id?: InputMaybe + subject_id?: InputMaybe + term_id?: InputMaybe + transaction_hash?: InputMaybe +} + +/** Ordering options when selecting data from "triple". */ +export type Triples_Order_By = { + block_number?: InputMaybe + counter_positions_aggregate?: InputMaybe + counter_term?: InputMaybe + counter_term_id?: InputMaybe + created_at?: InputMaybe + creator?: InputMaybe + creator_id?: InputMaybe + object?: InputMaybe + object_id?: InputMaybe + positions_aggregate?: InputMaybe + predicate?: InputMaybe + predicate_id?: InputMaybe + subject?: InputMaybe + subject_id?: InputMaybe + term?: InputMaybe + term_id?: InputMaybe + transaction_hash?: InputMaybe + triple_term?: InputMaybe + triple_vault?: InputMaybe +} + +/** select columns of table "triple" */ +export type Triples_Select_Column = + /** column name */ + | 'block_number' + /** column name */ + | 'counter_term_id' + /** column name */ + | 'created_at' + /** column name */ + | 'creator_id' + /** column name */ + | 'object_id' + /** column name */ + | 'predicate_id' + /** column name */ + | 'subject_id' + /** column name */ + | 'term_id' + /** column name */ + | 'transaction_hash' + +/** aggregate stddev on columns */ +export type Triples_Stddev_Fields = { + __typename?: 'triples_stddev_fields' + block_number?: Maybe + counter_term_id?: Maybe + object_id?: Maybe + predicate_id?: Maybe + subject_id?: Maybe + term_id?: Maybe +} + +/** order by stddev() on columns of table "triple" */ +export type Triples_Stddev_Order_By = { + block_number?: InputMaybe + counter_term_id?: InputMaybe + object_id?: InputMaybe + predicate_id?: InputMaybe + subject_id?: InputMaybe + term_id?: InputMaybe +} + +/** aggregate stddev_pop on columns */ +export type Triples_Stddev_Pop_Fields = { + __typename?: 'triples_stddev_pop_fields' + block_number?: Maybe + counter_term_id?: Maybe + object_id?: Maybe + predicate_id?: Maybe + subject_id?: Maybe + term_id?: Maybe +} + +/** order by stddev_pop() on columns of table "triple" */ +export type Triples_Stddev_Pop_Order_By = { + block_number?: InputMaybe + counter_term_id?: InputMaybe + object_id?: InputMaybe + predicate_id?: InputMaybe + subject_id?: InputMaybe + term_id?: InputMaybe +} + +/** aggregate stddev_samp on columns */ +export type Triples_Stddev_Samp_Fields = { + __typename?: 'triples_stddev_samp_fields' + block_number?: Maybe + counter_term_id?: Maybe + object_id?: Maybe + predicate_id?: Maybe + subject_id?: Maybe + term_id?: Maybe +} + +/** order by stddev_samp() on columns of table "triple" */ +export type Triples_Stddev_Samp_Order_By = { + block_number?: InputMaybe + counter_term_id?: InputMaybe + object_id?: InputMaybe + predicate_id?: InputMaybe + subject_id?: InputMaybe + term_id?: InputMaybe +} + +/** Streaming cursor of the table "triples" */ +export type Triples_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Triples_Stream_Cursor_Value_Input + /** cursor ordering */ + ordering?: InputMaybe +} + +/** Initial value of the column from where the streaming should start */ +export type Triples_Stream_Cursor_Value_Input = { + block_number?: InputMaybe + counter_term_id?: InputMaybe + created_at?: InputMaybe + creator_id?: InputMaybe + object_id?: InputMaybe + predicate_id?: InputMaybe + subject_id?: InputMaybe + term_id?: InputMaybe + transaction_hash?: InputMaybe +} + +/** aggregate sum on columns */ +export type Triples_Sum_Fields = { + __typename?: 'triples_sum_fields' + block_number?: Maybe + counter_term_id?: Maybe + object_id?: Maybe + predicate_id?: Maybe + subject_id?: Maybe + term_id?: Maybe +} + +/** order by sum() on columns of table "triple" */ +export type Triples_Sum_Order_By = { + block_number?: InputMaybe + counter_term_id?: InputMaybe + object_id?: InputMaybe + predicate_id?: InputMaybe + subject_id?: InputMaybe + term_id?: InputMaybe +} + +/** aggregate var_pop on columns */ +export type Triples_Var_Pop_Fields = { + __typename?: 'triples_var_pop_fields' + block_number?: Maybe + counter_term_id?: Maybe + object_id?: Maybe + predicate_id?: Maybe + subject_id?: Maybe + term_id?: Maybe +} + +/** order by var_pop() on columns of table "triple" */ +export type Triples_Var_Pop_Order_By = { + block_number?: InputMaybe + counter_term_id?: InputMaybe + object_id?: InputMaybe + predicate_id?: InputMaybe + subject_id?: InputMaybe + term_id?: InputMaybe +} + +/** aggregate var_samp on columns */ +export type Triples_Var_Samp_Fields = { + __typename?: 'triples_var_samp_fields' + block_number?: Maybe + counter_term_id?: Maybe + object_id?: Maybe + predicate_id?: Maybe + subject_id?: Maybe + term_id?: Maybe +} + +/** order by var_samp() on columns of table "triple" */ +export type Triples_Var_Samp_Order_By = { + block_number?: InputMaybe + counter_term_id?: InputMaybe + object_id?: InputMaybe + predicate_id?: InputMaybe + subject_id?: InputMaybe + term_id?: InputMaybe +} + +/** aggregate variance on columns */ +export type Triples_Variance_Fields = { + __typename?: 'triples_variance_fields' + block_number?: Maybe + counter_term_id?: Maybe + object_id?: Maybe + predicate_id?: Maybe + subject_id?: Maybe + term_id?: Maybe +} + +/** order by variance() on columns of table "triple" */ +export type Triples_Variance_Order_By = { + block_number?: InputMaybe + counter_term_id?: InputMaybe + object_id?: InputMaybe + predicate_id?: InputMaybe + subject_id?: InputMaybe + term_id?: InputMaybe +} + +/** columns and relationships of "vault" */ +export type Vaults = { + __typename?: 'vaults' + created_at: Scalars['timestamptz']['output'] + current_share_price: Scalars['numeric']['output'] + curve_id: Scalars['numeric']['output'] + /** An array relationship */ + deposits: Array + /** An aggregate relationship */ + deposits_aggregate: Deposits_Aggregate + market_cap: Scalars['numeric']['output'] + position_count: Scalars['Int']['output'] + /** An array relationship */ + positions: Array + /** An aggregate relationship */ + positions_aggregate: Positions_Aggregate + /** An array relationship */ + redemptions: Array + /** An aggregate relationship */ + redemptions_aggregate: Redemptions_Aggregate + /** An array relationship */ + share_price_change_stats_daily: Array + /** An array relationship */ + share_price_change_stats_hourly: Array + /** An array relationship */ + share_price_change_stats_monthly: Array + /** An array relationship */ + share_price_change_stats_weekly: Array + /** An array relationship */ + share_price_changes: Array + /** An aggregate relationship */ + share_price_changes_aggregate: Share_Price_Changes_Aggregate + /** An array relationship */ + signals: Array + /** An aggregate relationship */ + signals_aggregate: Signals_Aggregate + /** An object relationship */ + term: Terms + term_id: Scalars['numeric']['output'] + total_assets: Scalars['numeric']['output'] + total_shares: Scalars['numeric']['output'] + updated_at: Scalars['timestamptz']['output'] +} + +/** columns and relationships of "vault" */ +export type VaultsDepositsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "vault" */ +export type VaultsDeposits_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "vault" */ +export type VaultsPositionsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "vault" */ +export type VaultsPositions_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "vault" */ +export type VaultsRedemptionsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "vault" */ +export type VaultsRedemptions_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "vault" */ +export type VaultsShare_Price_Change_Stats_DailyArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "vault" */ +export type VaultsShare_Price_Change_Stats_HourlyArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "vault" */ +export type VaultsShare_Price_Change_Stats_MonthlyArgs = { + distinct_on?: InputMaybe< + Array + > + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "vault" */ +export type VaultsShare_Price_Change_Stats_WeeklyArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "vault" */ +export type VaultsShare_Price_ChangesArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "vault" */ +export type VaultsShare_Price_Changes_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "vault" */ +export type VaultsSignalsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "vault" */ +export type VaultsSignals_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** aggregated selection of "vault" */ +export type Vaults_Aggregate = { + __typename?: 'vaults_aggregate' + aggregate?: Maybe + nodes: Array +} + +export type Vaults_Aggregate_Bool_Exp = { + count?: InputMaybe +} + +export type Vaults_Aggregate_Bool_Exp_Count = { + arguments?: InputMaybe> + distinct?: InputMaybe + filter?: InputMaybe + predicate: Int_Comparison_Exp +} + +/** aggregate fields of "vault" */ +export type Vaults_Aggregate_Fields = { + __typename?: 'vaults_aggregate_fields' + avg?: Maybe + count: Scalars['Int']['output'] + max?: Maybe + min?: Maybe + stddev?: Maybe + stddev_pop?: Maybe + stddev_samp?: Maybe + sum?: Maybe + var_pop?: Maybe + var_samp?: Maybe + variance?: Maybe +} + +/** aggregate fields of "vault" */ +export type Vaults_Aggregate_FieldsCountArgs = { + columns?: InputMaybe> + distinct?: InputMaybe +} + +/** order by aggregate values of table "vault" */ +export type Vaults_Aggregate_Order_By = { + avg?: InputMaybe + count?: InputMaybe + max?: InputMaybe + min?: InputMaybe + stddev?: InputMaybe + stddev_pop?: InputMaybe + stddev_samp?: InputMaybe + sum?: InputMaybe + var_pop?: InputMaybe + var_samp?: InputMaybe + variance?: InputMaybe +} + +/** aggregate avg on columns */ +export type Vaults_Avg_Fields = { + __typename?: 'vaults_avg_fields' + current_share_price?: Maybe + curve_id?: Maybe + market_cap?: Maybe + position_count?: Maybe + term_id?: Maybe + total_assets?: Maybe + total_shares?: Maybe +} + +/** order by avg() on columns of table "vault" */ +export type Vaults_Avg_Order_By = { + current_share_price?: InputMaybe + curve_id?: InputMaybe + market_cap?: InputMaybe + position_count?: InputMaybe + term_id?: InputMaybe + total_assets?: InputMaybe + total_shares?: InputMaybe +} + +/** Boolean expression to filter rows from the table "vault". All fields are combined with a logical 'AND'. */ +export type Vaults_Bool_Exp = { + _and?: InputMaybe> + _not?: InputMaybe + _or?: InputMaybe> + created_at?: InputMaybe + current_share_price?: InputMaybe + curve_id?: InputMaybe + deposits?: InputMaybe + deposits_aggregate?: InputMaybe + market_cap?: InputMaybe + position_count?: InputMaybe + positions?: InputMaybe + positions_aggregate?: InputMaybe + redemptions?: InputMaybe + redemptions_aggregate?: InputMaybe + share_price_change_stats_daily?: InputMaybe + share_price_change_stats_hourly?: InputMaybe + share_price_change_stats_monthly?: InputMaybe + share_price_change_stats_weekly?: InputMaybe + share_price_changes?: InputMaybe + share_price_changes_aggregate?: InputMaybe + signals?: InputMaybe + signals_aggregate?: InputMaybe + term?: InputMaybe + term_id?: InputMaybe + total_assets?: InputMaybe + total_shares?: InputMaybe + updated_at?: InputMaybe +} + +/** aggregate max on columns */ +export type Vaults_Max_Fields = { + __typename?: 'vaults_max_fields' + created_at?: Maybe + current_share_price?: Maybe + curve_id?: Maybe + market_cap?: Maybe + position_count?: Maybe + term_id?: Maybe + total_assets?: Maybe + total_shares?: Maybe + updated_at?: Maybe +} + +/** order by max() on columns of table "vault" */ +export type Vaults_Max_Order_By = { + created_at?: InputMaybe + current_share_price?: InputMaybe + curve_id?: InputMaybe + market_cap?: InputMaybe + position_count?: InputMaybe + term_id?: InputMaybe + total_assets?: InputMaybe + total_shares?: InputMaybe + updated_at?: InputMaybe +} + +/** aggregate min on columns */ +export type Vaults_Min_Fields = { + __typename?: 'vaults_min_fields' + created_at?: Maybe + current_share_price?: Maybe + curve_id?: Maybe + market_cap?: Maybe + position_count?: Maybe + term_id?: Maybe + total_assets?: Maybe + total_shares?: Maybe + updated_at?: Maybe +} + +/** order by min() on columns of table "vault" */ +export type Vaults_Min_Order_By = { + created_at?: InputMaybe + current_share_price?: InputMaybe + curve_id?: InputMaybe + market_cap?: InputMaybe + position_count?: InputMaybe + term_id?: InputMaybe + total_assets?: InputMaybe + total_shares?: InputMaybe + updated_at?: InputMaybe +} + +/** Ordering options when selecting data from "vault". */ +export type Vaults_Order_By = { + created_at?: InputMaybe + current_share_price?: InputMaybe + curve_id?: InputMaybe + deposits_aggregate?: InputMaybe + market_cap?: InputMaybe + position_count?: InputMaybe + positions_aggregate?: InputMaybe + redemptions_aggregate?: InputMaybe + share_price_change_stats_daily_aggregate?: InputMaybe + share_price_change_stats_hourly_aggregate?: InputMaybe + share_price_change_stats_monthly_aggregate?: InputMaybe + share_price_change_stats_weekly_aggregate?: InputMaybe + share_price_changes_aggregate?: InputMaybe + signals_aggregate?: InputMaybe + term?: InputMaybe + term_id?: InputMaybe + total_assets?: InputMaybe + total_shares?: InputMaybe + updated_at?: InputMaybe +} + +/** select columns of table "vault" */ +export type Vaults_Select_Column = + /** column name */ + | 'created_at' + /** column name */ + | 'current_share_price' + /** column name */ + | 'curve_id' + /** column name */ + | 'market_cap' + /** column name */ + | 'position_count' + /** column name */ + | 'term_id' + /** column name */ + | 'total_assets' + /** column name */ + | 'total_shares' + /** column name */ + | 'updated_at' + +/** aggregate stddev on columns */ +export type Vaults_Stddev_Fields = { + __typename?: 'vaults_stddev_fields' + current_share_price?: Maybe + curve_id?: Maybe + market_cap?: Maybe + position_count?: Maybe + term_id?: Maybe + total_assets?: Maybe + total_shares?: Maybe +} + +/** order by stddev() on columns of table "vault" */ +export type Vaults_Stddev_Order_By = { + current_share_price?: InputMaybe + curve_id?: InputMaybe + market_cap?: InputMaybe + position_count?: InputMaybe + term_id?: InputMaybe + total_assets?: InputMaybe + total_shares?: InputMaybe +} + +/** aggregate stddev_pop on columns */ +export type Vaults_Stddev_Pop_Fields = { + __typename?: 'vaults_stddev_pop_fields' + current_share_price?: Maybe + curve_id?: Maybe + market_cap?: Maybe + position_count?: Maybe + term_id?: Maybe + total_assets?: Maybe + total_shares?: Maybe +} + +/** order by stddev_pop() on columns of table "vault" */ +export type Vaults_Stddev_Pop_Order_By = { + current_share_price?: InputMaybe + curve_id?: InputMaybe + market_cap?: InputMaybe + position_count?: InputMaybe + term_id?: InputMaybe + total_assets?: InputMaybe + total_shares?: InputMaybe +} + +/** aggregate stddev_samp on columns */ +export type Vaults_Stddev_Samp_Fields = { + __typename?: 'vaults_stddev_samp_fields' + current_share_price?: Maybe + curve_id?: Maybe + market_cap?: Maybe + position_count?: Maybe + term_id?: Maybe + total_assets?: Maybe + total_shares?: Maybe +} + +/** order by stddev_samp() on columns of table "vault" */ +export type Vaults_Stddev_Samp_Order_By = { + current_share_price?: InputMaybe + curve_id?: InputMaybe + market_cap?: InputMaybe + position_count?: InputMaybe + term_id?: InputMaybe + total_assets?: InputMaybe + total_shares?: InputMaybe +} + +/** Streaming cursor of the table "vaults" */ +export type Vaults_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Vaults_Stream_Cursor_Value_Input + /** cursor ordering */ + ordering?: InputMaybe +} + +/** Initial value of the column from where the streaming should start */ +export type Vaults_Stream_Cursor_Value_Input = { + created_at?: InputMaybe + current_share_price?: InputMaybe + curve_id?: InputMaybe + market_cap?: InputMaybe + position_count?: InputMaybe + term_id?: InputMaybe + total_assets?: InputMaybe + total_shares?: InputMaybe + updated_at?: InputMaybe +} + +/** aggregate sum on columns */ +export type Vaults_Sum_Fields = { + __typename?: 'vaults_sum_fields' + current_share_price?: Maybe + curve_id?: Maybe + market_cap?: Maybe + position_count?: Maybe + term_id?: Maybe + total_assets?: Maybe + total_shares?: Maybe +} + +/** order by sum() on columns of table "vault" */ +export type Vaults_Sum_Order_By = { + current_share_price?: InputMaybe + curve_id?: InputMaybe + market_cap?: InputMaybe + position_count?: InputMaybe + term_id?: InputMaybe + total_assets?: InputMaybe + total_shares?: InputMaybe +} + +/** aggregate var_pop on columns */ +export type Vaults_Var_Pop_Fields = { + __typename?: 'vaults_var_pop_fields' + current_share_price?: Maybe + curve_id?: Maybe + market_cap?: Maybe + position_count?: Maybe + term_id?: Maybe + total_assets?: Maybe + total_shares?: Maybe +} + +/** order by var_pop() on columns of table "vault" */ +export type Vaults_Var_Pop_Order_By = { + current_share_price?: InputMaybe + curve_id?: InputMaybe + market_cap?: InputMaybe + position_count?: InputMaybe + term_id?: InputMaybe + total_assets?: InputMaybe + total_shares?: InputMaybe +} + +/** aggregate var_samp on columns */ +export type Vaults_Var_Samp_Fields = { + __typename?: 'vaults_var_samp_fields' + current_share_price?: Maybe + curve_id?: Maybe + market_cap?: Maybe + position_count?: Maybe + term_id?: Maybe + total_assets?: Maybe + total_shares?: Maybe +} + +/** order by var_samp() on columns of table "vault" */ +export type Vaults_Var_Samp_Order_By = { + current_share_price?: InputMaybe + curve_id?: InputMaybe + market_cap?: InputMaybe + position_count?: InputMaybe + term_id?: InputMaybe + total_assets?: InputMaybe + total_shares?: InputMaybe +} + +/** aggregate variance on columns */ +export type Vaults_Variance_Fields = { + __typename?: 'vaults_variance_fields' + current_share_price?: Maybe + curve_id?: Maybe + market_cap?: Maybe + position_count?: Maybe + term_id?: Maybe + total_assets?: Maybe + total_shares?: Maybe +} + +/** order by variance() on columns of table "vault" */ +export type Vaults_Variance_Order_By = { + current_share_price?: InputMaybe + curve_id?: InputMaybe + market_cap?: InputMaybe + position_count?: InputMaybe + term_id?: InputMaybe + total_assets?: InputMaybe + total_shares?: InputMaybe +} + +export type AccountMetadataFragment = { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any +} + +export type AccountPositionsAggregateFragment = { + __typename?: 'accounts' + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + } | null + nodes: Array<{ + __typename?: 'positions' + id: string + shares: any + vault?: { + __typename?: 'vaults' + term_id: any + total_shares: any + current_share_price: any + term: { + __typename?: 'terms' + atom?: { + __typename?: 'atoms' + term_id: any + label?: string | null + } | null + triple?: { __typename?: 'triples'; term_id: any } | null + } + } | null + }> + } +} + +export type AccountPositionsFragment = { + __typename?: 'accounts' + positions: Array<{ + __typename?: 'positions' + id: string + shares: any + vault?: { + __typename?: 'vaults' + term_id: any + total_shares: any + current_share_price: any + term: { + __typename?: 'terms' + atom?: { + __typename?: 'atoms' + term_id: any + label?: string | null + } | null + triple?: { __typename?: 'triples'; term_id: any } | null + } + } | null + }> +} + +export type AccountAtomsFragment = { + __typename?: 'accounts' + atoms: Array<{ + __typename?: 'atoms' + term_id: any + label?: string | null + data?: string | null + term: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + total_shares: any + positions_aggregate: { + __typename?: 'positions_aggregate' + nodes: Array<{ + __typename?: 'positions' + shares: any + account?: { __typename?: 'accounts'; id: string } | null + }> + } + }> + } + }> +} + +export type AccountAtomsAggregateFragment = { + __typename?: 'accounts' + atoms_aggregate: { + __typename?: 'atoms_aggregate' + aggregate?: { + __typename?: 'atoms_aggregate_fields' + count: number + sum?: { __typename?: 'atoms_sum_fields'; term_id?: any | null } | null + } | null + nodes: Array<{ + __typename?: 'atoms' + term_id: any + label?: string | null + data?: string | null + term: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + total_shares: any + positions_aggregate: { + __typename?: 'positions_aggregate' + nodes: Array<{ + __typename?: 'positions' + shares: any + account?: { __typename?: 'accounts'; id: string } | null + }> + } + }> + } + }> + } +} + +export type AccountTriplesFragment = { + __typename?: 'accounts' + triples_aggregate: { + __typename?: 'triples_aggregate' + aggregate?: { + __typename?: 'triples_aggregate_fields' + count: number + } | null + nodes: Array<{ + __typename?: 'triples' + term_id: any + subject: { __typename?: 'atoms'; term_id: any; label?: string | null } + predicate: { __typename?: 'atoms'; term_id: any; label?: string | null } + object: { __typename?: 'atoms'; term_id: any; label?: string | null } + }> + } +} + +export type AccountTriplesAggregateFragment = { + __typename?: 'accounts' + triples_aggregate: { + __typename?: 'triples_aggregate' + aggregate?: { + __typename?: 'triples_aggregate_fields' + count: number + } | null + nodes: Array<{ + __typename?: 'triples' + term_id: any + subject: { __typename?: 'atoms'; term_id: any; label?: string | null } + predicate: { __typename?: 'atoms'; term_id: any; label?: string | null } + object: { __typename?: 'atoms'; term_id: any; label?: string | null } + }> + } +} + +export type AtomValueFragment = { + __typename?: 'atoms' + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null +} + +export type AtomMetadataFragment = { + __typename?: 'atoms' + term_id: any + data?: string | null + image?: string | null + label?: string | null + emoji?: string | null + type: any + wallet_id: string + creator: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null +} + +export type AtomTxnFragment = { + __typename?: 'atoms' + block_number: any + created_at: any + transaction_hash: string + creator_id: string +} + +export type AtomVaultDetailsFragment = { + __typename?: 'atoms' + term_id: any + wallet_id: string + term: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + position_count: number + total_shares: any + current_share_price: any + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + positions: Array<{ + __typename?: 'positions' + id: string + shares: any + account?: { __typename?: 'accounts'; label: string; id: string } | null + }> + }> + } +} + +export type AtomTripleFragment = { + __typename?: 'atoms' + as_subject_triples: Array<{ + __typename?: 'triples' + term_id: any + object: { + __typename?: 'atoms' + data?: string | null + term_id: any + image?: string | null + label?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + } + predicate: { + __typename?: 'atoms' + data?: string | null + term_id: any + image?: string | null + label?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + } + }> + as_predicate_triples: Array<{ + __typename?: 'triples' + term_id: any + subject: { + __typename?: 'atoms' + data?: string | null + term_id: any + image?: string | null + label?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + } + object: { + __typename?: 'atoms' + data?: string | null + term_id: any + image?: string | null + label?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + } + }> + as_object_triples: Array<{ + __typename?: 'triples' + term_id: any + subject: { + __typename?: 'atoms' + data?: string | null + term_id: any + image?: string | null + label?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + } + predicate: { + __typename?: 'atoms' + data?: string | null + term_id: any + image?: string | null + label?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + } + }> +} + +export type AtomVaultDetailsWithPositionsFragment = { + __typename?: 'atoms' + term: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + total_shares: any + current_share_price: any + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + nodes: Array<{ + __typename?: 'positions' + shares: any + account?: { __typename?: 'accounts'; id: string } | null + }> + } + }> + } +} + +export type DepositEventFragmentFragment = { + __typename?: 'events' + deposit?: { + __typename?: 'deposits' + term_id: any + curve_id: any + sender_assets_after_total_fees: any + shares_for_receiver: any + receiver: { __typename?: 'accounts'; id: string } + sender?: { __typename?: 'accounts'; id: string } | null + } | null +} + +export type EventDetailsFragment = { + __typename?: 'events' + block_number: any + created_at: any + type: any + transaction_hash: string + atom_id?: any | null + triple_id?: any | null + deposit_id?: string | null + redemption_id?: string | null + atom?: { + __typename?: 'atoms' + term_id: any + data?: string | null + image?: string | null + label?: string | null + emoji?: string | null + type: any + wallet_id: string + term: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + total_shares: any + position_count: number + positions: Array<{ + __typename?: 'positions' + account_id: string + shares: any + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + }> + }> + } + creator: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } | null + triple?: { + __typename?: 'triples' + term_id: any + subject_id: any + predicate_id: any + object_id: any + term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + total_shares: any + position_count: number + current_share_price: any + positions: Array<{ + __typename?: 'positions' + account_id: string + shares: any + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + vault?: { + __typename?: 'vaults' + term_id: any + total_shares: any + current_share_price: any + } | null + }> + allPositions: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + }> + } | null + counter_term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + total_shares: any + position_count: number + current_share_price: any + positions: Array<{ + __typename?: 'positions' + account_id: string + shares: any + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + vault?: { + __typename?: 'vaults' + term_id: any + total_shares: any + current_share_price: any + } | null + }> + allPositions: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + }> + } | null + subject: { + __typename?: 'atoms' + data?: string | null + term_id: any + image?: string | null + label?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + predicate: { + __typename?: 'atoms' + data?: string | null + term_id: any + image?: string | null + label?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + object: { + __typename?: 'atoms' + data?: string | null + term_id: any + image?: string | null + label?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + } | null + deposit?: { + __typename?: 'deposits' + term_id: any + curve_id: any + sender_assets_after_total_fees: any + shares_for_receiver: any + receiver: { __typename?: 'accounts'; id: string } + sender?: { __typename?: 'accounts'; id: string } | null + } | null + redemption?: { + __typename?: 'redemptions' + term_id: any + curve_id: any + receiver_id: string + shares_redeemed_by_sender: any + assets_for_receiver: any + } | null +} + +export type FollowMetadataFragment = { + __typename?: 'triples' + term_id: any + subject: { __typename?: 'atoms'; term_id: any; label?: string | null } + predicate: { __typename?: 'atoms'; term_id: any; label?: string | null } + object: { __typename?: 'atoms'; term_id: any; label?: string | null } + term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + term_id: any + total_shares: any + current_share_price: any + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + positions: Array<{ + __typename?: 'positions' + shares: any + account?: { __typename?: 'accounts'; id: string; label: string } | null + }> + }> + } | null +} + +export type FollowAggregateFragment = { + __typename?: 'triples_aggregate' + aggregate?: { __typename?: 'triples_aggregate_fields'; count: number } | null +} + +export type PositionDetailsFragment = { + __typename?: 'positions' + id: string + shares: any + term_id: any + curve_id: any + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + vault?: { + __typename?: 'vaults' + term_id: any + term: { + __typename?: 'terms' + atom?: { + __typename?: 'atoms' + term_id: any + label?: string | null + image?: string | null + } | null + triple?: { + __typename?: 'triples' + term_id: any + term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + term_id: any + position_count: number + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + }> + } | null + counter_term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + term_id: any + position_count: number + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + }> + } | null + subject: { + __typename?: 'atoms' + data?: string | null + term_id: any + label?: string | null + image?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + predicate: { + __typename?: 'atoms' + data?: string | null + term_id: any + label?: string | null + image?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + object: { + __typename?: 'atoms' + data?: string | null + term_id: any + label?: string | null + image?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + } | null + } + } | null +} + +export type PositionFieldsFragment = { + __typename?: 'positions' + shares: any + account?: { __typename?: 'accounts'; id: string; label: string } | null + vault?: { + __typename?: 'vaults' + term_id: any + total_shares: any + current_share_price: any + } | null +} + +export type PositionAggregateFieldsFragment = { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + sum?: { __typename?: 'positions_sum_fields'; shares?: any | null } | null + } | null +} + +export type RedemptionEventFragmentFragment = { + __typename?: 'events' + redemption?: { + __typename?: 'redemptions' + term_id: any + curve_id: any + receiver_id: string + shares_redeemed_by_sender: any + assets_for_receiver: any + } | null +} + +export type StatDetailsFragment = { + __typename?: 'stats' + contract_balance?: any | null + total_accounts?: number | null + total_fees?: any | null + total_atoms?: number | null + total_triples?: number | null + total_positions?: number | null + total_signals?: number | null +} + +export type TripleMetadataFragment = { + __typename?: 'triples' + term_id: any + subject_id: any + predicate_id: any + object_id: any + subject: { + __typename?: 'atoms' + data?: string | null + term_id: any + image?: string | null + label?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + predicate: { + __typename?: 'atoms' + data?: string | null + term_id: any + image?: string | null + label?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + object: { + __typename?: 'atoms' + data?: string | null + term_id: any + image?: string | null + label?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + total_shares: any + current_share_price: any + allPositions: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + positions: Array<{ + __typename?: 'positions' + shares: any + account?: { __typename?: 'accounts'; id: string; label: string } | null + vault?: { + __typename?: 'vaults' + term_id: any + total_shares: any + current_share_price: any + } | null + }> + }> + } | null + counter_term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + total_shares: any + current_share_price: any + allPositions: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + positions: Array<{ + __typename?: 'positions' + shares: any + account?: { __typename?: 'accounts'; id: string; label: string } | null + vault?: { + __typename?: 'vaults' + term_id: any + total_shares: any + current_share_price: any + } | null + }> + }> + } | null +} + +export type TripleTxnFragment = { + __typename?: 'triples' + block_number: any + created_at: any + transaction_hash: string + creator_id: string +} + +export type TripleVaultDetailsFragment = { + __typename?: 'triples' + term_id: any + counter_term_id: any + term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + positions: Array<{ + __typename?: 'positions' + id: string + shares: any + term_id: any + curve_id: any + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + vault?: { + __typename?: 'vaults' + term_id: any + term: { + __typename?: 'terms' + atom?: { + __typename?: 'atoms' + term_id: any + label?: string | null + image?: string | null + } | null + triple?: { + __typename?: 'triples' + term_id: any + term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + term_id: any + position_count: number + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + }> + } | null + counter_term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + term_id: any + position_count: number + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + }> + } | null + subject: { + __typename?: 'atoms' + data?: string | null + term_id: any + label?: string | null + image?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + predicate: { + __typename?: 'atoms' + data?: string | null + term_id: any + label?: string | null + image?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + object: { + __typename?: 'atoms' + data?: string | null + term_id: any + label?: string | null + image?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + } | null + } + } | null + }> + }> + } | null + counter_term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + positions: Array<{ + __typename?: 'positions' + id: string + shares: any + term_id: any + curve_id: any + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + vault?: { + __typename?: 'vaults' + term_id: any + term: { + __typename?: 'terms' + atom?: { + __typename?: 'atoms' + term_id: any + label?: string | null + image?: string | null + } | null + triple?: { + __typename?: 'triples' + term_id: any + term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + term_id: any + position_count: number + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + }> + } | null + counter_term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + term_id: any + position_count: number + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + }> + } | null + subject: { + __typename?: 'atoms' + data?: string | null + term_id: any + label?: string | null + image?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + predicate: { + __typename?: 'atoms' + data?: string | null + term_id: any + label?: string | null + image?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + object: { + __typename?: 'atoms' + data?: string | null + term_id: any + label?: string | null + image?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + } | null + } + } | null + }> + }> + } | null +} + +export type TripleVaultCouterVaultDetailsWithPositionsFragment = { + __typename?: 'triples' + term_id: any + counter_term_id: any + term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + term_id: any + curve_id: any + current_share_price: any + total_shares: any + term: { + __typename?: 'terms' + atom?: { + __typename?: 'atoms' + term_id: any + label?: string | null + } | null + triple?: { + __typename?: 'triples' + term_id: any + subject: { __typename?: 'atoms'; term_id: any; label?: string | null } + predicate: { + __typename?: 'atoms' + term_id: any + label?: string | null + } + object: { __typename?: 'atoms'; term_id: any; label?: string | null } + } | null + } + positions: Array<{ + __typename?: 'positions' + shares: any + account?: { __typename?: 'accounts'; id: string; label: string } | null + vault?: { + __typename?: 'vaults' + term_id: any + total_shares: any + current_share_price: any + } | null + }> + }> + } | null + counter_term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + term_id: any + curve_id: any + current_share_price: any + total_shares: any + term: { + __typename?: 'terms' + atom?: { + __typename?: 'atoms' + term_id: any + label?: string | null + } | null + triple?: { + __typename?: 'triples' + term_id: any + subject: { __typename?: 'atoms'; term_id: any; label?: string | null } + predicate: { + __typename?: 'atoms' + term_id: any + label?: string | null + } + object: { __typename?: 'atoms'; term_id: any; label?: string | null } + } | null + } + positions: Array<{ + __typename?: 'positions' + shares: any + account?: { __typename?: 'accounts'; id: string; label: string } | null + vault?: { + __typename?: 'vaults' + term_id: any + total_shares: any + current_share_price: any + } | null + }> + }> + } | null +} + +export type VaultBasicDetailsFragment = { + __typename?: 'vaults' + term_id: any + curve_id: any + current_share_price: any + total_shares: any + term: { + __typename?: 'terms' + atom?: { __typename?: 'atoms'; term_id: any; label?: string | null } | null + triple?: { + __typename?: 'triples' + term_id: any + subject: { __typename?: 'atoms'; term_id: any; label?: string | null } + predicate: { __typename?: 'atoms'; term_id: any; label?: string | null } + object: { __typename?: 'atoms'; term_id: any; label?: string | null } + } | null + } +} + +export type VaultPositionsAggregateFragment = { + __typename?: 'vaults' + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + sum?: { __typename?: 'positions_sum_fields'; shares?: any | null } | null + } | null + } +} + +export type VaultFilteredPositionsFragment = { + __typename?: 'vaults' + positions: Array<{ + __typename?: 'positions' + shares: any + account?: { __typename?: 'accounts'; id: string; label: string } | null + vault?: { + __typename?: 'vaults' + term_id: any + total_shares: any + current_share_price: any + } | null + }> +} + +export type VaultUnfilteredPositionsFragment = { + __typename?: 'vaults' + positions: Array<{ + __typename?: 'positions' + shares: any + account?: { __typename?: 'accounts'; id: string; label: string } | null + vault?: { + __typename?: 'vaults' + term_id: any + total_shares: any + current_share_price: any + } | null + }> +} + +export type VaultDetailsFragment = { + __typename?: 'vaults' + term_id: any + curve_id: any + current_share_price: any + total_shares: any + term: { + __typename?: 'terms' + atom?: { __typename?: 'atoms'; term_id: any; label?: string | null } | null + triple?: { + __typename?: 'triples' + term_id: any + subject: { __typename?: 'atoms'; term_id: any; label?: string | null } + predicate: { __typename?: 'atoms'; term_id: any; label?: string | null } + object: { __typename?: 'atoms'; term_id: any; label?: string | null } + } | null + } +} + +export type VaultDetailsWithFilteredPositionsFragment = { + __typename?: 'vaults' + term_id: any + curve_id: any + current_share_price: any + total_shares: any + term: { + __typename?: 'terms' + atom?: { __typename?: 'atoms'; term_id: any; label?: string | null } | null + triple?: { + __typename?: 'triples' + term_id: any + subject: { __typename?: 'atoms'; term_id: any; label?: string | null } + predicate: { __typename?: 'atoms'; term_id: any; label?: string | null } + object: { __typename?: 'atoms'; term_id: any; label?: string | null } + } | null + } + positions: Array<{ + __typename?: 'positions' + shares: any + account?: { __typename?: 'accounts'; id: string; label: string } | null + vault?: { + __typename?: 'vaults' + term_id: any + total_shares: any + current_share_price: any + } | null + }> +} + +export type VaultFieldsForTripleFragment = { + __typename?: 'vaults' + total_shares: any + current_share_price: any + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + sum?: { __typename?: 'positions_sum_fields'; shares?: any | null } | null + } | null + } + positions: Array<{ + __typename?: 'positions' + shares: any + account?: { __typename?: 'accounts'; id: string; label: string } | null + vault?: { + __typename?: 'vaults' + term_id: any + total_shares: any + current_share_price: any + } | null + }> +} + +export type PinThingMutationVariables = Exact<{ + name: Scalars['String']['input'] + description?: InputMaybe + image?: InputMaybe + url?: InputMaybe +}> + +export type PinThingMutation = { + __typename?: 'mutation_root' + pinThing?: { __typename?: 'PinOutput'; uri?: string | null } | null +} + +export type GetAccountsQueryVariables = Exact<{ + limit?: InputMaybe + offset?: InputMaybe + orderBy?: InputMaybe | Accounts_Order_By> + where?: InputMaybe + positionsLimit?: InputMaybe + positionsOffset?: InputMaybe + positionsWhere?: InputMaybe +}> + +export type GetAccountsQuery = { + __typename?: 'query_root' + accounts: Array<{ + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + atom?: { + __typename?: 'atoms' + term_id: any + wallet_id: string + term: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + position_count: number + total_shares: any + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + positions: Array<{ + __typename?: 'positions' + id: string + shares: any + account?: { + __typename?: 'accounts' + label: string + id: string + } | null + }> + }> + } + } | null + positions: Array<{ + __typename?: 'positions' + id: string + shares: any + vault?: { + __typename?: 'vaults' + term_id: any + total_shares: any + current_share_price: any + term: { + __typename?: 'terms' + atom?: { + __typename?: 'atoms' + term_id: any + label?: string | null + } | null + triple?: { __typename?: 'triples'; term_id: any } | null + } + } | null + }> + }> +} + +export type GetAccountsWithAggregatesQueryVariables = Exact<{ + limit?: InputMaybe + offset?: InputMaybe + orderBy?: InputMaybe | Accounts_Order_By> + where?: InputMaybe + positionsLimit?: InputMaybe + positionsOffset?: InputMaybe + positionsWhere?: InputMaybe + atomsWhere?: InputMaybe + atomsOrderBy?: InputMaybe | Atoms_Order_By> + atomsLimit?: InputMaybe + atomsOffset?: InputMaybe +}> + +export type GetAccountsWithAggregatesQuery = { + __typename?: 'query_root' + accounts_aggregate: { + __typename?: 'accounts_aggregate' + aggregate?: { + __typename?: 'accounts_aggregate_fields' + count: number + } | null + nodes: Array<{ + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + positions: Array<{ + __typename?: 'positions' + id: string + shares: any + vault?: { + __typename?: 'vaults' + term_id: any + total_shares: any + current_share_price: any + term: { + __typename?: 'terms' + atom?: { + __typename?: 'atoms' + term_id: any + label?: string | null + } | null + triple?: { __typename?: 'triples'; term_id: any } | null + } + } | null + }> + }> + } +} + +export type GetAccountsCountQueryVariables = Exact<{ + where?: InputMaybe +}> + +export type GetAccountsCountQuery = { + __typename?: 'query_root' + accounts_aggregate: { + __typename?: 'accounts_aggregate' + aggregate?: { + __typename?: 'accounts_aggregate_fields' + count: number + } | null + } +} + +export type GetAccountQueryVariables = Exact<{ + address: Scalars['String']['input'] + positionsLimit?: InputMaybe + positionsOffset?: InputMaybe + positionsWhere?: InputMaybe + atomsWhere?: InputMaybe + atomsOrderBy?: InputMaybe | Atoms_Order_By> + atomsLimit?: InputMaybe + atomsOffset?: InputMaybe + triplesWhere?: InputMaybe + triplesOrderBy?: InputMaybe | Triples_Order_By> + triplesLimit?: InputMaybe + triplesOffset?: InputMaybe +}> + +export type GetAccountQuery = { + __typename?: 'query_root' + account?: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + atom?: { + __typename?: 'atoms' + term_id: any + data?: string | null + image?: string | null + label?: string | null + emoji?: string | null + type: any + wallet_id: string + creator: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } + term: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + position_count: number + total_shares: any + current_share_price: any + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + positions: Array<{ + __typename?: 'positions' + id: string + shares: any + account?: { + __typename?: 'accounts' + label: string + id: string + } | null + }> + }> + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } | null + positions: Array<{ + __typename?: 'positions' + id: string + shares: any + vault?: { + __typename?: 'vaults' + term_id: any + total_shares: any + current_share_price: any + term: { + __typename?: 'terms' + atom?: { + __typename?: 'atoms' + term_id: any + label?: string | null + } | null + triple?: { __typename?: 'triples'; term_id: any } | null + } + } | null + }> + atoms: Array<{ + __typename?: 'atoms' + term_id: any + label?: string | null + data?: string | null + term: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + total_shares: any + positions_aggregate: { + __typename?: 'positions_aggregate' + nodes: Array<{ + __typename?: 'positions' + shares: any + account?: { __typename?: 'accounts'; id: string } | null + }> + } + }> + } + }> + triples_aggregate: { + __typename?: 'triples_aggregate' + aggregate?: { + __typename?: 'triples_aggregate_fields' + count: number + } | null + nodes: Array<{ + __typename?: 'triples' + term_id: any + subject: { __typename?: 'atoms'; term_id: any; label?: string | null } + predicate: { __typename?: 'atoms'; term_id: any; label?: string | null } + object: { __typename?: 'atoms'; term_id: any; label?: string | null } + }> + } + } | null + chainlink_prices: Array<{ __typename?: 'chainlink_prices'; usd?: any | null }> +} + +export type GetAccountWithPaginatedRelationsQueryVariables = Exact<{ + address: Scalars['String']['input'] + positionsLimit?: InputMaybe + positionsOffset?: InputMaybe + positionsWhere?: InputMaybe + atomsLimit?: InputMaybe + atomsOffset?: InputMaybe + atomsWhere?: InputMaybe + atomsOrderBy?: InputMaybe | Atoms_Order_By> + triplesLimit?: InputMaybe + triplesOffset?: InputMaybe + triplesWhere?: InputMaybe + triplesOrderBy?: InputMaybe | Triples_Order_By> +}> + +export type GetAccountWithPaginatedRelationsQuery = { + __typename?: 'query_root' + account?: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + positions: Array<{ + __typename?: 'positions' + id: string + shares: any + vault?: { + __typename?: 'vaults' + term_id: any + total_shares: any + current_share_price: any + term: { + __typename?: 'terms' + atom?: { + __typename?: 'atoms' + term_id: any + label?: string | null + } | null + triple?: { __typename?: 'triples'; term_id: any } | null + } + } | null + }> + atoms: Array<{ + __typename?: 'atoms' + term_id: any + label?: string | null + data?: string | null + term: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + total_shares: any + positions_aggregate: { + __typename?: 'positions_aggregate' + nodes: Array<{ + __typename?: 'positions' + shares: any + account?: { __typename?: 'accounts'; id: string } | null + }> + } + }> + } + }> + triples_aggregate: { + __typename?: 'triples_aggregate' + aggregate?: { + __typename?: 'triples_aggregate_fields' + count: number + } | null + nodes: Array<{ + __typename?: 'triples' + term_id: any + subject: { __typename?: 'atoms'; term_id: any; label?: string | null } + predicate: { __typename?: 'atoms'; term_id: any; label?: string | null } + object: { __typename?: 'atoms'; term_id: any; label?: string | null } + }> + } + } | null +} + +export type GetAccountWithAggregatesQueryVariables = Exact<{ + address: Scalars['String']['input'] + positionsLimit?: InputMaybe + positionsOffset?: InputMaybe + positionsWhere?: InputMaybe + atomsWhere?: InputMaybe + atomsOrderBy?: InputMaybe | Atoms_Order_By> + atomsLimit?: InputMaybe + atomsOffset?: InputMaybe + triplesWhere?: InputMaybe + triplesOrderBy?: InputMaybe | Triples_Order_By> + triplesLimit?: InputMaybe + triplesOffset?: InputMaybe +}> + +export type GetAccountWithAggregatesQuery = { + __typename?: 'query_root' + account?: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + } | null + nodes: Array<{ + __typename?: 'positions' + id: string + shares: any + vault?: { + __typename?: 'vaults' + term_id: any + total_shares: any + current_share_price: any + term: { + __typename?: 'terms' + atom?: { + __typename?: 'atoms' + term_id: any + label?: string | null + } | null + triple?: { __typename?: 'triples'; term_id: any } | null + } + } | null + }> + } + atoms_aggregate: { + __typename?: 'atoms_aggregate' + aggregate?: { + __typename?: 'atoms_aggregate_fields' + count: number + sum?: { __typename?: 'atoms_sum_fields'; term_id?: any | null } | null + } | null + nodes: Array<{ + __typename?: 'atoms' + term_id: any + label?: string | null + data?: string | null + term: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + total_shares: any + positions_aggregate: { + __typename?: 'positions_aggregate' + nodes: Array<{ + __typename?: 'positions' + shares: any + account?: { __typename?: 'accounts'; id: string } | null + }> + } + }> + } + }> + } + triples_aggregate: { + __typename?: 'triples_aggregate' + aggregate?: { + __typename?: 'triples_aggregate_fields' + count: number + } | null + nodes: Array<{ + __typename?: 'triples' + term_id: any + subject: { __typename?: 'atoms'; term_id: any; label?: string | null } + predicate: { __typename?: 'atoms'; term_id: any; label?: string | null } + object: { __typename?: 'atoms'; term_id: any; label?: string | null } + }> + } + } | null +} + +export type GetAccountMetadataQueryVariables = Exact<{ + address: Scalars['String']['input'] +}> + +export type GetAccountMetadataQuery = { + __typename?: 'query_root' + account?: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + atom?: { + __typename?: 'atoms' + term_id: any + data?: string | null + image?: string | null + label?: string | null + emoji?: string | null + type: any + wallet_id: string + creator: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } | null + } | null +} + +export type GetAtomsQueryVariables = Exact<{ + limit?: InputMaybe + offset?: InputMaybe + orderBy?: InputMaybe | Atoms_Order_By> + where?: InputMaybe +}> + +export type GetAtomsQuery = { + __typename?: 'query_root' + total: { + __typename?: 'atoms_aggregate' + aggregate?: { __typename?: 'atoms_aggregate_fields'; count: number } | null + } + atoms: Array<{ + __typename?: 'atoms' + term_id: any + data?: string | null + image?: string | null + label?: string | null + emoji?: string | null + type: any + wallet_id: string + block_number: any + created_at: any + transaction_hash: string + creator_id: string + creator: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + atom_id?: any | null + type: any + } + term: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + position_count: number + total_shares: any + current_share_price: any + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + positions: Array<{ + __typename?: 'positions' + id: string + shares: any + account?: { + __typename?: 'accounts' + label: string + id: string + } | null + }> + }> + } + as_subject_triples: Array<{ + __typename?: 'triples' + term_id: any + object: { + __typename?: 'atoms' + data?: string | null + term_id: any + image?: string | null + label?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + } + predicate: { + __typename?: 'atoms' + data?: string | null + term_id: any + image?: string | null + label?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + } + }> + as_predicate_triples: Array<{ + __typename?: 'triples' + term_id: any + subject: { + __typename?: 'atoms' + data?: string | null + term_id: any + image?: string | null + label?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + } + object: { + __typename?: 'atoms' + data?: string | null + term_id: any + image?: string | null + label?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + } + }> + as_object_triples: Array<{ + __typename?: 'triples' + term_id: any + subject: { + __typename?: 'atoms' + data?: string | null + term_id: any + image?: string | null + label?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + } + predicate: { + __typename?: 'atoms' + data?: string | null + term_id: any + image?: string | null + label?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + } + }> + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + }> +} + +export type GetAtomsWithPositionsQueryVariables = Exact<{ + limit?: InputMaybe + offset?: InputMaybe + orderBy?: InputMaybe | Atoms_Order_By> + where?: InputMaybe + address?: InputMaybe +}> + +export type GetAtomsWithPositionsQuery = { + __typename?: 'query_root' + total: { + __typename?: 'atoms_aggregate' + aggregate?: { __typename?: 'atoms_aggregate_fields'; count: number } | null + } + atoms: Array<{ + __typename?: 'atoms' + term_id: any + data?: string | null + image?: string | null + label?: string | null + emoji?: string | null + type: any + wallet_id: string + block_number: any + created_at: any + transaction_hash: string + creator_id: string + term: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + position_count: number + total_shares: any + current_share_price: any + total: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + positions: Array<{ + __typename?: 'positions' + id: string + shares: any + account?: { + __typename?: 'accounts' + label: string + id: string + } | null + }> + }> + } + creator: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + }> +} + +export type GetAtomsWithAggregatesQueryVariables = Exact<{ + limit?: InputMaybe + offset?: InputMaybe + orderBy?: InputMaybe | Atoms_Order_By> + where?: InputMaybe +}> + +export type GetAtomsWithAggregatesQuery = { + __typename?: 'query_root' + atoms_aggregate: { + __typename?: 'atoms_aggregate' + aggregate?: { __typename?: 'atoms_aggregate_fields'; count: number } | null + nodes: Array<{ + __typename?: 'atoms' + term_id: any + data?: string | null + image?: string | null + label?: string | null + emoji?: string | null + type: any + wallet_id: string + block_number: any + created_at: any + transaction_hash: string + creator_id: string + creator: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + atom_id?: any | null + type: any + } + term: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + position_count: number + total_shares: any + current_share_price: any + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + positions: Array<{ + __typename?: 'positions' + id: string + shares: any + account?: { + __typename?: 'accounts' + label: string + id: string + } | null + }> + }> + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + }> + } +} + +export type GetAtomsCountQueryVariables = Exact<{ + where?: InputMaybe +}> + +export type GetAtomsCountQuery = { + __typename?: 'query_root' + atoms_aggregate: { + __typename?: 'atoms_aggregate' + aggregate?: { __typename?: 'atoms_aggregate_fields'; count: number } | null + } +} + +export type GetAtomQueryVariables = Exact<{ + id: Scalars['numeric']['input'] +}> + +export type GetAtomQuery = { + __typename?: 'query_root' + atom?: { + __typename?: 'atoms' + term_id: any + data?: string | null + image?: string | null + label?: string | null + emoji?: string | null + type: any + wallet_id: string + block_number: any + created_at: any + transaction_hash: string + creator_id: string + creator: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + atom_id?: any | null + type: any + } + term: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + position_count: number + total_shares: any + current_share_price: any + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + positions: Array<{ + __typename?: 'positions' + id: string + shares: any + account?: { + __typename?: 'accounts' + label: string + id: string + } | null + }> + }> + } + as_subject_triples: Array<{ + __typename?: 'triples' + term_id: any + object: { + __typename?: 'atoms' + data?: string | null + term_id: any + image?: string | null + label?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + } + predicate: { + __typename?: 'atoms' + data?: string | null + term_id: any + image?: string | null + label?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + } + }> + as_predicate_triples: Array<{ + __typename?: 'triples' + term_id: any + subject: { + __typename?: 'atoms' + data?: string | null + term_id: any + image?: string | null + label?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + } + object: { + __typename?: 'atoms' + data?: string | null + term_id: any + image?: string | null + label?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + } + }> + as_object_triples: Array<{ + __typename?: 'triples' + term_id: any + subject: { + __typename?: 'atoms' + data?: string | null + term_id: any + image?: string | null + label?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + } + predicate: { + __typename?: 'atoms' + data?: string | null + term_id: any + image?: string | null + label?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + } + }> + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } | null +} + +export type GetAtomByDataQueryVariables = Exact<{ + data: Scalars['String']['input'] +}> + +export type GetAtomByDataQuery = { + __typename?: 'query_root' + atoms: Array<{ + __typename?: 'atoms' + term_id: any + data?: string | null + image?: string | null + label?: string | null + emoji?: string | null + type: any + wallet_id: string + block_number: any + created_at: any + transaction_hash: string + creator_id: string + creator: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + atom_id?: any | null + type: any + } + term: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + position_count: number + total_shares: any + current_share_price: any + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + positions: Array<{ + __typename?: 'positions' + id: string + shares: any + account?: { + __typename?: 'accounts' + label: string + id: string + } | null + }> + }> + } + as_subject_triples: Array<{ + __typename?: 'triples' + term_id: any + object: { + __typename?: 'atoms' + data?: string | null + term_id: any + image?: string | null + label?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + } + predicate: { + __typename?: 'atoms' + data?: string | null + term_id: any + image?: string | null + label?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + } + }> + as_predicate_triples: Array<{ + __typename?: 'triples' + term_id: any + subject: { + __typename?: 'atoms' + data?: string | null + term_id: any + image?: string | null + label?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + } + object: { + __typename?: 'atoms' + data?: string | null + term_id: any + image?: string | null + label?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + } + }> + as_object_triples: Array<{ + __typename?: 'triples' + term_id: any + subject: { + __typename?: 'atoms' + data?: string | null + term_id: any + image?: string | null + label?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + } + predicate: { + __typename?: 'atoms' + data?: string | null + term_id: any + image?: string | null + label?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + } + }> + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + }> +} + +export type GetVerifiedAtomDetailsQueryVariables = Exact<{ + id: Scalars['numeric']['input'] + userPositionAddress: Scalars['String']['input'] +}> + +export type GetVerifiedAtomDetailsQuery = { + __typename?: 'query_root' + atom?: { + __typename?: 'atoms' + term_id: any + label?: string | null + wallet_id: string + image?: string | null + type: any + created_at: any + data?: string | null + creator: { __typename?: 'accounts'; id: string } + value?: { + __typename?: 'atom_values' + thing?: { + __typename?: 'things' + name?: string | null + description?: string | null + url?: string | null + } | null + } | null + term: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + current_share_price: any + total_shares: any + position_count: number + userPosition: Array<{ + __typename?: 'positions' + shares: any + account_id: string + }> + }> + } + tags: { + __typename?: 'triples_aggregate' + nodes: Array<{ + __typename?: 'triples' + predicate_id: any + object: { + __typename?: 'atoms' + label?: string | null + term: { + __typename?: 'terms' + vaults: Array<{ __typename?: 'vaults'; term_id: any }> + } + } + }> + aggregate?: { + __typename?: 'triples_aggregate_fields' + count: number + } | null + } + verificationTriple: { + __typename?: 'triples_aggregate' + nodes: Array<{ + __typename?: 'triples' + term_id: any + predicate_id: any + object_id: any + term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + term_id: any + positions: Array<{ + __typename?: 'positions' + id: string + shares: any + account_id: string + account?: { __typename?: 'accounts'; id: string } | null + }> + }> + } | null + }> + } + } | null +} + +export type GetAtomDetailsQueryVariables = Exact<{ + id: Scalars['numeric']['input'] + userPositionAddress: Scalars['String']['input'] +}> + +export type GetAtomDetailsQuery = { + __typename?: 'query_root' + atom?: { + __typename?: 'atoms' + term_id: any + label?: string | null + wallet_id: string + image?: string | null + type: any + created_at: any + data?: string | null + creator: { __typename?: 'accounts'; id: string } + value?: { + __typename?: 'atom_values' + thing?: { + __typename?: 'things' + name?: string | null + description?: string | null + url?: string | null + } | null + } | null + term: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + current_share_price: any + total_shares: any + position_count: number + userPosition: Array<{ + __typename?: 'positions' + shares: any + account_id: string + }> + }> + } + tags: { + __typename?: 'triples_aggregate' + nodes: Array<{ + __typename?: 'triples' + predicate_id: any + object: { + __typename?: 'atoms' + label?: string | null + term: { + __typename?: 'terms' + vaults: Array<{ __typename?: 'vaults'; term_id: any }> + } + } + }> + aggregate?: { + __typename?: 'triples_aggregate_fields' + count: number + } | null + } + } | null +} + +export type FindAtomIdsQueryVariables = Exact<{ + where?: InputMaybe +}> + +export type FindAtomIdsQuery = { + __typename?: 'query_root' + atoms: Array<{ __typename?: 'atoms'; term_id: any; data?: string | null }> +} + +export type GetEventsQueryVariables = Exact<{ + limit?: InputMaybe + offset?: InputMaybe + orderBy?: InputMaybe | Events_Order_By> + where?: InputMaybe + addresses?: InputMaybe< + Array | Scalars['String']['input'] + > +}> + +export type GetEventsQuery = { + __typename?: 'query_root' + total: { + __typename?: 'events_aggregate' + aggregate?: { __typename?: 'events_aggregate_fields'; count: number } | null + } + events: Array<{ + __typename?: 'events' + id: string + block_number: any + created_at: any + type: any + transaction_hash: string + atom_id?: any | null + triple_id?: any | null + deposit_id?: string | null + redemption_id?: string | null + atom?: { + __typename?: 'atoms' + term_id: any + data?: string | null + image?: string | null + label?: string | null + emoji?: string | null + type: any + wallet_id: string + term: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + total_shares: any + position_count: number + positions: Array<{ + __typename?: 'positions' + account_id: string + shares: any + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + }> + }> + } + creator: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } | null + triple?: { + __typename?: 'triples' + term_id: any + creator?: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } | null + subject: { + __typename?: 'atoms' + data?: string | null + term_id: any + image?: string | null + label?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + predicate: { + __typename?: 'atoms' + data?: string | null + term_id: any + image?: string | null + label?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + object: { + __typename?: 'atoms' + data?: string | null + term_id: any + image?: string | null + label?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + total_shares: any + position_count: number + positions: Array<{ + __typename?: 'positions' + account_id: string + shares: any + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + }> + }> + } | null + counter_term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + total_shares: any + position_count: number + positions: Array<{ + __typename?: 'positions' + account_id: string + shares: any + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + }> + }> + } | null + } | null + deposit?: { + __typename?: 'deposits' + sender_id: string + shares_for_receiver: any + sender_assets_after_total_fees: any + sender?: { __typename?: 'accounts'; id: string } | null + vault?: { + __typename?: 'vaults' + total_shares: any + position_count: number + positions: Array<{ + __typename?: 'positions' + account_id: string + shares: any + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + }> + } | null + } | null + redemption?: { + __typename?: 'redemptions' + sender_id: string + sender?: { __typename?: 'accounts'; id: string } | null + } | null + }> +} + +export type GetEventsWithAggregatesQueryVariables = Exact<{ + limit?: InputMaybe + offset?: InputMaybe + orderBy?: InputMaybe | Events_Order_By> + where?: InputMaybe + addresses?: InputMaybe< + Array | Scalars['String']['input'] + > +}> + +export type GetEventsWithAggregatesQuery = { + __typename?: 'query_root' + events_aggregate: { + __typename?: 'events_aggregate' + aggregate?: { + __typename?: 'events_aggregate_fields' + count: number + max?: { + __typename?: 'events_max_fields' + created_at?: any | null + block_number?: any | null + } | null + min?: { + __typename?: 'events_min_fields' + created_at?: any | null + block_number?: any | null + } | null + } | null + nodes: Array<{ + __typename?: 'events' + block_number: any + created_at: any + type: any + transaction_hash: string + atom_id?: any | null + triple_id?: any | null + deposit_id?: string | null + redemption_id?: string | null + atom?: { + __typename?: 'atoms' + term_id: any + data?: string | null + image?: string | null + label?: string | null + emoji?: string | null + type: any + wallet_id: string + term: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + total_shares: any + position_count: number + positions: Array<{ + __typename?: 'positions' + account_id: string + shares: any + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + }> + }> + } + creator: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } | null + triple?: { + __typename?: 'triples' + term_id: any + subject_id: any + predicate_id: any + object_id: any + term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + total_shares: any + position_count: number + current_share_price: any + positions: Array<{ + __typename?: 'positions' + account_id: string + shares: any + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + vault?: { + __typename?: 'vaults' + term_id: any + total_shares: any + current_share_price: any + } | null + }> + allPositions: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + }> + } | null + counter_term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + total_shares: any + position_count: number + current_share_price: any + positions: Array<{ + __typename?: 'positions' + account_id: string + shares: any + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + vault?: { + __typename?: 'vaults' + term_id: any + total_shares: any + current_share_price: any + } | null + }> + allPositions: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + }> + } | null + subject: { + __typename?: 'atoms' + data?: string | null + term_id: any + image?: string | null + label?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + predicate: { + __typename?: 'atoms' + data?: string | null + term_id: any + image?: string | null + label?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + object: { + __typename?: 'atoms' + data?: string | null + term_id: any + image?: string | null + label?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + } | null + deposit?: { + __typename?: 'deposits' + term_id: any + curve_id: any + sender_assets_after_total_fees: any + shares_for_receiver: any + receiver: { __typename?: 'accounts'; id: string } + sender?: { __typename?: 'accounts'; id: string } | null + } | null + redemption?: { + __typename?: 'redemptions' + term_id: any + curve_id: any + receiver_id: string + shares_redeemed_by_sender: any + assets_for_receiver: any + } | null + }> + } +} + +export type GetEventsCountQueryVariables = Exact<{ + where?: InputMaybe +}> + +export type GetEventsCountQuery = { + __typename?: 'query_root' + events_aggregate: { + __typename?: 'events_aggregate' + aggregate?: { __typename?: 'events_aggregate_fields'; count: number } | null + } +} + +export type GetEventsDataQueryVariables = Exact<{ + where?: InputMaybe +}> + +export type GetEventsDataQuery = { + __typename?: 'query_root' + events_aggregate: { + __typename?: 'events_aggregate' + aggregate?: { + __typename?: 'events_aggregate_fields' + count: number + max?: { + __typename?: 'events_max_fields' + created_at?: any | null + block_number?: any | null + } | null + min?: { + __typename?: 'events_min_fields' + created_at?: any | null + block_number?: any | null + } | null + avg?: { + __typename?: 'events_avg_fields' + block_number?: number | null + } | null + } | null + } +} + +export type GetDebugEventsQueryVariables = Exact<{ + addresses?: InputMaybe< + Array | Scalars['String']['input'] + > +}> + +export type GetDebugEventsQuery = { + __typename?: 'query_root' + debug_events: Array<{ + __typename?: 'events' + id: string + atom?: { + __typename?: 'atoms' + term: { + __typename?: 'terms' + positions: Array<{ + __typename?: 'positions' + account_id: string + shares: any + }> + } + } | null + }> +} + +export type GetTransactionEventsQueryVariables = Exact<{ + hash: Scalars['String']['input'] +}> + +export type GetTransactionEventsQuery = { + __typename?: 'query_root' + events: Array<{ __typename?: 'events'; transaction_hash: string }> +} + +export type GetFollowingPositionsQueryVariables = Exact<{ + subjectId: Scalars['numeric']['input'] + predicateId: Scalars['numeric']['input'] + address: Scalars['String']['input'] + limit?: InputMaybe + offset?: InputMaybe + positionsOrderBy?: InputMaybe | Positions_Order_By> +}> + +export type GetFollowingPositionsQuery = { + __typename?: 'query_root' + triples_aggregate: { + __typename?: 'triples_aggregate' + aggregate?: { + __typename?: 'triples_aggregate_fields' + count: number + } | null + } + triples: Array<{ + __typename?: 'triples' + term_id: any + subject: { + __typename?: 'atoms' + term_id: any + data?: string | null + image?: string | null + label?: string | null + emoji?: string | null + type: any + wallet_id: string + creator: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + predicate: { + __typename?: 'atoms' + term_id: any + data?: string | null + image?: string | null + label?: string | null + emoji?: string | null + type: any + wallet_id: string + creator: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + object: { + __typename?: 'atoms' + term_id: any + data?: string | null + image?: string | null + label?: string | null + emoji?: string | null + type: any + wallet_id: string + creator: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + total_shares: any + current_share_price: any + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + positions: Array<{ + __typename?: 'positions' + account_id: string + shares: any + account?: { + __typename?: 'accounts' + id: string + label: string + } | null + }> + }> + } | null + }> +} + +export type GetFollowerPositionsQueryVariables = Exact<{ + subjectId: Scalars['numeric']['input'] + predicateId: Scalars['numeric']['input'] + objectId: Scalars['numeric']['input'] + positionsLimit?: InputMaybe + positionsOffset?: InputMaybe + positionsOrderBy?: InputMaybe | Positions_Order_By> + positionsWhere?: InputMaybe +}> + +export type GetFollowerPositionsQuery = { + __typename?: 'query_root' + triples: Array<{ + __typename?: 'triples' + term_id: any + subject: { + __typename?: 'atoms' + term_id: any + data?: string | null + image?: string | null + label?: string | null + emoji?: string | null + type: any + wallet_id: string + creator: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + predicate: { + __typename?: 'atoms' + term_id: any + data?: string | null + image?: string | null + label?: string | null + emoji?: string | null + type: any + wallet_id: string + creator: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + object: { + __typename?: 'atoms' + term_id: any + data?: string | null + image?: string | null + label?: string | null + emoji?: string | null + type: any + wallet_id: string + creator: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + total_shares: any + current_share_price: any + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + positions: Array<{ + __typename?: 'positions' + shares: any + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + }> + }> + } | null + }> +} + +export type GetConnectionsQueryVariables = Exact<{ + subjectId: Scalars['numeric']['input'] + predicateId: Scalars['numeric']['input'] + objectId: Scalars['numeric']['input'] + addresses?: InputMaybe< + Array | Scalars['String']['input'] + > + positionsLimit?: InputMaybe + positionsOffset?: InputMaybe + positionsOrderBy?: InputMaybe | Positions_Order_By> + positionsWhere?: InputMaybe +}> + +export type GetConnectionsQuery = { + __typename?: 'query_root' + following_count: { + __typename?: 'triples_aggregate' + aggregate?: { + __typename?: 'triples_aggregate_fields' + count: number + } | null + } + following: Array<{ + __typename?: 'triples' + term_id: any + subject: { __typename?: 'atoms'; term_id: any; label?: string | null } + predicate: { __typename?: 'atoms'; term_id: any; label?: string | null } + object: { __typename?: 'atoms'; term_id: any; label?: string | null } + term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + term_id: any + total_shares: any + current_share_price: any + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + positions: Array<{ + __typename?: 'positions' + shares: any + account?: { + __typename?: 'accounts' + id: string + label: string + } | null + }> + }> + } | null + }> + followers_count: { + __typename?: 'triples_aggregate' + aggregate?: { + __typename?: 'triples_aggregate_fields' + count: number + } | null + } + followers: Array<{ + __typename?: 'triples' + term_id: any + subject: { __typename?: 'atoms'; term_id: any; label?: string | null } + predicate: { __typename?: 'atoms'; term_id: any; label?: string | null } + object: { __typename?: 'atoms'; term_id: any; label?: string | null } + term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + term_id: any + total_shares: any + current_share_price: any + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + positions: Array<{ + __typename?: 'positions' + shares: any + account?: { + __typename?: 'accounts' + id: string + label: string + } | null + }> + }> + } | null + }> +} + +export type GetConnectionsCountQueryVariables = Exact<{ + subjectId: Scalars['numeric']['input'] + predicateId: Scalars['numeric']['input'] + objectId: Scalars['numeric']['input'] + address: Scalars['String']['input'] +}> + +export type GetConnectionsCountQuery = { + __typename?: 'query_root' + following_count: { + __typename?: 'triples_aggregate' + aggregate?: { + __typename?: 'triples_aggregate_fields' + count: number + } | null + } + followers_count: Array<{ + __typename?: 'triples' + term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + }> + } | null + }> +} + +export type GetListsQueryVariables = Exact<{ + where?: InputMaybe +}> + +export type GetListsQuery = { + __typename?: 'query_root' + predicate_objects_aggregate: { + __typename?: 'predicate_objects_aggregate' + aggregate?: { + __typename?: 'predicate_objects_aggregate_fields' + count: number + } | null + } + predicate_objects: Array<{ + __typename?: 'predicate_objects' + id: string + triple_count: number + object: { + __typename?: 'atoms' + term_id: any + label?: string | null + image?: string | null + } + }> +} + +export type GetListItemsQueryVariables = Exact<{ + predicateId?: InputMaybe + objectId?: InputMaybe +}> + +export type GetListItemsQuery = { + __typename?: 'query_root' + triples_aggregate: { + __typename?: 'triples_aggregate' + aggregate?: { + __typename?: 'triples_aggregate_fields' + count: number + } | null + nodes: Array<{ + __typename?: 'triples' + term_id: any + counter_term_id: any + term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + positions: Array<{ + __typename?: 'positions' + id: string + shares: any + term_id: any + curve_id: any + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + vault?: { + __typename?: 'vaults' + term_id: any + term: { + __typename?: 'terms' + atom?: { + __typename?: 'atoms' + term_id: any + label?: string | null + image?: string | null + } | null + triple?: { + __typename?: 'triples' + term_id: any + term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + term_id: any + position_count: number + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + }> + } | null + counter_term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + term_id: any + position_count: number + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + }> + } | null + subject: { + __typename?: 'atoms' + data?: string | null + term_id: any + label?: string | null + image?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + predicate: { + __typename?: 'atoms' + data?: string | null + term_id: any + label?: string | null + image?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + object: { + __typename?: 'atoms' + data?: string | null + term_id: any + label?: string | null + image?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + } | null + } + } | null + }> + }> + } | null + counter_term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + positions: Array<{ + __typename?: 'positions' + id: string + shares: any + term_id: any + curve_id: any + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + vault?: { + __typename?: 'vaults' + term_id: any + term: { + __typename?: 'terms' + atom?: { + __typename?: 'atoms' + term_id: any + label?: string | null + image?: string | null + } | null + triple?: { + __typename?: 'triples' + term_id: any + term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + term_id: any + position_count: number + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + }> + } | null + counter_term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + term_id: any + position_count: number + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + }> + } | null + subject: { + __typename?: 'atoms' + data?: string | null + term_id: any + label?: string | null + image?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + predicate: { + __typename?: 'atoms' + data?: string | null + term_id: any + label?: string | null + image?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + object: { + __typename?: 'atoms' + data?: string | null + term_id: any + label?: string | null + image?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + } | null + } + } | null + }> + }> + } | null + }> + } +} + +export type GetListDetailsQueryVariables = Exact<{ + globalWhere?: InputMaybe + tagPredicateId?: InputMaybe + limit?: InputMaybe + offset?: InputMaybe + orderBy?: InputMaybe | Triples_Order_By> +}> + +export type GetListDetailsQuery = { + __typename?: 'query_root' + globalTriplesAggregate: { + __typename?: 'triples_aggregate' + aggregate?: { + __typename?: 'triples_aggregate_fields' + count: number + } | null + } + globalTriples: Array<{ + __typename?: 'triples' + term_id: any + counter_term_id: any + subject: { + __typename?: 'atoms' + term_id: any + label?: string | null + wallet_id: string + image?: string | null + type: any + term: { + __typename?: 'terms' + vaults: Array<{ __typename?: 'vaults'; position_count: number }> + } + tags: { + __typename?: 'triples_aggregate' + nodes: Array<{ + __typename?: 'triples' + object: { + __typename?: 'atoms' + label?: string | null + term_id: any + taggedIdentities: { + __typename?: 'triples_aggregate' + nodes: Array<{ + __typename?: 'triples' + term_id: any + subject: { + __typename?: 'atoms' + label?: string | null + term_id: any + } + }> + aggregate?: { + __typename?: 'triples_aggregate_fields' + count: number + } | null + } + } + }> + aggregate?: { + __typename?: 'triples_aggregate_fields' + count: number + } | null + } + } + object: { + __typename?: 'atoms' + term_id: any + label?: string | null + wallet_id: string + image?: string | null + type: any + } + predicate: { + __typename?: 'atoms' + term_id: any + label?: string | null + wallet_id: string + image?: string | null + type: any + } + term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + current_share_price: any + position_count: number + total_shares: any + }> + } | null + counter_term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + current_share_price: any + position_count: number + total_shares: any + }> + } | null + }> +} + +export type GetListDetailsWithPositionQueryVariables = Exact<{ + globalWhere?: InputMaybe + tagPredicateId?: InputMaybe + address?: InputMaybe + limit?: InputMaybe + offset?: InputMaybe + orderBy?: InputMaybe | Triples_Order_By> +}> + +export type GetListDetailsWithPositionQuery = { + __typename?: 'query_root' + globalTriplesAggregate: { + __typename?: 'triples_aggregate' + aggregate?: { + __typename?: 'triples_aggregate_fields' + count: number + } | null + } + globalTriples: Array<{ + __typename?: 'triples' + term_id: any + counter_term_id: any + subject: { + __typename?: 'atoms' + term_id: any + label?: string | null + wallet_id: string + image?: string | null + type: any + tags: { + __typename?: 'triples_aggregate' + nodes: Array<{ + __typename?: 'triples' + object: { + __typename?: 'atoms' + label?: string | null + term_id: any + taggedIdentities: { + __typename?: 'triples_aggregate' + nodes: Array<{ + __typename?: 'triples' + term_id: any + subject: { + __typename?: 'atoms' + label?: string | null + term_id: any + } + }> + aggregate?: { + __typename?: 'triples_aggregate_fields' + count: number + } | null + } + } + }> + aggregate?: { + __typename?: 'triples_aggregate_fields' + count: number + } | null + } + } + object: { + __typename?: 'atoms' + term_id: any + label?: string | null + wallet_id: string + image?: string | null + type: any + } + predicate: { + __typename?: 'atoms' + term_id: any + label?: string | null + wallet_id: string + image?: string | null + type: any + } + term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + current_share_price: any + position_count: number + total_shares: any + }> + positions: Array<{ + __typename?: 'positions' + shares: any + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + }> + } | null + counter_term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + current_share_price: any + position_count: number + total_shares: any + }> + positions: Array<{ + __typename?: 'positions' + shares: any + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + }> + } | null + }> +} + +export type GetListDetailsWithUserQueryVariables = Exact<{ + globalWhere?: InputMaybe + userWhere?: InputMaybe + tagPredicateId?: InputMaybe + address?: InputMaybe + limit?: InputMaybe + offset?: InputMaybe + orderBy?: InputMaybe | Triples_Order_By> +}> + +export type GetListDetailsWithUserQuery = { + __typename?: 'query_root' + globalTriplesAggregate: { + __typename?: 'triples_aggregate' + aggregate?: { + __typename?: 'triples_aggregate_fields' + count: number + } | null + } + globalTriples: Array<{ + __typename?: 'triples' + term_id: any + counter_term_id: any + subject: { + __typename?: 'atoms' + term_id: any + label?: string | null + wallet_id: string + image?: string | null + type: any + tags: { + __typename?: 'triples_aggregate' + nodes: Array<{ + __typename?: 'triples' + object: { + __typename?: 'atoms' + label?: string | null + term_id: any + taggedIdentities: { + __typename?: 'triples_aggregate' + nodes: Array<{ + __typename?: 'triples' + term_id: any + subject: { + __typename?: 'atoms' + label?: string | null + term_id: any + } + }> + aggregate?: { + __typename?: 'triples_aggregate_fields' + count: number + } | null + } + } + }> + aggregate?: { + __typename?: 'triples_aggregate_fields' + count: number + } | null + } + } + object: { + __typename?: 'atoms' + term_id: any + label?: string | null + wallet_id: string + image?: string | null + type: any + } + predicate: { + __typename?: 'atoms' + term_id: any + label?: string | null + wallet_id: string + image?: string | null + type: any + } + term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + current_share_price: any + position_count: number + total_shares: any + }> + positions: Array<{ + __typename?: 'positions' + shares: any + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + }> + } | null + counter_term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + current_share_price: any + position_count: number + total_shares: any + }> + positions: Array<{ + __typename?: 'positions' + shares: any + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + }> + } | null + }> + userTriplesAggregate: { + __typename?: 'triples_aggregate' + aggregate?: { + __typename?: 'triples_aggregate_fields' + count: number + } | null + } + userTriples: Array<{ + __typename?: 'triples' + term_id: any + counter_term_id: any + subject: { + __typename?: 'atoms' + term_id: any + label?: string | null + wallet_id: string + image?: string | null + type: any + tags: { + __typename?: 'triples_aggregate' + nodes: Array<{ + __typename?: 'triples' + object: { + __typename?: 'atoms' + label?: string | null + term_id: any + taggedIdentities: { + __typename?: 'triples_aggregate' + nodes: Array<{ + __typename?: 'triples' + term_id: any + subject: { + __typename?: 'atoms' + label?: string | null + term_id: any + } + }> + aggregate?: { + __typename?: 'triples_aggregate_fields' + count: number + } | null + } + } + }> + aggregate?: { + __typename?: 'triples_aggregate_fields' + count: number + } | null + } + } + object: { + __typename?: 'atoms' + term_id: any + label?: string | null + wallet_id: string + image?: string | null + type: any + } + predicate: { + __typename?: 'atoms' + term_id: any + label?: string | null + wallet_id: string + image?: string | null + type: any + } + term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + current_share_price: any + position_count: number + total_shares: any + }> + positions: Array<{ + __typename?: 'positions' + shares: any + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + }> + } | null + counter_term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + current_share_price: any + position_count: number + total_shares: any + }> + positions: Array<{ + __typename?: 'positions' + shares: any + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + }> + } | null + }> +} + +export type GetListDetailsSimplifiedQueryVariables = Exact<{ + globalWhere?: InputMaybe + address?: InputMaybe + limit?: InputMaybe + offset?: InputMaybe + orderBy?: InputMaybe | Triples_Order_By> +}> + +export type GetListDetailsSimplifiedQuery = { + __typename?: 'query_root' + globalTriplesAggregate: { + __typename?: 'triples_aggregate' + aggregate?: { + __typename?: 'triples_aggregate_fields' + count: number + } | null + } + globalTriples: Array<{ + __typename?: 'triples' + term_id: any + counter_term_id: any + subject: { + __typename?: 'atoms' + term_id: any + label?: string | null + wallet_id: string + image?: string | null + type: any + term: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + current_share_price: any + position_count: number + total_shares: any + }> + } + } + object: { + __typename?: 'atoms' + term_id: any + label?: string | null + wallet_id: string + image?: string | null + type: any + } + predicate: { + __typename?: 'atoms' + term_id: any + label?: string | null + wallet_id: string + image?: string | null + type: any + } + term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + current_share_price: any + position_count: number + total_shares: any + positions: Array<{ + __typename?: 'positions' + shares: any + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + }> + }> + } | null + counter_term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + current_share_price: any + position_count: number + total_shares: any + positions: Array<{ + __typename?: 'positions' + shares: any + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + }> + }> + } | null + }> +} + +export type GetFeeTransfersQueryVariables = Exact<{ + address: Scalars['String']['input'] + cutoff_timestamp?: InputMaybe +}> + +export type GetFeeTransfersQuery = { + __typename?: 'query_root' + before_cutoff: { + __typename?: 'fee_transfers_aggregate' + aggregate?: { + __typename?: 'fee_transfers_aggregate_fields' + sum?: { + __typename?: 'fee_transfers_sum_fields' + amount?: any | null + } | null + } | null + } + after_cutoff: { + __typename?: 'fee_transfers_aggregate' + aggregate?: { + __typename?: 'fee_transfers_aggregate_fields' + sum?: { + __typename?: 'fee_transfers_sum_fields' + amount?: any | null + } | null + } | null + } +} + +export type GetPositionsQueryVariables = Exact<{ + limit?: InputMaybe + offset?: InputMaybe + orderBy?: InputMaybe | Positions_Order_By> + where?: InputMaybe +}> + +export type GetPositionsQuery = { + __typename?: 'query_root' + total: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + sum?: { __typename?: 'positions_sum_fields'; shares?: any | null } | null + } | null + } + positions: Array<{ + __typename?: 'positions' + id: string + shares: any + term_id: any + curve_id: any + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + vault?: { + __typename?: 'vaults' + term_id: any + term: { + __typename?: 'terms' + atom?: { + __typename?: 'atoms' + term_id: any + label?: string | null + image?: string | null + } | null + triple?: { + __typename?: 'triples' + term_id: any + term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + term_id: any + position_count: number + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + }> + } | null + counter_term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + term_id: any + position_count: number + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + }> + } | null + subject: { + __typename?: 'atoms' + data?: string | null + term_id: any + label?: string | null + image?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + predicate: { + __typename?: 'atoms' + data?: string | null + term_id: any + label?: string | null + image?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + object: { + __typename?: 'atoms' + data?: string | null + term_id: any + label?: string | null + image?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + } | null + } + } | null + }> +} + +export type GetTriplePositionsByAddressQueryVariables = Exact<{ + limit?: InputMaybe + offset?: InputMaybe + orderBy?: InputMaybe | Positions_Order_By> + where?: InputMaybe + address: Scalars['String']['input'] +}> + +export type GetTriplePositionsByAddressQuery = { + __typename?: 'query_root' + total: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + sum?: { __typename?: 'positions_sum_fields'; shares?: any | null } | null + } | null + } + positions: Array<{ + __typename?: 'positions' + id: string + shares: any + term_id: any + curve_id: any + vault?: { + __typename?: 'vaults' + term_id: any + term: { + __typename?: 'terms' + triple?: { + __typename?: 'triples' + term_id: any + term?: { + __typename?: 'terms' + positions: Array<{ + __typename?: 'positions' + shares: any + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + }> + vaults: Array<{ + __typename?: 'vaults' + term_id: any + position_count: number + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + }> + } | null + counter_term?: { + __typename?: 'terms' + positions: Array<{ + __typename?: 'positions' + shares: any + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + }> + vaults: Array<{ + __typename?: 'vaults' + term_id: any + position_count: number + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + }> + } | null + subject: { + __typename?: 'atoms' + data?: string | null + term_id: any + label?: string | null + image?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + predicate: { + __typename?: 'atoms' + data?: string | null + term_id: any + label?: string | null + image?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + object: { + __typename?: 'atoms' + data?: string | null + term_id: any + label?: string | null + image?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + } | null + atom?: { + __typename?: 'atoms' + term_id: any + label?: string | null + image?: string | null + } | null + } + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + }> +} + +export type GetPositionsWithAggregatesQueryVariables = Exact<{ + limit?: InputMaybe + offset?: InputMaybe + orderBy?: InputMaybe | Positions_Order_By> + where?: InputMaybe +}> + +export type GetPositionsWithAggregatesQuery = { + __typename?: 'query_root' + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + } | null + nodes: Array<{ + __typename?: 'positions' + id: string + shares: any + term_id: any + curve_id: any + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + vault?: { + __typename?: 'vaults' + term_id: any + term: { + __typename?: 'terms' + atom?: { + __typename?: 'atoms' + term_id: any + label?: string | null + image?: string | null + } | null + triple?: { + __typename?: 'triples' + term_id: any + term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + term_id: any + position_count: number + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + }> + } | null + counter_term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + term_id: any + position_count: number + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + }> + } | null + subject: { + __typename?: 'atoms' + data?: string | null + term_id: any + label?: string | null + image?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + predicate: { + __typename?: 'atoms' + data?: string | null + term_id: any + label?: string | null + image?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + object: { + __typename?: 'atoms' + data?: string | null + term_id: any + label?: string | null + image?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + } | null + } + } | null + }> + } +} + +export type GetPositionsCountQueryVariables = Exact<{ + where?: InputMaybe +}> + +export type GetPositionsCountQuery = { + __typename?: 'query_root' + positions_aggregate: { + __typename?: 'positions_aggregate' + total?: { + __typename?: 'positions_aggregate_fields' + count: number + sum?: { __typename?: 'positions_sum_fields'; shares?: any | null } | null + } | null + } +} + +export type GetPositionQueryVariables = Exact<{ + positionId: Scalars['String']['input'] +}> + +export type GetPositionQuery = { + __typename?: 'query_root' + position?: { + __typename?: 'positions' + id: string + shares: any + term_id: any + curve_id: any + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + vault?: { + __typename?: 'vaults' + term_id: any + term: { + __typename?: 'terms' + atom?: { + __typename?: 'atoms' + term_id: any + label?: string | null + image?: string | null + } | null + triple?: { + __typename?: 'triples' + term_id: any + term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + term_id: any + position_count: number + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + }> + } | null + counter_term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + term_id: any + position_count: number + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + }> + } | null + subject: { + __typename?: 'atoms' + data?: string | null + term_id: any + label?: string | null + image?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + predicate: { + __typename?: 'atoms' + data?: string | null + term_id: any + label?: string | null + image?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + object: { + __typename?: 'atoms' + data?: string | null + term_id: any + label?: string | null + image?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + } | null + } + } | null + } | null +} + +export type GetPositionsCountByTypeQueryVariables = Exact<{ + where?: InputMaybe +}> + +export type GetPositionsCountByTypeQuery = { + __typename?: 'query_root' + positions_aggregate: { + __typename?: 'positions_aggregate' + total?: { + __typename?: 'positions_aggregate_fields' + count: number + sum?: { __typename?: 'positions_sum_fields'; shares?: any | null } | null + } | null + } + positions: Array<{ + __typename?: 'positions' + vault?: { __typename?: 'vaults'; term_id: any } | null + }> +} + +export type SearchPositionsQueryVariables = Exact<{ + addresses?: InputMaybe + search_fields?: InputMaybe +}> + +export type SearchPositionsQuery = { + __typename?: 'query_root' + positions: Array<{ + __typename?: 'positions' + term: { + __typename?: 'terms' + triple?: { + __typename?: 'triples' + subject: { __typename?: 'atoms'; data?: string | null } + predicate: { __typename?: 'atoms'; data?: string | null } + object: { __typename?: 'atoms'; data?: string | null } + } | null + } + }> +} + +export type GetSignalsQueryVariables = Exact<{ + limit?: InputMaybe + offset?: InputMaybe + orderBy?: InputMaybe | Signals_Order_By> + addresses?: InputMaybe< + Array | Scalars['String']['input'] + > +}> + +export type GetSignalsQuery = { + __typename?: 'query_root' + total: { + __typename?: 'events_aggregate' + aggregate?: { __typename?: 'events_aggregate_fields'; count: number } | null + } + signals: Array<{ + __typename?: 'signals' + id: string + block_number: any + created_at: any + transaction_hash: string + atom_id?: any | null + triple_id?: any | null + deposit_id?: string | null + redemption_id?: string | null + term: { + __typename?: 'terms' + atom?: { + __typename?: 'atoms' + term_id: any + data?: string | null + image?: string | null + label?: string | null + emoji?: string | null + type: any + wallet_id: string + term: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + total_shares: any + position_count: number + positions: Array<{ + __typename?: 'positions' + account_id: string + shares: any + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + }> + }> + } + creator: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } | null + triple?: { + __typename?: 'triples' + term_id: any + creator?: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } | null + subject: { + __typename?: 'atoms' + data?: string | null + term_id: any + image?: string | null + label?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + predicate: { + __typename?: 'atoms' + data?: string | null + term_id: any + image?: string | null + label?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + object: { + __typename?: 'atoms' + data?: string | null + term_id: any + image?: string | null + label?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + total_shares: any + position_count: number + positions: Array<{ + __typename?: 'positions' + account_id: string + shares: any + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + }> + }> + } | null + counter_term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + total_shares: any + position_count: number + positions: Array<{ + __typename?: 'positions' + account_id: string + shares: any + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + }> + }> + } | null + } | null + } + deposit?: { + __typename?: 'deposits' + sender_id: string + receiver_id: string + shares_for_receiver: any + sender_assets_after_total_fees: any + sender?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + receiver: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } + vault?: { + __typename?: 'vaults' + total_shares: any + position_count: number + positions: Array<{ + __typename?: 'positions' + account_id: string + shares: any + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + }> + } | null + } | null + redemption?: { + __typename?: 'redemptions' + sender_id: string + receiver_id: string + assets_for_receiver: any + shares_redeemed_by_sender: any + sender?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + receiver: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } + } | null + }> +} + +export type AtomMetadataMaybedeletethisFragment = { + __typename?: 'atoms' + term_id: any + data?: string | null + image?: string | null + label?: string | null + emoji?: string | null + type: any + wallet_id: string + creator: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null +} + +export type GetStatsQueryVariables = Exact<{ [key: string]: never }> + +export type GetStatsQuery = { + __typename?: 'query_root' + stats: Array<{ + __typename?: 'stats' + contract_balance?: any | null + total_accounts?: number | null + total_fees?: any | null + total_atoms?: number | null + total_triples?: number | null + total_positions?: number | null + total_signals?: number | null + }> +} + +export type GetTagsQueryVariables = Exact<{ + subjectId: Scalars['numeric']['input'] + predicateId: Scalars['numeric']['input'] +}> + +export type GetTagsQuery = { + __typename?: 'query_root' + triples: Array<{ + __typename?: 'triples' + term_id: any + subject_id: any + predicate_id: any + object_id: any + subject: { + __typename?: 'atoms' + data?: string | null + term_id: any + image?: string | null + label?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + predicate: { + __typename?: 'atoms' + data?: string | null + term_id: any + image?: string | null + label?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + object: { + __typename?: 'atoms' + data?: string | null + term_id: any + image?: string | null + label?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + total_shares: any + current_share_price: any + allPositions: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + positions: Array<{ + __typename?: 'positions' + shares: any + account?: { + __typename?: 'accounts' + id: string + label: string + } | null + vault?: { + __typename?: 'vaults' + term_id: any + total_shares: any + current_share_price: any + } | null + }> + }> + } | null + counter_term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + total_shares: any + current_share_price: any + allPositions: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + positions: Array<{ + __typename?: 'positions' + shares: any + account?: { + __typename?: 'accounts' + id: string + label: string + } | null + vault?: { + __typename?: 'vaults' + term_id: any + total_shares: any + current_share_price: any + } | null + }> + }> + } | null + }> +} + +export type GetTagsCustomQueryVariables = Exact<{ + where?: InputMaybe +}> + +export type GetTagsCustomQuery = { + __typename?: 'query_root' + triples: Array<{ + __typename?: 'triples' + term_id: any + subject_id: any + predicate_id: any + object_id: any + subject: { + __typename?: 'atoms' + data?: string | null + term_id: any + image?: string | null + label?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + predicate: { + __typename?: 'atoms' + data?: string | null + term_id: any + image?: string | null + label?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + object: { + __typename?: 'atoms' + data?: string | null + term_id: any + image?: string | null + label?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + total_shares: any + current_share_price: any + allPositions: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + positions: Array<{ + __typename?: 'positions' + shares: any + account?: { + __typename?: 'accounts' + id: string + label: string + } | null + vault?: { + __typename?: 'vaults' + term_id: any + total_shares: any + current_share_price: any + } | null + }> + }> + } | null + counter_term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + total_shares: any + current_share_price: any + allPositions: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + positions: Array<{ + __typename?: 'positions' + shares: any + account?: { + __typename?: 'accounts' + id: string + label: string + } | null + vault?: { + __typename?: 'vaults' + term_id: any + total_shares: any + current_share_price: any + } | null + }> + }> + } | null + }> +} + +export type GetTriplesQueryVariables = Exact<{ + limit?: InputMaybe + offset?: InputMaybe + orderBy?: InputMaybe | Triples_Order_By> + where?: InputMaybe +}> + +export type GetTriplesQuery = { + __typename?: 'query_root' + total: { + __typename?: 'triples_aggregate' + aggregate?: { + __typename?: 'triples_aggregate_fields' + count: number + } | null + } + triples: Array<{ + __typename?: 'triples' + term_id: any + subject_id: any + predicate_id: any + object_id: any + block_number: any + created_at: any + transaction_hash: string + creator_id: string + counter_term_id: any + creator?: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } | null + subject: { + __typename?: 'atoms' + data?: string | null + term_id: any + image?: string | null + label?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + predicate: { + __typename?: 'atoms' + data?: string | null + term_id: any + image?: string | null + label?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + object: { + __typename?: 'atoms' + data?: string | null + term_id: any + image?: string | null + label?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + total_shares: any + current_share_price: any + allPositions: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + positions: Array<{ + __typename?: 'positions' + shares: any + id: string + term_id: any + curve_id: any + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + vault?: { + __typename?: 'vaults' + term_id: any + total_shares: any + current_share_price: any + term: { + __typename?: 'terms' + atom?: { + __typename?: 'atoms' + term_id: any + label?: string | null + image?: string | null + } | null + triple?: { + __typename?: 'triples' + term_id: any + term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + term_id: any + position_count: number + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + }> + } | null + counter_term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + term_id: any + position_count: number + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + }> + } | null + subject: { + __typename?: 'atoms' + data?: string | null + term_id: any + label?: string | null + image?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + predicate: { + __typename?: 'atoms' + data?: string | null + term_id: any + label?: string | null + image?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + object: { + __typename?: 'atoms' + data?: string | null + term_id: any + label?: string | null + image?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + } | null + } + } | null + }> + }> + } | null + counter_term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + total_shares: any + current_share_price: any + allPositions: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + positions: Array<{ + __typename?: 'positions' + shares: any + id: string + term_id: any + curve_id: any + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + vault?: { + __typename?: 'vaults' + term_id: any + total_shares: any + current_share_price: any + term: { + __typename?: 'terms' + atom?: { + __typename?: 'atoms' + term_id: any + label?: string | null + image?: string | null + } | null + triple?: { + __typename?: 'triples' + term_id: any + term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + term_id: any + position_count: number + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + }> + } | null + counter_term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + term_id: any + position_count: number + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + }> + } | null + subject: { + __typename?: 'atoms' + data?: string | null + term_id: any + label?: string | null + image?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + predicate: { + __typename?: 'atoms' + data?: string | null + term_id: any + label?: string | null + image?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + object: { + __typename?: 'atoms' + data?: string | null + term_id: any + label?: string | null + image?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + } | null + } + } | null + }> + }> + } | null + }> +} + +export type GetTriplesWithAggregatesQueryVariables = Exact<{ + limit?: InputMaybe + offset?: InputMaybe + orderBy?: InputMaybe | Triples_Order_By> + where?: InputMaybe +}> + +export type GetTriplesWithAggregatesQuery = { + __typename?: 'query_root' + triples_aggregate: { + __typename?: 'triples_aggregate' + aggregate?: { + __typename?: 'triples_aggregate_fields' + count: number + } | null + nodes: Array<{ + __typename?: 'triples' + term_id: any + subject_id: any + predicate_id: any + object_id: any + block_number: any + created_at: any + transaction_hash: string + creator_id: string + counter_term_id: any + creator?: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } | null + subject: { + __typename?: 'atoms' + data?: string | null + term_id: any + image?: string | null + label?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + predicate: { + __typename?: 'atoms' + data?: string | null + term_id: any + image?: string | null + label?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + object: { + __typename?: 'atoms' + data?: string | null + term_id: any + image?: string | null + label?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + total_shares: any + current_share_price: any + allPositions: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + positions: Array<{ + __typename?: 'positions' + shares: any + id: string + term_id: any + curve_id: any + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + vault?: { + __typename?: 'vaults' + term_id: any + total_shares: any + current_share_price: any + term: { + __typename?: 'terms' + atom?: { + __typename?: 'atoms' + term_id: any + label?: string | null + image?: string | null + } | null + triple?: { + __typename?: 'triples' + term_id: any + term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + term_id: any + position_count: number + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + }> + } | null + counter_term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + term_id: any + position_count: number + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + }> + } | null + subject: { + __typename?: 'atoms' + data?: string | null + term_id: any + label?: string | null + image?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + predicate: { + __typename?: 'atoms' + data?: string | null + term_id: any + label?: string | null + image?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + object: { + __typename?: 'atoms' + data?: string | null + term_id: any + label?: string | null + image?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + } | null + } + } | null + }> + }> + } | null + counter_term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + total_shares: any + current_share_price: any + allPositions: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + positions: Array<{ + __typename?: 'positions' + shares: any + id: string + term_id: any + curve_id: any + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + vault?: { + __typename?: 'vaults' + term_id: any + total_shares: any + current_share_price: any + term: { + __typename?: 'terms' + atom?: { + __typename?: 'atoms' + term_id: any + label?: string | null + image?: string | null + } | null + triple?: { + __typename?: 'triples' + term_id: any + term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + term_id: any + position_count: number + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + }> + } | null + counter_term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + term_id: any + position_count: number + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + }> + } | null + subject: { + __typename?: 'atoms' + data?: string | null + term_id: any + label?: string | null + image?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + predicate: { + __typename?: 'atoms' + data?: string | null + term_id: any + label?: string | null + image?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + object: { + __typename?: 'atoms' + data?: string | null + term_id: any + label?: string | null + image?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + } | null + } + } | null + }> + }> + } | null + }> + } +} + +export type GetTriplesCountQueryVariables = Exact<{ + where?: InputMaybe +}> + +export type GetTriplesCountQuery = { + __typename?: 'query_root' + triples_aggregate: { + __typename?: 'triples_aggregate' + total?: { __typename?: 'triples_aggregate_fields'; count: number } | null + } +} + +export type GetTripleQueryVariables = Exact<{ + tripleId: Scalars['numeric']['input'] +}> + +export type GetTripleQuery = { + __typename?: 'query_root' + triple?: { + __typename?: 'triples' + term_id: any + subject_id: any + predicate_id: any + object_id: any + block_number: any + created_at: any + transaction_hash: string + creator_id: string + counter_term_id: any + creator?: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } | null + subject: { + __typename?: 'atoms' + data?: string | null + term_id: any + image?: string | null + label?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + predicate: { + __typename?: 'atoms' + data?: string | null + term_id: any + image?: string | null + label?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + object: { + __typename?: 'atoms' + data?: string | null + term_id: any + image?: string | null + label?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + total_shares: any + current_share_price: any + allPositions: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + positions: Array<{ + __typename?: 'positions' + shares: any + id: string + term_id: any + curve_id: any + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + vault?: { + __typename?: 'vaults' + term_id: any + total_shares: any + current_share_price: any + term: { + __typename?: 'terms' + atom?: { + __typename?: 'atoms' + term_id: any + label?: string | null + image?: string | null + } | null + triple?: { + __typename?: 'triples' + term_id: any + term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + term_id: any + position_count: number + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + }> + } | null + counter_term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + term_id: any + position_count: number + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + }> + } | null + subject: { + __typename?: 'atoms' + data?: string | null + term_id: any + label?: string | null + image?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + predicate: { + __typename?: 'atoms' + data?: string | null + term_id: any + label?: string | null + image?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + object: { + __typename?: 'atoms' + data?: string | null + term_id: any + label?: string | null + image?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + } | null + } + } | null + }> + }> + } | null + counter_term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + total_shares: any + current_share_price: any + allPositions: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + positions: Array<{ + __typename?: 'positions' + shares: any + id: string + term_id: any + curve_id: any + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + vault?: { + __typename?: 'vaults' + term_id: any + total_shares: any + current_share_price: any + term: { + __typename?: 'terms' + atom?: { + __typename?: 'atoms' + term_id: any + label?: string | null + image?: string | null + } | null + triple?: { + __typename?: 'triples' + term_id: any + term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + term_id: any + position_count: number + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + }> + } | null + counter_term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + term_id: any + position_count: number + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + sum?: { + __typename?: 'positions_sum_fields' + shares?: any | null + } | null + } | null + } + }> + } | null + subject: { + __typename?: 'atoms' + data?: string | null + term_id: any + label?: string | null + image?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + predicate: { + __typename?: 'atoms' + data?: string | null + term_id: any + label?: string | null + image?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + object: { + __typename?: 'atoms' + data?: string | null + term_id: any + label?: string | null + image?: string | null + emoji?: string | null + type: any + creator: { + __typename?: 'accounts' + label: string + image?: string | null + id: string + atom_id?: any | null + type: any + } + value?: { + __typename?: 'atom_values' + person?: { + __typename?: 'persons' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + organization?: { + __typename?: 'organizations' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + } | null + } + } | null + } + } | null + }> + }> + } | null + } | null +} + +export type GetAtomTriplesWithPositionsQueryVariables = Exact<{ + where?: InputMaybe +}> + +export type GetAtomTriplesWithPositionsQuery = { + __typename?: 'query_root' + triples_aggregate: { + __typename?: 'triples_aggregate' + aggregate?: { + __typename?: 'triples_aggregate_fields' + count: number + } | null + } +} + +export type GetTriplesWithPositionsQueryVariables = Exact<{ + limit?: InputMaybe + offset?: InputMaybe + orderBy?: InputMaybe | Triples_Order_By> + where?: InputMaybe + address?: InputMaybe +}> + +export type GetTriplesWithPositionsQuery = { + __typename?: 'query_root' + total: { + __typename?: 'triples_aggregate' + aggregate?: { + __typename?: 'triples_aggregate_fields' + count: number + } | null + } + triples: Array<{ + __typename?: 'triples' + term_id: any + counter_term_id: any + subject: { + __typename?: 'atoms' + term_id: any + label?: string | null + image?: string | null + } + predicate: { + __typename?: 'atoms' + term_id: any + label?: string | null + image?: string | null + } + object: { + __typename?: 'atoms' + term_id: any + label?: string | null + image?: string | null + } + term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + total_shares: any + position_count: number + positions: Array<{ + __typename?: 'positions' + shares: any + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + }> + }> + } | null + counter_term?: { + __typename?: 'terms' + vaults: Array<{ + __typename?: 'vaults' + total_shares: any + position_count: number + positions: Array<{ + __typename?: 'positions' + shares: any + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + }> + }> + } | null + }> +} + +export type FindTriplesQueryVariables = Exact<{ + where?: InputMaybe + address: Scalars['String']['input'] +}> + +export type FindTriplesQuery = { + __typename?: 'query_root' + triples: Array<{ + __typename?: 'triples' + term_id: any + subject_id: any + predicate_id: any + object_id: any + positions: Array<{ __typename?: 'positions'; shares: any }> + }> +} + +export type GetVaultsQueryVariables = Exact<{ + limit?: InputMaybe + offset?: InputMaybe + orderBy?: InputMaybe | Vaults_Order_By> + where?: InputMaybe +}> + +export type GetVaultsQuery = { + __typename?: 'query_root' + vaults_aggregate: { + __typename?: 'vaults_aggregate' + aggregate?: { __typename?: 'vaults_aggregate_fields'; count: number } | null + nodes: Array<{ + __typename?: 'vaults' + term_id: any + current_share_price: any + total_shares: any + term: { + __typename?: 'terms' + atom?: { + __typename?: 'atoms' + term_id: any + label?: string | null + } | null + triple?: { + __typename?: 'triples' + term_id: any + subject: { __typename?: 'atoms'; term_id: any; label?: string | null } + predicate: { + __typename?: 'atoms' + term_id: any + label?: string | null + } + object: { __typename?: 'atoms'; term_id: any; label?: string | null } + } | null + } + positions_aggregate: { + __typename?: 'positions_aggregate' + nodes: Array<{ + __typename?: 'positions' + shares: any + account?: { + __typename?: 'accounts' + atom_id?: any | null + label: string + } | null + }> + } + }> + } +} + +export type GetVaultQueryVariables = Exact<{ + termId: Scalars['numeric']['input'] + curveId: Scalars['numeric']['input'] +}> + +export type GetVaultQuery = { + __typename?: 'query_root' + vault?: { + __typename?: 'vaults' + term_id: any + curve_id: any + current_share_price: any + total_shares: any + term: { + __typename?: 'terms' + atom?: { + __typename?: 'atoms' + term_id: any + label?: string | null + } | null + triple?: { + __typename?: 'triples' + term_id: any + subject: { __typename?: 'atoms'; term_id: any; label?: string | null } + predicate: { __typename?: 'atoms'; term_id: any; label?: string | null } + object: { __typename?: 'atoms'; term_id: any; label?: string | null } + } | null + } + } | null +} + +export const AccountPositionsAggregateFragmentDoc = ` + fragment AccountPositionsAggregate on accounts { + positions_aggregate(order_by: {shares: desc}) { + aggregate { + count + } + nodes { + id + shares + vault { + term_id + total_shares + current_share_price + term { + atom { + term_id + label + } + triple { + term_id + } + } + } + } + } +} + ` +export const AccountPositionsFragmentDoc = ` + fragment AccountPositions on accounts { + positions( + order_by: {shares: desc} + limit: $positionsLimit + offset: $positionsOffset + where: $positionsWhere + ) { + id + shares + vault { + term_id + total_shares + current_share_price + term { + atom { + term_id + label + } + triple { + term_id + } + } + } + } +} + ` +export const AccountAtomsFragmentDoc = ` + fragment AccountAtoms on accounts { + atoms( + where: $atomsWhere + order_by: $atomsOrderBy + limit: $atomsLimit + offset: $atomsOffset + ) { + term_id + label + data + term { + vaults(where: {curve_id: {_eq: "1"}}) { + total_shares + positions_aggregate(where: {account_id: {_eq: $address}}) { + nodes { + account { + id + } + shares + } + } + } + } + } +} + ` +export const AccountAtomsAggregateFragmentDoc = ` + fragment AccountAtomsAggregate on accounts { + atoms_aggregate( + where: $atomsWhere + order_by: $atomsOrderBy + limit: $atomsLimit + offset: $atomsOffset + ) { + aggregate { + count + sum { + term_id + } + } + nodes { + term_id + label + data + term { + vaults(where: {curve_id: {_eq: "1"}}) { + total_shares + positions_aggregate(where: {account_id: {_eq: $address}}) { + nodes { + account { + id + } + shares + } + } + } + } + } + } +} + ` +export const AccountTriplesFragmentDoc = ` + fragment AccountTriples on accounts { + triples_aggregate( + where: $triplesWhere + order_by: $triplesOrderBy + limit: $triplesLimit + offset: $triplesOffset + ) { + aggregate { + count + } + nodes { + term_id + subject { + term_id + label + } + predicate { + term_id + label + } + object { + term_id + label + } + } + } +} + ` +export const AccountTriplesAggregateFragmentDoc = ` + fragment AccountTriplesAggregate on accounts { + triples_aggregate( + where: $triplesWhere + order_by: $triplesOrderBy + limit: $triplesLimit + offset: $triplesOffset + ) { + aggregate { + count + } + nodes { + term_id + subject { + term_id + label + } + predicate { + term_id + label + } + object { + term_id + label + } + } + } +} + ` +export const AtomTxnFragmentDoc = ` + fragment AtomTxn on atoms { + block_number + created_at + transaction_hash + creator_id +} + ` +export const AtomVaultDetailsFragmentDoc = ` + fragment AtomVaultDetails on atoms { + term_id + wallet_id + term { + vaults(where: {curve_id: {_eq: "1"}}) { + position_count + total_shares + current_share_price + positions_aggregate { + aggregate { + count + sum { + shares + } + } + } + positions { + id + account { + label + id + } + shares + } + } + } +} + ` +export const AccountMetadataFragmentDoc = ` + fragment AccountMetadata on accounts { + label + image + id + atom_id + type +} + ` +export const AtomTripleFragmentDoc = ` + fragment AtomTriple on atoms { + as_subject_triples { + term_id + object { + data + term_id + image + label + emoji + type + creator { + ...AccountMetadata + } + } + predicate { + data + term_id + image + label + emoji + type + creator { + ...AccountMetadata + } + } + } + as_predicate_triples { + term_id + subject { + data + term_id + image + label + emoji + type + creator { + ...AccountMetadata + } + } + object { + data + term_id + image + label + emoji + type + creator { + ...AccountMetadata + } + } + } + as_object_triples { + term_id + subject { + data + term_id + image + label + emoji + type + creator { + ...AccountMetadata + } + } + predicate { + data + term_id + image + label + emoji + type + creator { + ...AccountMetadata + } + } + } +} + ` +export const AtomVaultDetailsWithPositionsFragmentDoc = ` + fragment AtomVaultDetailsWithPositions on atoms { + term { + vaults(where: {curve_id: {_eq: "1"}}) { + total_shares + current_share_price + positions_aggregate(where: {account_id: {_in: $addresses}}) { + aggregate { + sum { + shares + } + } + nodes { + account { + id + } + shares + } + } + } + } +} + ` +export const DepositEventFragmentFragmentDoc = ` + fragment DepositEventFragment on events { + deposit { + term_id + curve_id + sender_assets_after_total_fees + shares_for_receiver + receiver { + id + } + sender { + id + } + } +} + ` +export const RedemptionEventFragmentFragmentDoc = ` + fragment RedemptionEventFragment on events { + redemption { + term_id + curve_id + receiver_id + shares_redeemed_by_sender + assets_for_receiver + } +} + ` +export const AtomValueFragmentDoc = ` + fragment AtomValue on atoms { + value { + person { + name + image + description + url + } + thing { + name + image + description + url + } + organization { + name + image + description + url + } + account { + id + label + image + } + } +} + ` +export const AtomMetadataFragmentDoc = ` + fragment AtomMetadata on atoms { + term_id + data + image + label + emoji + type + wallet_id + creator { + id + label + image + } + ...AtomValue +} + ` +export const PositionAggregateFieldsFragmentDoc = ` + fragment PositionAggregateFields on positions_aggregate { + aggregate { + count + sum { + shares + } + } +} + ` +export const PositionFieldsFragmentDoc = ` + fragment PositionFields on positions { + account { + id + label + } + shares + vault { + term_id + total_shares + current_share_price + } +} + ` +export const TripleMetadataFragmentDoc = ` + fragment TripleMetadata on triples { + term_id + subject_id + predicate_id + object_id + subject { + data + term_id + image + label + emoji + type + ...AtomValue + creator { + ...AccountMetadata + } + } + predicate { + data + term_id + image + label + emoji + type + ...AtomValue + creator { + ...AccountMetadata + } + } + object { + data + term_id + image + label + emoji + type + ...AtomValue + creator { + ...AccountMetadata + } + } + term { + vaults(where: {curve_id: {_eq: "1"}}) { + total_shares + current_share_price + allPositions: positions_aggregate { + ...PositionAggregateFields + } + positions { + ...PositionFields + } + } + } + counter_term { + vaults(where: {curve_id: {_eq: "1"}}) { + total_shares + current_share_price + allPositions: positions_aggregate { + ...PositionAggregateFields + } + positions { + ...PositionFields + } + } + } +} + ` +export const EventDetailsFragmentDoc = ` + fragment EventDetails on events { + block_number + created_at + type + transaction_hash + atom_id + triple_id + deposit_id + redemption_id + ...DepositEventFragment + ...RedemptionEventFragment + atom { + ...AtomMetadata + term { + vaults(where: {curve_id: {_eq: "1"}}) { + total_shares + position_count + positions { + account_id + shares + account { + id + label + image + } + } + } + } + } + triple { + ...TripleMetadata + term { + vaults(where: {curve_id: {_eq: "1"}}) { + total_shares + position_count + positions { + account_id + shares + account { + id + label + image + } + } + } + } + counter_term { + vaults(where: {curve_id: {_eq: "1"}}) { + total_shares + position_count + positions { + account_id + shares + account { + id + label + image + } + } + } + } + } +} + ` +export const FollowMetadataFragmentDoc = ` + fragment FollowMetadata on triples { + term_id + subject { + term_id + label + } + predicate { + term_id + label + } + object { + term_id + label + } + term { + vaults(where: {curve_id: {_eq: "1"}}) { + term_id + total_shares + current_share_price + positions_aggregate(where: $positionsWhere) { + aggregate { + count + sum { + shares + } + } + } + positions( + limit: $positionsLimit + offset: $positionsOffset + order_by: $positionsOrderBy + where: $positionsWhere + ) { + account { + id + label + } + shares + } + } + } +} + ` +export const FollowAggregateFragmentDoc = ` + fragment FollowAggregate on triples_aggregate { + aggregate { + count + } +} + ` +export const StatDetailsFragmentDoc = ` + fragment StatDetails on stats { + contract_balance + total_accounts + total_fees + total_atoms + total_triples + total_positions + total_signals +} + ` +export const TripleTxnFragmentDoc = ` + fragment TripleTxn on triples { + block_number + created_at + transaction_hash + creator_id +} + ` +export const PositionDetailsFragmentDoc = ` + fragment PositionDetails on positions { + id + account { + id + label + image + } + vault { + term_id + term { + atom { + term_id + label + image + } + triple { + term_id + term { + vaults(where: {curve_id: {_eq: "1"}}) { + term_id + position_count + positions_aggregate { + aggregate { + sum { + shares + } + } + } + } + } + counter_term { + vaults(where: {curve_id: {_eq: "1"}}) { + term_id + position_count + positions_aggregate { + aggregate { + sum { + shares + } + } + } + } + } + subject { + data + term_id + label + image + emoji + type + ...AtomValue + creator { + ...AccountMetadata + } + } + predicate { + data + term_id + label + image + emoji + type + ...AtomValue + creator { + ...AccountMetadata + } + } + object { + data + term_id + label + image + emoji + type + ...AtomValue + creator { + ...AccountMetadata + } + } + } + } + } + shares + term_id + curve_id +} + ` +export const TripleVaultDetailsFragmentDoc = ` + fragment TripleVaultDetails on triples { + term_id + counter_term_id + term { + vaults(where: {curve_id: {_eq: "1"}}) { + positions { + ...PositionDetails + } + } + } + counter_term { + vaults(where: {curve_id: {_eq: "1"}}) { + positions { + ...PositionDetails + } + } + } +} + ` +export const VaultBasicDetailsFragmentDoc = ` + fragment VaultBasicDetails on vaults { + term_id + curve_id + term { + atom { + term_id + label + } + triple { + term_id + subject { + term_id + label + } + predicate { + term_id + label + } + object { + term_id + label + } + } + } + current_share_price + total_shares +} + ` +export const VaultFilteredPositionsFragmentDoc = ` + fragment VaultFilteredPositions on vaults { + positions(where: {account_id: {_in: $addresses}}) { + ...PositionFields + } +} + ` +export const VaultDetailsWithFilteredPositionsFragmentDoc = ` + fragment VaultDetailsWithFilteredPositions on vaults { + ...VaultBasicDetails + ...VaultFilteredPositions +} + ` +export const TripleVaultCouterVaultDetailsWithPositionsFragmentDoc = ` + fragment TripleVaultCouterVaultDetailsWithPositions on triples { + term_id + counter_term_id + term { + vaults(where: {curve_id: {_eq: "1"}}) { + ...VaultDetailsWithFilteredPositions + } + } + counter_term { + vaults(where: {curve_id: {_eq: "1"}}) { + ...VaultDetailsWithFilteredPositions + } + } +} + ` +export const VaultUnfilteredPositionsFragmentDoc = ` + fragment VaultUnfilteredPositions on vaults { + positions { + ...PositionFields + } +} + ` +export const VaultDetailsFragmentDoc = ` + fragment VaultDetails on vaults { + ...VaultBasicDetails +} + ` +export const VaultPositionsAggregateFragmentDoc = ` + fragment VaultPositionsAggregate on vaults { + positions_aggregate { + ...PositionAggregateFields + } +} + ` +export const VaultFieldsForTripleFragmentDoc = ` + fragment VaultFieldsForTriple on vaults { + total_shares + current_share_price + ...VaultPositionsAggregate + ...VaultFilteredPositions +} + ` +export const AtomMetadataMaybedeletethisFragmentDoc = ` + fragment AtomMetadataMAYBEDELETETHIS on atoms { + term_id + data + image + label + emoji + type + wallet_id + creator { + id + label + image + } + ...AtomValue +} + ` +export const PinThingDocument = ` + mutation pinThing($name: String!, $description: String, $image: String, $url: String) { + pinThing( + thing: {description: $description, image: $image, name: $name, url: $url} + ) { + uri + } +} + ` + +export const usePinThingMutation = ( + options?: UseMutationOptions< + PinThingMutation, + TError, + PinThingMutationVariables, + TContext + >, +) => { + return useMutation< + PinThingMutation, + TError, + PinThingMutationVariables, + TContext + >({ + mutationKey: ['pinThing'], + mutationFn: (variables?: PinThingMutationVariables) => + fetcher( + PinThingDocument, + variables, + )(), + ...options, + }) +} + +usePinThingMutation.getKey = () => ['pinThing'] + +usePinThingMutation.fetcher = ( + variables: PinThingMutationVariables, + options?: RequestInit['headers'], +) => + fetcher( + PinThingDocument, + variables, + options, + ) + +export const GetAccountsDocument = ` + query GetAccounts($limit: Int, $offset: Int, $orderBy: [accounts_order_by!], $where: accounts_bool_exp, $positionsLimit: Int, $positionsOffset: Int, $positionsWhere: positions_bool_exp) { + accounts(limit: $limit, offset: $offset, order_by: $orderBy, where: $where) { + ...AccountMetadata + ...AccountPositions + atom { + term_id + wallet_id + term { + vaults(where: {curve_id: {_eq: "1"}}) { + position_count + total_shares + positions_aggregate { + aggregate { + count + sum { + shares + } + } + } + positions { + id + account { + label + id + } + shares + } + } + } + } + } +} + ${AccountMetadataFragmentDoc} +${AccountPositionsFragmentDoc}` + +export const useGetAccountsQuery = ( + variables?: GetAccountsQueryVariables, + options?: Omit< + UseQueryOptions, + 'queryKey' + > & { + queryKey?: UseQueryOptions['queryKey'] + }, +) => { + return useQuery({ + queryKey: + variables === undefined ? ['GetAccounts'] : ['GetAccounts', variables], + queryFn: fetcher( + GetAccountsDocument, + variables, + ), + ...options, + }) +} + +useGetAccountsQuery.document = GetAccountsDocument + +useGetAccountsQuery.getKey = (variables?: GetAccountsQueryVariables) => + variables === undefined ? ['GetAccounts'] : ['GetAccounts', variables] + +export const useInfiniteGetAccountsQuery = < + TData = InfiniteData, + TError = unknown, +>( + variables: GetAccountsQueryVariables, + options: Omit< + UseInfiniteQueryOptions, + 'queryKey' + > & { + queryKey?: UseInfiniteQueryOptions< + GetAccountsQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options + return { + queryKey: + optionsQueryKey ?? variables === undefined + ? ['GetAccounts.infinite'] + : ['GetAccounts.infinite', variables], + queryFn: (metaData) => + fetcher( + GetAccountsDocument, + { ...variables, ...(metaData.pageParam ?? {}) }, + )(), + ...restOptions, + } + })(), + ) +} + +useInfiniteGetAccountsQuery.getKey = (variables?: GetAccountsQueryVariables) => + variables === undefined + ? ['GetAccounts.infinite'] + : ['GetAccounts.infinite', variables] + +useGetAccountsQuery.fetcher = ( + variables?: GetAccountsQueryVariables, + options?: RequestInit['headers'], +) => + fetcher( + GetAccountsDocument, + variables, + options, + ) + +export const GetAccountsWithAggregatesDocument = ` + query GetAccountsWithAggregates($limit: Int, $offset: Int, $orderBy: [accounts_order_by!], $where: accounts_bool_exp, $positionsLimit: Int, $positionsOffset: Int, $positionsWhere: positions_bool_exp, $atomsWhere: atoms_bool_exp, $atomsOrderBy: [atoms_order_by!], $atomsLimit: Int, $atomsOffset: Int) { + accounts_aggregate( + limit: $limit + offset: $offset + order_by: $orderBy + where: $where + ) { + aggregate { + count + } + nodes { + ...AccountMetadata + ...AccountPositions + } + } +} + ${AccountMetadataFragmentDoc} +${AccountPositionsFragmentDoc}` + +export const useGetAccountsWithAggregatesQuery = < + TData = GetAccountsWithAggregatesQuery, + TError = unknown, +>( + variables?: GetAccountsWithAggregatesQueryVariables, + options?: Omit< + UseQueryOptions, + 'queryKey' + > & { + queryKey?: UseQueryOptions< + GetAccountsWithAggregatesQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useQuery({ + queryKey: + variables === undefined + ? ['GetAccountsWithAggregates'] + : ['GetAccountsWithAggregates', variables], + queryFn: fetcher< + GetAccountsWithAggregatesQuery, + GetAccountsWithAggregatesQueryVariables + >(GetAccountsWithAggregatesDocument, variables), + ...options, + }) +} + +useGetAccountsWithAggregatesQuery.document = GetAccountsWithAggregatesDocument + +useGetAccountsWithAggregatesQuery.getKey = ( + variables?: GetAccountsWithAggregatesQueryVariables, +) => + variables === undefined + ? ['GetAccountsWithAggregates'] + : ['GetAccountsWithAggregates', variables] + +export const useInfiniteGetAccountsWithAggregatesQuery = < + TData = InfiniteData, + TError = unknown, +>( + variables: GetAccountsWithAggregatesQueryVariables, + options: Omit< + UseInfiniteQueryOptions, + 'queryKey' + > & { + queryKey?: UseInfiniteQueryOptions< + GetAccountsWithAggregatesQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options + return { + queryKey: + optionsQueryKey ?? variables === undefined + ? ['GetAccountsWithAggregates.infinite'] + : ['GetAccountsWithAggregates.infinite', variables], + queryFn: (metaData) => + fetcher< + GetAccountsWithAggregatesQuery, + GetAccountsWithAggregatesQueryVariables + >(GetAccountsWithAggregatesDocument, { + ...variables, + ...(metaData.pageParam ?? {}), + })(), + ...restOptions, + } + })(), + ) +} + +useInfiniteGetAccountsWithAggregatesQuery.getKey = ( + variables?: GetAccountsWithAggregatesQueryVariables, +) => + variables === undefined + ? ['GetAccountsWithAggregates.infinite'] + : ['GetAccountsWithAggregates.infinite', variables] + +useGetAccountsWithAggregatesQuery.fetcher = ( + variables?: GetAccountsWithAggregatesQueryVariables, + options?: RequestInit['headers'], +) => + fetcher< + GetAccountsWithAggregatesQuery, + GetAccountsWithAggregatesQueryVariables + >(GetAccountsWithAggregatesDocument, variables, options) + +export const GetAccountsCountDocument = ` + query GetAccountsCount($where: accounts_bool_exp) { + accounts_aggregate(where: $where) { + aggregate { + count + } + } +} + ` + +export const useGetAccountsCountQuery = < + TData = GetAccountsCountQuery, + TError = unknown, +>( + variables?: GetAccountsCountQueryVariables, + options?: Omit< + UseQueryOptions, + 'queryKey' + > & { + queryKey?: UseQueryOptions['queryKey'] + }, +) => { + return useQuery({ + queryKey: + variables === undefined + ? ['GetAccountsCount'] + : ['GetAccountsCount', variables], + queryFn: fetcher( + GetAccountsCountDocument, + variables, + ), + ...options, + }) +} + +useGetAccountsCountQuery.document = GetAccountsCountDocument + +useGetAccountsCountQuery.getKey = ( + variables?: GetAccountsCountQueryVariables, +) => + variables === undefined + ? ['GetAccountsCount'] + : ['GetAccountsCount', variables] + +export const useInfiniteGetAccountsCountQuery = < + TData = InfiniteData, + TError = unknown, +>( + variables: GetAccountsCountQueryVariables, + options: Omit< + UseInfiniteQueryOptions, + 'queryKey' + > & { + queryKey?: UseInfiniteQueryOptions< + GetAccountsCountQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options + return { + queryKey: + optionsQueryKey ?? variables === undefined + ? ['GetAccountsCount.infinite'] + : ['GetAccountsCount.infinite', variables], + queryFn: (metaData) => + fetcher( + GetAccountsCountDocument, + { ...variables, ...(metaData.pageParam ?? {}) }, + )(), + ...restOptions, + } + })(), + ) +} + +useInfiniteGetAccountsCountQuery.getKey = ( + variables?: GetAccountsCountQueryVariables, +) => + variables === undefined + ? ['GetAccountsCount.infinite'] + : ['GetAccountsCount.infinite', variables] + +useGetAccountsCountQuery.fetcher = ( + variables?: GetAccountsCountQueryVariables, + options?: RequestInit['headers'], +) => + fetcher( + GetAccountsCountDocument, + variables, + options, + ) + +export const GetAccountDocument = ` + query GetAccount($address: String!, $positionsLimit: Int, $positionsOffset: Int, $positionsWhere: positions_bool_exp, $atomsWhere: atoms_bool_exp, $atomsOrderBy: [atoms_order_by!], $atomsLimit: Int, $atomsOffset: Int, $triplesWhere: triples_bool_exp, $triplesOrderBy: [triples_order_by!], $triplesLimit: Int, $triplesOffset: Int) { + account(id: $address) { + ...AccountMetadata + atom { + ...AtomMetadata + ...AtomVaultDetails + } + ...AccountPositions + ...AccountAtoms + ...AccountTriples + } + chainlink_prices(limit: 1, order_by: {id: desc}) { + usd + } +} + ${AccountMetadataFragmentDoc} +${AtomMetadataFragmentDoc} +${AtomValueFragmentDoc} +${AtomVaultDetailsFragmentDoc} +${AccountPositionsFragmentDoc} +${AccountAtomsFragmentDoc} +${AccountTriplesFragmentDoc}` + +export const useGetAccountQuery = ( + variables: GetAccountQueryVariables, + options?: Omit< + UseQueryOptions, + 'queryKey' + > & { + queryKey?: UseQueryOptions['queryKey'] + }, +) => { + return useQuery({ + queryKey: ['GetAccount', variables], + queryFn: fetcher( + GetAccountDocument, + variables, + ), + ...options, + }) +} + +useGetAccountQuery.document = GetAccountDocument + +useGetAccountQuery.getKey = (variables: GetAccountQueryVariables) => [ + 'GetAccount', + variables, +] + +export const useInfiniteGetAccountQuery = < + TData = InfiniteData, + TError = unknown, +>( + variables: GetAccountQueryVariables, + options: Omit< + UseInfiniteQueryOptions, + 'queryKey' + > & { + queryKey?: UseInfiniteQueryOptions< + GetAccountQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options + return { + queryKey: optionsQueryKey ?? ['GetAccount.infinite', variables], + queryFn: (metaData) => + fetcher( + GetAccountDocument, + { ...variables, ...(metaData.pageParam ?? {}) }, + )(), + ...restOptions, + } + })(), + ) +} + +useInfiniteGetAccountQuery.getKey = (variables: GetAccountQueryVariables) => [ + 'GetAccount.infinite', + variables, +] + +useGetAccountQuery.fetcher = ( + variables: GetAccountQueryVariables, + options?: RequestInit['headers'], +) => + fetcher( + GetAccountDocument, + variables, + options, + ) + +export const GetAccountWithPaginatedRelationsDocument = ` + query GetAccountWithPaginatedRelations($address: String!, $positionsLimit: Int, $positionsOffset: Int, $positionsWhere: positions_bool_exp, $atomsLimit: Int, $atomsOffset: Int, $atomsWhere: atoms_bool_exp, $atomsOrderBy: [atoms_order_by!], $triplesLimit: Int, $triplesOffset: Int, $triplesWhere: triples_bool_exp, $triplesOrderBy: [triples_order_by!]) { + account(id: $address) { + ...AccountMetadata + ...AccountPositions + ...AccountAtoms + ...AccountTriples + } +} + ${AccountMetadataFragmentDoc} +${AccountPositionsFragmentDoc} +${AccountAtomsFragmentDoc} +${AccountTriplesFragmentDoc}` + +export const useGetAccountWithPaginatedRelationsQuery = < + TData = GetAccountWithPaginatedRelationsQuery, + TError = unknown, +>( + variables: GetAccountWithPaginatedRelationsQueryVariables, + options?: Omit< + UseQueryOptions, + 'queryKey' + > & { + queryKey?: UseQueryOptions< + GetAccountWithPaginatedRelationsQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useQuery({ + queryKey: ['GetAccountWithPaginatedRelations', variables], + queryFn: fetcher< + GetAccountWithPaginatedRelationsQuery, + GetAccountWithPaginatedRelationsQueryVariables + >(GetAccountWithPaginatedRelationsDocument, variables), + ...options, + }) +} + +useGetAccountWithPaginatedRelationsQuery.document = + GetAccountWithPaginatedRelationsDocument + +useGetAccountWithPaginatedRelationsQuery.getKey = ( + variables: GetAccountWithPaginatedRelationsQueryVariables, +) => ['GetAccountWithPaginatedRelations', variables] + +export const useInfiniteGetAccountWithPaginatedRelationsQuery = < + TData = InfiniteData, + TError = unknown, +>( + variables: GetAccountWithPaginatedRelationsQueryVariables, + options: Omit< + UseInfiniteQueryOptions< + GetAccountWithPaginatedRelationsQuery, + TError, + TData + >, + 'queryKey' + > & { + queryKey?: UseInfiniteQueryOptions< + GetAccountWithPaginatedRelationsQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options + return { + queryKey: optionsQueryKey ?? [ + 'GetAccountWithPaginatedRelations.infinite', + variables, + ], + queryFn: (metaData) => + fetcher< + GetAccountWithPaginatedRelationsQuery, + GetAccountWithPaginatedRelationsQueryVariables + >(GetAccountWithPaginatedRelationsDocument, { + ...variables, + ...(metaData.pageParam ?? {}), + })(), + ...restOptions, + } + })(), + ) +} + +useInfiniteGetAccountWithPaginatedRelationsQuery.getKey = ( + variables: GetAccountWithPaginatedRelationsQueryVariables, +) => ['GetAccountWithPaginatedRelations.infinite', variables] + +useGetAccountWithPaginatedRelationsQuery.fetcher = ( + variables: GetAccountWithPaginatedRelationsQueryVariables, + options?: RequestInit['headers'], +) => + fetcher< + GetAccountWithPaginatedRelationsQuery, + GetAccountWithPaginatedRelationsQueryVariables + >(GetAccountWithPaginatedRelationsDocument, variables, options) + +export const GetAccountWithAggregatesDocument = ` + query GetAccountWithAggregates($address: String!, $positionsLimit: Int, $positionsOffset: Int, $positionsWhere: positions_bool_exp, $atomsWhere: atoms_bool_exp, $atomsOrderBy: [atoms_order_by!], $atomsLimit: Int, $atomsOffset: Int, $triplesWhere: triples_bool_exp, $triplesOrderBy: [triples_order_by!], $triplesLimit: Int, $triplesOffset: Int) { + account(id: $address) { + ...AccountMetadata + ...AccountPositionsAggregate + ...AccountAtomsAggregate + ...AccountTriplesAggregate + } +} + ${AccountMetadataFragmentDoc} +${AccountPositionsAggregateFragmentDoc} +${AccountAtomsAggregateFragmentDoc} +${AccountTriplesAggregateFragmentDoc}` + +export const useGetAccountWithAggregatesQuery = < + TData = GetAccountWithAggregatesQuery, + TError = unknown, +>( + variables: GetAccountWithAggregatesQueryVariables, + options?: Omit< + UseQueryOptions, + 'queryKey' + > & { + queryKey?: UseQueryOptions< + GetAccountWithAggregatesQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useQuery({ + queryKey: ['GetAccountWithAggregates', variables], + queryFn: fetcher< + GetAccountWithAggregatesQuery, + GetAccountWithAggregatesQueryVariables + >(GetAccountWithAggregatesDocument, variables), + ...options, + }) +} + +useGetAccountWithAggregatesQuery.document = GetAccountWithAggregatesDocument + +useGetAccountWithAggregatesQuery.getKey = ( + variables: GetAccountWithAggregatesQueryVariables, +) => ['GetAccountWithAggregates', variables] + +export const useInfiniteGetAccountWithAggregatesQuery = < + TData = InfiniteData, + TError = unknown, +>( + variables: GetAccountWithAggregatesQueryVariables, + options: Omit< + UseInfiniteQueryOptions, + 'queryKey' + > & { + queryKey?: UseInfiniteQueryOptions< + GetAccountWithAggregatesQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options + return { + queryKey: optionsQueryKey ?? [ + 'GetAccountWithAggregates.infinite', + variables, + ], + queryFn: (metaData) => + fetcher< + GetAccountWithAggregatesQuery, + GetAccountWithAggregatesQueryVariables + >(GetAccountWithAggregatesDocument, { + ...variables, + ...(metaData.pageParam ?? {}), + })(), + ...restOptions, + } + })(), + ) +} + +useInfiniteGetAccountWithAggregatesQuery.getKey = ( + variables: GetAccountWithAggregatesQueryVariables, +) => ['GetAccountWithAggregates.infinite', variables] + +useGetAccountWithAggregatesQuery.fetcher = ( + variables: GetAccountWithAggregatesQueryVariables, + options?: RequestInit['headers'], +) => + fetcher< + GetAccountWithAggregatesQuery, + GetAccountWithAggregatesQueryVariables + >(GetAccountWithAggregatesDocument, variables, options) + +export const GetAccountMetadataDocument = ` + query GetAccountMetadata($address: String!) { + account(id: $address) { + ...AccountMetadata + atom { + ...AtomMetadata + } + } +} + ${AccountMetadataFragmentDoc} +${AtomMetadataFragmentDoc} +${AtomValueFragmentDoc}` + +export const useGetAccountMetadataQuery = < + TData = GetAccountMetadataQuery, + TError = unknown, +>( + variables: GetAccountMetadataQueryVariables, + options?: Omit< + UseQueryOptions, + 'queryKey' + > & { + queryKey?: UseQueryOptions< + GetAccountMetadataQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useQuery({ + queryKey: ['GetAccountMetadata', variables], + queryFn: fetcher( + GetAccountMetadataDocument, + variables, + ), + ...options, + }) +} + +useGetAccountMetadataQuery.document = GetAccountMetadataDocument + +useGetAccountMetadataQuery.getKey = ( + variables: GetAccountMetadataQueryVariables, +) => ['GetAccountMetadata', variables] + +export const useInfiniteGetAccountMetadataQuery = < + TData = InfiniteData, + TError = unknown, +>( + variables: GetAccountMetadataQueryVariables, + options: Omit< + UseInfiniteQueryOptions, + 'queryKey' + > & { + queryKey?: UseInfiniteQueryOptions< + GetAccountMetadataQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options + return { + queryKey: optionsQueryKey ?? ['GetAccountMetadata.infinite', variables], + queryFn: (metaData) => + fetcher( + GetAccountMetadataDocument, + { ...variables, ...(metaData.pageParam ?? {}) }, + )(), + ...restOptions, + } + })(), + ) +} + +useInfiniteGetAccountMetadataQuery.getKey = ( + variables: GetAccountMetadataQueryVariables, +) => ['GetAccountMetadata.infinite', variables] + +useGetAccountMetadataQuery.fetcher = ( + variables: GetAccountMetadataQueryVariables, + options?: RequestInit['headers'], +) => + fetcher( + GetAccountMetadataDocument, + variables, + options, + ) + +export const GetAtomsDocument = ` + query GetAtoms($limit: Int, $offset: Int, $orderBy: [atoms_order_by!], $where: atoms_bool_exp) { + total: atoms_aggregate(where: $where) { + aggregate { + count + } + } + atoms(limit: $limit, offset: $offset, order_by: $orderBy, where: $where) { + ...AtomMetadata + ...AtomTxn + ...AtomVaultDetails + ...AtomTriple + creator { + ...AccountMetadata + } + } +} + ${AtomMetadataFragmentDoc} +${AtomValueFragmentDoc} +${AtomTxnFragmentDoc} +${AtomVaultDetailsFragmentDoc} +${AtomTripleFragmentDoc} +${AccountMetadataFragmentDoc}` + +export const useGetAtomsQuery = ( + variables?: GetAtomsQueryVariables, + options?: Omit, 'queryKey'> & { + queryKey?: UseQueryOptions['queryKey'] + }, +) => { + return useQuery({ + queryKey: variables === undefined ? ['GetAtoms'] : ['GetAtoms', variables], + queryFn: fetcher( + GetAtomsDocument, + variables, + ), + ...options, + }) +} + +useGetAtomsQuery.document = GetAtomsDocument + +useGetAtomsQuery.getKey = (variables?: GetAtomsQueryVariables) => + variables === undefined ? ['GetAtoms'] : ['GetAtoms', variables] + +export const useInfiniteGetAtomsQuery = < + TData = InfiniteData, + TError = unknown, +>( + variables: GetAtomsQueryVariables, + options: Omit< + UseInfiniteQueryOptions, + 'queryKey' + > & { + queryKey?: UseInfiniteQueryOptions['queryKey'] + }, +) => { + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options + return { + queryKey: + optionsQueryKey ?? variables === undefined + ? ['GetAtoms.infinite'] + : ['GetAtoms.infinite', variables], + queryFn: (metaData) => + fetcher(GetAtomsDocument, { + ...variables, + ...(metaData.pageParam ?? {}), + })(), + ...restOptions, + } + })(), + ) +} + +useInfiniteGetAtomsQuery.getKey = (variables?: GetAtomsQueryVariables) => + variables === undefined + ? ['GetAtoms.infinite'] + : ['GetAtoms.infinite', variables] + +useGetAtomsQuery.fetcher = ( + variables?: GetAtomsQueryVariables, + options?: RequestInit['headers'], +) => + fetcher( + GetAtomsDocument, + variables, + options, + ) + +export const GetAtomsWithPositionsDocument = ` + query GetAtomsWithPositions($limit: Int, $offset: Int, $orderBy: [atoms_order_by!], $where: atoms_bool_exp, $address: String) { + total: atoms_aggregate(where: $where) { + aggregate { + count + } + } + atoms(limit: $limit, offset: $offset, order_by: $orderBy, where: $where) { + ...AtomMetadata + ...AtomTxn + term { + vaults(where: {curve_id: {_eq: "1"}}) { + position_count + total_shares + current_share_price + total: positions_aggregate { + aggregate { + count + sum { + shares + } + } + } + positions(where: {account_id: {_ilike: $address}}) { + id + account { + label + id + } + shares + } + } + } + creator { + ...AccountMetadata + } + } +} + ${AtomMetadataFragmentDoc} +${AtomValueFragmentDoc} +${AtomTxnFragmentDoc} +${AccountMetadataFragmentDoc}` + +export const useGetAtomsWithPositionsQuery = < + TData = GetAtomsWithPositionsQuery, + TError = unknown, +>( + variables?: GetAtomsWithPositionsQueryVariables, + options?: Omit< + UseQueryOptions, + 'queryKey' + > & { + queryKey?: UseQueryOptions< + GetAtomsWithPositionsQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useQuery({ + queryKey: + variables === undefined + ? ['GetAtomsWithPositions'] + : ['GetAtomsWithPositions', variables], + queryFn: fetcher< + GetAtomsWithPositionsQuery, + GetAtomsWithPositionsQueryVariables + >(GetAtomsWithPositionsDocument, variables), + ...options, + }) +} + +useGetAtomsWithPositionsQuery.document = GetAtomsWithPositionsDocument + +useGetAtomsWithPositionsQuery.getKey = ( + variables?: GetAtomsWithPositionsQueryVariables, +) => + variables === undefined + ? ['GetAtomsWithPositions'] + : ['GetAtomsWithPositions', variables] + +export const useInfiniteGetAtomsWithPositionsQuery = < + TData = InfiniteData, + TError = unknown, +>( + variables: GetAtomsWithPositionsQueryVariables, + options: Omit< + UseInfiniteQueryOptions, + 'queryKey' + > & { + queryKey?: UseInfiniteQueryOptions< + GetAtomsWithPositionsQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options + return { + queryKey: + optionsQueryKey ?? variables === undefined + ? ['GetAtomsWithPositions.infinite'] + : ['GetAtomsWithPositions.infinite', variables], + queryFn: (metaData) => + fetcher< + GetAtomsWithPositionsQuery, + GetAtomsWithPositionsQueryVariables + >(GetAtomsWithPositionsDocument, { + ...variables, + ...(metaData.pageParam ?? {}), + })(), + ...restOptions, + } + })(), + ) +} + +useInfiniteGetAtomsWithPositionsQuery.getKey = ( + variables?: GetAtomsWithPositionsQueryVariables, +) => + variables === undefined + ? ['GetAtomsWithPositions.infinite'] + : ['GetAtomsWithPositions.infinite', variables] + +useGetAtomsWithPositionsQuery.fetcher = ( + variables?: GetAtomsWithPositionsQueryVariables, + options?: RequestInit['headers'], +) => + fetcher( + GetAtomsWithPositionsDocument, + variables, + options, + ) + +export const GetAtomsWithAggregatesDocument = ` + query GetAtomsWithAggregates($limit: Int, $offset: Int, $orderBy: [atoms_order_by!], $where: atoms_bool_exp) { + atoms_aggregate( + limit: $limit + offset: $offset + order_by: $orderBy + where: $where + ) { + aggregate { + count + } + nodes { + ...AtomMetadata + ...AtomTxn + ...AtomVaultDetails + creator { + ...AccountMetadata + } + } + } +} + ${AtomMetadataFragmentDoc} +${AtomValueFragmentDoc} +${AtomTxnFragmentDoc} +${AtomVaultDetailsFragmentDoc} +${AccountMetadataFragmentDoc}` + +export const useGetAtomsWithAggregatesQuery = < + TData = GetAtomsWithAggregatesQuery, + TError = unknown, +>( + variables?: GetAtomsWithAggregatesQueryVariables, + options?: Omit< + UseQueryOptions, + 'queryKey' + > & { + queryKey?: UseQueryOptions< + GetAtomsWithAggregatesQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useQuery({ + queryKey: + variables === undefined + ? ['GetAtomsWithAggregates'] + : ['GetAtomsWithAggregates', variables], + queryFn: fetcher< + GetAtomsWithAggregatesQuery, + GetAtomsWithAggregatesQueryVariables + >(GetAtomsWithAggregatesDocument, variables), + ...options, + }) +} + +useGetAtomsWithAggregatesQuery.document = GetAtomsWithAggregatesDocument + +useGetAtomsWithAggregatesQuery.getKey = ( + variables?: GetAtomsWithAggregatesQueryVariables, +) => + variables === undefined + ? ['GetAtomsWithAggregates'] + : ['GetAtomsWithAggregates', variables] + +export const useInfiniteGetAtomsWithAggregatesQuery = < + TData = InfiniteData, + TError = unknown, +>( + variables: GetAtomsWithAggregatesQueryVariables, + options: Omit< + UseInfiniteQueryOptions, + 'queryKey' + > & { + queryKey?: UseInfiniteQueryOptions< + GetAtomsWithAggregatesQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options + return { + queryKey: + optionsQueryKey ?? variables === undefined + ? ['GetAtomsWithAggregates.infinite'] + : ['GetAtomsWithAggregates.infinite', variables], + queryFn: (metaData) => + fetcher< + GetAtomsWithAggregatesQuery, + GetAtomsWithAggregatesQueryVariables + >(GetAtomsWithAggregatesDocument, { + ...variables, + ...(metaData.pageParam ?? {}), + })(), + ...restOptions, + } + })(), + ) +} + +useInfiniteGetAtomsWithAggregatesQuery.getKey = ( + variables?: GetAtomsWithAggregatesQueryVariables, +) => + variables === undefined + ? ['GetAtomsWithAggregates.infinite'] + : ['GetAtomsWithAggregates.infinite', variables] + +useGetAtomsWithAggregatesQuery.fetcher = ( + variables?: GetAtomsWithAggregatesQueryVariables, + options?: RequestInit['headers'], +) => + fetcher( + GetAtomsWithAggregatesDocument, + variables, + options, + ) + +export const GetAtomsCountDocument = ` + query GetAtomsCount($where: atoms_bool_exp) { + atoms_aggregate(where: $where) { + aggregate { + count + } + } +} + ` + +export const useGetAtomsCountQuery = < + TData = GetAtomsCountQuery, + TError = unknown, +>( + variables?: GetAtomsCountQueryVariables, + options?: Omit< + UseQueryOptions, + 'queryKey' + > & { + queryKey?: UseQueryOptions['queryKey'] + }, +) => { + return useQuery({ + queryKey: + variables === undefined + ? ['GetAtomsCount'] + : ['GetAtomsCount', variables], + queryFn: fetcher( + GetAtomsCountDocument, + variables, + ), + ...options, + }) +} + +useGetAtomsCountQuery.document = GetAtomsCountDocument + +useGetAtomsCountQuery.getKey = (variables?: GetAtomsCountQueryVariables) => + variables === undefined ? ['GetAtomsCount'] : ['GetAtomsCount', variables] + +export const useInfiniteGetAtomsCountQuery = < + TData = InfiniteData, + TError = unknown, +>( + variables: GetAtomsCountQueryVariables, + options: Omit< + UseInfiniteQueryOptions, + 'queryKey' + > & { + queryKey?: UseInfiniteQueryOptions< + GetAtomsCountQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options + return { + queryKey: + optionsQueryKey ?? variables === undefined + ? ['GetAtomsCount.infinite'] + : ['GetAtomsCount.infinite', variables], + queryFn: (metaData) => + fetcher( + GetAtomsCountDocument, + { ...variables, ...(metaData.pageParam ?? {}) }, + )(), + ...restOptions, + } + })(), + ) +} + +useInfiniteGetAtomsCountQuery.getKey = ( + variables?: GetAtomsCountQueryVariables, +) => + variables === undefined + ? ['GetAtomsCount.infinite'] + : ['GetAtomsCount.infinite', variables] + +useGetAtomsCountQuery.fetcher = ( + variables?: GetAtomsCountQueryVariables, + options?: RequestInit['headers'], +) => + fetcher( + GetAtomsCountDocument, + variables, + options, + ) + +export const GetAtomDocument = ` + query GetAtom($id: numeric!) { + atom(term_id: $id) { + ...AtomMetadata + ...AtomTxn + ...AtomVaultDetails + creator { + ...AccountMetadata + } + ...AtomTriple + } +} + ${AtomMetadataFragmentDoc} +${AtomValueFragmentDoc} +${AtomTxnFragmentDoc} +${AtomVaultDetailsFragmentDoc} +${AccountMetadataFragmentDoc} +${AtomTripleFragmentDoc}` + +export const useGetAtomQuery = ( + variables: GetAtomQueryVariables, + options?: Omit, 'queryKey'> & { + queryKey?: UseQueryOptions['queryKey'] + }, +) => { + return useQuery({ + queryKey: ['GetAtom', variables], + queryFn: fetcher( + GetAtomDocument, + variables, + ), + ...options, + }) +} + +useGetAtomQuery.document = GetAtomDocument + +useGetAtomQuery.getKey = (variables: GetAtomQueryVariables) => [ + 'GetAtom', + variables, +] + +export const useInfiniteGetAtomQuery = < + TData = InfiniteData, + TError = unknown, +>( + variables: GetAtomQueryVariables, + options: Omit< + UseInfiniteQueryOptions, + 'queryKey' + > & { + queryKey?: UseInfiniteQueryOptions['queryKey'] + }, +) => { + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options + return { + queryKey: optionsQueryKey ?? ['GetAtom.infinite', variables], + queryFn: (metaData) => + fetcher(GetAtomDocument, { + ...variables, + ...(metaData.pageParam ?? {}), + })(), + ...restOptions, + } + })(), + ) +} + +useInfiniteGetAtomQuery.getKey = (variables: GetAtomQueryVariables) => [ + 'GetAtom.infinite', + variables, +] + +useGetAtomQuery.fetcher = ( + variables: GetAtomQueryVariables, + options?: RequestInit['headers'], +) => + fetcher( + GetAtomDocument, + variables, + options, + ) + +export const GetAtomByDataDocument = ` + query GetAtomByData($data: String!) { + atoms(where: {data: {_eq: $data}}) { + ...AtomMetadata + ...AtomTxn + ...AtomVaultDetails + creator { + ...AccountMetadata + } + ...AtomTriple + } +} + ${AtomMetadataFragmentDoc} +${AtomValueFragmentDoc} +${AtomTxnFragmentDoc} +${AtomVaultDetailsFragmentDoc} +${AccountMetadataFragmentDoc} +${AtomTripleFragmentDoc}` + +export const useGetAtomByDataQuery = < + TData = GetAtomByDataQuery, + TError = unknown, +>( + variables: GetAtomByDataQueryVariables, + options?: Omit< + UseQueryOptions, + 'queryKey' + > & { + queryKey?: UseQueryOptions['queryKey'] + }, +) => { + return useQuery({ + queryKey: ['GetAtomByData', variables], + queryFn: fetcher( + GetAtomByDataDocument, + variables, + ), + ...options, + }) +} + +useGetAtomByDataQuery.document = GetAtomByDataDocument + +useGetAtomByDataQuery.getKey = (variables: GetAtomByDataQueryVariables) => [ + 'GetAtomByData', + variables, +] + +export const useInfiniteGetAtomByDataQuery = < + TData = InfiniteData, + TError = unknown, +>( + variables: GetAtomByDataQueryVariables, + options: Omit< + UseInfiniteQueryOptions, + 'queryKey' + > & { + queryKey?: UseInfiniteQueryOptions< + GetAtomByDataQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options + return { + queryKey: optionsQueryKey ?? ['GetAtomByData.infinite', variables], + queryFn: (metaData) => + fetcher( + GetAtomByDataDocument, + { ...variables, ...(metaData.pageParam ?? {}) }, + )(), + ...restOptions, + } + })(), + ) +} + +useInfiniteGetAtomByDataQuery.getKey = ( + variables: GetAtomByDataQueryVariables, +) => ['GetAtomByData.infinite', variables] + +useGetAtomByDataQuery.fetcher = ( + variables: GetAtomByDataQueryVariables, + options?: RequestInit['headers'], +) => + fetcher( + GetAtomByDataDocument, + variables, + options, + ) + +export const GetVerifiedAtomDetailsDocument = ` + query GetVerifiedAtomDetails($id: numeric!, $userPositionAddress: String!) { + atom(term_id: $id) { + term_id + label + wallet_id + image + type + created_at + data + creator { + id + } + value { + thing { + name + description + url + } + } + term { + vaults(where: {curve_id: {_eq: "1"}, term_id: {_eq: $id}}) { + current_share_price + total_shares + position_count + userPosition: positions( + limit: 1 + where: {account_id: {_ilike: $userPositionAddress}} + ) { + shares + account_id + } + } + } + tags: as_subject_triples_aggregate(where: {predicate_id: {_in: [3]}}) { + nodes { + object { + label + term { + vaults(where: {curve_id: {_eq: "1"}, term_id: {_eq: $id}}) { + term_id + } + } + } + predicate_id + } + aggregate { + count + } + } + verificationTriple: as_subject_triples_aggregate( + where: {predicate_id: {_eq: "4"}, object_id: {_eq: "126451"}} + ) { + nodes { + term_id + predicate_id + object_id + term { + vaults(where: {curve_id: {_eq: "1"}}) { + term_id + positions( + where: {account_id: {_in: ["0xD99811847E634d33f0DAcE483c52949bEc76300F", "0xBb285b543C96C927FC320Fb28524899C2C90806C", "0x0b162525C5dc8c18F771E60fD296913030Bfe42c", "0xbd2DE08aF9470c87C4475117Fb912B8f1d588D9c", "0xB95ca3D3144e9d1DAFF0EE3d35a4488A4A5C9Fc5"]}} + ) { + id + shares + account_id + account { + id + } + } + } + } + } + } + } +} + ` + +export const useGetVerifiedAtomDetailsQuery = < + TData = GetVerifiedAtomDetailsQuery, + TError = unknown, +>( + variables: GetVerifiedAtomDetailsQueryVariables, + options?: Omit< + UseQueryOptions, + 'queryKey' + > & { + queryKey?: UseQueryOptions< + GetVerifiedAtomDetailsQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useQuery({ + queryKey: ['GetVerifiedAtomDetails', variables], + queryFn: fetcher< + GetVerifiedAtomDetailsQuery, + GetVerifiedAtomDetailsQueryVariables + >(GetVerifiedAtomDetailsDocument, variables), + ...options, + }) +} + +useGetVerifiedAtomDetailsQuery.document = GetVerifiedAtomDetailsDocument + +useGetVerifiedAtomDetailsQuery.getKey = ( + variables: GetVerifiedAtomDetailsQueryVariables, +) => ['GetVerifiedAtomDetails', variables] + +export const useInfiniteGetVerifiedAtomDetailsQuery = < + TData = InfiniteData, + TError = unknown, +>( + variables: GetVerifiedAtomDetailsQueryVariables, + options: Omit< + UseInfiniteQueryOptions, + 'queryKey' + > & { + queryKey?: UseInfiniteQueryOptions< + GetVerifiedAtomDetailsQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options + return { + queryKey: optionsQueryKey ?? [ + 'GetVerifiedAtomDetails.infinite', + variables, + ], + queryFn: (metaData) => + fetcher< + GetVerifiedAtomDetailsQuery, + GetVerifiedAtomDetailsQueryVariables + >(GetVerifiedAtomDetailsDocument, { + ...variables, + ...(metaData.pageParam ?? {}), + })(), + ...restOptions, + } + })(), + ) +} + +useInfiniteGetVerifiedAtomDetailsQuery.getKey = ( + variables: GetVerifiedAtomDetailsQueryVariables, +) => ['GetVerifiedAtomDetails.infinite', variables] + +useGetVerifiedAtomDetailsQuery.fetcher = ( + variables: GetVerifiedAtomDetailsQueryVariables, + options?: RequestInit['headers'], +) => + fetcher( + GetVerifiedAtomDetailsDocument, + variables, + options, + ) + +export const GetAtomDetailsDocument = ` + query GetAtomDetails($id: numeric!, $userPositionAddress: String!) { + atom(term_id: $id) { + term_id + label + wallet_id + image + type + created_at + data + creator { + id + } + value { + thing { + name + description + url + } + } + term { + vaults(where: {curve_id: {_eq: "1"}, term_id: {_eq: $id}}) { + current_share_price + total_shares + position_count + userPosition: positions( + limit: 1 + where: {account_id: {_eq: $userPositionAddress}} + ) { + shares + account_id + } + } + } + tags: as_subject_triples_aggregate(where: {predicate_id: {_in: [3]}}) { + nodes { + object { + label + term { + vaults(where: {curve_id: {_eq: "1"}, term_id: {_eq: $id}}) { + term_id + } + } + } + predicate_id + } + aggregate { + count + } + } + } +} + ` + +export const useGetAtomDetailsQuery = < + TData = GetAtomDetailsQuery, + TError = unknown, +>( + variables: GetAtomDetailsQueryVariables, + options?: Omit< + UseQueryOptions, + 'queryKey' + > & { + queryKey?: UseQueryOptions['queryKey'] + }, +) => { + return useQuery({ + queryKey: ['GetAtomDetails', variables], + queryFn: fetcher( + GetAtomDetailsDocument, + variables, + ), + ...options, + }) +} + +useGetAtomDetailsQuery.document = GetAtomDetailsDocument + +useGetAtomDetailsQuery.getKey = (variables: GetAtomDetailsQueryVariables) => [ + 'GetAtomDetails', + variables, +] + +export const useInfiniteGetAtomDetailsQuery = < + TData = InfiniteData, + TError = unknown, +>( + variables: GetAtomDetailsQueryVariables, + options: Omit< + UseInfiniteQueryOptions, + 'queryKey' + > & { + queryKey?: UseInfiniteQueryOptions< + GetAtomDetailsQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options + return { + queryKey: optionsQueryKey ?? ['GetAtomDetails.infinite', variables], + queryFn: (metaData) => + fetcher( + GetAtomDetailsDocument, + { ...variables, ...(metaData.pageParam ?? {}) }, + )(), + ...restOptions, + } + })(), + ) +} + +useInfiniteGetAtomDetailsQuery.getKey = ( + variables: GetAtomDetailsQueryVariables, +) => ['GetAtomDetails.infinite', variables] + +useGetAtomDetailsQuery.fetcher = ( + variables: GetAtomDetailsQueryVariables, + options?: RequestInit['headers'], +) => + fetcher( + GetAtomDetailsDocument, + variables, + options, + ) + +export const FindAtomIdsDocument = ` + query FindAtomIds($where: atoms_bool_exp = {}) { + atoms(where: $where) { + term_id + data + } +} + ` + +export const useFindAtomIdsQuery = ( + variables?: FindAtomIdsQueryVariables, + options?: Omit< + UseQueryOptions, + 'queryKey' + > & { + queryKey?: UseQueryOptions['queryKey'] + }, +) => { + return useQuery({ + queryKey: + variables === undefined ? ['FindAtomIds'] : ['FindAtomIds', variables], + queryFn: fetcher( + FindAtomIdsDocument, + variables, + ), + ...options, + }) +} + +useFindAtomIdsQuery.document = FindAtomIdsDocument + +useFindAtomIdsQuery.getKey = (variables?: FindAtomIdsQueryVariables) => + variables === undefined ? ['FindAtomIds'] : ['FindAtomIds', variables] + +export const useInfiniteFindAtomIdsQuery = < + TData = InfiniteData, + TError = unknown, +>( + variables: FindAtomIdsQueryVariables, + options: Omit< + UseInfiniteQueryOptions, + 'queryKey' + > & { + queryKey?: UseInfiniteQueryOptions< + FindAtomIdsQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options + return { + queryKey: + optionsQueryKey ?? variables === undefined + ? ['FindAtomIds.infinite'] + : ['FindAtomIds.infinite', variables], + queryFn: (metaData) => + fetcher( + FindAtomIdsDocument, + { ...variables, ...(metaData.pageParam ?? {}) }, + )(), + ...restOptions, + } + })(), + ) +} + +useInfiniteFindAtomIdsQuery.getKey = (variables?: FindAtomIdsQueryVariables) => + variables === undefined + ? ['FindAtomIds.infinite'] + : ['FindAtomIds.infinite', variables] + +useFindAtomIdsQuery.fetcher = ( + variables?: FindAtomIdsQueryVariables, + options?: RequestInit['headers'], +) => + fetcher( + FindAtomIdsDocument, + variables, + options, + ) + +export const GetEventsDocument = ` + query GetEvents($limit: Int, $offset: Int, $orderBy: [events_order_by!], $where: events_bool_exp, $addresses: [String!]) { + total: events_aggregate(where: $where) { + aggregate { + count + } + } + events(limit: $limit, offset: $offset, order_by: $orderBy, where: $where) { + id + block_number + created_at + type + transaction_hash + atom_id + triple_id + deposit_id + redemption_id + atom { + ...AtomMetadata + term { + vaults(where: {curve_id: {_eq: "1"}}) { + total_shares + position_count + positions(where: {account: {id: {_in: $addresses}}}) { + account_id + shares + account { + id + label + image + } + } + } + } + } + triple { + term_id + creator { + ...AccountMetadata + } + subject { + data + term_id + image + label + emoji + type + ...AtomValue + creator { + ...AccountMetadata + } + } + predicate { + data + term_id + image + label + emoji + type + ...AtomValue + creator { + ...AccountMetadata + } + } + object { + data + term_id + image + label + emoji + type + ...AtomValue + creator { + ...AccountMetadata + } + } + term { + vaults(where: {curve_id: {_eq: "1"}}) { + total_shares + position_count + positions(where: {account: {id: {_in: $addresses}}}) { + account_id + shares + account { + id + label + image + } + } + } + } + counter_term { + vaults(where: {curve_id: {_eq: "1"}}) { + total_shares + position_count + positions(where: {account: {id: {_in: $addresses}}}) { + account_id + shares + account { + id + label + image + } + } + } + } + } + deposit { + sender_id + sender { + id + } + shares_for_receiver + sender_assets_after_total_fees + vault { + total_shares + position_count + positions(where: {account: {id: {_in: $addresses}}}) { + account_id + shares + account { + id + label + image + } + } + } + } + redemption { + sender_id + sender { + id + } + } + } +} + ${AtomMetadataFragmentDoc} +${AtomValueFragmentDoc} +${AccountMetadataFragmentDoc}` + +export const useGetEventsQuery = ( + variables?: GetEventsQueryVariables, + options?: Omit, 'queryKey'> & { + queryKey?: UseQueryOptions['queryKey'] + }, +) => { + return useQuery({ + queryKey: + variables === undefined ? ['GetEvents'] : ['GetEvents', variables], + queryFn: fetcher( + GetEventsDocument, + variables, + ), + ...options, + }) +} + +useGetEventsQuery.document = GetEventsDocument + +useGetEventsQuery.getKey = (variables?: GetEventsQueryVariables) => + variables === undefined ? ['GetEvents'] : ['GetEvents', variables] + +export const useInfiniteGetEventsQuery = < + TData = InfiniteData, + TError = unknown, +>( + variables: GetEventsQueryVariables, + options: Omit< + UseInfiniteQueryOptions, + 'queryKey' + > & { + queryKey?: UseInfiniteQueryOptions< + GetEventsQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options + return { + queryKey: + optionsQueryKey ?? variables === undefined + ? ['GetEvents.infinite'] + : ['GetEvents.infinite', variables], + queryFn: (metaData) => + fetcher(GetEventsDocument, { + ...variables, + ...(metaData.pageParam ?? {}), + })(), + ...restOptions, + } + })(), + ) +} + +useInfiniteGetEventsQuery.getKey = (variables?: GetEventsQueryVariables) => + variables === undefined + ? ['GetEvents.infinite'] + : ['GetEvents.infinite', variables] + +useGetEventsQuery.fetcher = ( + variables?: GetEventsQueryVariables, + options?: RequestInit['headers'], +) => + fetcher( + GetEventsDocument, + variables, + options, + ) + +export const GetEventsWithAggregatesDocument = ` + query GetEventsWithAggregates($limit: Int, $offset: Int, $orderBy: [events_order_by!], $where: events_bool_exp, $addresses: [String!]) { + events_aggregate( + where: $where + limit: $limit + offset: $offset + order_by: $orderBy + ) { + aggregate { + count + max { + created_at + block_number + } + min { + created_at + block_number + } + } + nodes { + ...EventDetails + } + } +} + ${EventDetailsFragmentDoc} +${DepositEventFragmentFragmentDoc} +${RedemptionEventFragmentFragmentDoc} +${AtomMetadataFragmentDoc} +${AtomValueFragmentDoc} +${TripleMetadataFragmentDoc} +${AccountMetadataFragmentDoc} +${PositionAggregateFieldsFragmentDoc} +${PositionFieldsFragmentDoc}` + +export const useGetEventsWithAggregatesQuery = < + TData = GetEventsWithAggregatesQuery, + TError = unknown, +>( + variables?: GetEventsWithAggregatesQueryVariables, + options?: Omit< + UseQueryOptions, + 'queryKey' + > & { + queryKey?: UseQueryOptions< + GetEventsWithAggregatesQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useQuery({ + queryKey: + variables === undefined + ? ['GetEventsWithAggregates'] + : ['GetEventsWithAggregates', variables], + queryFn: fetcher< + GetEventsWithAggregatesQuery, + GetEventsWithAggregatesQueryVariables + >(GetEventsWithAggregatesDocument, variables), + ...options, + }) +} + +useGetEventsWithAggregatesQuery.document = GetEventsWithAggregatesDocument + +useGetEventsWithAggregatesQuery.getKey = ( + variables?: GetEventsWithAggregatesQueryVariables, +) => + variables === undefined + ? ['GetEventsWithAggregates'] + : ['GetEventsWithAggregates', variables] + +export const useInfiniteGetEventsWithAggregatesQuery = < + TData = InfiniteData, + TError = unknown, +>( + variables: GetEventsWithAggregatesQueryVariables, + options: Omit< + UseInfiniteQueryOptions, + 'queryKey' + > & { + queryKey?: UseInfiniteQueryOptions< + GetEventsWithAggregatesQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options + return { + queryKey: + optionsQueryKey ?? variables === undefined + ? ['GetEventsWithAggregates.infinite'] + : ['GetEventsWithAggregates.infinite', variables], + queryFn: (metaData) => + fetcher< + GetEventsWithAggregatesQuery, + GetEventsWithAggregatesQueryVariables + >(GetEventsWithAggregatesDocument, { + ...variables, + ...(metaData.pageParam ?? {}), + })(), + ...restOptions, + } + })(), + ) +} + +useInfiniteGetEventsWithAggregatesQuery.getKey = ( + variables?: GetEventsWithAggregatesQueryVariables, +) => + variables === undefined + ? ['GetEventsWithAggregates.infinite'] + : ['GetEventsWithAggregates.infinite', variables] + +useGetEventsWithAggregatesQuery.fetcher = ( + variables?: GetEventsWithAggregatesQueryVariables, + options?: RequestInit['headers'], +) => + fetcher( + GetEventsWithAggregatesDocument, + variables, + options, + ) + +export const GetEventsCountDocument = ` + query GetEventsCount($where: events_bool_exp) { + events_aggregate(where: $where) { + aggregate { + count + } + } +} + ` + +export const useGetEventsCountQuery = < + TData = GetEventsCountQuery, + TError = unknown, +>( + variables?: GetEventsCountQueryVariables, + options?: Omit< + UseQueryOptions, + 'queryKey' + > & { + queryKey?: UseQueryOptions['queryKey'] + }, +) => { + return useQuery({ + queryKey: + variables === undefined + ? ['GetEventsCount'] + : ['GetEventsCount', variables], + queryFn: fetcher( + GetEventsCountDocument, + variables, + ), + ...options, + }) +} + +useGetEventsCountQuery.document = GetEventsCountDocument + +useGetEventsCountQuery.getKey = (variables?: GetEventsCountQueryVariables) => + variables === undefined ? ['GetEventsCount'] : ['GetEventsCount', variables] + +export const useInfiniteGetEventsCountQuery = < + TData = InfiniteData, + TError = unknown, +>( + variables: GetEventsCountQueryVariables, + options: Omit< + UseInfiniteQueryOptions, + 'queryKey' + > & { + queryKey?: UseInfiniteQueryOptions< + GetEventsCountQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options + return { + queryKey: + optionsQueryKey ?? variables === undefined + ? ['GetEventsCount.infinite'] + : ['GetEventsCount.infinite', variables], + queryFn: (metaData) => + fetcher( + GetEventsCountDocument, + { ...variables, ...(metaData.pageParam ?? {}) }, + )(), + ...restOptions, + } + })(), + ) +} + +useInfiniteGetEventsCountQuery.getKey = ( + variables?: GetEventsCountQueryVariables, +) => + variables === undefined + ? ['GetEventsCount.infinite'] + : ['GetEventsCount.infinite', variables] + +useGetEventsCountQuery.fetcher = ( + variables?: GetEventsCountQueryVariables, + options?: RequestInit['headers'], +) => + fetcher( + GetEventsCountDocument, + variables, + options, + ) + +export const GetEventsDataDocument = ` + query GetEventsData($where: events_bool_exp) { + events_aggregate(where: $where) { + aggregate { + count + max { + created_at + block_number + } + min { + created_at + block_number + } + avg { + block_number + } + } + } +} + ` + +export const useGetEventsDataQuery = < + TData = GetEventsDataQuery, + TError = unknown, +>( + variables?: GetEventsDataQueryVariables, + options?: Omit< + UseQueryOptions, + 'queryKey' + > & { + queryKey?: UseQueryOptions['queryKey'] + }, +) => { + return useQuery({ + queryKey: + variables === undefined + ? ['GetEventsData'] + : ['GetEventsData', variables], + queryFn: fetcher( + GetEventsDataDocument, + variables, + ), + ...options, + }) +} + +useGetEventsDataQuery.document = GetEventsDataDocument + +useGetEventsDataQuery.getKey = (variables?: GetEventsDataQueryVariables) => + variables === undefined ? ['GetEventsData'] : ['GetEventsData', variables] + +export const useInfiniteGetEventsDataQuery = < + TData = InfiniteData, + TError = unknown, +>( + variables: GetEventsDataQueryVariables, + options: Omit< + UseInfiniteQueryOptions, + 'queryKey' + > & { + queryKey?: UseInfiniteQueryOptions< + GetEventsDataQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options + return { + queryKey: + optionsQueryKey ?? variables === undefined + ? ['GetEventsData.infinite'] + : ['GetEventsData.infinite', variables], + queryFn: (metaData) => + fetcher( + GetEventsDataDocument, + { ...variables, ...(metaData.pageParam ?? {}) }, + )(), + ...restOptions, + } + })(), + ) +} + +useInfiniteGetEventsDataQuery.getKey = ( + variables?: GetEventsDataQueryVariables, +) => + variables === undefined + ? ['GetEventsData.infinite'] + : ['GetEventsData.infinite', variables] + +useGetEventsDataQuery.fetcher = ( + variables?: GetEventsDataQueryVariables, + options?: RequestInit['headers'], +) => + fetcher( + GetEventsDataDocument, + variables, + options, + ) + +export const GetDebugEventsDocument = ` + query GetDebugEvents($addresses: [String!]) { + debug_events: events { + id + atom { + term { + positions(where: {account_id: {_in: $addresses}}) { + account_id + shares + } + } + } + } +} + ` + +export const useGetDebugEventsQuery = < + TData = GetDebugEventsQuery, + TError = unknown, +>( + variables?: GetDebugEventsQueryVariables, + options?: Omit< + UseQueryOptions, + 'queryKey' + > & { + queryKey?: UseQueryOptions['queryKey'] + }, +) => { + return useQuery({ + queryKey: + variables === undefined + ? ['GetDebugEvents'] + : ['GetDebugEvents', variables], + queryFn: fetcher( + GetDebugEventsDocument, + variables, + ), + ...options, + }) +} + +useGetDebugEventsQuery.document = GetDebugEventsDocument + +useGetDebugEventsQuery.getKey = (variables?: GetDebugEventsQueryVariables) => + variables === undefined ? ['GetDebugEvents'] : ['GetDebugEvents', variables] + +export const useInfiniteGetDebugEventsQuery = < + TData = InfiniteData, + TError = unknown, +>( + variables: GetDebugEventsQueryVariables, + options: Omit< + UseInfiniteQueryOptions, + 'queryKey' + > & { + queryKey?: UseInfiniteQueryOptions< + GetDebugEventsQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options + return { + queryKey: + optionsQueryKey ?? variables === undefined + ? ['GetDebugEvents.infinite'] + : ['GetDebugEvents.infinite', variables], + queryFn: (metaData) => + fetcher( + GetDebugEventsDocument, + { ...variables, ...(metaData.pageParam ?? {}) }, + )(), + ...restOptions, + } + })(), + ) +} + +useInfiniteGetDebugEventsQuery.getKey = ( + variables?: GetDebugEventsQueryVariables, +) => + variables === undefined + ? ['GetDebugEvents.infinite'] + : ['GetDebugEvents.infinite', variables] + +useGetDebugEventsQuery.fetcher = ( + variables?: GetDebugEventsQueryVariables, + options?: RequestInit['headers'], +) => + fetcher( + GetDebugEventsDocument, + variables, + options, + ) + +export const GetTransactionEventsDocument = ` + query GetTransactionEvents($hash: String!) { + events(where: {transaction_hash: {_eq: $hash}}) { + transaction_hash + } +} + ` + +export const useGetTransactionEventsQuery = < + TData = GetTransactionEventsQuery, + TError = unknown, +>( + variables: GetTransactionEventsQueryVariables, + options?: Omit< + UseQueryOptions, + 'queryKey' + > & { + queryKey?: UseQueryOptions< + GetTransactionEventsQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useQuery({ + queryKey: ['GetTransactionEvents', variables], + queryFn: fetcher< + GetTransactionEventsQuery, + GetTransactionEventsQueryVariables + >(GetTransactionEventsDocument, variables), + ...options, + }) +} + +useGetTransactionEventsQuery.document = GetTransactionEventsDocument + +useGetTransactionEventsQuery.getKey = ( + variables: GetTransactionEventsQueryVariables, +) => ['GetTransactionEvents', variables] + +export const useInfiniteGetTransactionEventsQuery = < + TData = InfiniteData, + TError = unknown, +>( + variables: GetTransactionEventsQueryVariables, + options: Omit< + UseInfiniteQueryOptions, + 'queryKey' + > & { + queryKey?: UseInfiniteQueryOptions< + GetTransactionEventsQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options + return { + queryKey: optionsQueryKey ?? [ + 'GetTransactionEvents.infinite', + variables, + ], + queryFn: (metaData) => + fetcher< + GetTransactionEventsQuery, + GetTransactionEventsQueryVariables + >(GetTransactionEventsDocument, { + ...variables, + ...(metaData.pageParam ?? {}), + })(), + ...restOptions, + } + })(), + ) +} + +useInfiniteGetTransactionEventsQuery.getKey = ( + variables: GetTransactionEventsQueryVariables, +) => ['GetTransactionEvents.infinite', variables] + +useGetTransactionEventsQuery.fetcher = ( + variables: GetTransactionEventsQueryVariables, + options?: RequestInit['headers'], +) => + fetcher( + GetTransactionEventsDocument, + variables, + options, + ) + +export const GetFollowingPositionsDocument = ` + query GetFollowingPositions($subjectId: numeric!, $predicateId: numeric!, $address: String!, $limit: Int, $offset: Int, $positionsOrderBy: [positions_order_by!]) { + triples_aggregate( + where: {_and: [{subject_id: {_eq: $subjectId}}, {predicate_id: {_eq: $predicateId}}, {positions: {account_id: {_ilike: $address}}}]} + ) { + aggregate { + count + } + } + triples( + limit: $limit + offset: $offset + where: {_and: [{subject_id: {_eq: $subjectId}}, {predicate_id: {_eq: $predicateId}}, {positions: {account_id: {_ilike: $address}}}]} + ) { + term_id + subject { + ...AtomMetadata + } + predicate { + ...AtomMetadata + } + object { + ...AtomMetadata + } + term { + vaults(where: {curve_id: {_eq: "1"}}) { + total_shares + current_share_price + positions_aggregate { + aggregate { + count + sum { + shares + } + } + } + positions(where: {account_id: {_ilike: $address}}, order_by: $positionsOrderBy) { + account_id + account { + id + label + } + shares + } + } + } + } +} + ${AtomMetadataFragmentDoc} +${AtomValueFragmentDoc}` + +export const useGetFollowingPositionsQuery = < + TData = GetFollowingPositionsQuery, + TError = unknown, +>( + variables: GetFollowingPositionsQueryVariables, + options?: Omit< + UseQueryOptions, + 'queryKey' + > & { + queryKey?: UseQueryOptions< + GetFollowingPositionsQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useQuery({ + queryKey: ['GetFollowingPositions', variables], + queryFn: fetcher< + GetFollowingPositionsQuery, + GetFollowingPositionsQueryVariables + >(GetFollowingPositionsDocument, variables), + ...options, + }) +} + +useGetFollowingPositionsQuery.document = GetFollowingPositionsDocument + +useGetFollowingPositionsQuery.getKey = ( + variables: GetFollowingPositionsQueryVariables, +) => ['GetFollowingPositions', variables] + +export const useInfiniteGetFollowingPositionsQuery = < + TData = InfiniteData, + TError = unknown, +>( + variables: GetFollowingPositionsQueryVariables, + options: Omit< + UseInfiniteQueryOptions, + 'queryKey' + > & { + queryKey?: UseInfiniteQueryOptions< + GetFollowingPositionsQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options + return { + queryKey: optionsQueryKey ?? [ + 'GetFollowingPositions.infinite', + variables, + ], + queryFn: (metaData) => + fetcher< + GetFollowingPositionsQuery, + GetFollowingPositionsQueryVariables + >(GetFollowingPositionsDocument, { + ...variables, + ...(metaData.pageParam ?? {}), + })(), + ...restOptions, + } + })(), + ) +} + +useInfiniteGetFollowingPositionsQuery.getKey = ( + variables: GetFollowingPositionsQueryVariables, +) => ['GetFollowingPositions.infinite', variables] + +useGetFollowingPositionsQuery.fetcher = ( + variables: GetFollowingPositionsQueryVariables, + options?: RequestInit['headers'], +) => + fetcher( + GetFollowingPositionsDocument, + variables, + options, + ) + +export const GetFollowerPositionsDocument = ` + query GetFollowerPositions($subjectId: numeric!, $predicateId: numeric!, $objectId: numeric!, $positionsLimit: Int, $positionsOffset: Int, $positionsOrderBy: [positions_order_by!], $positionsWhere: positions_bool_exp) { + triples( + where: {_and: [{subject_id: {_eq: $subjectId}}, {predicate_id: {_eq: $predicateId}}, {object_id: {_eq: $objectId}}]} + ) { + term_id + subject { + ...AtomMetadata + } + predicate { + ...AtomMetadata + } + object { + ...AtomMetadata + } + term { + vaults(where: {curve_id: {_eq: "1"}}) { + total_shares + current_share_price + positions_aggregate { + aggregate { + count + sum { + shares + } + } + } + positions( + limit: $positionsLimit + offset: $positionsOffset + order_by: $positionsOrderBy + where: $positionsWhere + ) { + account { + id + label + image + } + shares + } + } + } + } +} + ${AtomMetadataFragmentDoc} +${AtomValueFragmentDoc}` + +export const useGetFollowerPositionsQuery = < + TData = GetFollowerPositionsQuery, + TError = unknown, +>( + variables: GetFollowerPositionsQueryVariables, + options?: Omit< + UseQueryOptions, + 'queryKey' + > & { + queryKey?: UseQueryOptions< + GetFollowerPositionsQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useQuery({ + queryKey: ['GetFollowerPositions', variables], + queryFn: fetcher< + GetFollowerPositionsQuery, + GetFollowerPositionsQueryVariables + >(GetFollowerPositionsDocument, variables), + ...options, + }) +} + +useGetFollowerPositionsQuery.document = GetFollowerPositionsDocument + +useGetFollowerPositionsQuery.getKey = ( + variables: GetFollowerPositionsQueryVariables, +) => ['GetFollowerPositions', variables] + +export const useInfiniteGetFollowerPositionsQuery = < + TData = InfiniteData, + TError = unknown, +>( + variables: GetFollowerPositionsQueryVariables, + options: Omit< + UseInfiniteQueryOptions, + 'queryKey' + > & { + queryKey?: UseInfiniteQueryOptions< + GetFollowerPositionsQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options + return { + queryKey: optionsQueryKey ?? [ + 'GetFollowerPositions.infinite', + variables, + ], + queryFn: (metaData) => + fetcher< + GetFollowerPositionsQuery, + GetFollowerPositionsQueryVariables + >(GetFollowerPositionsDocument, { + ...variables, + ...(metaData.pageParam ?? {}), + })(), + ...restOptions, + } + })(), + ) +} + +useInfiniteGetFollowerPositionsQuery.getKey = ( + variables: GetFollowerPositionsQueryVariables, +) => ['GetFollowerPositions.infinite', variables] + +useGetFollowerPositionsQuery.fetcher = ( + variables: GetFollowerPositionsQueryVariables, + options?: RequestInit['headers'], +) => + fetcher( + GetFollowerPositionsDocument, + variables, + options, + ) + +export const GetConnectionsDocument = ` + query GetConnections($subjectId: numeric!, $predicateId: numeric!, $objectId: numeric!, $addresses: [String!], $positionsLimit: Int, $positionsOffset: Int, $positionsOrderBy: [positions_order_by!], $positionsWhere: positions_bool_exp) { + following_count: triples_aggregate( + where: {_and: [{subject_id: {_eq: $subjectId}}, {predicate_id: {_eq: $predicateId}}, {object_id: {_eq: $objectId}}]} + ) { + aggregate { + count + } + } + following: triples( + where: {_and: [{subject_id: {_eq: $subjectId}}, {predicate_id: {_eq: $predicateId}}, {object_id: {_eq: $objectId}}]} + ) { + ...FollowMetadata + } + followers_count: triples_aggregate( + where: {_and: [{subject_id: {_eq: $subjectId}}, {predicate_id: {_eq: $predicateId}}, {positions: {account_id: {_in: $addresses}}}]} + ) { + aggregate { + count + } + } + followers: triples( + where: {_and: [{subject_id: {_eq: $subjectId}}, {predicate_id: {_eq: $predicateId}}, {positions: {account_id: {_in: $addresses}}}]} + ) { + ...FollowMetadata + } +} + ${FollowMetadataFragmentDoc}` + +export const useGetConnectionsQuery = < + TData = GetConnectionsQuery, + TError = unknown, +>( + variables: GetConnectionsQueryVariables, + options?: Omit< + UseQueryOptions, + 'queryKey' + > & { + queryKey?: UseQueryOptions['queryKey'] + }, +) => { + return useQuery({ + queryKey: ['GetConnections', variables], + queryFn: fetcher( + GetConnectionsDocument, + variables, + ), + ...options, + }) +} + +useGetConnectionsQuery.document = GetConnectionsDocument + +useGetConnectionsQuery.getKey = (variables: GetConnectionsQueryVariables) => [ + 'GetConnections', + variables, +] + +export const useInfiniteGetConnectionsQuery = < + TData = InfiniteData, + TError = unknown, +>( + variables: GetConnectionsQueryVariables, + options: Omit< + UseInfiniteQueryOptions, + 'queryKey' + > & { + queryKey?: UseInfiniteQueryOptions< + GetConnectionsQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options + return { + queryKey: optionsQueryKey ?? ['GetConnections.infinite', variables], + queryFn: (metaData) => + fetcher( + GetConnectionsDocument, + { ...variables, ...(metaData.pageParam ?? {}) }, + )(), + ...restOptions, + } + })(), + ) +} + +useInfiniteGetConnectionsQuery.getKey = ( + variables: GetConnectionsQueryVariables, +) => ['GetConnections.infinite', variables] + +useGetConnectionsQuery.fetcher = ( + variables: GetConnectionsQueryVariables, + options?: RequestInit['headers'], +) => + fetcher( + GetConnectionsDocument, + variables, + options, + ) + +export const GetConnectionsCountDocument = ` + query GetConnectionsCount($subjectId: numeric!, $predicateId: numeric!, $objectId: numeric!, $address: String!) { + following_count: triples_aggregate( + where: {_and: [{subject_id: {_eq: $subjectId}}, {predicate_id: {_eq: $predicateId}}, {positions: {account_id: {_ilike: $address}}}]} + ) { + aggregate { + count + } + } + followers_count: triples( + where: {_and: [{subject_id: {_eq: $subjectId}}, {predicate_id: {_eq: $predicateId}}, {object_id: {_eq: $objectId}}]} + ) { + term { + vaults(where: {curve_id: {_eq: "1"}}) { + positions_aggregate { + aggregate { + count + sum { + shares + } + } + } + } + } + } +} + ` + +export const useGetConnectionsCountQuery = < + TData = GetConnectionsCountQuery, + TError = unknown, +>( + variables: GetConnectionsCountQueryVariables, + options?: Omit< + UseQueryOptions, + 'queryKey' + > & { + queryKey?: UseQueryOptions< + GetConnectionsCountQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useQuery({ + queryKey: ['GetConnectionsCount', variables], + queryFn: fetcher< + GetConnectionsCountQuery, + GetConnectionsCountQueryVariables + >(GetConnectionsCountDocument, variables), + ...options, + }) +} + +useGetConnectionsCountQuery.document = GetConnectionsCountDocument + +useGetConnectionsCountQuery.getKey = ( + variables: GetConnectionsCountQueryVariables, +) => ['GetConnectionsCount', variables] + +export const useInfiniteGetConnectionsCountQuery = < + TData = InfiniteData, + TError = unknown, +>( + variables: GetConnectionsCountQueryVariables, + options: Omit< + UseInfiniteQueryOptions, + 'queryKey' + > & { + queryKey?: UseInfiniteQueryOptions< + GetConnectionsCountQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options + return { + queryKey: optionsQueryKey ?? [ + 'GetConnectionsCount.infinite', + variables, + ], + queryFn: (metaData) => + fetcher( + GetConnectionsCountDocument, + { ...variables, ...(metaData.pageParam ?? {}) }, + )(), + ...restOptions, + } + })(), + ) +} + +useInfiniteGetConnectionsCountQuery.getKey = ( + variables: GetConnectionsCountQueryVariables, +) => ['GetConnectionsCount.infinite', variables] + +useGetConnectionsCountQuery.fetcher = ( + variables: GetConnectionsCountQueryVariables, + options?: RequestInit['headers'], +) => + fetcher( + GetConnectionsCountDocument, + variables, + options, + ) + +export const GetListsDocument = ` + query GetLists($where: predicate_objects_bool_exp) { + predicate_objects_aggregate(where: $where) { + aggregate { + count + } + } + predicate_objects(where: $where, order_by: [{triple_count: desc}]) { + id + triple_count + object { + term_id + label + image + } + } +} + ` + +export const useGetListsQuery = ( + variables?: GetListsQueryVariables, + options?: Omit, 'queryKey'> & { + queryKey?: UseQueryOptions['queryKey'] + }, +) => { + return useQuery({ + queryKey: variables === undefined ? ['GetLists'] : ['GetLists', variables], + queryFn: fetcher( + GetListsDocument, + variables, + ), + ...options, + }) +} + +useGetListsQuery.document = GetListsDocument + +useGetListsQuery.getKey = (variables?: GetListsQueryVariables) => + variables === undefined ? ['GetLists'] : ['GetLists', variables] + +export const useInfiniteGetListsQuery = < + TData = InfiniteData, + TError = unknown, +>( + variables: GetListsQueryVariables, + options: Omit< + UseInfiniteQueryOptions, + 'queryKey' + > & { + queryKey?: UseInfiniteQueryOptions['queryKey'] + }, +) => { + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options + return { + queryKey: + optionsQueryKey ?? variables === undefined + ? ['GetLists.infinite'] + : ['GetLists.infinite', variables], + queryFn: (metaData) => + fetcher(GetListsDocument, { + ...variables, + ...(metaData.pageParam ?? {}), + })(), + ...restOptions, + } + })(), + ) +} + +useInfiniteGetListsQuery.getKey = (variables?: GetListsQueryVariables) => + variables === undefined + ? ['GetLists.infinite'] + : ['GetLists.infinite', variables] + +useGetListsQuery.fetcher = ( + variables?: GetListsQueryVariables, + options?: RequestInit['headers'], +) => + fetcher( + GetListsDocument, + variables, + options, + ) + +export const GetListItemsDocument = ` + query GetListItems($predicateId: numeric, $objectId: numeric) { + triples_aggregate( + where: {predicate_id: {_eq: predicateId}, object_id: {_eq: $objectId}} + order_by: [{term: {positions_aggregate: {count: desc}}, counter_term: {positions_aggregate: {count: desc}}}] + ) { + aggregate { + count + } + nodes { + ...TripleVaultDetails + } + } +} + ${TripleVaultDetailsFragmentDoc} +${PositionDetailsFragmentDoc} +${AtomValueFragmentDoc} +${AccountMetadataFragmentDoc}` + +export const useGetListItemsQuery = < + TData = GetListItemsQuery, + TError = unknown, +>( + variables?: GetListItemsQueryVariables, + options?: Omit< + UseQueryOptions, + 'queryKey' + > & { + queryKey?: UseQueryOptions['queryKey'] + }, +) => { + return useQuery({ + queryKey: + variables === undefined ? ['GetListItems'] : ['GetListItems', variables], + queryFn: fetcher( + GetListItemsDocument, + variables, + ), + ...options, + }) +} + +useGetListItemsQuery.document = GetListItemsDocument + +useGetListItemsQuery.getKey = (variables?: GetListItemsQueryVariables) => + variables === undefined ? ['GetListItems'] : ['GetListItems', variables] + +export const useInfiniteGetListItemsQuery = < + TData = InfiniteData, + TError = unknown, +>( + variables: GetListItemsQueryVariables, + options: Omit< + UseInfiniteQueryOptions, + 'queryKey' + > & { + queryKey?: UseInfiniteQueryOptions< + GetListItemsQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options + return { + queryKey: + optionsQueryKey ?? variables === undefined + ? ['GetListItems.infinite'] + : ['GetListItems.infinite', variables], + queryFn: (metaData) => + fetcher( + GetListItemsDocument, + { ...variables, ...(metaData.pageParam ?? {}) }, + )(), + ...restOptions, + } + })(), + ) +} + +useInfiniteGetListItemsQuery.getKey = ( + variables?: GetListItemsQueryVariables, +) => + variables === undefined + ? ['GetListItems.infinite'] + : ['GetListItems.infinite', variables] + +useGetListItemsQuery.fetcher = ( + variables?: GetListItemsQueryVariables, + options?: RequestInit['headers'], +) => + fetcher( + GetListItemsDocument, + variables, + options, + ) + +export const GetListDetailsDocument = ` + query GetListDetails($globalWhere: triples_bool_exp, $tagPredicateId: numeric, $limit: Int, $offset: Int, $orderBy: [triples_order_by!]) { + globalTriplesAggregate: triples_aggregate(where: $globalWhere) { + aggregate { + count + } + } + globalTriples: triples( + where: $globalWhere + limit: $limit + offset: $offset + order_by: $orderBy + ) { + term_id + counter_term_id + subject { + term_id + label + wallet_id + image + type + term { + vaults { + position_count + } + } + tags: as_subject_triples_aggregate( + where: {predicate_id: {_eq: $tagPredicateId}} + ) { + nodes { + object { + label + term_id + taggedIdentities: as_object_triples_aggregate { + nodes { + subject { + label + term_id + } + term_id + } + aggregate { + count + } + } + } + } + aggregate { + count + } + } + } + object { + term_id + label + wallet_id + image + type + } + predicate { + term_id + label + wallet_id + image + type + } + term { + vaults(where: {curve_id: {_eq: "1"}}) { + current_share_price + position_count + total_shares + } + } + counter_term { + vaults(where: {curve_id: {_eq: "1"}}) { + current_share_price + position_count + total_shares + } + } + } +} + ` + +export const useGetListDetailsQuery = < + TData = GetListDetailsQuery, + TError = unknown, +>( + variables?: GetListDetailsQueryVariables, + options?: Omit< + UseQueryOptions, + 'queryKey' + > & { + queryKey?: UseQueryOptions['queryKey'] + }, +) => { + return useQuery({ + queryKey: + variables === undefined + ? ['GetListDetails'] + : ['GetListDetails', variables], + queryFn: fetcher( + GetListDetailsDocument, + variables, + ), + ...options, + }) +} + +useGetListDetailsQuery.document = GetListDetailsDocument + +useGetListDetailsQuery.getKey = (variables?: GetListDetailsQueryVariables) => + variables === undefined ? ['GetListDetails'] : ['GetListDetails', variables] + +export const useInfiniteGetListDetailsQuery = < + TData = InfiniteData, + TError = unknown, +>( + variables: GetListDetailsQueryVariables, + options: Omit< + UseInfiniteQueryOptions, + 'queryKey' + > & { + queryKey?: UseInfiniteQueryOptions< + GetListDetailsQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options + return { + queryKey: + optionsQueryKey ?? variables === undefined + ? ['GetListDetails.infinite'] + : ['GetListDetails.infinite', variables], + queryFn: (metaData) => + fetcher( + GetListDetailsDocument, + { ...variables, ...(metaData.pageParam ?? {}) }, + )(), + ...restOptions, + } + })(), + ) +} + +useInfiniteGetListDetailsQuery.getKey = ( + variables?: GetListDetailsQueryVariables, +) => + variables === undefined + ? ['GetListDetails.infinite'] + : ['GetListDetails.infinite', variables] + +useGetListDetailsQuery.fetcher = ( + variables?: GetListDetailsQueryVariables, + options?: RequestInit['headers'], +) => + fetcher( + GetListDetailsDocument, + variables, + options, + ) + +export const GetListDetailsWithPositionDocument = ` + query GetListDetailsWithPosition($globalWhere: triples_bool_exp, $tagPredicateId: numeric, $address: String, $limit: Int, $offset: Int, $orderBy: [triples_order_by!]) { + globalTriplesAggregate: triples_aggregate(where: $globalWhere) { + aggregate { + count + } + } + globalTriples: triples( + where: $globalWhere + limit: $limit + offset: $offset + order_by: $orderBy + ) { + term_id + counter_term_id + subject { + term_id + label + wallet_id + image + type + tags: as_subject_triples_aggregate( + where: {predicate_id: {_eq: $tagPredicateId}} + ) { + nodes { + object { + label + term_id + taggedIdentities: as_object_triples_aggregate { + nodes { + subject { + label + term_id + } + term_id + } + aggregate { + count + } + } + } + } + aggregate { + count + } + } + } + object { + term_id + label + wallet_id + image + type + } + predicate { + term_id + label + wallet_id + image + type + } + term { + vaults { + current_share_price + position_count + total_shares + } + positions(where: {account_id: {_ilike: $address}}) { + account { + id + label + image + } + shares + } + } + counter_term { + vaults { + current_share_price + position_count + total_shares + } + positions(where: {account_id: {_ilike: $address}}) { + account { + id + label + image + } + shares + } + } + } +} + ` + +export const useGetListDetailsWithPositionQuery = < + TData = GetListDetailsWithPositionQuery, + TError = unknown, +>( + variables?: GetListDetailsWithPositionQueryVariables, + options?: Omit< + UseQueryOptions, + 'queryKey' + > & { + queryKey?: UseQueryOptions< + GetListDetailsWithPositionQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useQuery({ + queryKey: + variables === undefined + ? ['GetListDetailsWithPosition'] + : ['GetListDetailsWithPosition', variables], + queryFn: fetcher< + GetListDetailsWithPositionQuery, + GetListDetailsWithPositionQueryVariables + >(GetListDetailsWithPositionDocument, variables), + ...options, + }) +} + +useGetListDetailsWithPositionQuery.document = GetListDetailsWithPositionDocument + +useGetListDetailsWithPositionQuery.getKey = ( + variables?: GetListDetailsWithPositionQueryVariables, +) => + variables === undefined + ? ['GetListDetailsWithPosition'] + : ['GetListDetailsWithPosition', variables] + +export const useInfiniteGetListDetailsWithPositionQuery = < + TData = InfiniteData, + TError = unknown, +>( + variables: GetListDetailsWithPositionQueryVariables, + options: Omit< + UseInfiniteQueryOptions, + 'queryKey' + > & { + queryKey?: UseInfiniteQueryOptions< + GetListDetailsWithPositionQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options + return { + queryKey: + optionsQueryKey ?? variables === undefined + ? ['GetListDetailsWithPosition.infinite'] + : ['GetListDetailsWithPosition.infinite', variables], + queryFn: (metaData) => + fetcher< + GetListDetailsWithPositionQuery, + GetListDetailsWithPositionQueryVariables + >(GetListDetailsWithPositionDocument, { + ...variables, + ...(metaData.pageParam ?? {}), + })(), + ...restOptions, + } + })(), + ) +} + +useInfiniteGetListDetailsWithPositionQuery.getKey = ( + variables?: GetListDetailsWithPositionQueryVariables, +) => + variables === undefined + ? ['GetListDetailsWithPosition.infinite'] + : ['GetListDetailsWithPosition.infinite', variables] + +useGetListDetailsWithPositionQuery.fetcher = ( + variables?: GetListDetailsWithPositionQueryVariables, + options?: RequestInit['headers'], +) => + fetcher< + GetListDetailsWithPositionQuery, + GetListDetailsWithPositionQueryVariables + >(GetListDetailsWithPositionDocument, variables, options) + +export const GetListDetailsWithUserDocument = ` + query GetListDetailsWithUser($globalWhere: triples_bool_exp, $userWhere: triples_bool_exp, $tagPredicateId: numeric, $address: String, $limit: Int, $offset: Int, $orderBy: [triples_order_by!]) { + globalTriplesAggregate: triples_aggregate(where: $globalWhere) { + aggregate { + count + } + } + globalTriples: triples( + where: $globalWhere + limit: $limit + offset: $offset + order_by: $orderBy + ) { + term_id + counter_term_id + subject { + term_id + label + wallet_id + image + type + tags: as_subject_triples_aggregate( + where: {predicate_id: {_eq: $tagPredicateId}} + ) { + nodes { + object { + label + term_id + taggedIdentities: as_object_triples_aggregate { + nodes { + subject { + label + term_id + } + term_id + } + aggregate { + count + } + } + } + } + aggregate { + count + } + } + } + object { + term_id + label + wallet_id + image + type + } + predicate { + term_id + label + wallet_id + image + type + } + term { + vaults { + current_share_price + position_count + total_shares + } + positions(where: {account_id: {_ilike: $address}}) { + account { + id + label + image + } + shares + } + } + counter_term { + vaults { + current_share_price + position_count + total_shares + } + positions(where: {account_id: {_ilike: $address}}) { + account { + id + label + image + } + shares + } + } + } + userTriplesAggregate: triples_aggregate(where: $userWhere) { + aggregate { + count + } + } + userTriples: triples(where: $userWhere) { + term_id + counter_term_id + subject { + term_id + label + wallet_id + image + type + tags: as_subject_triples_aggregate( + where: {predicate_id: {_eq: $tagPredicateId}} + ) { + nodes { + object { + label + term_id + taggedIdentities: as_object_triples_aggregate { + nodes { + subject { + label + term_id + } + term_id + } + aggregate { + count + } + } + } + } + aggregate { + count + } + } + } + object { + term_id + label + wallet_id + image + type + } + predicate { + term_id + label + wallet_id + image + type + } + term { + vaults { + current_share_price + position_count + total_shares + } + positions(where: {account_id: {_ilike: $address}}) { + account { + id + label + image + } + shares + } + } + counter_term { + vaults { + current_share_price + position_count + total_shares + } + positions(where: {account_id: {_ilike: $address}}) { + account { + id + label + image + } + shares + } + } + } +} + ` + +export const useGetListDetailsWithUserQuery = < + TData = GetListDetailsWithUserQuery, + TError = unknown, +>( + variables?: GetListDetailsWithUserQueryVariables, + options?: Omit< + UseQueryOptions, + 'queryKey' + > & { + queryKey?: UseQueryOptions< + GetListDetailsWithUserQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useQuery({ + queryKey: + variables === undefined + ? ['GetListDetailsWithUser'] + : ['GetListDetailsWithUser', variables], + queryFn: fetcher< + GetListDetailsWithUserQuery, + GetListDetailsWithUserQueryVariables + >(GetListDetailsWithUserDocument, variables), + ...options, + }) +} + +useGetListDetailsWithUserQuery.document = GetListDetailsWithUserDocument + +useGetListDetailsWithUserQuery.getKey = ( + variables?: GetListDetailsWithUserQueryVariables, +) => + variables === undefined + ? ['GetListDetailsWithUser'] + : ['GetListDetailsWithUser', variables] + +export const useInfiniteGetListDetailsWithUserQuery = < + TData = InfiniteData, + TError = unknown, +>( + variables: GetListDetailsWithUserQueryVariables, + options: Omit< + UseInfiniteQueryOptions, + 'queryKey' + > & { + queryKey?: UseInfiniteQueryOptions< + GetListDetailsWithUserQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options + return { + queryKey: + optionsQueryKey ?? variables === undefined + ? ['GetListDetailsWithUser.infinite'] + : ['GetListDetailsWithUser.infinite', variables], + queryFn: (metaData) => + fetcher< + GetListDetailsWithUserQuery, + GetListDetailsWithUserQueryVariables + >(GetListDetailsWithUserDocument, { + ...variables, + ...(metaData.pageParam ?? {}), + })(), + ...restOptions, + } + })(), + ) +} + +useInfiniteGetListDetailsWithUserQuery.getKey = ( + variables?: GetListDetailsWithUserQueryVariables, +) => + variables === undefined + ? ['GetListDetailsWithUser.infinite'] + : ['GetListDetailsWithUser.infinite', variables] + +useGetListDetailsWithUserQuery.fetcher = ( + variables?: GetListDetailsWithUserQueryVariables, + options?: RequestInit['headers'], +) => + fetcher( + GetListDetailsWithUserDocument, + variables, + options, + ) + +export const GetListDetailsSimplifiedDocument = ` + query GetListDetailsSimplified($globalWhere: triples_bool_exp, $address: String, $limit: Int, $offset: Int, $orderBy: [triples_order_by!]) { + globalTriplesAggregate: triples_aggregate(where: $globalWhere) { + aggregate { + count + } + } + globalTriples: triples( + where: $globalWhere + limit: $limit + offset: $offset + order_by: $orderBy + ) { + term_id + counter_term_id + subject { + term_id + label + wallet_id + image + type + term { + vaults(where: {curve_id: {_eq: "1"}}) { + current_share_price + position_count + total_shares + } + } + } + object { + term_id + label + wallet_id + image + type + } + predicate { + term_id + label + wallet_id + image + type + } + term { + vaults(where: {curve_id: {_eq: "1"}}) { + current_share_price + position_count + total_shares + positions(where: {account_id: {_ilike: $address}}) { + account { + id + label + image + } + shares + } + } + } + counter_term { + vaults(where: {curve_id: {_eq: "1"}}) { + current_share_price + position_count + total_shares + positions(where: {account_id: {_ilike: $address}}) { + account { + id + label + image + } + shares + } + } + } + } +} + ` + +export const useGetListDetailsSimplifiedQuery = < + TData = GetListDetailsSimplifiedQuery, + TError = unknown, +>( + variables?: GetListDetailsSimplifiedQueryVariables, + options?: Omit< + UseQueryOptions, + 'queryKey' + > & { + queryKey?: UseQueryOptions< + GetListDetailsSimplifiedQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useQuery({ + queryKey: + variables === undefined + ? ['GetListDetailsSimplified'] + : ['GetListDetailsSimplified', variables], + queryFn: fetcher< + GetListDetailsSimplifiedQuery, + GetListDetailsSimplifiedQueryVariables + >(GetListDetailsSimplifiedDocument, variables), + ...options, + }) +} + +useGetListDetailsSimplifiedQuery.document = GetListDetailsSimplifiedDocument + +useGetListDetailsSimplifiedQuery.getKey = ( + variables?: GetListDetailsSimplifiedQueryVariables, +) => + variables === undefined + ? ['GetListDetailsSimplified'] + : ['GetListDetailsSimplified', variables] + +export const useInfiniteGetListDetailsSimplifiedQuery = < + TData = InfiniteData, + TError = unknown, +>( + variables: GetListDetailsSimplifiedQueryVariables, + options: Omit< + UseInfiniteQueryOptions, + 'queryKey' + > & { + queryKey?: UseInfiniteQueryOptions< + GetListDetailsSimplifiedQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options + return { + queryKey: + optionsQueryKey ?? variables === undefined + ? ['GetListDetailsSimplified.infinite'] + : ['GetListDetailsSimplified.infinite', variables], + queryFn: (metaData) => + fetcher< + GetListDetailsSimplifiedQuery, + GetListDetailsSimplifiedQueryVariables + >(GetListDetailsSimplifiedDocument, { + ...variables, + ...(metaData.pageParam ?? {}), + })(), + ...restOptions, + } + })(), + ) +} + +useInfiniteGetListDetailsSimplifiedQuery.getKey = ( + variables?: GetListDetailsSimplifiedQueryVariables, +) => + variables === undefined + ? ['GetListDetailsSimplified.infinite'] + : ['GetListDetailsSimplified.infinite', variables] + +useGetListDetailsSimplifiedQuery.fetcher = ( + variables?: GetListDetailsSimplifiedQueryVariables, + options?: RequestInit['headers'], +) => + fetcher< + GetListDetailsSimplifiedQuery, + GetListDetailsSimplifiedQueryVariables + >(GetListDetailsSimplifiedDocument, variables, options) + +export const GetFeeTransfersDocument = ` + query GetFeeTransfers($address: String!, $cutoff_timestamp: timestamptz) { + before_cutoff: fee_transfers_aggregate( + where: {created_at: {_lte: $cutoff_timestamp}, sender_id: {_ilike: $address}} + ) { + aggregate { + sum { + amount + } + } + } + after_cutoff: fee_transfers_aggregate( + where: {created_at: {_gt: $cutoff_timestamp}, sender_id: {_ilike: $address}} + ) { + aggregate { + sum { + amount + } + } + } +} + ` + +export const useGetFeeTransfersQuery = < + TData = GetFeeTransfersQuery, + TError = unknown, +>( + variables: GetFeeTransfersQueryVariables, + options?: Omit< + UseQueryOptions, + 'queryKey' + > & { + queryKey?: UseQueryOptions['queryKey'] + }, +) => { + return useQuery({ + queryKey: ['GetFeeTransfers', variables], + queryFn: fetcher( + GetFeeTransfersDocument, + variables, + ), + ...options, + }) +} + +useGetFeeTransfersQuery.document = GetFeeTransfersDocument + +useGetFeeTransfersQuery.getKey = (variables: GetFeeTransfersQueryVariables) => [ + 'GetFeeTransfers', + variables, +] + +export const useInfiniteGetFeeTransfersQuery = < + TData = InfiniteData, + TError = unknown, +>( + variables: GetFeeTransfersQueryVariables, + options: Omit< + UseInfiniteQueryOptions, + 'queryKey' + > & { + queryKey?: UseInfiniteQueryOptions< + GetFeeTransfersQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options + return { + queryKey: optionsQueryKey ?? ['GetFeeTransfers.infinite', variables], + queryFn: (metaData) => + fetcher( + GetFeeTransfersDocument, + { ...variables, ...(metaData.pageParam ?? {}) }, + )(), + ...restOptions, + } + })(), + ) +} + +useInfiniteGetFeeTransfersQuery.getKey = ( + variables: GetFeeTransfersQueryVariables, +) => ['GetFeeTransfers.infinite', variables] + +useGetFeeTransfersQuery.fetcher = ( + variables: GetFeeTransfersQueryVariables, + options?: RequestInit['headers'], +) => + fetcher( + GetFeeTransfersDocument, + variables, + options, + ) + +export const GetPositionsDocument = ` + query GetPositions($limit: Int, $offset: Int, $orderBy: [positions_order_by!], $where: positions_bool_exp) { + total: positions_aggregate(where: $where) { + aggregate { + count + sum { + shares + } + } + } + positions(limit: $limit, offset: $offset, order_by: $orderBy, where: $where) { + ...PositionDetails + } +} + ${PositionDetailsFragmentDoc} +${AtomValueFragmentDoc} +${AccountMetadataFragmentDoc}` + +export const useGetPositionsQuery = < + TData = GetPositionsQuery, + TError = unknown, +>( + variables?: GetPositionsQueryVariables, + options?: Omit< + UseQueryOptions, + 'queryKey' + > & { + queryKey?: UseQueryOptions['queryKey'] + }, +) => { + return useQuery({ + queryKey: + variables === undefined ? ['GetPositions'] : ['GetPositions', variables], + queryFn: fetcher( + GetPositionsDocument, + variables, + ), + ...options, + }) +} + +useGetPositionsQuery.document = GetPositionsDocument + +useGetPositionsQuery.getKey = (variables?: GetPositionsQueryVariables) => + variables === undefined ? ['GetPositions'] : ['GetPositions', variables] + +export const useInfiniteGetPositionsQuery = < + TData = InfiniteData, + TError = unknown, +>( + variables: GetPositionsQueryVariables, + options: Omit< + UseInfiniteQueryOptions, + 'queryKey' + > & { + queryKey?: UseInfiniteQueryOptions< + GetPositionsQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options + return { + queryKey: + optionsQueryKey ?? variables === undefined + ? ['GetPositions.infinite'] + : ['GetPositions.infinite', variables], + queryFn: (metaData) => + fetcher( + GetPositionsDocument, + { ...variables, ...(metaData.pageParam ?? {}) }, + )(), + ...restOptions, + } + })(), + ) +} + +useInfiniteGetPositionsQuery.getKey = ( + variables?: GetPositionsQueryVariables, +) => + variables === undefined + ? ['GetPositions.infinite'] + : ['GetPositions.infinite', variables] + +useGetPositionsQuery.fetcher = ( + variables?: GetPositionsQueryVariables, + options?: RequestInit['headers'], +) => + fetcher( + GetPositionsDocument, + variables, + options, + ) + +export const GetTriplePositionsByAddressDocument = ` + query GetTriplePositionsByAddress($limit: Int, $offset: Int, $orderBy: [positions_order_by!], $where: positions_bool_exp, $address: String!) { + total: positions_aggregate(where: $where) { + aggregate { + count + sum { + shares + } + } + } + positions(limit: $limit, offset: $offset, order_by: $orderBy, where: $where) { + ...PositionDetails + vault { + term_id + term { + triple { + term { + positions(where: {account_id: {_ilike: $address}}) { + account { + id + label + image + } + shares + } + } + counter_term { + positions(where: {account_id: {_ilike: $address}}) { + account { + id + label + image + } + shares + } + } + } + } + } + } +} + ${PositionDetailsFragmentDoc} +${AtomValueFragmentDoc} +${AccountMetadataFragmentDoc}` + +export const useGetTriplePositionsByAddressQuery = < + TData = GetTriplePositionsByAddressQuery, + TError = unknown, +>( + variables: GetTriplePositionsByAddressQueryVariables, + options?: Omit< + UseQueryOptions, + 'queryKey' + > & { + queryKey?: UseQueryOptions< + GetTriplePositionsByAddressQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useQuery({ + queryKey: ['GetTriplePositionsByAddress', variables], + queryFn: fetcher< + GetTriplePositionsByAddressQuery, + GetTriplePositionsByAddressQueryVariables + >(GetTriplePositionsByAddressDocument, variables), + ...options, + }) +} + +useGetTriplePositionsByAddressQuery.document = + GetTriplePositionsByAddressDocument + +useGetTriplePositionsByAddressQuery.getKey = ( + variables: GetTriplePositionsByAddressQueryVariables, +) => ['GetTriplePositionsByAddress', variables] + +export const useInfiniteGetTriplePositionsByAddressQuery = < + TData = InfiniteData, + TError = unknown, +>( + variables: GetTriplePositionsByAddressQueryVariables, + options: Omit< + UseInfiniteQueryOptions, + 'queryKey' + > & { + queryKey?: UseInfiniteQueryOptions< + GetTriplePositionsByAddressQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options + return { + queryKey: optionsQueryKey ?? [ + 'GetTriplePositionsByAddress.infinite', + variables, + ], + queryFn: (metaData) => + fetcher< + GetTriplePositionsByAddressQuery, + GetTriplePositionsByAddressQueryVariables + >(GetTriplePositionsByAddressDocument, { + ...variables, + ...(metaData.pageParam ?? {}), + })(), + ...restOptions, + } + })(), + ) +} + +useInfiniteGetTriplePositionsByAddressQuery.getKey = ( + variables: GetTriplePositionsByAddressQueryVariables, +) => ['GetTriplePositionsByAddress.infinite', variables] + +useGetTriplePositionsByAddressQuery.fetcher = ( + variables: GetTriplePositionsByAddressQueryVariables, + options?: RequestInit['headers'], +) => + fetcher< + GetTriplePositionsByAddressQuery, + GetTriplePositionsByAddressQueryVariables + >(GetTriplePositionsByAddressDocument, variables, options) + +export const GetPositionsWithAggregatesDocument = ` + query GetPositionsWithAggregates($limit: Int, $offset: Int, $orderBy: [positions_order_by!], $where: positions_bool_exp) { + positions_aggregate( + limit: $limit + offset: $offset + order_by: $orderBy + where: $where + ) { + aggregate { + count + } + nodes { + ...PositionDetails + } + } +} + ${PositionDetailsFragmentDoc} +${AtomValueFragmentDoc} +${AccountMetadataFragmentDoc}` + +export const useGetPositionsWithAggregatesQuery = < + TData = GetPositionsWithAggregatesQuery, + TError = unknown, +>( + variables?: GetPositionsWithAggregatesQueryVariables, + options?: Omit< + UseQueryOptions, + 'queryKey' + > & { + queryKey?: UseQueryOptions< + GetPositionsWithAggregatesQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useQuery({ + queryKey: + variables === undefined + ? ['GetPositionsWithAggregates'] + : ['GetPositionsWithAggregates', variables], + queryFn: fetcher< + GetPositionsWithAggregatesQuery, + GetPositionsWithAggregatesQueryVariables + >(GetPositionsWithAggregatesDocument, variables), + ...options, + }) +} + +useGetPositionsWithAggregatesQuery.document = GetPositionsWithAggregatesDocument + +useGetPositionsWithAggregatesQuery.getKey = ( + variables?: GetPositionsWithAggregatesQueryVariables, +) => + variables === undefined + ? ['GetPositionsWithAggregates'] + : ['GetPositionsWithAggregates', variables] + +export const useInfiniteGetPositionsWithAggregatesQuery = < + TData = InfiniteData, + TError = unknown, +>( + variables: GetPositionsWithAggregatesQueryVariables, + options: Omit< + UseInfiniteQueryOptions, + 'queryKey' + > & { + queryKey?: UseInfiniteQueryOptions< + GetPositionsWithAggregatesQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options + return { + queryKey: + optionsQueryKey ?? variables === undefined + ? ['GetPositionsWithAggregates.infinite'] + : ['GetPositionsWithAggregates.infinite', variables], + queryFn: (metaData) => + fetcher< + GetPositionsWithAggregatesQuery, + GetPositionsWithAggregatesQueryVariables + >(GetPositionsWithAggregatesDocument, { + ...variables, + ...(metaData.pageParam ?? {}), + })(), + ...restOptions, + } + })(), + ) +} + +useInfiniteGetPositionsWithAggregatesQuery.getKey = ( + variables?: GetPositionsWithAggregatesQueryVariables, +) => + variables === undefined + ? ['GetPositionsWithAggregates.infinite'] + : ['GetPositionsWithAggregates.infinite', variables] + +useGetPositionsWithAggregatesQuery.fetcher = ( + variables?: GetPositionsWithAggregatesQueryVariables, + options?: RequestInit['headers'], +) => + fetcher< + GetPositionsWithAggregatesQuery, + GetPositionsWithAggregatesQueryVariables + >(GetPositionsWithAggregatesDocument, variables, options) + +export const GetPositionsCountDocument = ` + query GetPositionsCount($where: positions_bool_exp) { + positions_aggregate(where: $where) { + total: aggregate { + count + sum { + shares + } + } + } +} + ` + +export const useGetPositionsCountQuery = < + TData = GetPositionsCountQuery, + TError = unknown, +>( + variables?: GetPositionsCountQueryVariables, + options?: Omit< + UseQueryOptions, + 'queryKey' + > & { + queryKey?: UseQueryOptions< + GetPositionsCountQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useQuery({ + queryKey: + variables === undefined + ? ['GetPositionsCount'] + : ['GetPositionsCount', variables], + queryFn: fetcher( + GetPositionsCountDocument, + variables, + ), + ...options, + }) +} + +useGetPositionsCountQuery.document = GetPositionsCountDocument + +useGetPositionsCountQuery.getKey = ( + variables?: GetPositionsCountQueryVariables, +) => + variables === undefined + ? ['GetPositionsCount'] + : ['GetPositionsCount', variables] + +export const useInfiniteGetPositionsCountQuery = < + TData = InfiniteData, + TError = unknown, +>( + variables: GetPositionsCountQueryVariables, + options: Omit< + UseInfiniteQueryOptions, + 'queryKey' + > & { + queryKey?: UseInfiniteQueryOptions< + GetPositionsCountQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options + return { + queryKey: + optionsQueryKey ?? variables === undefined + ? ['GetPositionsCount.infinite'] + : ['GetPositionsCount.infinite', variables], + queryFn: (metaData) => + fetcher( + GetPositionsCountDocument, + { ...variables, ...(metaData.pageParam ?? {}) }, + )(), + ...restOptions, + } + })(), + ) +} + +useInfiniteGetPositionsCountQuery.getKey = ( + variables?: GetPositionsCountQueryVariables, +) => + variables === undefined + ? ['GetPositionsCount.infinite'] + : ['GetPositionsCount.infinite', variables] + +useGetPositionsCountQuery.fetcher = ( + variables?: GetPositionsCountQueryVariables, + options?: RequestInit['headers'], +) => + fetcher( + GetPositionsCountDocument, + variables, + options, + ) + +export const GetPositionDocument = ` + query GetPosition($positionId: String!) { + position(id: $positionId) { + ...PositionDetails + } +} + ${PositionDetailsFragmentDoc} +${AtomValueFragmentDoc} +${AccountMetadataFragmentDoc}` + +export const useGetPositionQuery = ( + variables: GetPositionQueryVariables, + options?: Omit< + UseQueryOptions, + 'queryKey' + > & { + queryKey?: UseQueryOptions['queryKey'] + }, +) => { + return useQuery({ + queryKey: ['GetPosition', variables], + queryFn: fetcher( + GetPositionDocument, + variables, + ), + ...options, + }) +} + +useGetPositionQuery.document = GetPositionDocument + +useGetPositionQuery.getKey = (variables: GetPositionQueryVariables) => [ + 'GetPosition', + variables, +] + +export const useInfiniteGetPositionQuery = < + TData = InfiniteData, + TError = unknown, +>( + variables: GetPositionQueryVariables, + options: Omit< + UseInfiniteQueryOptions, + 'queryKey' + > & { + queryKey?: UseInfiniteQueryOptions< + GetPositionQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options + return { + queryKey: optionsQueryKey ?? ['GetPosition.infinite', variables], + queryFn: (metaData) => + fetcher( + GetPositionDocument, + { ...variables, ...(metaData.pageParam ?? {}) }, + )(), + ...restOptions, + } + })(), + ) +} + +useInfiniteGetPositionQuery.getKey = (variables: GetPositionQueryVariables) => [ + 'GetPosition.infinite', + variables, +] + +useGetPositionQuery.fetcher = ( + variables: GetPositionQueryVariables, + options?: RequestInit['headers'], +) => + fetcher( + GetPositionDocument, + variables, + options, + ) + +export const GetPositionsCountByTypeDocument = ` + query GetPositionsCountByType($where: positions_bool_exp) { + positions_aggregate(where: $where) { + total: aggregate { + count + sum { + shares + } + } + } + positions { + vault { + term_id + } + } +} + ` + +export const useGetPositionsCountByTypeQuery = < + TData = GetPositionsCountByTypeQuery, + TError = unknown, +>( + variables?: GetPositionsCountByTypeQueryVariables, + options?: Omit< + UseQueryOptions, + 'queryKey' + > & { + queryKey?: UseQueryOptions< + GetPositionsCountByTypeQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useQuery({ + queryKey: + variables === undefined + ? ['GetPositionsCountByType'] + : ['GetPositionsCountByType', variables], + queryFn: fetcher< + GetPositionsCountByTypeQuery, + GetPositionsCountByTypeQueryVariables + >(GetPositionsCountByTypeDocument, variables), + ...options, + }) +} + +useGetPositionsCountByTypeQuery.document = GetPositionsCountByTypeDocument + +useGetPositionsCountByTypeQuery.getKey = ( + variables?: GetPositionsCountByTypeQueryVariables, +) => + variables === undefined + ? ['GetPositionsCountByType'] + : ['GetPositionsCountByType', variables] + +export const useInfiniteGetPositionsCountByTypeQuery = < + TData = InfiniteData, + TError = unknown, +>( + variables: GetPositionsCountByTypeQueryVariables, + options: Omit< + UseInfiniteQueryOptions, + 'queryKey' + > & { + queryKey?: UseInfiniteQueryOptions< + GetPositionsCountByTypeQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options + return { + queryKey: + optionsQueryKey ?? variables === undefined + ? ['GetPositionsCountByType.infinite'] + : ['GetPositionsCountByType.infinite', variables], + queryFn: (metaData) => + fetcher< + GetPositionsCountByTypeQuery, + GetPositionsCountByTypeQueryVariables + >(GetPositionsCountByTypeDocument, { + ...variables, + ...(metaData.pageParam ?? {}), + })(), + ...restOptions, + } + })(), + ) +} + +useInfiniteGetPositionsCountByTypeQuery.getKey = ( + variables?: GetPositionsCountByTypeQueryVariables, +) => + variables === undefined + ? ['GetPositionsCountByType.infinite'] + : ['GetPositionsCountByType.infinite', variables] + +useGetPositionsCountByTypeQuery.fetcher = ( + variables?: GetPositionsCountByTypeQueryVariables, + options?: RequestInit['headers'], +) => + fetcher( + GetPositionsCountByTypeDocument, + variables, + options, + ) + +export const SearchPositionsDocument = ` + query SearchPositions($addresses: _text, $search_fields: jsonb) { + positions: search_positions_on_subject( + args: {addresses: $addresses, search_fields: $search_fields} + ) { + term { + triple { + subject { + data + } + predicate { + data + } + object { + data + } + } + } + } +} + ` + +export const useSearchPositionsQuery = < + TData = SearchPositionsQuery, + TError = unknown, +>( + variables?: SearchPositionsQueryVariables, + options?: Omit< + UseQueryOptions, + 'queryKey' + > & { + queryKey?: UseQueryOptions['queryKey'] + }, +) => { + return useQuery({ + queryKey: + variables === undefined + ? ['SearchPositions'] + : ['SearchPositions', variables], + queryFn: fetcher( + SearchPositionsDocument, + variables, + ), + ...options, + }) +} + +useSearchPositionsQuery.document = SearchPositionsDocument + +useSearchPositionsQuery.getKey = (variables?: SearchPositionsQueryVariables) => + variables === undefined ? ['SearchPositions'] : ['SearchPositions', variables] + +export const useInfiniteSearchPositionsQuery = < + TData = InfiniteData, + TError = unknown, +>( + variables: SearchPositionsQueryVariables, + options: Omit< + UseInfiniteQueryOptions, + 'queryKey' + > & { + queryKey?: UseInfiniteQueryOptions< + SearchPositionsQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options + return { + queryKey: + optionsQueryKey ?? variables === undefined + ? ['SearchPositions.infinite'] + : ['SearchPositions.infinite', variables], + queryFn: (metaData) => + fetcher( + SearchPositionsDocument, + { ...variables, ...(metaData.pageParam ?? {}) }, + )(), + ...restOptions, + } + })(), + ) +} + +useInfiniteSearchPositionsQuery.getKey = ( + variables?: SearchPositionsQueryVariables, +) => + variables === undefined + ? ['SearchPositions.infinite'] + : ['SearchPositions.infinite', variables] + +useSearchPositionsQuery.fetcher = ( + variables?: SearchPositionsQueryVariables, + options?: RequestInit['headers'], +) => + fetcher( + SearchPositionsDocument, + variables, + options, + ) + +export const GetSignalsDocument = ` + query GetSignals($limit: Int, $offset: Int, $orderBy: [signals_order_by!], $addresses: [String!]) { + total: events_aggregate { + aggregate { + count + } + } + signals(limit: $limit, offset: $offset, order_by: $orderBy) { + id + block_number + created_at + transaction_hash + atom_id + triple_id + deposit_id + redemption_id + term { + atom { + ...AtomMetadata + term { + vaults { + total_shares + position_count + positions(where: {account: {id: {_in: $addresses}}}) { + account_id + shares + account { + id + label + image + } + } + } + } + } + triple { + term_id + creator { + ...AccountMetadata + } + subject { + data + term_id + image + label + emoji + type + ...AtomValue + creator { + ...AccountMetadata + } + } + predicate { + data + term_id + image + label + emoji + type + ...AtomValue + creator { + ...AccountMetadata + } + } + object { + data + term_id + image + label + emoji + type + ...AtomValue + creator { + ...AccountMetadata + } + } + term { + vaults { + total_shares + position_count + positions(where: {account: {id: {_in: $addresses}}}) { + account_id + shares + account { + id + label + image + } + } + } + } + counter_term { + vaults { + total_shares + position_count + positions(where: {account: {id: {_in: $addresses}}}) { + account_id + shares + account { + id + label + image + } + } + } + } + } + } + deposit { + sender_id + sender { + id + label + image + } + receiver_id + receiver { + id + label + image + } + shares_for_receiver + sender_assets_after_total_fees + vault { + total_shares + position_count + positions(where: {account: {id: {_in: $addresses}}}) { + account_id + shares + account { + id + label + image + } + } + } + } + redemption { + sender_id + sender { + id + label + image + } + receiver_id + receiver { + id + label + image + } + assets_for_receiver + shares_redeemed_by_sender + } + } +} + ${AtomMetadataFragmentDoc} +${AtomValueFragmentDoc} +${AccountMetadataFragmentDoc}` + +export const useGetSignalsQuery = ( + variables?: GetSignalsQueryVariables, + options?: Omit< + UseQueryOptions, + 'queryKey' + > & { + queryKey?: UseQueryOptions['queryKey'] + }, +) => { + return useQuery({ + queryKey: + variables === undefined ? ['GetSignals'] : ['GetSignals', variables], + queryFn: fetcher( + GetSignalsDocument, + variables, + ), + ...options, + }) +} + +useGetSignalsQuery.document = GetSignalsDocument + +useGetSignalsQuery.getKey = (variables?: GetSignalsQueryVariables) => + variables === undefined ? ['GetSignals'] : ['GetSignals', variables] + +export const useInfiniteGetSignalsQuery = < + TData = InfiniteData, + TError = unknown, +>( + variables: GetSignalsQueryVariables, + options: Omit< + UseInfiniteQueryOptions, + 'queryKey' + > & { + queryKey?: UseInfiniteQueryOptions< + GetSignalsQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options + return { + queryKey: + optionsQueryKey ?? variables === undefined + ? ['GetSignals.infinite'] + : ['GetSignals.infinite', variables], + queryFn: (metaData) => + fetcher( + GetSignalsDocument, + { ...variables, ...(metaData.pageParam ?? {}) }, + )(), + ...restOptions, + } + })(), + ) +} + +useInfiniteGetSignalsQuery.getKey = (variables?: GetSignalsQueryVariables) => + variables === undefined + ? ['GetSignals.infinite'] + : ['GetSignals.infinite', variables] + +useGetSignalsQuery.fetcher = ( + variables?: GetSignalsQueryVariables, + options?: RequestInit['headers'], +) => + fetcher( + GetSignalsDocument, + variables, + options, + ) + +export const GetStatsDocument = ` + query GetStats { + stats { + ...StatDetails + } +} + ${StatDetailsFragmentDoc}` + +export const useGetStatsQuery = ( + variables?: GetStatsQueryVariables, + options?: Omit, 'queryKey'> & { + queryKey?: UseQueryOptions['queryKey'] + }, +) => { + return useQuery({ + queryKey: variables === undefined ? ['GetStats'] : ['GetStats', variables], + queryFn: fetcher( + GetStatsDocument, + variables, + ), + ...options, + }) +} + +useGetStatsQuery.document = GetStatsDocument + +useGetStatsQuery.getKey = (variables?: GetStatsQueryVariables) => + variables === undefined ? ['GetStats'] : ['GetStats', variables] + +export const useInfiniteGetStatsQuery = < + TData = InfiniteData, + TError = unknown, +>( + variables: GetStatsQueryVariables, + options: Omit< + UseInfiniteQueryOptions, + 'queryKey' + > & { + queryKey?: UseInfiniteQueryOptions['queryKey'] + }, +) => { + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options + return { + queryKey: + optionsQueryKey ?? variables === undefined + ? ['GetStats.infinite'] + : ['GetStats.infinite', variables], + queryFn: (metaData) => + fetcher(GetStatsDocument, { + ...variables, + ...(metaData.pageParam ?? {}), + })(), + ...restOptions, + } + })(), + ) +} + +useInfiniteGetStatsQuery.getKey = (variables?: GetStatsQueryVariables) => + variables === undefined + ? ['GetStats.infinite'] + : ['GetStats.infinite', variables] + +useGetStatsQuery.fetcher = ( + variables?: GetStatsQueryVariables, + options?: RequestInit['headers'], +) => + fetcher( + GetStatsDocument, + variables, + options, + ) + +export const GetTagsDocument = ` + query GetTags($subjectId: numeric!, $predicateId: numeric!) { + triples( + where: {_and: [{subject_id: {_eq: $subjectId}}, {predicate_id: {_eq: $predicateId}}]} + ) { + ...TripleMetadata + } +} + ${TripleMetadataFragmentDoc} +${AtomValueFragmentDoc} +${AccountMetadataFragmentDoc} +${PositionAggregateFieldsFragmentDoc} +${PositionFieldsFragmentDoc}` + +export const useGetTagsQuery = ( + variables: GetTagsQueryVariables, + options?: Omit, 'queryKey'> & { + queryKey?: UseQueryOptions['queryKey'] + }, +) => { + return useQuery({ + queryKey: ['GetTags', variables], + queryFn: fetcher( + GetTagsDocument, + variables, + ), + ...options, + }) +} + +useGetTagsQuery.document = GetTagsDocument + +useGetTagsQuery.getKey = (variables: GetTagsQueryVariables) => [ + 'GetTags', + variables, +] + +export const useInfiniteGetTagsQuery = < + TData = InfiniteData, + TError = unknown, +>( + variables: GetTagsQueryVariables, + options: Omit< + UseInfiniteQueryOptions, + 'queryKey' + > & { + queryKey?: UseInfiniteQueryOptions['queryKey'] + }, +) => { + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options + return { + queryKey: optionsQueryKey ?? ['GetTags.infinite', variables], + queryFn: (metaData) => + fetcher(GetTagsDocument, { + ...variables, + ...(metaData.pageParam ?? {}), + })(), + ...restOptions, + } + })(), + ) +} + +useInfiniteGetTagsQuery.getKey = (variables: GetTagsQueryVariables) => [ + 'GetTags.infinite', + variables, +] + +useGetTagsQuery.fetcher = ( + variables: GetTagsQueryVariables, + options?: RequestInit['headers'], +) => + fetcher( + GetTagsDocument, + variables, + options, + ) + +export const GetTagsCustomDocument = ` + query GetTagsCustom($where: triples_bool_exp) { + triples(where: $where) { + ...TripleMetadata + } +} + ${TripleMetadataFragmentDoc} +${AtomValueFragmentDoc} +${AccountMetadataFragmentDoc} +${PositionAggregateFieldsFragmentDoc} +${PositionFieldsFragmentDoc}` + +export const useGetTagsCustomQuery = < + TData = GetTagsCustomQuery, + TError = unknown, +>( + variables?: GetTagsCustomQueryVariables, + options?: Omit< + UseQueryOptions, + 'queryKey' + > & { + queryKey?: UseQueryOptions['queryKey'] + }, +) => { + return useQuery({ + queryKey: + variables === undefined + ? ['GetTagsCustom'] + : ['GetTagsCustom', variables], + queryFn: fetcher( + GetTagsCustomDocument, + variables, + ), + ...options, + }) +} + +useGetTagsCustomQuery.document = GetTagsCustomDocument + +useGetTagsCustomQuery.getKey = (variables?: GetTagsCustomQueryVariables) => + variables === undefined ? ['GetTagsCustom'] : ['GetTagsCustom', variables] + +export const useInfiniteGetTagsCustomQuery = < + TData = InfiniteData, + TError = unknown, +>( + variables: GetTagsCustomQueryVariables, + options: Omit< + UseInfiniteQueryOptions, + 'queryKey' + > & { + queryKey?: UseInfiniteQueryOptions< + GetTagsCustomQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options + return { + queryKey: + optionsQueryKey ?? variables === undefined + ? ['GetTagsCustom.infinite'] + : ['GetTagsCustom.infinite', variables], + queryFn: (metaData) => + fetcher( + GetTagsCustomDocument, + { ...variables, ...(metaData.pageParam ?? {}) }, + )(), + ...restOptions, + } + })(), + ) +} + +useInfiniteGetTagsCustomQuery.getKey = ( + variables?: GetTagsCustomQueryVariables, +) => + variables === undefined + ? ['GetTagsCustom.infinite'] + : ['GetTagsCustom.infinite', variables] + +useGetTagsCustomQuery.fetcher = ( + variables?: GetTagsCustomQueryVariables, + options?: RequestInit['headers'], +) => + fetcher( + GetTagsCustomDocument, + variables, + options, + ) + +export const GetTriplesDocument = ` + query GetTriples($limit: Int, $offset: Int, $orderBy: [triples_order_by!], $where: triples_bool_exp) { + total: triples_aggregate(where: $where) { + aggregate { + count + } + } + triples(limit: $limit, offset: $offset, order_by: $orderBy, where: $where) { + ...TripleMetadata + ...TripleTxn + ...TripleVaultDetails + creator { + ...AccountMetadata + } + } +} + ${TripleMetadataFragmentDoc} +${AtomValueFragmentDoc} +${AccountMetadataFragmentDoc} +${PositionAggregateFieldsFragmentDoc} +${PositionFieldsFragmentDoc} +${TripleTxnFragmentDoc} +${TripleVaultDetailsFragmentDoc} +${PositionDetailsFragmentDoc}` + +export const useGetTriplesQuery = ( + variables?: GetTriplesQueryVariables, + options?: Omit< + UseQueryOptions, + 'queryKey' + > & { + queryKey?: UseQueryOptions['queryKey'] + }, +) => { + return useQuery({ + queryKey: + variables === undefined ? ['GetTriples'] : ['GetTriples', variables], + queryFn: fetcher( + GetTriplesDocument, + variables, + ), + ...options, + }) +} + +useGetTriplesQuery.document = GetTriplesDocument + +useGetTriplesQuery.getKey = (variables?: GetTriplesQueryVariables) => + variables === undefined ? ['GetTriples'] : ['GetTriples', variables] + +export const useInfiniteGetTriplesQuery = < + TData = InfiniteData, + TError = unknown, +>( + variables: GetTriplesQueryVariables, + options: Omit< + UseInfiniteQueryOptions, + 'queryKey' + > & { + queryKey?: UseInfiniteQueryOptions< + GetTriplesQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options + return { + queryKey: + optionsQueryKey ?? variables === undefined + ? ['GetTriples.infinite'] + : ['GetTriples.infinite', variables], + queryFn: (metaData) => + fetcher( + GetTriplesDocument, + { ...variables, ...(metaData.pageParam ?? {}) }, + )(), + ...restOptions, + } + })(), + ) +} + +useInfiniteGetTriplesQuery.getKey = (variables?: GetTriplesQueryVariables) => + variables === undefined + ? ['GetTriples.infinite'] + : ['GetTriples.infinite', variables] + +useGetTriplesQuery.fetcher = ( + variables?: GetTriplesQueryVariables, + options?: RequestInit['headers'], +) => + fetcher( + GetTriplesDocument, + variables, + options, + ) + +export const GetTriplesWithAggregatesDocument = ` + query GetTriplesWithAggregates($limit: Int, $offset: Int, $orderBy: [triples_order_by!], $where: triples_bool_exp) { + triples_aggregate( + limit: $limit + offset: $offset + order_by: $orderBy + where: $where + ) { + aggregate { + count + } + nodes { + ...TripleMetadata + ...TripleTxn + ...TripleVaultDetails + creator { + ...AccountMetadata + } + } + } +} + ${TripleMetadataFragmentDoc} +${AtomValueFragmentDoc} +${AccountMetadataFragmentDoc} +${PositionAggregateFieldsFragmentDoc} +${PositionFieldsFragmentDoc} +${TripleTxnFragmentDoc} +${TripleVaultDetailsFragmentDoc} +${PositionDetailsFragmentDoc}` + +export const useGetTriplesWithAggregatesQuery = < + TData = GetTriplesWithAggregatesQuery, + TError = unknown, +>( + variables?: GetTriplesWithAggregatesQueryVariables, + options?: Omit< + UseQueryOptions, + 'queryKey' + > & { + queryKey?: UseQueryOptions< + GetTriplesWithAggregatesQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useQuery({ + queryKey: + variables === undefined + ? ['GetTriplesWithAggregates'] + : ['GetTriplesWithAggregates', variables], + queryFn: fetcher< + GetTriplesWithAggregatesQuery, + GetTriplesWithAggregatesQueryVariables + >(GetTriplesWithAggregatesDocument, variables), + ...options, + }) +} + +useGetTriplesWithAggregatesQuery.document = GetTriplesWithAggregatesDocument + +useGetTriplesWithAggregatesQuery.getKey = ( + variables?: GetTriplesWithAggregatesQueryVariables, +) => + variables === undefined + ? ['GetTriplesWithAggregates'] + : ['GetTriplesWithAggregates', variables] + +export const useInfiniteGetTriplesWithAggregatesQuery = < + TData = InfiniteData, + TError = unknown, +>( + variables: GetTriplesWithAggregatesQueryVariables, + options: Omit< + UseInfiniteQueryOptions, + 'queryKey' + > & { + queryKey?: UseInfiniteQueryOptions< + GetTriplesWithAggregatesQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options + return { + queryKey: + optionsQueryKey ?? variables === undefined + ? ['GetTriplesWithAggregates.infinite'] + : ['GetTriplesWithAggregates.infinite', variables], + queryFn: (metaData) => + fetcher< + GetTriplesWithAggregatesQuery, + GetTriplesWithAggregatesQueryVariables + >(GetTriplesWithAggregatesDocument, { + ...variables, + ...(metaData.pageParam ?? {}), + })(), + ...restOptions, + } + })(), + ) +} + +useInfiniteGetTriplesWithAggregatesQuery.getKey = ( + variables?: GetTriplesWithAggregatesQueryVariables, +) => + variables === undefined + ? ['GetTriplesWithAggregates.infinite'] + : ['GetTriplesWithAggregates.infinite', variables] + +useGetTriplesWithAggregatesQuery.fetcher = ( + variables?: GetTriplesWithAggregatesQueryVariables, + options?: RequestInit['headers'], +) => + fetcher< + GetTriplesWithAggregatesQuery, + GetTriplesWithAggregatesQueryVariables + >(GetTriplesWithAggregatesDocument, variables, options) + +export const GetTriplesCountDocument = ` + query GetTriplesCount($where: triples_bool_exp) { + triples_aggregate(where: $where) { + total: aggregate { + count + } + } +} + ` + +export const useGetTriplesCountQuery = < + TData = GetTriplesCountQuery, + TError = unknown, +>( + variables?: GetTriplesCountQueryVariables, + options?: Omit< + UseQueryOptions, + 'queryKey' + > & { + queryKey?: UseQueryOptions['queryKey'] + }, +) => { + return useQuery({ + queryKey: + variables === undefined + ? ['GetTriplesCount'] + : ['GetTriplesCount', variables], + queryFn: fetcher( + GetTriplesCountDocument, + variables, + ), + ...options, + }) +} + +useGetTriplesCountQuery.document = GetTriplesCountDocument + +useGetTriplesCountQuery.getKey = (variables?: GetTriplesCountQueryVariables) => + variables === undefined ? ['GetTriplesCount'] : ['GetTriplesCount', variables] + +export const useInfiniteGetTriplesCountQuery = < + TData = InfiniteData, + TError = unknown, +>( + variables: GetTriplesCountQueryVariables, + options: Omit< + UseInfiniteQueryOptions, + 'queryKey' + > & { + queryKey?: UseInfiniteQueryOptions< + GetTriplesCountQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options + return { + queryKey: + optionsQueryKey ?? variables === undefined + ? ['GetTriplesCount.infinite'] + : ['GetTriplesCount.infinite', variables], + queryFn: (metaData) => + fetcher( + GetTriplesCountDocument, + { ...variables, ...(metaData.pageParam ?? {}) }, + )(), + ...restOptions, + } + })(), + ) +} + +useInfiniteGetTriplesCountQuery.getKey = ( + variables?: GetTriplesCountQueryVariables, +) => + variables === undefined + ? ['GetTriplesCount.infinite'] + : ['GetTriplesCount.infinite', variables] + +useGetTriplesCountQuery.fetcher = ( + variables?: GetTriplesCountQueryVariables, + options?: RequestInit['headers'], +) => + fetcher( + GetTriplesCountDocument, + variables, + options, + ) + +export const GetTripleDocument = ` + query GetTriple($tripleId: numeric!) { + triple(term_id: $tripleId) { + ...TripleMetadata + ...TripleTxn + ...TripleVaultDetails + creator { + ...AccountMetadata + } + } +} + ${TripleMetadataFragmentDoc} +${AtomValueFragmentDoc} +${AccountMetadataFragmentDoc} +${PositionAggregateFieldsFragmentDoc} +${PositionFieldsFragmentDoc} +${TripleTxnFragmentDoc} +${TripleVaultDetailsFragmentDoc} +${PositionDetailsFragmentDoc}` + +export const useGetTripleQuery = ( + variables: GetTripleQueryVariables, + options?: Omit, 'queryKey'> & { + queryKey?: UseQueryOptions['queryKey'] + }, +) => { + return useQuery({ + queryKey: ['GetTriple', variables], + queryFn: fetcher( + GetTripleDocument, + variables, + ), + ...options, + }) +} + +useGetTripleQuery.document = GetTripleDocument + +useGetTripleQuery.getKey = (variables: GetTripleQueryVariables) => [ + 'GetTriple', + variables, +] + +export const useInfiniteGetTripleQuery = < + TData = InfiniteData, + TError = unknown, +>( + variables: GetTripleQueryVariables, + options: Omit< + UseInfiniteQueryOptions, + 'queryKey' + > & { + queryKey?: UseInfiniteQueryOptions< + GetTripleQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options + return { + queryKey: optionsQueryKey ?? ['GetTriple.infinite', variables], + queryFn: (metaData) => + fetcher(GetTripleDocument, { + ...variables, + ...(metaData.pageParam ?? {}), + })(), + ...restOptions, + } + })(), + ) +} + +useInfiniteGetTripleQuery.getKey = (variables: GetTripleQueryVariables) => [ + 'GetTriple.infinite', + variables, +] + +useGetTripleQuery.fetcher = ( + variables: GetTripleQueryVariables, + options?: RequestInit['headers'], +) => + fetcher( + GetTripleDocument, + variables, + options, + ) + +export const GetAtomTriplesWithPositionsDocument = ` + query GetAtomTriplesWithPositions($where: triples_bool_exp) { + triples_aggregate(where: $where) { + aggregate { + count + } + } +} + ` + +export const useGetAtomTriplesWithPositionsQuery = < + TData = GetAtomTriplesWithPositionsQuery, + TError = unknown, +>( + variables?: GetAtomTriplesWithPositionsQueryVariables, + options?: Omit< + UseQueryOptions, + 'queryKey' + > & { + queryKey?: UseQueryOptions< + GetAtomTriplesWithPositionsQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useQuery({ + queryKey: + variables === undefined + ? ['GetAtomTriplesWithPositions'] + : ['GetAtomTriplesWithPositions', variables], + queryFn: fetcher< + GetAtomTriplesWithPositionsQuery, + GetAtomTriplesWithPositionsQueryVariables + >(GetAtomTriplesWithPositionsDocument, variables), + ...options, + }) +} + +useGetAtomTriplesWithPositionsQuery.document = + GetAtomTriplesWithPositionsDocument + +useGetAtomTriplesWithPositionsQuery.getKey = ( + variables?: GetAtomTriplesWithPositionsQueryVariables, +) => + variables === undefined + ? ['GetAtomTriplesWithPositions'] + : ['GetAtomTriplesWithPositions', variables] + +export const useInfiniteGetAtomTriplesWithPositionsQuery = < + TData = InfiniteData, + TError = unknown, +>( + variables: GetAtomTriplesWithPositionsQueryVariables, + options: Omit< + UseInfiniteQueryOptions, + 'queryKey' + > & { + queryKey?: UseInfiniteQueryOptions< + GetAtomTriplesWithPositionsQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options + return { + queryKey: + optionsQueryKey ?? variables === undefined + ? ['GetAtomTriplesWithPositions.infinite'] + : ['GetAtomTriplesWithPositions.infinite', variables], + queryFn: (metaData) => + fetcher< + GetAtomTriplesWithPositionsQuery, + GetAtomTriplesWithPositionsQueryVariables + >(GetAtomTriplesWithPositionsDocument, { + ...variables, + ...(metaData.pageParam ?? {}), + })(), + ...restOptions, + } + })(), + ) +} + +useInfiniteGetAtomTriplesWithPositionsQuery.getKey = ( + variables?: GetAtomTriplesWithPositionsQueryVariables, +) => + variables === undefined + ? ['GetAtomTriplesWithPositions.infinite'] + : ['GetAtomTriplesWithPositions.infinite', variables] + +useGetAtomTriplesWithPositionsQuery.fetcher = ( + variables?: GetAtomTriplesWithPositionsQueryVariables, + options?: RequestInit['headers'], +) => + fetcher< + GetAtomTriplesWithPositionsQuery, + GetAtomTriplesWithPositionsQueryVariables + >(GetAtomTriplesWithPositionsDocument, variables, options) + +export const GetTriplesWithPositionsDocument = ` + query GetTriplesWithPositions($limit: Int, $offset: Int, $orderBy: [triples_order_by!], $where: triples_bool_exp, $address: String) { + total: triples_aggregate(where: $where) { + aggregate { + count + } + } + triples(limit: $limit, offset: $offset, order_by: $orderBy, where: $where) { + term_id + counter_term_id + subject { + term_id + label + image + } + predicate { + term_id + label + image + } + object { + term_id + label + image + } + term { + vaults { + total_shares + position_count + positions(where: {account_id: {_ilike: $address}}) { + account { + id + label + image + } + shares + } + } + } + counter_term { + vaults { + total_shares + position_count + positions(where: {account_id: {_ilike: $address}}) { + account { + id + label + image + } + shares + } + } + } + } +} + ` + +export const useGetTriplesWithPositionsQuery = < + TData = GetTriplesWithPositionsQuery, + TError = unknown, +>( + variables?: GetTriplesWithPositionsQueryVariables, + options?: Omit< + UseQueryOptions, + 'queryKey' + > & { + queryKey?: UseQueryOptions< + GetTriplesWithPositionsQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useQuery({ + queryKey: + variables === undefined + ? ['GetTriplesWithPositions'] + : ['GetTriplesWithPositions', variables], + queryFn: fetcher< + GetTriplesWithPositionsQuery, + GetTriplesWithPositionsQueryVariables + >(GetTriplesWithPositionsDocument, variables), + ...options, + }) +} + +useGetTriplesWithPositionsQuery.document = GetTriplesWithPositionsDocument + +useGetTriplesWithPositionsQuery.getKey = ( + variables?: GetTriplesWithPositionsQueryVariables, +) => + variables === undefined + ? ['GetTriplesWithPositions'] + : ['GetTriplesWithPositions', variables] + +export const useInfiniteGetTriplesWithPositionsQuery = < + TData = InfiniteData, + TError = unknown, +>( + variables: GetTriplesWithPositionsQueryVariables, + options: Omit< + UseInfiniteQueryOptions, + 'queryKey' + > & { + queryKey?: UseInfiniteQueryOptions< + GetTriplesWithPositionsQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options + return { + queryKey: + optionsQueryKey ?? variables === undefined + ? ['GetTriplesWithPositions.infinite'] + : ['GetTriplesWithPositions.infinite', variables], + queryFn: (metaData) => + fetcher< + GetTriplesWithPositionsQuery, + GetTriplesWithPositionsQueryVariables + >(GetTriplesWithPositionsDocument, { + ...variables, + ...(metaData.pageParam ?? {}), + })(), + ...restOptions, + } + })(), + ) +} + +useInfiniteGetTriplesWithPositionsQuery.getKey = ( + variables?: GetTriplesWithPositionsQueryVariables, +) => + variables === undefined + ? ['GetTriplesWithPositions.infinite'] + : ['GetTriplesWithPositions.infinite', variables] + +useGetTriplesWithPositionsQuery.fetcher = ( + variables?: GetTriplesWithPositionsQueryVariables, + options?: RequestInit['headers'], +) => + fetcher( + GetTriplesWithPositionsDocument, + variables, + options, + ) + +export const FindTriplesDocument = ` + query FindTriples($where: triples_bool_exp = {}, $address: String!) { + triples(where: $where) { + term_id + subject_id + predicate_id + object_id + positions(where: {account_id: {_eq: $address}}) { + shares + } + } +} + ` + +export const useFindTriplesQuery = ( + variables: FindTriplesQueryVariables, + options?: Omit< + UseQueryOptions, + 'queryKey' + > & { + queryKey?: UseQueryOptions['queryKey'] + }, +) => { + return useQuery({ + queryKey: ['FindTriples', variables], + queryFn: fetcher( + FindTriplesDocument, + variables, + ), + ...options, + }) +} + +useFindTriplesQuery.document = FindTriplesDocument + +useFindTriplesQuery.getKey = (variables: FindTriplesQueryVariables) => [ + 'FindTriples', + variables, +] + +export const useInfiniteFindTriplesQuery = < + TData = InfiniteData, + TError = unknown, +>( + variables: FindTriplesQueryVariables, + options: Omit< + UseInfiniteQueryOptions, + 'queryKey' + > & { + queryKey?: UseInfiniteQueryOptions< + FindTriplesQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options + return { + queryKey: optionsQueryKey ?? ['FindTriples.infinite', variables], + queryFn: (metaData) => + fetcher( + FindTriplesDocument, + { ...variables, ...(metaData.pageParam ?? {}) }, + )(), + ...restOptions, + } + })(), + ) +} + +useInfiniteFindTriplesQuery.getKey = (variables: FindTriplesQueryVariables) => [ + 'FindTriples.infinite', + variables, +] + +useFindTriplesQuery.fetcher = ( + variables: FindTriplesQueryVariables, + options?: RequestInit['headers'], +) => + fetcher( + FindTriplesDocument, + variables, + options, + ) + +export const GetVaultsDocument = ` + query GetVaults($limit: Int, $offset: Int, $orderBy: [vaults_order_by!], $where: vaults_bool_exp) { + vaults_aggregate( + limit: $limit + offset: $offset + order_by: $orderBy + where: $where + ) { + aggregate { + count + } + nodes { + term_id + term { + atom { + term_id + label + } + triple { + term_id + subject { + term_id + label + } + predicate { + term_id + label + } + object { + term_id + label + } + } + } + positions_aggregate { + nodes { + account { + atom_id + label + } + shares + } + } + current_share_price + total_shares + } + } +} + ` + +export const useGetVaultsQuery = ( + variables?: GetVaultsQueryVariables, + options?: Omit, 'queryKey'> & { + queryKey?: UseQueryOptions['queryKey'] + }, +) => { + return useQuery({ + queryKey: + variables === undefined ? ['GetVaults'] : ['GetVaults', variables], + queryFn: fetcher( + GetVaultsDocument, + variables, + ), + ...options, + }) +} + +useGetVaultsQuery.document = GetVaultsDocument + +useGetVaultsQuery.getKey = (variables?: GetVaultsQueryVariables) => + variables === undefined ? ['GetVaults'] : ['GetVaults', variables] + +export const useInfiniteGetVaultsQuery = < + TData = InfiniteData, + TError = unknown, +>( + variables: GetVaultsQueryVariables, + options: Omit< + UseInfiniteQueryOptions, + 'queryKey' + > & { + queryKey?: UseInfiniteQueryOptions< + GetVaultsQuery, + TError, + TData + >['queryKey'] + }, +) => { + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options + return { + queryKey: + optionsQueryKey ?? variables === undefined + ? ['GetVaults.infinite'] + : ['GetVaults.infinite', variables], + queryFn: (metaData) => + fetcher(GetVaultsDocument, { + ...variables, + ...(metaData.pageParam ?? {}), + })(), + ...restOptions, + } + })(), + ) +} + +useInfiniteGetVaultsQuery.getKey = (variables?: GetVaultsQueryVariables) => + variables === undefined + ? ['GetVaults.infinite'] + : ['GetVaults.infinite', variables] + +useGetVaultsQuery.fetcher = ( + variables?: GetVaultsQueryVariables, + options?: RequestInit['headers'], +) => + fetcher( + GetVaultsDocument, + variables, + options, + ) + +export const GetVaultDocument = ` + query GetVault($termId: numeric!, $curveId: numeric!) { + vault(term_id: $termId, curve_id: $curveId) { + ...VaultDetails + } +} + ${VaultDetailsFragmentDoc} +${VaultBasicDetailsFragmentDoc}` + +export const useGetVaultQuery = ( + variables: GetVaultQueryVariables, + options?: Omit, 'queryKey'> & { + queryKey?: UseQueryOptions['queryKey'] + }, +) => { + return useQuery({ + queryKey: ['GetVault', variables], + queryFn: fetcher( + GetVaultDocument, + variables, + ), + ...options, + }) +} + +useGetVaultQuery.document = GetVaultDocument + +useGetVaultQuery.getKey = (variables: GetVaultQueryVariables) => [ + 'GetVault', + variables, +] + +export const useInfiniteGetVaultQuery = < + TData = InfiniteData, + TError = unknown, +>( + variables: GetVaultQueryVariables, + options: Omit< + UseInfiniteQueryOptions, + 'queryKey' + > & { + queryKey?: UseInfiniteQueryOptions['queryKey'] + }, +) => { + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options + return { + queryKey: optionsQueryKey ?? ['GetVault.infinite', variables], + queryFn: (metaData) => + fetcher(GetVaultDocument, { + ...variables, + ...(metaData.pageParam ?? {}), + })(), + ...restOptions, + } + })(), + ) +} + +useInfiniteGetVaultQuery.getKey = (variables: GetVaultQueryVariables) => [ + 'GetVault.infinite', + variables, +] + +useGetVaultQuery.fetcher = ( + variables: GetVaultQueryVariables, + options?: RequestInit['headers'], +) => + fetcher( + GetVaultDocument, + variables, + options, + ) + +export const AccountPositionsAggregate = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountPositionsAggregate' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'positions_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'shares' }, + value: { kind: 'EnumValue', value: 'desc' }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'nodes' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'vault' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'current_share_price', + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'atom' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'term_id', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'label', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'triple' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'term_id', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const AccountPositions = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountPositions' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'shares' }, + value: { kind: 'EnumValue', value: 'desc' }, + }, + ], + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionsLimit' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'offset' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionsOffset' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionsWhere' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'vault' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'current_share_price' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'atom' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'triple' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const AccountAtoms = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountAtoms' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'atoms' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'atomsWhere' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'atomsOrderBy' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'atomsLimit' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'offset' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'atomsOffset' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'positions_aggregate', + }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'account_id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_eq', + }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'address', + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'nodes' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'account', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'id', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'shares', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const AccountAtomsAggregate = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountAtomsAggregate' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'atoms_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'atomsWhere' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'atomsOrderBy' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'atomsLimit' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'offset' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'atomsOffset' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sum' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'nodes' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'curve_id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_eq', + }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'total_shares', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'positions_aggregate', + }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'account_id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_eq', + }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'address', + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'nodes', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'account', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'id', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'shares', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const AccountTriples = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountTriples' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'triples_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'triplesWhere' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'triplesOrderBy' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'triplesLimit' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'offset' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'triplesOffset' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'nodes' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const AccountTriplesAggregate = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountTriplesAggregate' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'triples_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'triplesWhere' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'triplesOrderBy' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'triplesLimit' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'offset' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'triplesOffset' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'nodes' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const AtomTxn = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomTxn' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'block_number' } }, + { kind: 'Field', name: { kind: 'Name', value: 'created_at' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transaction_hash' } }, + { kind: 'Field', name: { kind: 'Name', value: 'creator_id' } }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const AtomVaultDetails = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomVaultDetails' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'wallet_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'position_count' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'current_share_price' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions_aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'count' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sum' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'shares', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const AccountMetadata = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountMetadata' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const AtomTriple = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomTriple' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'as_subject_triples' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'as_predicate_triples' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'as_object_triples' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountMetadata' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const AtomVaultDetailsWithPositions = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomVaultDetailsWithPositions' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'current_share_price' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'account_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_in' }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'addresses', + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'sum' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'shares', + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'nodes' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const DepositEventFragment = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'DepositEventFragment' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'events' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'deposit' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'curve_id' } }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'sender_assets_after_total_fees', + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shares_for_receiver' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'receiver' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sender' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const RedemptionEventFragment = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'RedemptionEventFragment' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'events' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'redemption' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'curve_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'receiver_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shares_redeemed_by_sender' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'assets_for_receiver' }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const AtomValue = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomValue' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'value' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'person' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'thing' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'organization' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const AtomMetadata = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomMetadata' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'wallet_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomValue' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'value' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'person' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'thing' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'organization' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const PositionAggregateFields = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PositionAggregateFields' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'positions_aggregate' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sum' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const PositionFields = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PositionFields' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'positions' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'vault' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'current_share_price' }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const TripleMetadata = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'TripleMetadata' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'triples' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'subject_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'predicate_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'object_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'current_share_price' }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'allPositions' }, + name: { kind: 'Name', value: 'positions_aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'PositionAggregateFields', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PositionFields' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'counter_term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'current_share_price' }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'allPositions' }, + name: { kind: 'Name', value: 'positions_aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'PositionAggregateFields', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PositionFields' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountMetadata' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomValue' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'value' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'person' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'thing' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'organization' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PositionFields' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'positions' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'vault' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'current_share_price' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PositionAggregateFields' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'positions_aggregate' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sum' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const EventDetails = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'EventDetails' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'events' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'block_number' } }, + { kind: 'Field', name: { kind: 'Name', value: 'created_at' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transaction_hash' } }, + { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'triple_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'deposit_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'redemption_id' } }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'DepositEventFragment' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'RedemptionEventFragment' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'atom' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomMetadata' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'position_count' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'account_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'label', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'image', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'triple' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'TripleMetadata' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'position_count' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'account_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'label', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'image', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'counter_term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'position_count' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'account_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'label', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'image', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountMetadata' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomValue' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'value' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'person' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'thing' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'organization' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomMetadata' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'wallet_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'DepositEventFragment' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'events' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'deposit' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'curve_id' } }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'sender_assets_after_total_fees', + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shares_for_receiver' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'receiver' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sender' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PositionFields' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'positions' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'vault' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'current_share_price' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PositionAggregateFields' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'positions_aggregate' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sum' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'RedemptionEventFragment' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'events' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'redemption' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'curve_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'receiver_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shares_redeemed_by_sender' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'assets_for_receiver' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'TripleMetadata' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'triples' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'subject_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'predicate_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'object_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'current_share_price' }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'allPositions' }, + name: { kind: 'Name', value: 'positions_aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'PositionAggregateFields', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PositionFields' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'counter_term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'current_share_price' }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'allPositions' }, + name: { kind: 'Name', value: 'positions_aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'PositionAggregateFields', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PositionFields' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const FollowMetadata = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'FollowMetadata' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'triples' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'current_share_price' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionsWhere' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'count' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sum' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'shares', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionsLimit' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'offset' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionsOffset' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionsOrderBy' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionsWhere' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const FollowAggregate = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'FollowAggregate' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'triples_aggregate' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const StatDetails = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'StatDetails' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'stats' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'contract_balance' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total_accounts' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total_fees' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total_atoms' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total_triples' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total_positions' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total_signals' } }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const TripleTxn = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'TripleTxn' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'triples' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'block_number' } }, + { kind: 'Field', name: { kind: 'Name', value: 'created_at' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transaction_hash' } }, + { kind: 'Field', name: { kind: 'Name', value: 'creator_id' } }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const PositionDetails = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PositionDetails' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'positions' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'vault' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'atom' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'triple' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'curve_id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_eq', + }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'term_id', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'position_count', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'positions_aggregate', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'aggregate', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'sum', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'shares', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'counter_term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'curve_id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_eq', + }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'term_id', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'position_count', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'positions_aggregate', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'aggregate', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'sum', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'shares', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'data' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'emoji' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'type' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'AccountMetadata', + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'data' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'emoji' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'type' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'AccountMetadata', + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'data' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'emoji' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'type' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'AccountMetadata', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'curve_id' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountMetadata' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomValue' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'value' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'person' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'thing' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'organization' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const TripleVaultDetails = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'TripleVaultDetails' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'triples' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'counter_term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PositionDetails' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'counter_term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PositionDetails' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountMetadata' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomValue' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'value' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'person' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'thing' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'organization' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PositionDetails' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'positions' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'vault' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'atom' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'triple' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'curve_id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_eq', + }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'term_id', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'position_count', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'positions_aggregate', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'aggregate', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'sum', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'shares', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'counter_term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'curve_id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_eq', + }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'term_id', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'position_count', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'positions_aggregate', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'aggregate', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'sum', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'shares', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'data' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'emoji' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'type' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'AccountMetadata', + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'data' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'emoji' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'type' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'AccountMetadata', + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'data' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'emoji' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'type' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'AccountMetadata', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'curve_id' } }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const VaultBasicDetails = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'VaultBasicDetails' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'vaults' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'curve_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'atom' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'triple' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'current_share_price' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'total_shares' } }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const VaultFilteredPositions = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'VaultFilteredPositions' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'vaults' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'account_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_in' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'addresses' }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PositionFields' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PositionFields' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'positions' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'vault' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'current_share_price' }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const VaultDetailsWithFilteredPositions = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'VaultDetailsWithFilteredPositions' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'vaults' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'VaultBasicDetails' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'VaultFilteredPositions' }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PositionFields' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'positions' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'vault' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'current_share_price' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'VaultBasicDetails' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'vaults' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'curve_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'atom' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'triple' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'current_share_price' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'total_shares' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'VaultFilteredPositions' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'vaults' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'account_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_in' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'addresses' }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PositionFields' }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const TripleVaultCouterVaultDetailsWithPositions = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { + kind: 'Name', + value: 'TripleVaultCouterVaultDetailsWithPositions', + }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'triples' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'counter_term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'VaultDetailsWithFilteredPositions', + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'counter_term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'VaultDetailsWithFilteredPositions', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PositionFields' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'positions' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'vault' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'current_share_price' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'VaultBasicDetails' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'vaults' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'curve_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'atom' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'triple' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'current_share_price' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'total_shares' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'VaultFilteredPositions' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'vaults' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'account_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_in' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'addresses' }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PositionFields' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'VaultDetailsWithFilteredPositions' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'vaults' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'VaultBasicDetails' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'VaultFilteredPositions' }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const VaultUnfilteredPositions = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'VaultUnfilteredPositions' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'vaults' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PositionFields' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PositionFields' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'positions' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'vault' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'current_share_price' }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const VaultDetails = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'VaultDetails' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'vaults' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'VaultBasicDetails' }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'VaultBasicDetails' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'vaults' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'curve_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'atom' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'triple' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'current_share_price' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'total_shares' } }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const VaultPositionsAggregate = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'VaultPositionsAggregate' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'vaults' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'positions_aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PositionAggregateFields' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PositionAggregateFields' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'positions_aggregate' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sum' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const VaultFieldsForTriple = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'VaultFieldsForTriple' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'vaults' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'total_shares' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'current_share_price' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'VaultPositionsAggregate' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'VaultFilteredPositions' }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PositionFields' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'positions' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'vault' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'current_share_price' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PositionAggregateFields' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'positions_aggregate' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sum' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'VaultPositionsAggregate' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'vaults' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'positions_aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PositionAggregateFields' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'VaultFilteredPositions' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'vaults' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'account_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_in' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'addresses' }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PositionFields' }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const AtomMetadataMaybedeletethis = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomMetadataMAYBEDELETETHIS' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'wallet_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomValue' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'value' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'person' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'thing' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'organization' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const PinThing = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'pinThing' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'name' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'String' }, + }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'description' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'image' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'url' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'pinThing' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'thing' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'description' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'description' }, + }, + }, + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'image' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'image' }, + }, + }, + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'name' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'name' }, + }, + }, + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'url' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'url' }, + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'uri' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const GetAccounts = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetAccounts' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'limit' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'offset' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'orderBy' }, + }, + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts_order_by' }, + }, + }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts_bool_exp' }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionsLimit' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionsOffset' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionsWhere' }, + }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'positions_bool_exp' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'accounts' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'limit' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'offset' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'offset' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'orderBy' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountPositions' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'atom' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'wallet_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'curve_id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_eq', + }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'position_count', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'total_shares', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'positions_aggregate', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'aggregate', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'count', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'sum', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'shares', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'account', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'label', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'id', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'shares', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountMetadata' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountPositions' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'shares' }, + value: { kind: 'EnumValue', value: 'desc' }, + }, + ], + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionsLimit' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'offset' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionsOffset' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionsWhere' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'vault' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'current_share_price' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'atom' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'triple' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const GetAccountsWithAggregates = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetAccountsWithAggregates' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'limit' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'offset' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'orderBy' }, + }, + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts_order_by' }, + }, + }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts_bool_exp' }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionsLimit' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionsOffset' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionsWhere' }, + }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'positions_bool_exp' }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'atomsWhere' }, + }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms_bool_exp' }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'atomsOrderBy' }, + }, + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms_order_by' }, + }, + }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'atomsLimit' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'atomsOffset' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'accounts_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'limit' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'offset' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'offset' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'orderBy' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'nodes' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountPositions' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountMetadata' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountPositions' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'shares' }, + value: { kind: 'EnumValue', value: 'desc' }, + }, + ], + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionsLimit' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'offset' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionsOffset' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionsWhere' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'vault' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'current_share_price' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'atom' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'triple' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const GetAccountsCount = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetAccountsCount' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts_bool_exp' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'accounts_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const GetAccount = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetAccount' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'address' }, + }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'String' }, + }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionsLimit' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionsOffset' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionsWhere' }, + }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'positions_bool_exp' }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'atomsWhere' }, + }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms_bool_exp' }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'atomsOrderBy' }, + }, + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms_order_by' }, + }, + }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'atomsLimit' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'atomsOffset' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'triplesWhere' }, + }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'triples_bool_exp' }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'triplesOrderBy' }, + }, + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'triples_order_by' }, + }, + }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'triplesLimit' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'triplesOffset' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'address' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'atom' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomMetadata' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomVaultDetails' }, + }, + ], + }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountPositions' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountAtoms' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountTriples' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'chainlink_prices' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { kind: 'IntValue', value: '1' }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'EnumValue', value: 'desc' }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'usd' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountMetadata' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountPositions' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'shares' }, + value: { kind: 'EnumValue', value: 'desc' }, + }, + ], + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionsLimit' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'offset' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionsOffset' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionsWhere' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'vault' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'current_share_price' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'atom' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'triple' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountAtoms' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'atoms' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'atomsWhere' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'atomsOrderBy' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'atomsLimit' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'offset' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'atomsOffset' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'positions_aggregate', + }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'account_id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_eq', + }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'address', + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'nodes' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'account', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'id', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'shares', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountTriples' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'triples_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'triplesWhere' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'triplesOrderBy' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'triplesLimit' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'offset' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'triplesOffset' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'nodes' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomValue' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'value' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'person' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'thing' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'organization' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomMetadata' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'wallet_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomVaultDetails' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'wallet_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'position_count' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'current_share_price' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions_aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'count' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sum' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'shares', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const GetAccountWithPaginatedRelations = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetAccountWithPaginatedRelations' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'address' }, + }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'String' }, + }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionsLimit' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionsOffset' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionsWhere' }, + }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'positions_bool_exp' }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'atomsLimit' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'atomsOffset' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'atomsWhere' }, + }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms_bool_exp' }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'atomsOrderBy' }, + }, + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms_order_by' }, + }, + }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'triplesLimit' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'triplesOffset' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'triplesWhere' }, + }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'triples_bool_exp' }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'triplesOrderBy' }, + }, + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'triples_order_by' }, + }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'address' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountPositions' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountAtoms' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountTriples' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountMetadata' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountPositions' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'shares' }, + value: { kind: 'EnumValue', value: 'desc' }, + }, + ], + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionsLimit' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'offset' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionsOffset' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionsWhere' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'vault' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'current_share_price' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'atom' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'triple' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountAtoms' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'atoms' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'atomsWhere' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'atomsOrderBy' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'atomsLimit' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'offset' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'atomsOffset' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'positions_aggregate', + }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'account_id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_eq', + }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'address', + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'nodes' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'account', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'id', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'shares', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountTriples' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'triples_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'triplesWhere' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'triplesOrderBy' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'triplesLimit' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'offset' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'triplesOffset' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'nodes' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const GetAccountWithAggregates = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetAccountWithAggregates' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'address' }, + }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'String' }, + }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionsLimit' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionsOffset' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionsWhere' }, + }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'positions_bool_exp' }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'atomsWhere' }, + }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms_bool_exp' }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'atomsOrderBy' }, + }, + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms_order_by' }, + }, + }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'atomsLimit' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'atomsOffset' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'triplesWhere' }, + }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'triples_bool_exp' }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'triplesOrderBy' }, + }, + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'triples_order_by' }, + }, + }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'triplesLimit' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'triplesOffset' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'address' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountPositionsAggregate' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountAtomsAggregate' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountTriplesAggregate' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountMetadata' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountPositionsAggregate' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'positions_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'shares' }, + value: { kind: 'EnumValue', value: 'desc' }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'nodes' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'vault' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'current_share_price', + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'atom' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'term_id', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'label', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'triple' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'term_id', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountAtomsAggregate' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'atoms_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'atomsWhere' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'atomsOrderBy' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'atomsLimit' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'offset' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'atomsOffset' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sum' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'nodes' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'curve_id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_eq', + }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'total_shares', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'positions_aggregate', + }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'account_id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_eq', + }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'address', + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'nodes', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'account', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'id', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'shares', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountTriplesAggregate' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'triples_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'triplesWhere' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'triplesOrderBy' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'triplesLimit' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'offset' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'triplesOffset' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'nodes' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const GetAccountMetadata = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetAccountMetadata' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'address' }, + }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'String' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'address' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'atom' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomMetadata' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountMetadata' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomValue' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'value' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'person' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'thing' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'organization' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomMetadata' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'wallet_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const GetAtoms = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetAtoms' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'limit' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'offset' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'orderBy' }, + }, + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms_order_by' }, + }, + }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms_bool_exp' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + alias: { kind: 'Name', value: 'total' }, + name: { kind: 'Name', value: 'atoms_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'atoms' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'limit' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'offset' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'offset' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'orderBy' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomMetadata' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomTxn' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomVaultDetails' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomTriple' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountMetadata' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomValue' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'value' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'person' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'thing' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'organization' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomMetadata' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'wallet_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomTxn' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'block_number' } }, + { kind: 'Field', name: { kind: 'Name', value: 'created_at' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transaction_hash' } }, + { kind: 'Field', name: { kind: 'Name', value: 'creator_id' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomVaultDetails' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'wallet_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'position_count' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'current_share_price' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions_aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'count' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sum' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'shares', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomTriple' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'as_subject_triples' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'as_predicate_triples' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'as_object_triples' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const GetAtomsWithPositions = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetAtomsWithPositions' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'limit' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'offset' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'orderBy' }, + }, + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms_order_by' }, + }, + }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms_bool_exp' }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'address' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + alias: { kind: 'Name', value: 'total' }, + name: { kind: 'Name', value: 'atoms_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'atoms' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'limit' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'offset' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'offset' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'orderBy' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomMetadata' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomTxn' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'position_count' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'current_share_price', + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'total' }, + name: { + kind: 'Name', + value: 'positions_aggregate', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'count', + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sum' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'shares', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'account_id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_ilike', + }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'address', + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'label', + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountMetadata' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomValue' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'value' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'person' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'thing' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'organization' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomMetadata' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'wallet_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomTxn' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'block_number' } }, + { kind: 'Field', name: { kind: 'Name', value: 'created_at' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transaction_hash' } }, + { kind: 'Field', name: { kind: 'Name', value: 'creator_id' } }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const GetAtomsWithAggregates = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetAtomsWithAggregates' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'limit' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'offset' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'orderBy' }, + }, + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms_order_by' }, + }, + }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms_bool_exp' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'atoms_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'limit' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'offset' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'offset' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'orderBy' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'nodes' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomMetadata' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomTxn' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomVaultDetails' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountMetadata' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomValue' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'value' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'person' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'thing' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'organization' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomMetadata' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'wallet_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomTxn' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'block_number' } }, + { kind: 'Field', name: { kind: 'Name', value: 'created_at' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transaction_hash' } }, + { kind: 'Field', name: { kind: 'Name', value: 'creator_id' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomVaultDetails' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'wallet_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'position_count' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'current_share_price' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions_aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'count' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sum' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'shares', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const GetAtomsCount = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetAtomsCount' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms_bool_exp' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'atoms_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const GetAtom = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetAtom' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'numeric' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'atom' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'term_id' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'id' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomMetadata' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomTxn' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomVaultDetails' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomTriple' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountMetadata' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomValue' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'value' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'person' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'thing' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'organization' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomMetadata' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'wallet_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomTxn' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'block_number' } }, + { kind: 'Field', name: { kind: 'Name', value: 'created_at' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transaction_hash' } }, + { kind: 'Field', name: { kind: 'Name', value: 'creator_id' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomVaultDetails' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'wallet_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'position_count' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'current_share_price' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions_aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'count' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sum' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'shares', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomTriple' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'as_subject_triples' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'as_predicate_triples' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'as_object_triples' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const GetAtomByData = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetAtomByData' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'data' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'String' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'atoms' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'data' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'data' }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomMetadata' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomTxn' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomVaultDetails' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomTriple' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountMetadata' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomValue' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'value' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'person' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'thing' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'organization' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomMetadata' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'wallet_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomTxn' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'block_number' } }, + { kind: 'Field', name: { kind: 'Name', value: 'created_at' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transaction_hash' } }, + { kind: 'Field', name: { kind: 'Name', value: 'creator_id' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomVaultDetails' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'wallet_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'position_count' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'current_share_price' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions_aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'count' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sum' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'shares', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomTriple' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'as_subject_triples' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'as_predicate_triples' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'as_object_triples' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const GetVerifiedAtomDetails = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetVerifiedAtomDetails' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'numeric' }, + }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'userPositionAddress' }, + }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'String' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'atom' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'term_id' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'id' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'wallet_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'created_at' } }, + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'value' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'thing' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'name' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'url' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'term_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'id' }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'current_share_price', + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'position_count' }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'userPosition' }, + name: { kind: 'Name', value: 'positions' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { kind: 'IntValue', value: '1' }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'account_id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_ilike', + }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'userPositionAddress', + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account_id' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'tags' }, + name: { kind: 'Name', value: 'as_subject_triples_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'predicate_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_in' }, + value: { + kind: 'ListValue', + values: [{ kind: 'IntValue', value: '3' }], + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'nodes' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'vaults', + }, + arguments: [ + { + kind: 'Argument', + name: { + kind: 'Name', + value: 'where', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'curve_id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_eq', + }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'term_id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_eq', + }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'id', + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'term_id', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate_id' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'count' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'verificationTriple' }, + name: { kind: 'Name', value: 'as_subject_triples_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'predicate_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '4', + block: false, + }, + }, + ], + }, + }, + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'object_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '126451', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'nodes' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'curve_id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_eq', + }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'term_id', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'positions', + }, + arguments: [ + { + kind: 'Argument', + name: { + kind: 'Name', + value: 'where', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'account_id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_in', + }, + value: { + kind: 'ListValue', + values: [ + { + kind: 'StringValue', + value: + '0xD99811847E634d33f0DAcE483c52949bEc76300F', + block: false, + }, + { + kind: 'StringValue', + value: + '0xBb285b543C96C927FC320Fb28524899C2C90806C', + block: false, + }, + { + kind: 'StringValue', + value: + '0x0b162525C5dc8c18F771E60fD296913030Bfe42c', + block: false, + }, + { + kind: 'StringValue', + value: + '0xbd2DE08aF9470c87C4475117Fb912B8f1d588D9c', + block: false, + }, + { + kind: 'StringValue', + value: + '0xB95ca3D3144e9d1DAFF0EE3d35a4488A4A5C9Fc5', + block: false, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'id', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'shares', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'account_id', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'account', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'id', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const GetAtomDetails = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetAtomDetails' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'numeric' }, + }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'userPositionAddress' }, + }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'String' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'atom' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'term_id' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'id' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'wallet_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'created_at' } }, + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'value' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'thing' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'name' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'url' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'term_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'id' }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'current_share_price', + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'position_count' }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'userPosition' }, + name: { kind: 'Name', value: 'positions' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { kind: 'IntValue', value: '1' }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'account_id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_eq', + }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'userPositionAddress', + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account_id' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'tags' }, + name: { kind: 'Name', value: 'as_subject_triples_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'predicate_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_in' }, + value: { + kind: 'ListValue', + values: [{ kind: 'IntValue', value: '3' }], + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'nodes' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'vaults', + }, + arguments: [ + { + kind: 'Argument', + name: { + kind: 'Name', + value: 'where', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'curve_id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_eq', + }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'term_id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_eq', + }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'id', + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'term_id', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate_id' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'count' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const FindAtomIds = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'FindAtomIds' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms_bool_exp' }, + }, + defaultValue: { kind: 'ObjectValue', fields: [] }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'atoms' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const GetEvents = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetEvents' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'limit' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'offset' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'orderBy' }, + }, + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'events_order_by' }, + }, + }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'events_bool_exp' }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'addresses' }, + }, + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'String' }, + }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + alias: { kind: 'Name', value: 'total' }, + name: { kind: 'Name', value: 'events_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'events' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'limit' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'offset' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'offset' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'orderBy' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'block_number' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'created_at' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'transaction_hash' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'triple_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'deposit_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'redemption_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'atom' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomMetadata' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'curve_id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_eq', + }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'total_shares', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'position_count', + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'account', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_in', + }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: + 'addresses', + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'account_id', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'shares', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'account', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'id', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'label', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'image', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'triple' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'data' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'emoji' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'type' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'AccountMetadata', + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'data' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'emoji' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'type' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'AccountMetadata', + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'data' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'emoji' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'type' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'AccountMetadata', + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'curve_id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_eq', + }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'total_shares', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'position_count', + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'account', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_in', + }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: + 'addresses', + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'account_id', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'shares', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'account', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'id', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'label', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'image', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'counter_term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'curve_id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_eq', + }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'total_shares', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'position_count', + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'account', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_in', + }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: + 'addresses', + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'account_id', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'shares', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'account', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'id', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'label', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'image', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'deposit' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'sender_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sender' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shares_for_receiver' }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'sender_assets_after_total_fees', + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'vault' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'position_count' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'account', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_in', + }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'addresses', + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'account_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'label', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'image', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'redemption' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'sender_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sender' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountMetadata' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomValue' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'value' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'person' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'thing' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'organization' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomMetadata' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'wallet_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const GetEventsWithAggregates = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetEventsWithAggregates' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'limit' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'offset' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'orderBy' }, + }, + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'events_order_by' }, + }, + }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'events_bool_exp' }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'addresses' }, + }, + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'String' }, + }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'events_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'limit' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'offset' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'offset' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'orderBy' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'max' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'created_at' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'block_number' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'min' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'created_at' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'block_number' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'nodes' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'EventDetails' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountMetadata' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomValue' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'value' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'person' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'thing' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'organization' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomMetadata' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'wallet_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'DepositEventFragment' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'events' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'deposit' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'curve_id' } }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'sender_assets_after_total_fees', + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shares_for_receiver' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'receiver' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sender' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'EventDetails' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'events' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'block_number' } }, + { kind: 'Field', name: { kind: 'Name', value: 'created_at' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transaction_hash' } }, + { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'triple_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'deposit_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'redemption_id' } }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'DepositEventFragment' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'RedemptionEventFragment' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'atom' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomMetadata' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'position_count' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'account_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'label', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'image', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'triple' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'TripleMetadata' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'position_count' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'account_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'label', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'image', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'counter_term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'position_count' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'account_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'label', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'image', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PositionFields' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'positions' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'vault' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'current_share_price' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PositionAggregateFields' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'positions_aggregate' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sum' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'RedemptionEventFragment' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'events' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'redemption' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'curve_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'receiver_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shares_redeemed_by_sender' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'assets_for_receiver' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'TripleMetadata' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'triples' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'subject_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'predicate_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'object_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'current_share_price' }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'allPositions' }, + name: { kind: 'Name', value: 'positions_aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'PositionAggregateFields', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PositionFields' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'counter_term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'current_share_price' }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'allPositions' }, + name: { kind: 'Name', value: 'positions_aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'PositionAggregateFields', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PositionFields' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const GetEventsCount = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetEventsCount' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'events_bool_exp' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'events_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const GetEventsData = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetEventsData' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'events_bool_exp' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'events_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'max' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'created_at' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'block_number' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'min' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'created_at' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'block_number' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'avg' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'block_number' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const GetDebugEvents = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetDebugEvents' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'addresses' }, + }, + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'String' }, + }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + alias: { kind: 'Name', value: 'debug_events' }, + name: { kind: 'Name', value: 'events' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'atom' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'account_id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_in', + }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'addresses', + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'account_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const GetTransactionEvents = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetTransactionEvents' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'hash' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'String' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'events' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'transaction_hash' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'hash' }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'transaction_hash' }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const GetFollowingPositions = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetFollowingPositions' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'subjectId' }, + }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'numeric' }, + }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'predicateId' }, + }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'numeric' }, + }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'address' }, + }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'String' }, + }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'limit' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'offset' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionsOrderBy' }, + }, + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'positions_order_by' }, + }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'triples_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_and' }, + value: { + kind: 'ListValue', + values: [ + { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'subject_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'subjectId', + }, + }, + }, + ], + }, + }, + ], + }, + { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'predicate_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'predicateId', + }, + }, + }, + ], + }, + }, + ], + }, + { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'positions' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'account_id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_ilike', + }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'address', + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'triples' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'limit' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'offset' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'offset' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_and' }, + value: { + kind: 'ListValue', + values: [ + { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'subject_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'subjectId', + }, + }, + }, + ], + }, + }, + ], + }, + { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'predicate_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'predicateId', + }, + }, + }, + ], + }, + }, + ], + }, + { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'positions' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'account_id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_ilike', + }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'address', + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomMetadata' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomMetadata' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomMetadata' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'current_share_price', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'positions_aggregate', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'count', + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sum' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'shares', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'account_id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_ilike', + }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'address', + }, + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'positionsOrderBy', + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'account_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'label', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomValue' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'value' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'person' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'thing' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'organization' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomMetadata' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'wallet_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const GetFollowerPositions = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetFollowerPositions' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'subjectId' }, + }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'numeric' }, + }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'predicateId' }, + }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'numeric' }, + }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'objectId' }, + }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'numeric' }, + }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionsLimit' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionsOffset' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionsOrderBy' }, + }, + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'positions_order_by' }, + }, + }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionsWhere' }, + }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'positions_bool_exp' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'triples' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_and' }, + value: { + kind: 'ListValue', + values: [ + { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'subject_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'subjectId', + }, + }, + }, + ], + }, + }, + ], + }, + { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'predicate_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'predicateId', + }, + }, + }, + ], + }, + }, + ], + }, + { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'object_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'objectId', + }, + }, + }, + ], + }, + }, + ], + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomMetadata' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomMetadata' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomMetadata' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'current_share_price', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'positions_aggregate', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'count', + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sum' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'shares', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'positionsLimit', + }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'offset' }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'positionsOffset', + }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'positionsOrderBy', + }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'positionsWhere', + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'label', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'image', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomValue' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'value' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'person' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'thing' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'organization' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomMetadata' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'wallet_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const GetConnections = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetConnections' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'subjectId' }, + }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'numeric' }, + }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'predicateId' }, + }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'numeric' }, + }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'objectId' }, + }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'numeric' }, + }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'addresses' }, + }, + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'String' }, + }, + }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionsLimit' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionsOffset' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionsOrderBy' }, + }, + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'positions_order_by' }, + }, + }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionsWhere' }, + }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'positions_bool_exp' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + alias: { kind: 'Name', value: 'following_count' }, + name: { kind: 'Name', value: 'triples_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_and' }, + value: { + kind: 'ListValue', + values: [ + { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'subject_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'subjectId', + }, + }, + }, + ], + }, + }, + ], + }, + { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'predicate_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'predicateId', + }, + }, + }, + ], + }, + }, + ], + }, + { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'object_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'objectId', + }, + }, + }, + ], + }, + }, + ], + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'following' }, + name: { kind: 'Name', value: 'triples' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_and' }, + value: { + kind: 'ListValue', + values: [ + { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'subject_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'subjectId', + }, + }, + }, + ], + }, + }, + ], + }, + { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'predicate_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'predicateId', + }, + }, + }, + ], + }, + }, + ], + }, + { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'object_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'objectId', + }, + }, + }, + ], + }, + }, + ], + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'FollowMetadata' }, + }, + ], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'followers_count' }, + name: { kind: 'Name', value: 'triples_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_and' }, + value: { + kind: 'ListValue', + values: [ + { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'subject_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'subjectId', + }, + }, + }, + ], + }, + }, + ], + }, + { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'predicate_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'predicateId', + }, + }, + }, + ], + }, + }, + ], + }, + { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'positions' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'account_id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_in', + }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'addresses', + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'followers' }, + name: { kind: 'Name', value: 'triples' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_and' }, + value: { + kind: 'ListValue', + values: [ + { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'subject_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'subjectId', + }, + }, + }, + ], + }, + }, + ], + }, + { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'predicate_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'predicateId', + }, + }, + }, + ], + }, + }, + ], + }, + { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'positions' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'account_id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_in', + }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'addresses', + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'FollowMetadata' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'FollowMetadata' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'triples' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'current_share_price' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionsWhere' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'count' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sum' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'shares', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionsLimit' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'offset' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionsOffset' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionsOrderBy' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionsWhere' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const GetConnectionsCount = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetConnectionsCount' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'subjectId' }, + }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'numeric' }, + }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'predicateId' }, + }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'numeric' }, + }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'objectId' }, + }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'numeric' }, + }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'address' }, + }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'String' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + alias: { kind: 'Name', value: 'following_count' }, + name: { kind: 'Name', value: 'triples_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_and' }, + value: { + kind: 'ListValue', + values: [ + { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'subject_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'subjectId', + }, + }, + }, + ], + }, + }, + ], + }, + { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'predicate_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'predicateId', + }, + }, + }, + ], + }, + }, + ], + }, + { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'positions' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'account_id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_ilike', + }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'address', + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'followers_count' }, + name: { kind: 'Name', value: 'triples' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_and' }, + value: { + kind: 'ListValue', + values: [ + { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'subject_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'subjectId', + }, + }, + }, + ], + }, + }, + ], + }, + { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'predicate_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'predicateId', + }, + }, + }, + ], + }, + }, + ], + }, + { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'object_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'objectId', + }, + }, + }, + ], + }, + }, + ], + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'positions_aggregate', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'count', + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sum' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'shares', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const GetLists = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetLists' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'predicate_objects_bool_exp' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate_objects_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate_objects' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'ListValue', + values: [ + { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'triple_count' }, + value: { kind: 'EnumValue', value: 'desc' }, + }, + ], + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'triple_count' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const GetListItems = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetListItems' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'predicateId' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'numeric' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'objectId' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'numeric' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'triples_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'predicate_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { kind: 'EnumValue', value: 'predicateId' }, + }, + ], + }, + }, + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'object_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'objectId' }, + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'ListValue', + values: [ + { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'term' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'positions_aggregate', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'count' }, + value: { + kind: 'EnumValue', + value: 'desc', + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'counter_term' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'positions_aggregate', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'count' }, + value: { + kind: 'EnumValue', + value: 'desc', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'nodes' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'TripleVaultDetails' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountMetadata' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomValue' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'value' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'person' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'thing' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'organization' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PositionDetails' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'positions' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'vault' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'atom' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'triple' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'curve_id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_eq', + }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'term_id', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'position_count', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'positions_aggregate', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'aggregate', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'sum', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'shares', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'counter_term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'curve_id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_eq', + }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'term_id', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'position_count', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'positions_aggregate', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'aggregate', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'sum', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'shares', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'data' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'emoji' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'type' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'AccountMetadata', + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'data' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'emoji' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'type' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'AccountMetadata', + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'data' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'emoji' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'type' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'AccountMetadata', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'curve_id' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'TripleVaultDetails' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'triples' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'counter_term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PositionDetails' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'counter_term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PositionDetails' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const GetListDetails = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetListDetails' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'globalWhere' }, + }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'triples_bool_exp' }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'tagPredicateId' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'numeric' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'limit' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'offset' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'orderBy' }, + }, + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'triples_order_by' }, + }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + alias: { kind: 'Name', value: 'globalTriplesAggregate' }, + name: { kind: 'Name', value: 'triples_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'globalWhere' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'globalTriples' }, + name: { kind: 'Name', value: 'triples' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'globalWhere' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'limit' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'offset' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'offset' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'orderBy' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'counter_term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'wallet_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'position_count', + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'tags' }, + name: { + kind: 'Name', + value: 'as_subject_triples_aggregate', + }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'predicate_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'tagPredicateId', + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'nodes' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'label', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'term_id', + }, + }, + { + kind: 'Field', + alias: { + kind: 'Name', + value: 'taggedIdentities', + }, + name: { + kind: 'Name', + value: + 'as_object_triples_aggregate', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'nodes', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'subject', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'label', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'term_id', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'term_id', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'aggregate', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'count', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'count' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'wallet_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'wallet_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'current_share_price', + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'position_count' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'counter_term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'current_share_price', + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'position_count' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const GetListDetailsWithPosition = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetListDetailsWithPosition' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'globalWhere' }, + }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'triples_bool_exp' }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'tagPredicateId' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'numeric' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'address' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'limit' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'offset' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'orderBy' }, + }, + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'triples_order_by' }, + }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + alias: { kind: 'Name', value: 'globalTriplesAggregate' }, + name: { kind: 'Name', value: 'triples_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'globalWhere' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'globalTriples' }, + name: { kind: 'Name', value: 'triples' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'globalWhere' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'limit' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'offset' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'offset' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'orderBy' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'counter_term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'wallet_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'tags' }, + name: { + kind: 'Name', + value: 'as_subject_triples_aggregate', + }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'predicate_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'tagPredicateId', + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'nodes' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'label', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'term_id', + }, + }, + { + kind: 'Field', + alias: { + kind: 'Name', + value: 'taggedIdentities', + }, + name: { + kind: 'Name', + value: + 'as_object_triples_aggregate', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'nodes', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'subject', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'label', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'term_id', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'term_id', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'aggregate', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'count', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'count' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'wallet_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'wallet_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'current_share_price', + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'position_count' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'account_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_ilike' }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'address', + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'counter_term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'current_share_price', + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'position_count' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'account_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_ilike' }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'address', + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const GetListDetailsWithUser = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetListDetailsWithUser' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'globalWhere' }, + }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'triples_bool_exp' }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'userWhere' }, + }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'triples_bool_exp' }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'tagPredicateId' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'numeric' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'address' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'limit' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'offset' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'orderBy' }, + }, + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'triples_order_by' }, + }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + alias: { kind: 'Name', value: 'globalTriplesAggregate' }, + name: { kind: 'Name', value: 'triples_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'globalWhere' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'globalTriples' }, + name: { kind: 'Name', value: 'triples' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'globalWhere' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'limit' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'offset' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'offset' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'orderBy' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'counter_term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'wallet_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'tags' }, + name: { + kind: 'Name', + value: 'as_subject_triples_aggregate', + }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'predicate_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'tagPredicateId', + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'nodes' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'label', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'term_id', + }, + }, + { + kind: 'Field', + alias: { + kind: 'Name', + value: 'taggedIdentities', + }, + name: { + kind: 'Name', + value: + 'as_object_triples_aggregate', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'nodes', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'subject', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'label', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'term_id', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'term_id', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'aggregate', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'count', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'count' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'wallet_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'wallet_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'current_share_price', + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'position_count' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'account_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_ilike' }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'address', + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'counter_term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'current_share_price', + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'position_count' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'account_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_ilike' }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'address', + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'userTriplesAggregate' }, + name: { kind: 'Name', value: 'triples_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'userWhere' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'userTriples' }, + name: { kind: 'Name', value: 'triples' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'userWhere' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'counter_term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'wallet_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'tags' }, + name: { + kind: 'Name', + value: 'as_subject_triples_aggregate', + }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'predicate_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'tagPredicateId', + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'nodes' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'label', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'term_id', + }, + }, + { + kind: 'Field', + alias: { + kind: 'Name', + value: 'taggedIdentities', + }, + name: { + kind: 'Name', + value: + 'as_object_triples_aggregate', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'nodes', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'subject', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'label', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'term_id', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'term_id', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'aggregate', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'count', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'count' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'wallet_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'wallet_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'current_share_price', + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'position_count' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'account_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_ilike' }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'address', + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'counter_term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'current_share_price', + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'position_count' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'account_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_ilike' }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'address', + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const GetListDetailsSimplified = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetListDetailsSimplified' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'globalWhere' }, + }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'triples_bool_exp' }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'address' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'limit' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'offset' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'orderBy' }, + }, + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'triples_order_by' }, + }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + alias: { kind: 'Name', value: 'globalTriplesAggregate' }, + name: { kind: 'Name', value: 'triples_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'globalWhere' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'globalTriples' }, + name: { kind: 'Name', value: 'triples' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'globalWhere' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'limit' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'offset' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'offset' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'orderBy' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'counter_term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'wallet_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'curve_id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_eq', + }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'current_share_price', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'position_count', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'total_shares', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'wallet_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'wallet_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'current_share_price', + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'position_count' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'account_id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_ilike', + }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'address', + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'label', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'image', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'counter_term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'current_share_price', + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'position_count' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'account_id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_ilike', + }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'address', + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'label', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'image', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const GetFeeTransfers = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetFeeTransfers' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'address' }, + }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'String' }, + }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'cutoff_timestamp' }, + }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'timestamptz' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + alias: { kind: 'Name', value: 'before_cutoff' }, + name: { kind: 'Name', value: 'fee_transfers_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'created_at' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_lte' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'cutoff_timestamp' }, + }, + }, + ], + }, + }, + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'sender_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_ilike' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'address' }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'sum' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'amount' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'after_cutoff' }, + name: { kind: 'Name', value: 'fee_transfers_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'created_at' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_gt' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'cutoff_timestamp' }, + }, + }, + ], + }, + }, + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'sender_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_ilike' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'address' }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'sum' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'amount' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const GetPositions = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetPositions' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'limit' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'offset' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'orderBy' }, + }, + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'positions_order_by' }, + }, + }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'positions_bool_exp' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + alias: { kind: 'Name', value: 'total' }, + name: { kind: 'Name', value: 'positions_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sum' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'limit' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'offset' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'offset' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'orderBy' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PositionDetails' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountMetadata' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomValue' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'value' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'person' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'thing' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'organization' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PositionDetails' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'positions' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'vault' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'atom' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'triple' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'curve_id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_eq', + }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'term_id', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'position_count', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'positions_aggregate', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'aggregate', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'sum', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'shares', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'counter_term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'curve_id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_eq', + }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'term_id', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'position_count', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'positions_aggregate', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'aggregate', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'sum', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'shares', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'data' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'emoji' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'type' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'AccountMetadata', + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'data' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'emoji' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'type' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'AccountMetadata', + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'data' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'emoji' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'type' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'AccountMetadata', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'curve_id' } }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const GetTriplePositionsByAddress = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetTriplePositionsByAddress' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'limit' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'offset' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'orderBy' }, + }, + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'positions_order_by' }, + }, + }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'positions_bool_exp' }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'address' }, + }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'String' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + alias: { kind: 'Name', value: 'total' }, + name: { kind: 'Name', value: 'positions_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sum' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'limit' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'offset' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'offset' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'orderBy' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PositionDetails' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'vault' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'triple' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'positions', + }, + arguments: [ + { + kind: 'Argument', + name: { + kind: 'Name', + value: 'where', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'account_id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_ilike', + }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'address', + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'account', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'id', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'label', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'image', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'shares', + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'counter_term', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'positions', + }, + arguments: [ + { + kind: 'Argument', + name: { + kind: 'Name', + value: 'where', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'account_id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_ilike', + }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'address', + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'account', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'id', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'label', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'image', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'shares', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountMetadata' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomValue' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'value' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'person' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'thing' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'organization' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PositionDetails' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'positions' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'vault' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'atom' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'triple' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'curve_id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_eq', + }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'term_id', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'position_count', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'positions_aggregate', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'aggregate', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'sum', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'shares', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'counter_term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'curve_id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_eq', + }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'term_id', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'position_count', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'positions_aggregate', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'aggregate', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'sum', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'shares', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'data' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'emoji' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'type' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'AccountMetadata', + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'data' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'emoji' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'type' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'AccountMetadata', + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'data' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'emoji' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'type' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'AccountMetadata', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'curve_id' } }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const GetPositionsWithAggregates = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetPositionsWithAggregates' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'limit' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'offset' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'orderBy' }, + }, + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'positions_order_by' }, + }, + }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'positions_bool_exp' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'positions_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'limit' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'offset' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'offset' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'orderBy' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'nodes' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PositionDetails' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountMetadata' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomValue' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'value' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'person' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'thing' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'organization' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PositionDetails' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'positions' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'vault' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'atom' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'triple' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'curve_id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_eq', + }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'term_id', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'position_count', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'positions_aggregate', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'aggregate', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'sum', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'shares', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'counter_term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'curve_id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_eq', + }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'term_id', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'position_count', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'positions_aggregate', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'aggregate', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'sum', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'shares', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'data' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'emoji' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'type' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'AccountMetadata', + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'data' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'emoji' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'type' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'AccountMetadata', + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'data' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'emoji' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'type' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'AccountMetadata', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'curve_id' } }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const GetPositionsCount = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetPositionsCount' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'positions_bool_exp' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'positions_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + alias: { kind: 'Name', value: 'total' }, + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sum' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const GetPosition = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetPosition' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionId' }, + }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'String' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'position' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionId' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PositionDetails' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountMetadata' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomValue' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'value' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'person' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'thing' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'organization' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PositionDetails' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'positions' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'vault' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'atom' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'triple' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'curve_id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_eq', + }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'term_id', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'position_count', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'positions_aggregate', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'aggregate', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'sum', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'shares', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'counter_term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'curve_id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_eq', + }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'term_id', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'position_count', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'positions_aggregate', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'aggregate', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'sum', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'shares', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'data' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'emoji' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'type' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'AccountMetadata', + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'data' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'emoji' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'type' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'AccountMetadata', + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'data' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'emoji' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'type' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'AccountMetadata', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'curve_id' } }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const GetPositionsCountByType = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetPositionsCountByType' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'positions_bool_exp' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'positions_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + alias: { kind: 'Name', value: 'total' }, + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sum' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vault' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const SearchPositions = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'SearchPositions' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'addresses' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: '_text' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'search_fields' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'jsonb' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + alias: { kind: 'Name', value: 'positions' }, + name: { kind: 'Name', value: 'search_positions_on_subject' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'args' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'addresses' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'addresses' }, + }, + }, + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'search_fields' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'search_fields' }, + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'triple' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'data' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'data' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'data' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const GetSignals = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetSignals' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'limit' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'offset' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'orderBy' }, + }, + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'signals_order_by' }, + }, + }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'addresses' }, + }, + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'String' }, + }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + alias: { kind: 'Name', value: 'total' }, + name: { kind: 'Name', value: 'events_aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'signals' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'limit' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'offset' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'offset' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'orderBy' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'block_number' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'created_at' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'transaction_hash' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'triple_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'deposit_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'redemption_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'atom' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomMetadata' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'total_shares', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'position_count', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'positions', + }, + arguments: [ + { + kind: 'Argument', + name: { + kind: 'Name', + value: 'where', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'account', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_in', + }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: + 'addresses', + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'account_id', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'shares', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'account', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'id', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'label', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'image', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'triple' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'AccountMetadata', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'data' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'emoji' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'type' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'AccountMetadata', + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'data' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'emoji' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'type' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'AccountMetadata', + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'data' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'emoji' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'type' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'AccountMetadata', + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'total_shares', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'position_count', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'positions', + }, + arguments: [ + { + kind: 'Argument', + name: { + kind: 'Name', + value: 'where', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'account', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_in', + }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: + 'addresses', + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'account_id', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'shares', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'account', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'id', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'label', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'image', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'counter_term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'total_shares', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'position_count', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'positions', + }, + arguments: [ + { + kind: 'Argument', + name: { + kind: 'Name', + value: 'where', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'account', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_in', + }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: + 'addresses', + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'account_id', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'shares', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'account', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'id', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'label', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'image', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'deposit' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'sender_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sender' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'receiver_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'receiver' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shares_for_receiver' }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'sender_assets_after_total_fees', + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'vault' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'position_count' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'account', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_in', + }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'addresses', + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'account_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'label', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'image', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'redemption' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'sender_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sender' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'receiver_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'receiver' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'assets_for_receiver' }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'shares_redeemed_by_sender', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountMetadata' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomValue' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'value' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'person' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'thing' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'organization' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomMetadata' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'wallet_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const GetStats = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetStats' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'stats' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'StatDetails' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'StatDetails' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'stats' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'contract_balance' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total_accounts' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total_fees' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total_atoms' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total_triples' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total_positions' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total_signals' } }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const GetTags = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetTags' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'subjectId' }, + }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'numeric' }, + }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'predicateId' }, + }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'numeric' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'triples' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_and' }, + value: { + kind: 'ListValue', + values: [ + { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'subject_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'subjectId', + }, + }, + }, + ], + }, + }, + ], + }, + { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'predicate_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'predicateId', + }, + }, + }, + ], + }, + }, + ], + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'TripleMetadata' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountMetadata' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomValue' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'value' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'person' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'thing' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'organization' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PositionFields' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'positions' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'vault' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'current_share_price' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PositionAggregateFields' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'positions_aggregate' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sum' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'TripleMetadata' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'triples' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'subject_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'predicate_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'object_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'current_share_price' }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'allPositions' }, + name: { kind: 'Name', value: 'positions_aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'PositionAggregateFields', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PositionFields' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'counter_term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'current_share_price' }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'allPositions' }, + name: { kind: 'Name', value: 'positions_aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'PositionAggregateFields', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PositionFields' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const GetTagsCustom = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetTagsCustom' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'triples_bool_exp' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'triples' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'TripleMetadata' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountMetadata' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomValue' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'value' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'person' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'thing' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'organization' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PositionFields' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'positions' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'vault' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'current_share_price' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PositionAggregateFields' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'positions_aggregate' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sum' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'TripleMetadata' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'triples' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'subject_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'predicate_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'object_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'current_share_price' }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'allPositions' }, + name: { kind: 'Name', value: 'positions_aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'PositionAggregateFields', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PositionFields' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'counter_term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'current_share_price' }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'allPositions' }, + name: { kind: 'Name', value: 'positions_aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'PositionAggregateFields', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PositionFields' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const GetTriples = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetTriples' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'limit' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'offset' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'orderBy' }, + }, + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'triples_order_by' }, + }, + }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'triples_bool_exp' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + alias: { kind: 'Name', value: 'total' }, + name: { kind: 'Name', value: 'triples_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'triples' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'limit' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'offset' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'offset' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'orderBy' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'TripleMetadata' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'TripleTxn' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'TripleVaultDetails' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountMetadata' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomValue' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'value' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'person' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'thing' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'organization' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PositionDetails' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'positions' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'vault' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'atom' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'triple' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'curve_id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_eq', + }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'term_id', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'position_count', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'positions_aggregate', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'aggregate', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'sum', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'shares', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'counter_term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'curve_id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_eq', + }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'term_id', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'position_count', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'positions_aggregate', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'aggregate', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'sum', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'shares', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'data' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'emoji' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'type' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'AccountMetadata', + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'data' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'emoji' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'type' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'AccountMetadata', + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'data' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'emoji' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'type' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'AccountMetadata', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'curve_id' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PositionFields' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'positions' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'vault' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'current_share_price' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PositionAggregateFields' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'positions_aggregate' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sum' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'TripleMetadata' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'triples' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'subject_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'predicate_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'object_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'current_share_price' }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'allPositions' }, + name: { kind: 'Name', value: 'positions_aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'PositionAggregateFields', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PositionFields' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'counter_term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'current_share_price' }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'allPositions' }, + name: { kind: 'Name', value: 'positions_aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'PositionAggregateFields', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PositionFields' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'TripleTxn' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'triples' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'block_number' } }, + { kind: 'Field', name: { kind: 'Name', value: 'created_at' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transaction_hash' } }, + { kind: 'Field', name: { kind: 'Name', value: 'creator_id' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'TripleVaultDetails' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'triples' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'counter_term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PositionDetails' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'counter_term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PositionDetails' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const GetTriplesWithAggregates = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetTriplesWithAggregates' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'limit' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'offset' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'orderBy' }, + }, + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'triples_order_by' }, + }, + }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'triples_bool_exp' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'triples_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'limit' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'offset' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'offset' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'orderBy' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'nodes' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'TripleMetadata' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'TripleTxn' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'TripleVaultDetails' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountMetadata' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomValue' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'value' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'person' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'thing' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'organization' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PositionDetails' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'positions' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'vault' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'atom' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'triple' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'curve_id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_eq', + }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'term_id', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'position_count', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'positions_aggregate', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'aggregate', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'sum', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'shares', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'counter_term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'curve_id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_eq', + }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'term_id', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'position_count', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'positions_aggregate', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'aggregate', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'sum', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'shares', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'data' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'emoji' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'type' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'AccountMetadata', + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'data' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'emoji' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'type' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'AccountMetadata', + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'data' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'emoji' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'type' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'AccountMetadata', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'curve_id' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PositionFields' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'positions' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'vault' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'current_share_price' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PositionAggregateFields' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'positions_aggregate' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sum' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'TripleMetadata' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'triples' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'subject_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'predicate_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'object_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'current_share_price' }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'allPositions' }, + name: { kind: 'Name', value: 'positions_aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'PositionAggregateFields', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PositionFields' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'counter_term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'current_share_price' }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'allPositions' }, + name: { kind: 'Name', value: 'positions_aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'PositionAggregateFields', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PositionFields' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'TripleTxn' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'triples' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'block_number' } }, + { kind: 'Field', name: { kind: 'Name', value: 'created_at' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transaction_hash' } }, + { kind: 'Field', name: { kind: 'Name', value: 'creator_id' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'TripleVaultDetails' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'triples' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'counter_term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PositionDetails' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'counter_term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PositionDetails' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const GetTriplesCount = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetTriplesCount' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'triples_bool_exp' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'triples_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + alias: { kind: 'Name', value: 'total' }, + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const GetTriple = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetTriple' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'tripleId' }, + }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'numeric' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'triple' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'term_id' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'tripleId' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'TripleMetadata' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'TripleTxn' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'TripleVaultDetails' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountMetadata' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomValue' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'atoms' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'value' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'person' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'thing' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'organization' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PositionDetails' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'positions' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'vault' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'atom' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'triple' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'curve_id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_eq', + }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'term_id', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'position_count', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'positions_aggregate', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'aggregate', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'sum', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'shares', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'counter_term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'curve_id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_eq', + }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'term_id', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'position_count', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'positions_aggregate', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'aggregate', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'sum', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'shares', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'data' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'emoji' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'type' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'AccountMetadata', + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'data' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'emoji' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'type' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'AccountMetadata', + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'data' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'emoji' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'type' }, + }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'AccountMetadata', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'curve_id' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PositionFields' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'positions' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'vault' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'current_share_price' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PositionAggregateFields' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'positions_aggregate' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sum' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'TripleMetadata' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'triples' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'subject_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'predicate_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'object_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'current_share_price' }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'allPositions' }, + name: { kind: 'Name', value: 'positions_aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'PositionAggregateFields', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PositionFields' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'counter_term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'current_share_price' }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'allPositions' }, + name: { kind: 'Name', value: 'positions_aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'PositionAggregateFields', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PositionFields' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'TripleTxn' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'triples' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'block_number' } }, + { kind: 'Field', name: { kind: 'Name', value: 'created_at' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transaction_hash' } }, + { kind: 'Field', name: { kind: 'Name', value: 'creator_id' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'TripleVaultDetails' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'triples' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'counter_term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PositionDetails' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'counter_term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PositionDetails' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const GetAtomTriplesWithPositions = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetAtomTriplesWithPositions' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'triples_bool_exp' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'triples_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const GetTriplesWithPositions = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetTriplesWithPositions' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'limit' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'offset' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'orderBy' }, + }, + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'triples_order_by' }, + }, + }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'triples_bool_exp' }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'address' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + alias: { kind: 'Name', value: 'total' }, + name: { kind: 'Name', value: 'triples_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'triples' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'limit' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'offset' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'offset' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'orderBy' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'counter_term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'position_count' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'account_id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_ilike', + }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'address', + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'label', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'image', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'counter_term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'position_count' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'account_id', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_ilike', + }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'address', + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'label', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'image', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const FindTriples = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'FindTriples' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'triples_bool_exp' }, + }, + defaultValue: { kind: 'ObjectValue', fields: [] }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'address' }, + }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'String' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'triples' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'subject_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'object_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'account_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'address' }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const GetVaults = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetVaults' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'limit' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'offset' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'orderBy' }, + }, + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'vaults_order_by' }, + }, + }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'vaults_bool_exp' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'limit' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'offset' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'offset' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'orderBy' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'where' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'nodes' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'atom' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'triple' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'term_id', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'label', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'term_id', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'label', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'term_id', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'label', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions_aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'nodes' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'atom_id', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'label', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'current_share_price' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'total_shares' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const GetVault = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetVault' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'termId' }, + }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'numeric' }, + }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'curveId' }, + }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'numeric' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vault' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'term_id' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'termId' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'curveId' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'VaultDetails' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'VaultBasicDetails' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'vaults' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'curve_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'atom' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'triple' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'current_share_price' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'total_shares' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'VaultDetails' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'vaults' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'VaultBasicDetails' }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode diff --git a/packages/intuition-graphql/src/index.ts b/packages/intuition-graphql/src/index.ts new file mode 100644 index 000000000..b290d634b --- /dev/null +++ b/packages/intuition-graphql/src/index.ts @@ -0,0 +1,8 @@ +export { + type ClientConfig, + configureClient, + createServerClient, + fetcher, +} from './client' +export * from './constants' +export * from './generated/index' diff --git a/packages/intuition-graphql/src/mutations/pin-thing.graphql b/packages/intuition-graphql/src/mutations/pin-thing.graphql new file mode 100644 index 000000000..dc2a8a557 --- /dev/null +++ b/packages/intuition-graphql/src/mutations/pin-thing.graphql @@ -0,0 +1,12 @@ +mutation pinThing( + $name: String! + $description: String + $image: String + $url: String +) { + pinThing( + thing: { description: $description, image: $image, name: $name, url: $url } + ) { + uri + } +} diff --git a/packages/intuition-graphql/src/queries/accounts.graphql b/packages/intuition-graphql/src/queries/accounts.graphql new file mode 100644 index 000000000..17811eced --- /dev/null +++ b/packages/intuition-graphql/src/queries/accounts.graphql @@ -0,0 +1,169 @@ +# Main pagination query +query GetAccounts( + $limit: Int + $offset: Int + $orderBy: [accounts_order_by!] + $where: accounts_bool_exp + $positionsLimit: Int + $positionsOffset: Int + $positionsWhere: positions_bool_exp +) { + accounts(limit: $limit, offset: $offset, order_by: $orderBy, where: $where) { + ...AccountMetadata + ...AccountPositions + atom { + term_id + wallet_id + term { + vaults(where: { curve_id: { _eq: "1" } }) { + position_count + total_shares + positions_aggregate { + aggregate { + count + sum { + shares + } + } + } + positions { + id + account { + label + id + } + shares + } + } + } + } + } +} + +# Combined query with aggregates and nodes +query GetAccountsWithAggregates( + $limit: Int + $offset: Int + $orderBy: [accounts_order_by!] + $where: accounts_bool_exp + $positionsLimit: Int + $positionsOffset: Int + $positionsWhere: positions_bool_exp + $atomsWhere: atoms_bool_exp + $atomsOrderBy: [atoms_order_by!] + $atomsLimit: Int + $atomsOffset: Int +) { + accounts_aggregate( + limit: $limit + offset: $offset + order_by: $orderBy + where: $where + ) { + aggregate { + count + } + nodes { + ...AccountMetadata + ...AccountPositions + } + } +} + +query GetAccountsCount($where: accounts_bool_exp) { + accounts_aggregate(where: $where) { + aggregate { + count + } + } +} + +query GetAccount( + $address: String! + # Positions pagination + $positionsLimit: Int + $positionsOffset: Int + $positionsWhere: positions_bool_exp + # Atoms pagination + $atomsWhere: atoms_bool_exp + $atomsOrderBy: [atoms_order_by!] + $atomsLimit: Int + $atomsOffset: Int + # Triples pagination + $triplesWhere: triples_bool_exp + $triplesOrderBy: [triples_order_by!] + $triplesLimit: Int + $triplesOffset: Int +) { + account(id: $address) { + ...AccountMetadata + atom { + ...AtomMetadata + ...AtomVaultDetails + } + ...AccountPositions + ...AccountAtoms + ...AccountTriples + } + chainlink_prices(limit: 1, order_by: { id: desc }) { + usd + } +} + +# For paginated lists +query GetAccountWithPaginatedRelations( + $address: String! + $positionsLimit: Int + $positionsOffset: Int + $positionsWhere: positions_bool_exp + $atomsLimit: Int + $atomsOffset: Int + $atomsWhere: atoms_bool_exp + $atomsOrderBy: [atoms_order_by!] + $triplesLimit: Int + $triplesOffset: Int + $triplesWhere: triples_bool_exp + $triplesOrderBy: [triples_order_by!] +) { + account(id: $address) { + ...AccountMetadata + ...AccountPositions + ...AccountAtoms + ...AccountTriples + } +} + +# For aggregate views +query GetAccountWithAggregates( + $address: String! + # Positions pagination + $positionsLimit: Int + $positionsOffset: Int + $positionsWhere: positions_bool_exp + # Atoms pagination + $atomsWhere: atoms_bool_exp + $atomsOrderBy: [atoms_order_by!] + $atomsLimit: Int + $atomsOffset: Int + # Triples pagination + $triplesWhere: triples_bool_exp + $triplesOrderBy: [triples_order_by!] + $triplesLimit: Int + $triplesOffset: Int +) { + account(id: $address) { + ...AccountMetadata + ...AccountPositionsAggregate + ...AccountAtomsAggregate + ...AccountTriplesAggregate + } +} + +query GetAccountMetadata($address: String!) { + account(id: $address) { + ...AccountMetadata + atom { + ...AtomMetadata + } + } +} diff --git a/packages/intuition-graphql/src/queries/atoms.graphql b/packages/intuition-graphql/src/queries/atoms.graphql new file mode 100644 index 000000000..4c55d9ccb --- /dev/null +++ b/packages/intuition-graphql/src/queries/atoms.graphql @@ -0,0 +1,271 @@ +# Main pagination query +query GetAtoms( + $limit: Int + $offset: Int + $orderBy: [atoms_order_by!] + $where: atoms_bool_exp +) { + total: atoms_aggregate(where: $where) { + aggregate { + count + } + } + atoms(limit: $limit, offset: $offset, order_by: $orderBy, where: $where) { + ...AtomMetadata + ...AtomTxn + ...AtomVaultDetails + ...AtomTriple + creator { + ...AccountMetadata + } + } +} + +query GetAtomsWithPositions( + $limit: Int + $offset: Int + $orderBy: [atoms_order_by!] + $where: atoms_bool_exp + $address: String +) { + total: atoms_aggregate(where: $where) { + aggregate { + count + } + } + atoms(limit: $limit, offset: $offset, order_by: $orderBy, where: $where) { + ...AtomMetadata + ...AtomTxn + term { + vaults(where: { curve_id: { _eq: "1" } }) { + position_count + total_shares + current_share_price + total: positions_aggregate { + aggregate { + count + sum { + shares + } + } + } + positions(where: { account_id: { _ilike: $address } }) { + id + account { + label + id + } + shares + } + } + } + creator { + ...AccountMetadata + } + } +} + +# Combined query with aggregates and nodes +query GetAtomsWithAggregates( + $limit: Int + $offset: Int + $orderBy: [atoms_order_by!] + $where: atoms_bool_exp +) { + atoms_aggregate( + limit: $limit + offset: $offset + order_by: $orderBy + where: $where + ) { + aggregate { + count + } + nodes { + ...AtomMetadata + ...AtomTxn + ...AtomVaultDetails + creator { + ...AccountMetadata + } + } + } +} + +query GetAtomsCount($where: atoms_bool_exp) { + atoms_aggregate(where: $where) { + aggregate { + count + } + } +} + +query GetAtom($id: numeric!) { + atom(term_id: $id) { + ...AtomMetadata + ...AtomTxn + ...AtomVaultDetails + creator { + ...AccountMetadata + } + ...AtomTriple + } +} + +query GetAtomByData($data: String!) { + atoms(where: { data: { _eq: $data } }) { + ...AtomMetadata + ...AtomTxn + ...AtomVaultDetails + creator { + ...AccountMetadata + } + ...AtomTriple + } +} + +# App specific queries +query GetVerifiedAtomDetails($id: numeric!, $userPositionAddress: String!) { + atom(term_id: $id) { + term_id + label + wallet_id + image + type + created_at + data + creator { + id + } + value { + thing { + name + description + url + } + } + term { + vaults(where: { curve_id: { _eq: "1" }, term_id: { _eq: $id } }) { + current_share_price + total_shares + position_count + userPosition: positions( + limit: 1 + where: { account_id: { _ilike: $userPositionAddress } } + ) { + shares + account_id + } + } + } + tags: as_subject_triples_aggregate(where: { predicate_id: { _in: [3] } }) { + nodes { + object { + label + term { + vaults(where: { curve_id: { _eq: "1" }, term_id: { _eq: $id } }) { + term_id + } + } + } + predicate_id + } + aggregate { + count + } + } + verificationTriple: as_subject_triples_aggregate( + where: { predicate_id: { _eq: "4" }, object_id: { _eq: "126451" } } + ) { + nodes { + term_id + predicate_id + object_id + term { + vaults(where: { curve_id: { _eq: "1" } }) { + term_id + positions( + where: { + account_id: { + _in: [ + "0xD99811847E634d33f0DAcE483c52949bEc76300F" + "0xBb285b543C96C927FC320Fb28524899C2C90806C" + "0x0b162525C5dc8c18F771E60fD296913030Bfe42c" + "0xbd2DE08aF9470c87C4475117Fb912B8f1d588D9c" + "0xB95ca3D3144e9d1DAFF0EE3d35a4488A4A5C9Fc5" + ] + } + } + ) { + id + shares + account_id + account { + id + } + } + } + } + } + } + } +} + +query GetAtomDetails($id: numeric!, $userPositionAddress: String!) { + atom(term_id: $id) { + term_id + label + wallet_id + image + type + created_at + data + creator { + id + } + value { + thing { + name + description + url + } + } + term { + vaults(where: { curve_id: { _eq: "1" }, term_id: { _eq: $id } }) { + current_share_price + total_shares + position_count + userPosition: positions( + limit: 1 + where: { account_id: { _eq: $userPositionAddress } } + ) { + shares + account_id + } + } + } + tags: as_subject_triples_aggregate(where: { predicate_id: { _in: [3] } }) { + nodes { + object { + label + term { + vaults(where: { curve_id: { _eq: "1" }, term_id: { _eq: $id } }) { + term_id + } + } + } + predicate_id + } + aggregate { + count + } + } + } +} + +query FindAtomIds($where: atoms_bool_exp = {}) { + atoms(where: $where) { + term_id + data + } +} diff --git a/packages/intuition-graphql/src/queries/events.graphql b/packages/intuition-graphql/src/queries/events.graphql new file mode 100644 index 000000000..5b6da930b --- /dev/null +++ b/packages/intuition-graphql/src/queries/events.graphql @@ -0,0 +1,221 @@ +# Main pagination query +query GetEvents( + $limit: Int + $offset: Int + $orderBy: [events_order_by!] + $where: events_bool_exp + $addresses: [String!] +) { + total: events_aggregate(where: $where) { + aggregate { + count + } + } + events(limit: $limit, offset: $offset, order_by: $orderBy, where: $where) { + id + block_number + created_at + type + transaction_hash + atom_id + triple_id + deposit_id + redemption_id + atom { + ...AtomMetadata + term { + vaults(where: { curve_id: { _eq: "1" } }) { + total_shares + position_count + positions(where: { account: { id: { _in: $addresses } } }) { + account_id + shares + account { + id + label + image + } + } + } + } + } + triple { + term_id + creator { + ...AccountMetadata + } + subject { + data + term_id + image + label + emoji + type + ...AtomValue + creator { + ...AccountMetadata + } + } + predicate { + data + term_id + image + label + emoji + type + ...AtomValue + creator { + ...AccountMetadata + } + } + object { + data + term_id + image + label + emoji + type + ...AtomValue + creator { + ...AccountMetadata + } + } + term { + vaults(where: { curve_id: { _eq: "1" } }) { + total_shares + position_count + positions(where: { account: { id: { _in: $addresses } } }) { + account_id + shares + account { + id + label + image + } + } + } + } + counter_term { + vaults(where: { curve_id: { _eq: "1" } }) { + total_shares + position_count + positions(where: { account: { id: { _in: $addresses } } }) { + account_id + shares + account { + id + label + image + } + } + } + } + } + deposit { + sender_id + sender { + id + } + shares_for_receiver + sender_assets_after_total_fees + vault { + total_shares + position_count + positions(where: { account: { id: { _in: $addresses } } }) { + account_id + shares + account { + id + label + image + } + } + } + } + redemption { + sender_id + sender { + id + } + } + } +} + +# Combined query with aggregates and nodes +query GetEventsWithAggregates( + $limit: Int + $offset: Int + $orderBy: [events_order_by!] + $where: events_bool_exp + $addresses: [String!] +) { + events_aggregate( + where: $where + limit: $limit + offset: $offset + order_by: $orderBy + ) { + aggregate { + count + max { + created_at + block_number + } + min { + created_at + block_number + } + } + nodes { + ...EventDetails + } + } +} + +query GetEventsCount($where: events_bool_exp) { + events_aggregate(where: $where) { + aggregate { + count + } + } +} + +query GetEventsData($where: events_bool_exp) { + events_aggregate(where: $where) { + aggregate { + count + max { + created_at + block_number + } + min { + created_at + block_number + } + avg { + block_number + } + } + } +} + +# Debug query with explicit address and position filtering +query GetDebugEvents($addresses: [String!]) { + debug_events: events { + id + atom { + term { + positions(where: { account_id: { _in: $addresses } }) { + account_id + shares + } + } + } + } +} + +query GetTransactionEvents($hash: String!) { + events(where: { transaction_hash: { _eq: $hash } }) { + transaction_hash + } +} diff --git a/packages/intuition-graphql/src/queries/follows.graphql b/packages/intuition-graphql/src/queries/follows.graphql new file mode 100644 index 000000000..5190f4c7b --- /dev/null +++ b/packages/intuition-graphql/src/queries/follows.graphql @@ -0,0 +1,237 @@ +query GetFollowingPositions( + $subjectId: numeric! + $predicateId: numeric! + $address: String! + $limit: Int + $offset: Int + $positionsOrderBy: [positions_order_by!] +) { + triples_aggregate( + where: { + _and: [ + { subject_id: { _eq: $subjectId } } + { predicate_id: { _eq: $predicateId } } + { positions: { account_id: { _ilike: $address } } } + ] + } + ) { + aggregate { + count + } + } + triples( + limit: $limit + offset: $offset + where: { + _and: [ + { subject_id: { _eq: $subjectId } } + { predicate_id: { _eq: $predicateId } } + { positions: { account_id: { _ilike: $address } } } + ] + } + ) { + term_id + subject { + ...AtomMetadata + } + predicate { + ...AtomMetadata + } + object { + ...AtomMetadata + } + term { + vaults(where: { curve_id: { _eq: "1" } }) { + total_shares + current_share_price + positions_aggregate { + aggregate { + count + sum { + shares + } + } + } + positions( + where: { account_id: { _ilike: $address } } + order_by: $positionsOrderBy + ) { + account_id + account { + id + label + } + shares + } + } + } + } +} + +query GetFollowerPositions( + $subjectId: numeric! + $predicateId: numeric! + $objectId: numeric! + $positionsLimit: Int + $positionsOffset: Int + $positionsOrderBy: [positions_order_by!] + $positionsWhere: positions_bool_exp +) { + triples( + where: { + _and: [ + { subject_id: { _eq: $subjectId } } + { predicate_id: { _eq: $predicateId } } + { object_id: { _eq: $objectId } } + ] + } + ) { + term_id + subject { + ...AtomMetadata + } + predicate { + ...AtomMetadata + } + object { + ...AtomMetadata + } + term { + vaults(where: { curve_id: { _eq: "1" } }) { + total_shares + current_share_price + positions_aggregate { + aggregate { + count + sum { + shares + } + } + } + positions( + limit: $positionsLimit + offset: $positionsOffset + order_by: $positionsOrderBy + where: $positionsWhere + ) { + account { + id + label + image + } + shares + } + } + } + } +} + +# Combined query to get following and followers +query GetConnections( + $subjectId: numeric! + $predicateId: numeric! + $objectId: numeric! + $addresses: [String!] + $positionsLimit: Int + $positionsOffset: Int + $positionsOrderBy: [positions_order_by!] + $positionsWhere: positions_bool_exp +) { + # Following + following_count: triples_aggregate( + where: { + _and: [ + { subject_id: { _eq: $subjectId } } + { predicate_id: { _eq: $predicateId } } + { object_id: { _eq: $objectId } } + ] + } + ) { + aggregate { + count + } + } + following: triples( + where: { + _and: [ + { subject_id: { _eq: $subjectId } } + { predicate_id: { _eq: $predicateId } } + { object_id: { _eq: $objectId } } + ] + } + ) { + ...FollowMetadata + } + + # Followers + followers_count: triples_aggregate( + where: { + _and: [ + { subject_id: { _eq: $subjectId } } + { predicate_id: { _eq: $predicateId } } + { positions: { account_id: { _in: $addresses } } } + ] + } + ) { + aggregate { + count + } + } + followers: triples( + where: { + _and: [ + { subject_id: { _eq: $subjectId } } + { predicate_id: { _eq: $predicateId } } + { positions: { account_id: { _in: $addresses } } } + ] + } + ) { + ...FollowMetadata + } +} + +query GetConnectionsCount( + $subjectId: numeric! + $predicateId: numeric! + $objectId: numeric! + $address: String! +) { + # Following count + following_count: triples_aggregate( + where: { + _and: [ + { subject_id: { _eq: $subjectId } } + { predicate_id: { _eq: $predicateId } } + { positions: { account_id: { _ilike: $address } } } + ] + } + ) { + aggregate { + count + } + } + + # Followers count + followers_count: triples( + where: { + _and: [ + { subject_id: { _eq: $subjectId } } + { predicate_id: { _eq: $predicateId } } + { object_id: { _eq: $objectId } } + ] + } + ) { + term { + vaults(where: { curve_id: { _eq: "1" } }) { + positions_aggregate { + aggregate { + count + sum { + shares + } + } + } + } + } + } +} diff --git a/packages/intuition-graphql/src/queries/lists.graphql b/packages/intuition-graphql/src/queries/lists.graphql new file mode 100644 index 000000000..ac9af09bf --- /dev/null +++ b/packages/intuition-graphql/src/queries/lists.graphql @@ -0,0 +1,498 @@ +# predicateId = 4 for tags on dev, 3 on prod + +# GetLists query for Exploring Lists +query GetLists($where: predicate_objects_bool_exp) { + predicate_objects_aggregate(where: $where) { + aggregate { + count + } + } + predicate_objects(where: $where, order_by: [{ triple_count: desc }]) { + id + triple_count + object { + term_id + label + image + } + } +} + +query GetListItems($predicateId: numeric, $objectId: numeric) { + triples_aggregate( + where: { predicate_id: { _eq: predicateId }, object_id: { _eq: $objectId } } + order_by: [ + { + term: { positions_aggregate: { count: desc } } + counter_term: { positions_aggregate: { count: desc } } + } + ] + ) { + aggregate { + count + } + nodes { + ...TripleVaultDetails + } + } +} + +# GetListDetails query for List Details page +## Combines the aggregates and nodes within since we don't need pagination on the tags yet +## If we do, we'd need to paginate the triples and tags separately and split +## SG: This appears to be getting the aggregate sum of shares across all positions in the vault.... +## We will correct this to just get the total_shares in the pro rata vault. +query GetListDetails( + $globalWhere: triples_bool_exp + $tagPredicateId: numeric + $limit: Int + $offset: Int + $orderBy: [triples_order_by!] +) { + globalTriplesAggregate: triples_aggregate(where: $globalWhere) { + aggregate { + count + } + } + globalTriples: triples( + where: $globalWhere + limit: $limit + offset: $offset + order_by: $orderBy + ) { + term_id + counter_term_id + subject { + term_id + label + wallet_id + image + type + term { + vaults { + position_count + } + } + tags: as_subject_triples_aggregate( + where: { predicate_id: { _eq: $tagPredicateId } } + ) { + nodes { + object { + label + term_id + taggedIdentities: as_object_triples_aggregate { + nodes { + subject { + label + term_id + } + term_id + } + aggregate { + count + } + } + } + } + aggregate { + count + } + } + } + object { + term_id + label + wallet_id + image + type + } + predicate { + term_id + label + wallet_id + image + type + } + term { + vaults(where: { curve_id: { _eq: "1" } }) { + current_share_price + position_count + total_shares + } + } + counter_term { + vaults(where: { curve_id: { _eq: "1" } }) { + current_share_price + position_count + total_shares + } + } + } +} + +query GetListDetailsWithPosition( + $globalWhere: triples_bool_exp + $tagPredicateId: numeric + $address: String + $limit: Int + $offset: Int + $orderBy: [triples_order_by!] +) { + globalTriplesAggregate: triples_aggregate(where: $globalWhere) { + aggregate { + count + } + } + globalTriples: triples( + where: $globalWhere + limit: $limit + offset: $offset + order_by: $orderBy + ) { + term_id + counter_term_id + subject { + term_id + label + wallet_id + image + type + tags: as_subject_triples_aggregate( + where: { predicate_id: { _eq: $tagPredicateId } } + ) { + nodes { + object { + label + term_id + taggedIdentities: as_object_triples_aggregate { + nodes { + subject { + label + term_id + } + term_id + } + aggregate { + count + } + } + } + } + aggregate { + count + } + } + } + object { + term_id + label + wallet_id + image + type + } + predicate { + term_id + label + wallet_id + image + type + } + term { + vaults { + current_share_price + position_count + total_shares + } + positions(where: { account_id: { _ilike: $address } }) { + account { + id + label + image + } + shares + } + } + counter_term { + vaults { + current_share_price + position_count + total_shares + } + positions(where: { account_id: { _ilike: $address } }) { + account { + id + label + image + } + shares + } + } + } +} + +query GetListDetailsWithUser( + $globalWhere: triples_bool_exp + $userWhere: triples_bool_exp + $tagPredicateId: numeric + $address: String + $limit: Int + $offset: Int + $orderBy: [triples_order_by!] +) { + globalTriplesAggregate: triples_aggregate(where: $globalWhere) { + aggregate { + count + } + } + globalTriples: triples( + where: $globalWhere + limit: $limit + offset: $offset + order_by: $orderBy + ) { + term_id + counter_term_id + subject { + term_id + label + wallet_id + image + type + tags: as_subject_triples_aggregate( + where: { predicate_id: { _eq: $tagPredicateId } } + ) { + nodes { + object { + label + term_id + taggedIdentities: as_object_triples_aggregate { + nodes { + subject { + label + term_id + } + term_id + } + aggregate { + count + } + } + } + } + aggregate { + count + } + } + } + object { + term_id + label + wallet_id + image + type + } + predicate { + term_id + label + wallet_id + image + type + } + term { + vaults { + current_share_price + position_count + total_shares + } + positions(where: { account_id: { _ilike: $address } }) { + account { + id + label + image + } + shares + } + } + counter_term { + vaults { + current_share_price + position_count + total_shares + } + positions(where: { account_id: { _ilike: $address } }) { + account { + id + label + image + } + shares + } + } + } + userTriplesAggregate: triples_aggregate(where: $userWhere) { + aggregate { + count + } + } + userTriples: triples(where: $userWhere) { + term_id + counter_term_id + subject { + term_id + label + wallet_id + image + type + tags: as_subject_triples_aggregate( + where: { predicate_id: { _eq: $tagPredicateId } } + ) { + nodes { + object { + label + term_id + taggedIdentities: as_object_triples_aggregate { + nodes { + subject { + label + term_id + } + term_id + } + aggregate { + count + } + } + } + } + aggregate { + count + } + } + } + object { + term_id + label + wallet_id + image + type + } + predicate { + term_id + label + wallet_id + image + type + } + term { + vaults { + current_share_price + position_count + total_shares + } + positions(where: { account_id: { _ilike: $address } }) { + account { + id + label + image + } + shares + } + } + counter_term { + vaults { + current_share_price + position_count + total_shares + } + positions(where: { account_id: { _ilike: $address } }) { + account { + id + label + image + } + shares + } + } + } +} + +query GetListDetailsSimplified( + $globalWhere: triples_bool_exp + $address: String + $limit: Int + $offset: Int + $orderBy: [triples_order_by!] +) { + globalTriplesAggregate: triples_aggregate(where: $globalWhere) { + aggregate { + count + } + } + globalTriples: triples( + where: $globalWhere + limit: $limit + offset: $offset + order_by: $orderBy + ) { + term_id + counter_term_id + subject { + term_id + label + wallet_id + image + type + term { + vaults(where: { curve_id: { _eq: "1" } }) { + current_share_price + position_count + total_shares + } + } + } + object { + term_id + label + wallet_id + image + type + } + predicate { + term_id + label + wallet_id + image + type + } + term { + vaults(where: { curve_id: { _eq: "1" } }) { + current_share_price + position_count + total_shares + positions(where: { account_id: { _ilike: $address } }) { + account { + id + label + image + } + shares + } + } + } + counter_term { + vaults(where: { curve_id: { _eq: "1" } }) { + current_share_price + position_count + total_shares + positions(where: { account_id: { _ilike: $address } }) { + account { + id + label + image + } + shares + } + } + } + } +} diff --git a/packages/intuition-graphql/src/queries/points.graphql b/packages/intuition-graphql/src/queries/points.graphql new file mode 100644 index 000000000..39886bcf8 --- /dev/null +++ b/packages/intuition-graphql/src/queries/points.graphql @@ -0,0 +1,27 @@ +query GetFeeTransfers($address: String!, $cutoff_timestamp: timestamptz) { + before_cutoff: fee_transfers_aggregate( + where: { + created_at: { _lte: $cutoff_timestamp } + sender_id: { _ilike: $address } + } + ) { + aggregate { + sum { + amount + } + } + } + + after_cutoff: fee_transfers_aggregate( + where: { + created_at: { _gt: $cutoff_timestamp } + sender_id: { _ilike: $address } + } + ) { + aggregate { + sum { + amount + } + } + } +} diff --git a/packages/intuition-graphql/src/queries/positions.graphql b/packages/intuition-graphql/src/queries/positions.graphql new file mode 100644 index 000000000..91d69df72 --- /dev/null +++ b/packages/intuition-graphql/src/queries/positions.graphql @@ -0,0 +1,141 @@ +# Main pagination query +query GetPositions( + $limit: Int + $offset: Int + $orderBy: [positions_order_by!] + $where: positions_bool_exp +) { + total: positions_aggregate(where: $where) { + aggregate { + count + sum { + shares + } + } + } + positions(limit: $limit, offset: $offset, order_by: $orderBy, where: $where) { + ...PositionDetails + } +} + +query GetTriplePositionsByAddress( + $limit: Int + $offset: Int + $orderBy: [positions_order_by!] + $where: positions_bool_exp + $address: String! +) { + total: positions_aggregate(where: $where) { + aggregate { + count + sum { + shares + } + } + } + positions(limit: $limit, offset: $offset, order_by: $orderBy, where: $where) { + ...PositionDetails + vault { + term_id + term { + triple { + term { + positions(where: { account_id: { _ilike: $address } }) { + account { + id + label + image + } + shares + } + } + counter_term { + positions(where: { account_id: { _ilike: $address } }) { + account { + id + label + image + } + shares + } + } + } + } + } + } +} + +# Combined query with aggregates and nodes +query GetPositionsWithAggregates( + $limit: Int + $offset: Int + $orderBy: [positions_order_by!] + $where: positions_bool_exp +) { + positions_aggregate( + limit: $limit + offset: $offset + order_by: $orderBy + where: $where + ) { + aggregate { + count + } + nodes { + ...PositionDetails + } + } +} + +query GetPositionsCount($where: positions_bool_exp) { + positions_aggregate(where: $where) { + total: aggregate { + count + sum { + shares + } + } + } +} + +query GetPosition($positionId: String!) { + position(id: $positionId) { + ...PositionDetails + } +} + +query GetPositionsCountByType($where: positions_bool_exp) { + positions_aggregate(where: $where) { + total: aggregate { + count + sum { + shares + } + } + } + positions { + vault { + term_id + } + } +} + +query SearchPositions($addresses: _text, $search_fields: jsonb) { + positions: search_positions_on_subject( + args: { addresses: $addresses, search_fields: $search_fields } + ) { + term { + triple { + subject { + data + } + predicate { + data + } + object { + data + } + } + } + } +} diff --git a/packages/intuition-graphql/src/queries/signals.graphql b/packages/intuition-graphql/src/queries/signals.graphql new file mode 100644 index 000000000..6aeb147da --- /dev/null +++ b/packages/intuition-graphql/src/queries/signals.graphql @@ -0,0 +1,211 @@ +query GetSignals( + $limit: Int + $offset: Int + $orderBy: [signals_order_by!] + $addresses: [String!] +) { + total: events_aggregate { + aggregate { + count + } + } + signals(limit: $limit, offset: $offset, order_by: $orderBy) { + id + block_number + created_at + transaction_hash + atom_id + triple_id + deposit_id + redemption_id + term { + atom { + ...AtomMetadata + term { + vaults { + total_shares + position_count + positions(where: { account: { id: { _in: $addresses } } }) { + account_id + shares + account { + id + label + image + } + } + } + } + } + triple { + term_id + creator { + ...AccountMetadata + } + subject { + data + term_id + image + label + emoji + type + ...AtomValue + creator { + ...AccountMetadata + } + } + predicate { + data + term_id + image + label + emoji + type + ...AtomValue + creator { + ...AccountMetadata + } + } + object { + data + term_id + image + label + emoji + type + ...AtomValue + creator { + ...AccountMetadata + } + } + term { + vaults { + total_shares + position_count + positions(where: { account: { id: { _in: $addresses } } }) { + account_id + shares + account { + id + label + image + } + } + } + } + counter_term { + vaults { + total_shares + position_count + positions(where: { account: { id: { _in: $addresses } } }) { + account_id + shares + account { + id + label + image + } + } + } + } + } + } + deposit { + sender_id + sender { + id + label + image + } + receiver_id + receiver { + id + label + image + } + shares_for_receiver + sender_assets_after_total_fees + vault { + total_shares + position_count + positions(where: { account: { id: { _in: $addresses } } }) { + account_id + shares + account { + id + label + image + } + } + } + } + redemption { + sender_id + sender { + id + label + image + } + receiver_id + receiver { + id + label + image + } + assets_for_receiver + shares_redeemed_by_sender + } + } +} + +fragment AtomValue on atoms { + value { + person { + name + image + description + url + } + thing { + name + image + description + url + } + organization { + name + image + description + url + } + account { + id + label + image + } + } +} + +fragment AtomMetadataMAYBEDELETETHIS on atoms { + term_id + data + image + label + emoji + type + wallet_id + creator { + id + label + image + } + ...AtomValue +} + +fragment AccountMetadata on accounts { + label + image + id + atom_id + type +} diff --git a/packages/intuition-graphql/src/queries/stats.graphql b/packages/intuition-graphql/src/queries/stats.graphql new file mode 100644 index 000000000..f2db1bea6 --- /dev/null +++ b/packages/intuition-graphql/src/queries/stats.graphql @@ -0,0 +1,5 @@ +query GetStats { + stats { + ...StatDetails + } +} diff --git a/packages/intuition-graphql/src/queries/tags.graphql b/packages/intuition-graphql/src/queries/tags.graphql new file mode 100644 index 000000000..64e0abeaf --- /dev/null +++ b/packages/intuition-graphql/src/queries/tags.graphql @@ -0,0 +1,18 @@ +query GetTags($subjectId: numeric!, $predicateId: numeric!) { + triples( + where: { + _and: [ + { subject_id: { _eq: $subjectId } } + { predicate_id: { _eq: $predicateId } } + ] + } + ) { + ...TripleMetadata + } +} + +query GetTagsCustom($where: triples_bool_exp) { + triples(where: $where) { + ...TripleMetadata + } +} diff --git a/packages/intuition-graphql/src/queries/triples.graphql b/packages/intuition-graphql/src/queries/triples.graphql new file mode 100644 index 000000000..2da2c7444 --- /dev/null +++ b/packages/intuition-graphql/src/queries/triples.graphql @@ -0,0 +1,148 @@ +# Main pagination query +query GetTriples( + $limit: Int + $offset: Int + $orderBy: [triples_order_by!] + $where: triples_bool_exp +) { + total: triples_aggregate(where: $where) { + aggregate { + count + } + } + triples(limit: $limit, offset: $offset, order_by: $orderBy, where: $where) { + ...TripleMetadata + ...TripleTxn + ...TripleVaultDetails + creator { + ...AccountMetadata + } + } +} + +# Combined query with aggregates and nodes +query GetTriplesWithAggregates( + $limit: Int + $offset: Int + $orderBy: [triples_order_by!] + $where: triples_bool_exp +) { + triples_aggregate( + limit: $limit + offset: $offset + order_by: $orderBy + where: $where + ) { + aggregate { + count + } + nodes { + ...TripleMetadata + ...TripleTxn + ...TripleVaultDetails + creator { + ...AccountMetadata + } + } + } +} + +query GetTriplesCount($where: triples_bool_exp) { + triples_aggregate(where: $where) { + total: aggregate { + count + } + } +} + +query GetTriple($tripleId: numeric!) { + triple(term_id: $tripleId) { + ...TripleMetadata + ...TripleTxn + ...TripleVaultDetails + creator { + ...AccountMetadata + } + } +} + +query GetAtomTriplesWithPositions($where: triples_bool_exp) { + triples_aggregate(where: $where) { + aggregate { + count + } + } +} + +query GetTriplesWithPositions( + $limit: Int + $offset: Int + $orderBy: [triples_order_by!] + $where: triples_bool_exp + $address: String +) { + total: triples_aggregate(where: $where) { + aggregate { + count + } + } + triples(limit: $limit, offset: $offset, order_by: $orderBy, where: $where) { + term_id + counter_term_id + subject { + term_id + label + image + } + predicate { + term_id + label + image + } + object { + term_id + label + image + } + term { + vaults { + total_shares + position_count + positions(where: { account_id: { _ilike: $address } }) { + account { + id + label + image + } + shares + } + } + } + counter_term { + vaults { + total_shares + position_count + positions(where: { account_id: { _ilike: $address } }) { + account { + id + label + image + } + shares + } + } + } + } +} + +query FindTriples($where: triples_bool_exp = {}, $address: String!) { + triples(where: $where) { + term_id + subject_id + predicate_id + object_id + positions(where: { account_id: { _eq: $address } }) { + shares + } + } +} diff --git a/packages/intuition-graphql/src/queries/vaults.graphql b/packages/intuition-graphql/src/queries/vaults.graphql new file mode 100644 index 000000000..989276f0b --- /dev/null +++ b/packages/intuition-graphql/src/queries/vaults.graphql @@ -0,0 +1,58 @@ +query GetVaults( + $limit: Int + $offset: Int + $orderBy: [vaults_order_by!] + $where: vaults_bool_exp +) { + vaults_aggregate( + limit: $limit + offset: $offset + order_by: $orderBy + where: $where + ) { + aggregate { + count + } + nodes { + term_id + term { + atom { + term_id + label + } + triple { + term_id + subject { + term_id + label + } + predicate { + term_id + label + } + object { + term_id + label + } + } + } + positions_aggregate { + nodes { + account { + atom_id + label + } + shares + } + } + current_share_price + total_shares + } + } +} + +query GetVault($termId: numeric!, $curveId: numeric!) { + vault(term_id: $termId, curve_id: $curveId) { + ...VaultDetails + } +} diff --git a/packages/intuition-graphql/tests/client.test.ts b/packages/intuition-graphql/tests/client.test.ts new file mode 100644 index 000000000..a8db6580a --- /dev/null +++ b/packages/intuition-graphql/tests/client.test.ts @@ -0,0 +1,24 @@ +import { describe, expect, it } from 'vitest' + +import { createServerClient } from '../src/client' + +// add userId back in when we need to add user auth for mutations +describe('GraphQL Client', () => { + it('should create a client with correct headers', () => { + const token = 'test-token' + const graphqlClient = createServerClient({ token }) + + expect(graphqlClient.requestConfig.headers).toEqual({ + 'Content-Type': 'application/json', + authorization: `Bearer ${token}`, + }) + }) + + it('should create a client without headers when no params are provided', () => { + const graphqlClient = createServerClient({}) + + expect(graphqlClient.requestConfig.headers).toEqual({ + 'Content-Type': 'application/json', + }) + }) +}) diff --git a/packages/intuition-graphql/tsconfig.base.json b/packages/intuition-graphql/tsconfig.base.json new file mode 100644 index 000000000..9f6f2be85 --- /dev/null +++ b/packages/intuition-graphql/tsconfig.base.json @@ -0,0 +1,27 @@ +{ + "compilerOptions": { + "allowJs": true, + "allowSyntheticDefaultImports": true, + "baseUrl": "./", + "esModuleInterop": true, + "isolatedModules": true, + "jsx": "react-jsx", + "module": "ESNext", + "moduleResolution": "bundler", + "outDir": "./dist", + "skipLibCheck": true, + "target": "ESNext", + "strict": true, + "paths": { + "@/*": ["src/*"], + "@0xintuition/1ui": ["packages/1ui/src/index.ts"], + "@0xintuition/api": ["packages/api/src/index.ts"], + "@0xintuition/automation-tools": ["tools/src/index.ts"], + "@0xintuition/graphql": ["packages/graphql/src/index.ts"], + "@0xintuition/portal": ["apps/portal/src/index.ts"], + "@0xintuition/protocol": ["packages/protocol/src/index.ts"], + "@0xintuition/sdk": ["packages/sdk/src/index.ts"] + } + }, + "exclude": ["node_modules", "dist", "**/*.spec.ts"] +} diff --git a/packages/intuition-graphql/tsconfig.json b/packages/intuition-graphql/tsconfig.json new file mode 100644 index 000000000..70b7acd5c --- /dev/null +++ b/packages/intuition-graphql/tsconfig.json @@ -0,0 +1,11 @@ +{ + "extends": "../../tsconfig.base.json", + "include": ["src/**/*.ts"], + "exclude": [], + "compilerOptions": { + "moduleResolution": "bundler", + "baseUrl": "./src", + "rootDir": "src", + "outDir": "../../dist/packages/graphql" + } +} diff --git a/packages/intuition-graphql/tsconfig.lib.json b/packages/intuition-graphql/tsconfig.lib.json new file mode 100644 index 000000000..fc8520e73 --- /dev/null +++ b/packages/intuition-graphql/tsconfig.lib.json @@ -0,0 +1,3 @@ +{ + "extends": "./tsconfig.json" +} diff --git a/packages/intuition-graphql/tsup.config.ts b/packages/intuition-graphql/tsup.config.ts new file mode 100644 index 000000000..39a56b229 --- /dev/null +++ b/packages/intuition-graphql/tsup.config.ts @@ -0,0 +1,13 @@ +import { defineConfig } from 'tsup' + +export default defineConfig({ + entry: ['src/index.ts'], + format: ['cjs', 'esm'], + dts: true, + splitting: false, + sourcemap: true, + clean: true, + external: ['react', 'graphql'], + treeshake: true, + noExternal: ['./src/generated/**'], +}) diff --git a/packages/intuition-graphql/turbo.json b/packages/intuition-graphql/turbo.json new file mode 100644 index 000000000..7d3df4b72 --- /dev/null +++ b/packages/intuition-graphql/turbo.json @@ -0,0 +1,39 @@ +{ + "$schema": "https://turborepo.com/schema.json", + "tasks": { + "build": { + "dependsOn": ["^build"], + "outputs": ["dist/**", ".next", "build"] + }, + "dev": { + "cache": false, + "persistent": true, + "dependsOn": ["^dev"] + }, + "format": {}, + "format:fix": {}, + "check": { + "dependsOn": [] + }, + "codegen": { + "dependsOn": [] + }, + "lint": { + "dependsOn": ["^build"] + }, + "lint:fix": { + "dependsOn": ["^build"] + }, + "test": { + "dependsOn": ["^build", "^test"] + }, + "typecheck": { + "dependsOn": ["^typecheck"] + }, + "start": { + "dependsOn": [], + "inputs": ["$TURBO_DEFAULT$", ".env*"], + "outputs": ["build/**"] + } + } +} diff --git a/packages/intuition-graphql/vitest.config.ts b/packages/intuition-graphql/vitest.config.ts new file mode 100644 index 000000000..992095572 --- /dev/null +++ b/packages/intuition-graphql/vitest.config.ts @@ -0,0 +1,6 @@ +import { defineConfig } from 'vitest/config' + +// https://vitest.dev/config/ +export default defineConfig({ + test: {}, +}) From 01a6a32454dd1c2f36eab7dde803a59fc963b44d Mon Sep 17 00:00:00 2001 From: James Date: Wed, 1 Oct 2025 22:53:31 +0200 Subject: [PATCH 02/13] delete query + add new query for voting overlay --- packages/intuition-graphql/schema.graphql | 11560 +-- .../src/fragments/account.graphql | 3 - .../src/fragments/deposit.graphql | 5 +- .../src/fragments/redemption.graphql | 5 +- .../intuition-graphql/src/generated/index.ts | 65822 +++------------- .../src/queries/accounts.graphql | 169 - .../src/queries/atoms.graphql | 276 +- .../src/queries/events.graphql | 221 - .../src/queries/follows.graphql | 237 - .../src/queries/lists.graphql | 498 - .../src/queries/points.graphql | 27 - .../src/queries/positions.graphql | 141 - .../src/queries/signals.graphql | 211 - .../src/queries/stats.graphql | 5 - .../src/queries/tags.graphql | 18 - .../src/queries/triples.graphql | 161 +- .../src/queries/vaults.graphql | 58 - 17 files changed, 13141 insertions(+), 66276 deletions(-) diff --git a/packages/intuition-graphql/schema.graphql b/packages/intuition-graphql/schema.graphql index db6857e60..823aca480 100644 --- a/packages/intuition-graphql/schema.graphql +++ b/packages/intuition-graphql/schema.graphql @@ -4,17 +4,11 @@ schema { subscription: subscription_root } -""" -whether this query should be cached (Hasura Cloud only) -""" +"""whether this query should be cached (Hasura Cloud only)""" directive @cached( - """ - refresh the cache entry - """ + """refresh the cache entry""" refresh: Boolean! = false - """ - measured in seconds - """ + """measured in seconds""" ttl: Int! = 60 ) on QUERY @@ -83,9 +77,7 @@ input String_comparison_exp { _eq: String _gt: String _gte: String - """ - does the column match the given case-insensitive pattern - """ + """does the column match the given case-insensitive pattern""" _ilike: String _in: [String!] """ @@ -93,41 +85,31 @@ input String_comparison_exp { """ _iregex: String _is_null: Boolean - """ - does the column match the given pattern - """ + """does the column match the given pattern""" _like: String _lt: String _lte: String _neq: String - """ - does the column NOT match the given case-insensitive pattern - """ + """does the column NOT match the given case-insensitive pattern""" _nilike: String _nin: [String!] """ does the column NOT match the given POSIX regular expression, case insensitive """ _niregex: String - """ - does the column NOT match the given pattern - """ + """does the column NOT match the given pattern""" _nlike: String """ does the column NOT match the given POSIX regular expression, case sensitive """ _nregex: String - """ - does the column NOT match the given SQL regular expression - """ + """does the column NOT match the given SQL regular expression""" _nsimilar: String """ does the column match the given POSIX regular expression, case sensitive """ _regex: String - """ - does the column match the given SQL regular expression - """ + """does the column match the given SQL regular expression""" _similar: String } @@ -154,463 +136,245 @@ input account_type_comparison_exp { columns and relationships of "account" """ type accounts { - """ - An object relationship - """ + """An object relationship""" atom: atoms - atom_id: numeric - """ - An array relationship - """ + atom_id: String + """An array relationship""" atoms( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [atoms_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [atoms_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: atoms_bool_exp ): [atoms!]! - """ - An aggregate relationship - """ + """An aggregate relationship""" atoms_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [atoms_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [atoms_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: atoms_bool_exp ): atoms_aggregate! cached_image: cached_images_cached_image - """ - An array relationship - """ + """An array relationship""" deposits_received( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [deposits_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [deposits_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: deposits_bool_exp ): [deposits!]! - """ - An aggregate relationship - """ + """An aggregate relationship""" deposits_received_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [deposits_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [deposits_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: deposits_bool_exp ): deposits_aggregate! - """ - An array relationship - """ + """An array relationship""" deposits_sent( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [deposits_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [deposits_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: deposits_bool_exp ): [deposits!]! - """ - An aggregate relationship - """ + """An aggregate relationship""" deposits_sent_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [deposits_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [deposits_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: deposits_bool_exp ): deposits_aggregate! - """ - An array relationship - """ + """An array relationship""" fee_transfers( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [fee_transfers_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [fee_transfers_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: fee_transfers_bool_exp ): [fee_transfers!]! - """ - An aggregate relationship - """ + """An aggregate relationship""" fee_transfers_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [fee_transfers_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [fee_transfers_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: fee_transfers_bool_exp ): fee_transfers_aggregate! id: String! image: String label: String! - """ - An array relationship - """ + """An array relationship""" positions( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [positions_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [positions_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: positions_bool_exp ): [positions!]! - """ - An aggregate relationship - """ + """An aggregate relationship""" positions_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [positions_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [positions_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: positions_bool_exp ): positions_aggregate! - """ - An array relationship - """ + """An array relationship""" redemptions_received( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [redemptions_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [redemptions_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: redemptions_bool_exp ): [redemptions!]! - """ - An aggregate relationship - """ + """An aggregate relationship""" redemptions_received_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [redemptions_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [redemptions_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: redemptions_bool_exp ): redemptions_aggregate! - """ - An array relationship - """ + """An array relationship""" redemptions_sent( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [redemptions_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [redemptions_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: redemptions_bool_exp ): [redemptions!]! - """ - An aggregate relationship - """ + """An aggregate relationship""" redemptions_sent_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [redemptions_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [redemptions_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: redemptions_bool_exp ): redemptions_aggregate! - """ - An array relationship - """ + """An array relationship""" signals( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [signals_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [signals_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: signals_bool_exp ): [signals!]! - """ - An aggregate relationship - """ + """An aggregate relationship""" signals_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [signals_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [signals_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: signals_bool_exp ): signals_aggregate! - """ - An array relationship - """ + """An array relationship""" triples( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [triples_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [triples_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: triples_bool_exp ): [triples!]! - """ - An aggregate relationship - """ + """An aggregate relationship""" triples_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [triples_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [triples_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: triples_bool_exp ): triples_aggregate! type: account_type! @@ -639,48 +403,18 @@ input accounts_aggregate_bool_exp_count { aggregate fields of "account" """ type accounts_aggregate_fields { - avg: accounts_avg_fields count(columns: [accounts_select_column!], distinct: Boolean): Int! max: accounts_max_fields min: accounts_min_fields - stddev: accounts_stddev_fields - stddev_pop: accounts_stddev_pop_fields - stddev_samp: accounts_stddev_samp_fields - sum: accounts_sum_fields - var_pop: accounts_var_pop_fields - var_samp: accounts_var_samp_fields - variance: accounts_variance_fields } """ order by aggregate values of table "account" """ input accounts_aggregate_order_by { - avg: accounts_avg_order_by count: order_by max: accounts_max_order_by min: accounts_min_order_by - stddev: accounts_stddev_order_by - stddev_pop: accounts_stddev_pop_order_by - stddev_samp: accounts_stddev_samp_order_by - sum: accounts_sum_order_by - var_pop: accounts_var_pop_order_by - var_samp: accounts_var_samp_order_by - variance: accounts_variance_order_by -} - -""" -aggregate avg on columns -""" -type accounts_avg_fields { - atom_id: Float -} - -""" -order by avg() on columns of table "account" -""" -input accounts_avg_order_by { - atom_id: order_by } """ @@ -691,7 +425,7 @@ input accounts_bool_exp { _not: accounts_bool_exp _or: [accounts_bool_exp!] atom: atoms_bool_exp - atom_id: numeric_comparison_exp + atom_id: String_comparison_exp atoms: atoms_bool_exp atoms_aggregate: atoms_aggregate_bool_exp deposits_received: deposits_bool_exp @@ -716,11 +450,9 @@ input accounts_bool_exp { type: account_type_comparison_exp } -""" -aggregate max on columns -""" +"""aggregate max on columns""" type accounts_max_fields { - atom_id: numeric + atom_id: String id: String image: String label: String @@ -738,11 +470,9 @@ input accounts_max_order_by { type: order_by } -""" -aggregate min on columns -""" +"""aggregate min on columns""" type accounts_min_fields { - atom_id: numeric + atom_id: String id: String image: String label: String @@ -760,9 +490,7 @@ input accounts_min_order_by { type: order_by } -""" -Ordering options when selecting data from "account". -""" +"""Ordering options when selecting data from "account".""" input accounts_order_by { atom: atoms_order_by atom_id: order_by @@ -785,149 +513,52 @@ input accounts_order_by { select columns of table "account" """ enum accounts_select_column { - """ - column name - """ + """column name""" atom_id - """ - column name - """ + """column name""" id - """ - column name - """ + """column name""" image - """ - column name - """ + """column name""" label - """ - column name - """ + """column name""" type } -""" -aggregate stddev on columns -""" -type accounts_stddev_fields { - atom_id: Float -} - -""" -order by stddev() on columns of table "account" -""" -input accounts_stddev_order_by { - atom_id: order_by -} - -""" -aggregate stddev_pop on columns -""" -type accounts_stddev_pop_fields { - atom_id: Float -} - -""" -order by stddev_pop() on columns of table "account" -""" -input accounts_stddev_pop_order_by { - atom_id: order_by -} - -""" -aggregate stddev_samp on columns -""" -type accounts_stddev_samp_fields { - atom_id: Float -} - -""" -order by stddev_samp() on columns of table "account" -""" -input accounts_stddev_samp_order_by { - atom_id: order_by -} - """ Streaming cursor of the table "accounts" """ input accounts_stream_cursor_input { - """ - Stream column input with initial value - """ + """Stream column input with initial value""" initial_value: accounts_stream_cursor_value_input! - """ - cursor ordering - """ + """cursor ordering""" ordering: cursor_ordering } -""" -Initial value of the column from where the streaming should start -""" +"""Initial value of the column from where the streaming should start""" input accounts_stream_cursor_value_input { - atom_id: numeric + atom_id: String id: String image: String label: String type: account_type } -""" -aggregate sum on columns -""" -type accounts_sum_fields { - atom_id: numeric -} - -""" -order by sum() on columns of table "account" -""" -input accounts_sum_order_by { - atom_id: order_by -} - -""" -aggregate var_pop on columns -""" -type accounts_var_pop_fields { - atom_id: Float -} - -""" -order by var_pop() on columns of table "account" -""" -input accounts_var_pop_order_by { - atom_id: order_by -} - -""" -aggregate var_samp on columns -""" -type accounts_var_samp_fields { - atom_id: Float -} - -""" -order by var_samp() on columns of table "account" -""" -input accounts_var_samp_order_by { - atom_id: order_by -} - -""" -aggregate variance on columns -""" -type accounts_variance_fields { - atom_id: Float -} +scalar atom_resolving_status """ -order by variance() on columns of table "account" +Boolean expression to compare columns of type "atom_resolving_status". All fields are combined with logical 'AND'. """ -input accounts_variance_order_by { - atom_id: order_by +input atom_resolving_status_comparison_exp { + _eq: atom_resolving_status + _gt: atom_resolving_status + _gte: atom_resolving_status + _in: [atom_resolving_status!] + _is_null: Boolean + _lt: atom_resolving_status + _lte: atom_resolving_status + _neq: atom_resolving_status + _nin: [atom_resolving_status!] } scalar atom_type @@ -951,55 +582,36 @@ input atom_type_comparison_exp { columns and relationships of "atom_value" """ type atom_values { - """ - An object relationship - """ + """An object relationship""" account: accounts account_id: String - """ - An object relationship - """ + """An object relationship""" atom: atoms! - """ - An object relationship - """ + """An object relationship""" book: books - book_id: numeric - """ - An object relationship - """ + book_id: String + """An object relationship""" byte_object: byte_object - byte_object_id: numeric - """ - An object relationship - """ + byte_object_id: String + """An object relationship""" caip10: caip10 - id: numeric! - """ - An object relationship - """ + caip10_id: String + id: String! + """An object relationship""" json_object: json_objects - json_object_id: numeric - """ - An object relationship - """ + json_object_id: String + """An object relationship""" organization: organizations - organization_id: numeric - """ - An object relationship - """ + organization_id: String + """An object relationship""" person: persons - person_id: numeric - """ - An object relationship - """ + person_id: String + """An object relationship""" text_object: text_objects - text_object_id: numeric - """ - An object relationship - """ + text_object_id: String + """An object relationship""" thing: things - thing_id: numeric + thing_id: String } """ @@ -1014,31 +626,9 @@ type atom_values_aggregate { aggregate fields of "atom_value" """ type atom_values_aggregate_fields { - avg: atom_values_avg_fields count(columns: [atom_values_select_column!], distinct: Boolean): Int! max: atom_values_max_fields min: atom_values_min_fields - stddev: atom_values_stddev_fields - stddev_pop: atom_values_stddev_pop_fields - stddev_samp: atom_values_stddev_samp_fields - sum: atom_values_sum_fields - var_pop: atom_values_var_pop_fields - var_samp: atom_values_var_samp_fields - variance: atom_values_variance_fields -} - -""" -aggregate avg on columns -""" -type atom_values_avg_fields { - book_id: Float - byte_object_id: Float - id: Float - json_object_id: Float - organization_id: Float - person_id: Float - text_object_id: Float - thing_id: Float } """ @@ -1052,56 +642,53 @@ input atom_values_bool_exp { account_id: String_comparison_exp atom: atoms_bool_exp book: books_bool_exp - book_id: numeric_comparison_exp + book_id: String_comparison_exp byte_object: byte_object_bool_exp - byte_object_id: numeric_comparison_exp + byte_object_id: String_comparison_exp caip10: caip10_bool_exp - id: numeric_comparison_exp + caip10_id: String_comparison_exp + id: String_comparison_exp json_object: json_objects_bool_exp - json_object_id: numeric_comparison_exp + json_object_id: String_comparison_exp organization: organizations_bool_exp - organization_id: numeric_comparison_exp + organization_id: String_comparison_exp person: persons_bool_exp - person_id: numeric_comparison_exp + person_id: String_comparison_exp text_object: text_objects_bool_exp - text_object_id: numeric_comparison_exp + text_object_id: String_comparison_exp thing: things_bool_exp - thing_id: numeric_comparison_exp + thing_id: String_comparison_exp } -""" -aggregate max on columns -""" +"""aggregate max on columns""" type atom_values_max_fields { account_id: String - book_id: numeric - byte_object_id: numeric - id: numeric - json_object_id: numeric - organization_id: numeric - person_id: numeric - text_object_id: numeric - thing_id: numeric + book_id: String + byte_object_id: String + caip10_id: String + id: String + json_object_id: String + organization_id: String + person_id: String + text_object_id: String + thing_id: String } -""" -aggregate min on columns -""" +"""aggregate min on columns""" type atom_values_min_fields { account_id: String - book_id: numeric - byte_object_id: numeric - id: numeric - json_object_id: numeric - organization_id: numeric - person_id: numeric - text_object_id: numeric - thing_id: numeric + book_id: String + byte_object_id: String + caip10_id: String + id: String + json_object_id: String + organization_id: String + person_id: String + text_object_id: String + thing_id: String } -""" -Ordering options when selecting data from "atom_value". -""" +"""Ordering options when selecting data from "atom_value".""" input atom_values_order_by { account: accounts_order_by account_id: order_by @@ -1111,6 +698,7 @@ input atom_values_order_by { byte_object: byte_object_order_by byte_object_id: order_by caip10: caip10_order_by + caip10_id: order_by id: order_by json_object: json_objects_order_by json_object_id: order_by @@ -1128,604 +716,288 @@ input atom_values_order_by { select columns of table "atom_value" """ enum atom_values_select_column { - """ - column name - """ + """column name""" account_id - """ - column name - """ + """column name""" book_id - """ - column name - """ + """column name""" byte_object_id - """ - column name - """ + """column name""" + caip10_id + """column name""" id - """ - column name - """ + """column name""" json_object_id - """ - column name - """ + """column name""" organization_id - """ - column name - """ + """column name""" person_id - """ - column name - """ + """column name""" text_object_id - """ - column name - """ + """column name""" thing_id } -""" -aggregate stddev on columns -""" -type atom_values_stddev_fields { - book_id: Float - byte_object_id: Float - id: Float - json_object_id: Float - organization_id: Float - person_id: Float - text_object_id: Float - thing_id: Float -} - -""" -aggregate stddev_pop on columns -""" -type atom_values_stddev_pop_fields { - book_id: Float - byte_object_id: Float - id: Float - json_object_id: Float - organization_id: Float - person_id: Float - text_object_id: Float - thing_id: Float -} - -""" -aggregate stddev_samp on columns -""" -type atom_values_stddev_samp_fields { - book_id: Float - byte_object_id: Float - id: Float - json_object_id: Float - organization_id: Float - person_id: Float - text_object_id: Float - thing_id: Float -} - """ Streaming cursor of the table "atom_values" """ input atom_values_stream_cursor_input { - """ - Stream column input with initial value - """ + """Stream column input with initial value""" initial_value: atom_values_stream_cursor_value_input! - """ - cursor ordering - """ + """cursor ordering""" ordering: cursor_ordering } -""" -Initial value of the column from where the streaming should start -""" +"""Initial value of the column from where the streaming should start""" input atom_values_stream_cursor_value_input { account_id: String - book_id: numeric - byte_object_id: numeric - id: numeric - json_object_id: numeric - organization_id: numeric - person_id: numeric - text_object_id: numeric - thing_id: numeric -} - -""" -aggregate sum on columns -""" -type atom_values_sum_fields { - book_id: numeric - byte_object_id: numeric - id: numeric - json_object_id: numeric - organization_id: numeric - person_id: numeric - text_object_id: numeric - thing_id: numeric -} - -""" -aggregate var_pop on columns -""" -type atom_values_var_pop_fields { - book_id: Float - byte_object_id: Float - id: Float - json_object_id: Float - organization_id: Float - person_id: Float - text_object_id: Float - thing_id: Float -} - -""" -aggregate var_samp on columns -""" -type atom_values_var_samp_fields { - book_id: Float - byte_object_id: Float - id: Float - json_object_id: Float - organization_id: Float - person_id: Float - text_object_id: Float - thing_id: Float -} - -""" -aggregate variance on columns -""" -type atom_values_variance_fields { - book_id: Float - byte_object_id: Float - id: Float - json_object_id: Float - organization_id: Float - person_id: Float - text_object_id: Float - thing_id: Float + book_id: String + byte_object_id: String + caip10_id: String + id: String + json_object_id: String + organization_id: String + person_id: String + text_object_id: String + thing_id: String } """ columns and relationships of "atom" """ type atoms { - """ - An array relationship - """ + """An array relationship""" accounts( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [accounts_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [accounts_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: accounts_bool_exp ): [accounts!]! - """ - An aggregate relationship - """ + """An aggregate relationship""" accounts_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [accounts_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [accounts_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: accounts_bool_exp ): accounts_aggregate! - """ - An array relationship - """ + """An array relationship""" as_object_predicate_objects( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [predicate_objects_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [predicate_objects_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: predicate_objects_bool_exp ): [predicate_objects!]! - """ - An aggregate relationship - """ + """An aggregate relationship""" as_object_predicate_objects_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [predicate_objects_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [predicate_objects_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: predicate_objects_bool_exp ): predicate_objects_aggregate! - """ - An array relationship - """ + """An array relationship""" as_object_triples( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [triples_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [triples_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: triples_bool_exp ): [triples!]! - """ - An aggregate relationship - """ + """An aggregate relationship""" as_object_triples_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [triples_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [triples_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: triples_bool_exp ): triples_aggregate! - """ - An array relationship - """ + """An array relationship""" as_predicate_predicate_objects( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [predicate_objects_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [predicate_objects_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: predicate_objects_bool_exp ): [predicate_objects!]! - """ - An aggregate relationship - """ + """An aggregate relationship""" as_predicate_predicate_objects_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [predicate_objects_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [predicate_objects_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: predicate_objects_bool_exp ): predicate_objects_aggregate! - """ - An array relationship - """ + """An array relationship""" as_predicate_triples( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [triples_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [triples_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: triples_bool_exp ): [triples!]! - """ - An aggregate relationship - """ + """An aggregate relationship""" as_predicate_triples_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [triples_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [triples_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: triples_bool_exp ): triples_aggregate! - """ - An array relationship - """ + """An array relationship""" as_subject_triples( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [triples_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [triples_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: triples_bool_exp ): [triples!]! - """ - An aggregate relationship - """ + """An aggregate relationship""" as_subject_triples_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [triples_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [triples_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: triples_bool_exp ): triples_aggregate! block_number: numeric! cached_image: cached_images_cached_image - """ - An object relationship - """ + """An object relationship""" controller: accounts created_at: timestamptz! - """ - An object relationship - """ + """An object relationship""" creator: accounts! creator_id: String! data: String emoji: String image: String label: String - """ - An array relationship - """ + log_index: bigint! + """An array relationship""" positions( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [positions_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [positions_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: positions_bool_exp ): [positions!]! - """ - An aggregate relationship - """ + """An aggregate relationship""" positions_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [positions_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [positions_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: positions_bool_exp ): positions_aggregate! - """ - An array relationship - """ + raw_data: String! + resolving_status: atom_resolving_status! + """An array relationship""" signals( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [signals_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [signals_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: signals_bool_exp ): [signals!]! - """ - An aggregate relationship - """ + """An aggregate relationship""" signals_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [signals_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [signals_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: signals_bool_exp ): signals_aggregate! - """ - An object relationship - """ + """An object relationship""" term: terms! - term_id: numeric! + term_id: String! transaction_hash: String! type: atom_type! updated_at: timestamptz! - """ - An object relationship - """ + """An object relationship""" value: atom_values - value_id: numeric + value_id: String wallet_id: String! } @@ -1782,13 +1054,10 @@ input atoms_aggregate_order_by { variance: atoms_variance_order_by } -""" -aggregate avg on columns -""" +"""aggregate avg on columns""" type atoms_avg_fields { block_number: Float - term_id: Float - value_id: Float + log_index: Float } """ @@ -1796,8 +1065,7 @@ order by avg() on columns of table "atom" """ input atoms_avg_order_by { block_number: order_by - term_id: order_by - value_id: order_by + log_index: order_by } """ @@ -1828,23 +1096,24 @@ input atoms_bool_exp { emoji: String_comparison_exp image: String_comparison_exp label: String_comparison_exp + log_index: bigint_comparison_exp positions: positions_bool_exp positions_aggregate: positions_aggregate_bool_exp + raw_data: String_comparison_exp + resolving_status: atom_resolving_status_comparison_exp signals: signals_bool_exp signals_aggregate: signals_aggregate_bool_exp term: terms_bool_exp - term_id: numeric_comparison_exp + term_id: String_comparison_exp transaction_hash: String_comparison_exp type: atom_type_comparison_exp updated_at: timestamptz_comparison_exp value: atom_values_bool_exp - value_id: numeric_comparison_exp + value_id: String_comparison_exp wallet_id: String_comparison_exp } -""" -aggregate max on columns -""" +"""aggregate max on columns""" type atoms_max_fields { block_number: numeric created_at: timestamptz @@ -1853,11 +1122,14 @@ type atoms_max_fields { emoji: String image: String label: String - term_id: numeric + log_index: bigint + raw_data: String + resolving_status: atom_resolving_status + term_id: String transaction_hash: String type: atom_type updated_at: timestamptz - value_id: numeric + value_id: String wallet_id: String } @@ -1872,6 +1144,9 @@ input atoms_max_order_by { emoji: order_by image: order_by label: order_by + log_index: order_by + raw_data: order_by + resolving_status: order_by term_id: order_by transaction_hash: order_by type: order_by @@ -1880,9 +1155,7 @@ input atoms_max_order_by { wallet_id: order_by } -""" -aggregate min on columns -""" +"""aggregate min on columns""" type atoms_min_fields { block_number: numeric created_at: timestamptz @@ -1891,11 +1164,14 @@ type atoms_min_fields { emoji: String image: String label: String - term_id: numeric + log_index: bigint + raw_data: String + resolving_status: atom_resolving_status + term_id: String transaction_hash: String type: atom_type updated_at: timestamptz - value_id: numeric + value_id: String wallet_id: String } @@ -1910,6 +1186,9 @@ input atoms_min_order_by { emoji: order_by image: order_by label: order_by + log_index: order_by + raw_data: order_by + resolving_status: order_by term_id: order_by transaction_hash: order_by type: order_by @@ -1918,9 +1197,7 @@ input atoms_min_order_by { wallet_id: order_by } -""" -Ordering options when selecting data from "atom". -""" +"""Ordering options when selecting data from "atom".""" input atoms_order_by { accounts_aggregate: accounts_aggregate_order_by as_object_predicate_objects_aggregate: predicate_objects_aggregate_order_by @@ -1937,7 +1214,10 @@ input atoms_order_by { emoji: order_by image: order_by label: order_by + log_index: order_by positions_aggregate: positions_aggregate_order_by + raw_data: order_by + resolving_status: order_by signals_aggregate: signals_aggregate_order_by term: terms_order_by term_id: order_by @@ -1953,67 +1233,44 @@ input atoms_order_by { select columns of table "atom" """ enum atoms_select_column { - """ - column name - """ + """column name""" block_number - """ - column name - """ + """column name""" created_at - """ - column name - """ + """column name""" creator_id - """ - column name - """ + """column name""" data - """ - column name - """ + """column name""" emoji - """ - column name - """ + """column name""" image - """ - column name - """ + """column name""" label - """ - column name - """ + """column name""" + log_index + """column name""" + raw_data + """column name""" + resolving_status + """column name""" term_id - """ - column name - """ + """column name""" transaction_hash - """ - column name - """ + """column name""" type - """ - column name - """ + """column name""" updated_at - """ - column name - """ + """column name""" value_id - """ - column name - """ + """column name""" wallet_id } -""" -aggregate stddev on columns -""" +"""aggregate stddev on columns""" type atoms_stddev_fields { block_number: Float - term_id: Float - value_id: Float + log_index: Float } """ @@ -2021,17 +1278,13 @@ order by stddev() on columns of table "atom" """ input atoms_stddev_order_by { block_number: order_by - term_id: order_by - value_id: order_by + log_index: order_by } -""" -aggregate stddev_pop on columns -""" +"""aggregate stddev_pop on columns""" type atoms_stddev_pop_fields { block_number: Float - term_id: Float - value_id: Float + log_index: Float } """ @@ -2039,17 +1292,13 @@ order by stddev_pop() on columns of table "atom" """ input atoms_stddev_pop_order_by { block_number: order_by - term_id: order_by - value_id: order_by + log_index: order_by } -""" -aggregate stddev_samp on columns -""" +"""aggregate stddev_samp on columns""" type atoms_stddev_samp_fields { block_number: Float - term_id: Float - value_id: Float + log_index: Float } """ @@ -2057,27 +1306,20 @@ order by stddev_samp() on columns of table "atom" """ input atoms_stddev_samp_order_by { block_number: order_by - term_id: order_by - value_id: order_by + log_index: order_by } """ Streaming cursor of the table "atoms" """ input atoms_stream_cursor_input { - """ - Stream column input with initial value - """ + """Stream column input with initial value""" initial_value: atoms_stream_cursor_value_input! - """ - cursor ordering - """ + """cursor ordering""" ordering: cursor_ordering } -""" -Initial value of the column from where the streaming should start -""" +"""Initial value of the column from where the streaming should start""" input atoms_stream_cursor_value_input { block_number: numeric created_at: timestamptz @@ -2086,21 +1328,21 @@ input atoms_stream_cursor_value_input { emoji: String image: String label: String - term_id: numeric + log_index: bigint + raw_data: String + resolving_status: atom_resolving_status + term_id: String transaction_hash: String type: atom_type updated_at: timestamptz - value_id: numeric + value_id: String wallet_id: String } -""" -aggregate sum on columns -""" +"""aggregate sum on columns""" type atoms_sum_fields { block_number: numeric - term_id: numeric - value_id: numeric + log_index: bigint } """ @@ -2108,17 +1350,13 @@ order by sum() on columns of table "atom" """ input atoms_sum_order_by { block_number: order_by - term_id: order_by - value_id: order_by + log_index: order_by } -""" -aggregate var_pop on columns -""" +"""aggregate var_pop on columns""" type atoms_var_pop_fields { block_number: Float - term_id: Float - value_id: Float + log_index: Float } """ @@ -2126,17 +1364,13 @@ order by var_pop() on columns of table "atom" """ input atoms_var_pop_order_by { block_number: order_by - term_id: order_by - value_id: order_by + log_index: order_by } -""" -aggregate var_samp on columns -""" +"""aggregate var_samp on columns""" type atoms_var_samp_fields { block_number: Float - term_id: Float - value_id: Float + log_index: Float } """ @@ -2144,17 +1378,13 @@ order by var_samp() on columns of table "atom" """ input atoms_var_samp_order_by { block_number: order_by - term_id: order_by - value_id: order_by + log_index: order_by } -""" -aggregate variance on columns -""" +"""aggregate variance on columns""" type atoms_variance_fields { block_number: Float - term_id: Float - value_id: Float + log_index: Float } """ @@ -2162,8 +1392,7 @@ order by variance() on columns of table "atom" """ input atoms_variance_order_by { block_number: order_by - term_id: order_by - value_id: order_by + log_index: order_by } scalar bigint @@ -2187,13 +1416,11 @@ input bigint_comparison_exp { columns and relationships of "book" """ type books { - """ - An object relationship - """ + """An object relationship""" atom: atoms description: String genre: String - id: numeric! + id: String! name: String url: String } @@ -2210,24 +1437,9 @@ type books_aggregate { aggregate fields of "book" """ type books_aggregate_fields { - avg: books_avg_fields count(columns: [books_select_column!], distinct: Boolean): Int! max: books_max_fields min: books_min_fields - stddev: books_stddev_fields - stddev_pop: books_stddev_pop_fields - stddev_samp: books_stddev_samp_fields - sum: books_sum_fields - var_pop: books_var_pop_fields - var_samp: books_var_samp_fields - variance: books_variance_fields -} - -""" -aggregate avg on columns -""" -type books_avg_fields { - id: Float } """ @@ -2240,36 +1452,30 @@ input books_bool_exp { atom: atoms_bool_exp description: String_comparison_exp genre: String_comparison_exp - id: numeric_comparison_exp + id: String_comparison_exp name: String_comparison_exp url: String_comparison_exp } -""" -aggregate max on columns -""" +"""aggregate max on columns""" type books_max_fields { description: String genre: String - id: numeric + id: String name: String url: String } -""" -aggregate min on columns -""" +"""aggregate min on columns""" type books_min_fields { description: String genre: String - id: numeric + id: String name: String url: String } -""" -Ordering options when selecting data from "book". -""" +"""Ordering options when selecting data from "book".""" input books_order_by { atom: atoms_order_by description: order_by @@ -2283,112 +1489,45 @@ input books_order_by { select columns of table "book" """ enum books_select_column { - """ - column name - """ + """column name""" description - """ - column name - """ + """column name""" genre - """ - column name - """ + """column name""" id - """ - column name - """ + """column name""" name - """ - column name - """ + """column name""" url } -""" -aggregate stddev on columns -""" -type books_stddev_fields { - id: Float -} - -""" -aggregate stddev_pop on columns -""" -type books_stddev_pop_fields { - id: Float -} - -""" -aggregate stddev_samp on columns -""" -type books_stddev_samp_fields { - id: Float -} - """ Streaming cursor of the table "books" """ input books_stream_cursor_input { - """ - Stream column input with initial value - """ + """Stream column input with initial value""" initial_value: books_stream_cursor_value_input! - """ - cursor ordering - """ + """cursor ordering""" ordering: cursor_ordering } -""" -Initial value of the column from where the streaming should start -""" +"""Initial value of the column from where the streaming should start""" input books_stream_cursor_value_input { description: String genre: String - id: numeric + id: String name: String url: String } -""" -aggregate sum on columns -""" -type books_sum_fields { - id: numeric -} - -""" -aggregate var_pop on columns -""" -type books_var_pop_fields { - id: Float -} - -""" -aggregate var_samp on columns -""" -type books_var_samp_fields { - id: Float -} - -""" -aggregate variance on columns -""" -type books_variance_fields { - id: Float -} - """ columns and relationships of "byte_object" """ type byte_object { - """ - An object relationship - """ + """An object relationship""" atom: atoms data: bytea! - id: numeric! + id: String! } """ @@ -2403,24 +1542,9 @@ type byte_object_aggregate { aggregate fields of "byte_object" """ type byte_object_aggregate_fields { - avg: byte_object_avg_fields count(columns: [byte_object_select_column!], distinct: Boolean): Int! max: byte_object_max_fields min: byte_object_min_fields - stddev: byte_object_stddev_fields - stddev_pop: byte_object_stddev_pop_fields - stddev_samp: byte_object_stddev_samp_fields - sum: byte_object_sum_fields - var_pop: byte_object_var_pop_fields - var_samp: byte_object_var_samp_fields - variance: byte_object_variance_fields -} - -""" -aggregate avg on columns -""" -type byte_object_avg_fields { - id: Float } """ @@ -2432,26 +1556,20 @@ input byte_object_bool_exp { _or: [byte_object_bool_exp!] atom: atoms_bool_exp data: bytea_comparison_exp - id: numeric_comparison_exp + id: String_comparison_exp } -""" -aggregate max on columns -""" +"""aggregate max on columns""" type byte_object_max_fields { - id: numeric + id: String } -""" -aggregate min on columns -""" +"""aggregate min on columns""" type byte_object_min_fields { - id: numeric + id: String } -""" -Ordering options when selecting data from "byte_object". -""" +"""Ordering options when selecting data from "byte_object".""" input byte_object_order_by { atom: atoms_order_by data: order_by @@ -2462,85 +1580,26 @@ input byte_object_order_by { select columns of table "byte_object" """ enum byte_object_select_column { - """ - column name - """ + """column name""" data - """ - column name - """ + """column name""" id } -""" -aggregate stddev on columns -""" -type byte_object_stddev_fields { - id: Float -} - -""" -aggregate stddev_pop on columns -""" -type byte_object_stddev_pop_fields { - id: Float -} - -""" -aggregate stddev_samp on columns -""" -type byte_object_stddev_samp_fields { - id: Float -} - """ Streaming cursor of the table "byte_object" """ input byte_object_stream_cursor_input { - """ - Stream column input with initial value - """ + """Stream column input with initial value""" initial_value: byte_object_stream_cursor_value_input! - """ - cursor ordering - """ + """cursor ordering""" ordering: cursor_ordering } -""" -Initial value of the column from where the streaming should start -""" +"""Initial value of the column from where the streaming should start""" input byte_object_stream_cursor_value_input { data: bytea - id: numeric -} - -""" -aggregate sum on columns -""" -type byte_object_sum_fields { - id: numeric -} - -""" -aggregate var_pop on columns -""" -type byte_object_var_pop_fields { - id: Float -} - -""" -aggregate var_samp on columns -""" -type byte_object_var_samp_fields { - id: Float -} - -""" -aggregate variance on columns -""" -type byte_object_variance_fields { - id: Float + id: String } scalar bytea @@ -2569,9 +1628,7 @@ type cached_images_cached_image { original_url: String! safe: Boolean! score( - """ - JSON select path - """ + """JSON select path""" path: String ): jsonb url: String! @@ -2608,29 +1665,17 @@ input cached_images_cached_image_order_by { select columns of table "cached_images.cached_image" """ enum cached_images_cached_image_select_column { - """ - column name - """ + """column name""" created_at - """ - column name - """ + """column name""" model - """ - column name - """ + """column name""" original_url - """ - column name - """ + """column name""" safe - """ - column name - """ + """column name""" score - """ - column name - """ + """column name""" url } @@ -2638,19 +1683,13 @@ enum cached_images_cached_image_select_column { Streaming cursor of the table "cached_images_cached_image" """ input cached_images_cached_image_stream_cursor_input { - """ - Stream column input with initial value - """ + """Stream column input with initial value""" initial_value: cached_images_cached_image_stream_cursor_value_input! - """ - cursor ordering - """ + """cursor ordering""" ordering: cursor_ordering } -""" -Initial value of the column from where the streaming should start -""" +"""Initial value of the column from where the streaming should start""" input cached_images_cached_image_stream_cursor_value_input { created_at: timestamptz model: String @@ -2665,12 +1704,10 @@ columns and relationships of "caip10" """ type caip10 { account_address: String! - """ - An object relationship - """ + """An object relationship""" atom: atoms chain_id: Int! - id: numeric! + id: String! namespace: String! } @@ -2699,12 +1736,9 @@ type caip10_aggregate_fields { variance: caip10_variance_fields } -""" -aggregate avg on columns -""" +"""aggregate avg on columns""" type caip10_avg_fields { chain_id: Float - id: Float } """ @@ -2717,33 +1751,27 @@ input caip10_bool_exp { account_address: String_comparison_exp atom: atoms_bool_exp chain_id: Int_comparison_exp - id: numeric_comparison_exp + id: String_comparison_exp namespace: String_comparison_exp } -""" -aggregate max on columns -""" +"""aggregate max on columns""" type caip10_max_fields { account_address: String chain_id: Int - id: numeric + id: String namespace: String } -""" -aggregate min on columns -""" +"""aggregate min on columns""" type caip10_min_fields { account_address: String chain_id: Int - id: numeric + id: String namespace: String } -""" -Ordering options when selecting data from "caip10". -""" +"""Ordering options when selecting data from "caip10".""" input caip10_order_by { account_address: order_by atom: atoms_order_by @@ -2756,102 +1784,67 @@ input caip10_order_by { select columns of table "caip10" """ enum caip10_select_column { - """ - column name - """ + """column name""" account_address - """ - column name - """ + """column name""" chain_id - """ - column name - """ + """column name""" id - """ - column name - """ + """column name""" namespace } -""" -aggregate stddev on columns -""" +"""aggregate stddev on columns""" type caip10_stddev_fields { chain_id: Float - id: Float } -""" -aggregate stddev_pop on columns -""" +"""aggregate stddev_pop on columns""" type caip10_stddev_pop_fields { chain_id: Float - id: Float } -""" -aggregate stddev_samp on columns -""" +"""aggregate stddev_samp on columns""" type caip10_stddev_samp_fields { chain_id: Float - id: Float } """ Streaming cursor of the table "caip10" """ input caip10_stream_cursor_input { - """ - Stream column input with initial value - """ + """Stream column input with initial value""" initial_value: caip10_stream_cursor_value_input! - """ - cursor ordering - """ + """cursor ordering""" ordering: cursor_ordering } -""" -Initial value of the column from where the streaming should start -""" +"""Initial value of the column from where the streaming should start""" input caip10_stream_cursor_value_input { account_address: String chain_id: Int - id: numeric + id: String namespace: String } -""" -aggregate sum on columns -""" +"""aggregate sum on columns""" type caip10_sum_fields { chain_id: Int - id: numeric } -""" -aggregate var_pop on columns -""" +"""aggregate var_pop on columns""" type caip10_var_pop_fields { chain_id: Float - id: Float } -""" -aggregate var_samp on columns -""" +"""aggregate var_samp on columns""" type caip10_var_samp_fields { chain_id: Float - id: Float } -""" -aggregate variance on columns -""" +"""aggregate variance on columns""" type caip10_variance_fields { chain_id: Float - id: Float } """ @@ -2873,9 +1866,7 @@ input chainlink_prices_bool_exp { usd: float8_comparison_exp } -""" -Ordering options when selecting data from "chainlink_price". -""" +"""Ordering options when selecting data from "chainlink_price".""" input chainlink_prices_order_by { id: order_by usd: order_by @@ -2885,13 +1876,9 @@ input chainlink_prices_order_by { select columns of table "chainlink_price" """ enum chainlink_prices_select_column { - """ - column name - """ + """column name""" id - """ - column name - """ + """column name""" usd } @@ -2899,35 +1886,23 @@ enum chainlink_prices_select_column { Streaming cursor of the table "chainlink_prices" """ input chainlink_prices_stream_cursor_input { - """ - Stream column input with initial value - """ + """Stream column input with initial value""" initial_value: chainlink_prices_stream_cursor_value_input! - """ - cursor ordering - """ + """cursor ordering""" ordering: cursor_ordering } -""" -Initial value of the column from where the streaming should start -""" +"""Initial value of the column from where the streaming should start""" input chainlink_prices_stream_cursor_value_input { id: numeric usd: float8 } -""" -ordering argument of a cursor -""" +"""ordering argument of a cursor""" enum cursor_ordering { - """ - ascending ordering of the cursor - """ + """ascending ordering of the cursor""" ASC - """ - descending ordering of the cursor - """ + """descending ordering of the cursor""" DESC } @@ -2935,36 +1910,27 @@ enum cursor_ordering { columns and relationships of "deposit" """ type deposits { + assets_after_fees: numeric! block_number: numeric! created_at: timestamptz! curve_id: numeric! - entry_fee: numeric! id: String! - is_atom_wallet: Boolean! - is_triple: Boolean! - """ - An object relationship - """ + log_index: bigint! + """An object relationship""" receiver: accounts! receiver_id: String! - receiver_total_shares_in_vault: numeric! - """ - An object relationship - """ + """An object relationship""" sender: accounts - sender_assets_after_total_fees: numeric! sender_id: String! - shares_for_receiver: numeric! - """ - An object relationship - """ + shares: numeric! + """An object relationship""" term: terms! - term_id: numeric! + term_id: String! + total_shares: numeric! transaction_hash: String! - """ - An object relationship - """ + """An object relationship""" vault: vaults + vault_type: vault_type! } """ @@ -2976,25 +1942,9 @@ type deposits_aggregate { } input deposits_aggregate_bool_exp { - bool_and: deposits_aggregate_bool_exp_bool_and - bool_or: deposits_aggregate_bool_exp_bool_or count: deposits_aggregate_bool_exp_count } -input deposits_aggregate_bool_exp_bool_and { - arguments: deposits_select_column_deposits_aggregate_bool_exp_bool_and_arguments_columns! - distinct: Boolean - filter: deposits_bool_exp - predicate: Boolean_comparison_exp! -} - -input deposits_aggregate_bool_exp_bool_or { - arguments: deposits_select_column_deposits_aggregate_bool_exp_bool_or_arguments_columns! - distinct: Boolean - filter: deposits_bool_exp - predicate: Boolean_comparison_exp! -} - input deposits_aggregate_bool_exp_count { arguments: [deposits_select_column!] distinct: Boolean @@ -3036,30 +1986,26 @@ input deposits_aggregate_order_by { variance: deposits_variance_order_by } -""" -aggregate avg on columns -""" +"""aggregate avg on columns""" type deposits_avg_fields { + assets_after_fees: Float block_number: Float curve_id: Float - entry_fee: Float - receiver_total_shares_in_vault: Float - sender_assets_after_total_fees: Float - shares_for_receiver: Float - term_id: Float + log_index: Float + shares: Float + total_shares: Float } """ order by avg() on columns of table "deposit" """ input deposits_avg_order_by { + assets_after_fees: order_by block_number: order_by curve_id: order_by - entry_fee: order_by - receiver_total_shares_in_vault: order_by - sender_assets_after_total_fees: order_by - shares_for_receiver: order_by - term_id: order_by + log_index: order_by + shares: order_by + total_shares: order_by } """ @@ -3069,426 +2015,329 @@ input deposits_bool_exp { _and: [deposits_bool_exp!] _not: deposits_bool_exp _or: [deposits_bool_exp!] + assets_after_fees: numeric_comparison_exp block_number: numeric_comparison_exp created_at: timestamptz_comparison_exp curve_id: numeric_comparison_exp - entry_fee: numeric_comparison_exp id: String_comparison_exp - is_atom_wallet: Boolean_comparison_exp - is_triple: Boolean_comparison_exp + log_index: bigint_comparison_exp receiver: accounts_bool_exp receiver_id: String_comparison_exp - receiver_total_shares_in_vault: numeric_comparison_exp sender: accounts_bool_exp - sender_assets_after_total_fees: numeric_comparison_exp sender_id: String_comparison_exp - shares_for_receiver: numeric_comparison_exp + shares: numeric_comparison_exp term: terms_bool_exp - term_id: numeric_comparison_exp + term_id: String_comparison_exp + total_shares: numeric_comparison_exp transaction_hash: String_comparison_exp vault: vaults_bool_exp + vault_type: vault_type_comparison_exp } -""" -aggregate max on columns -""" +"""aggregate max on columns""" type deposits_max_fields { + assets_after_fees: numeric block_number: numeric created_at: timestamptz curve_id: numeric - entry_fee: numeric id: String + log_index: bigint receiver_id: String - receiver_total_shares_in_vault: numeric - sender_assets_after_total_fees: numeric sender_id: String - shares_for_receiver: numeric - term_id: numeric + shares: numeric + term_id: String + total_shares: numeric transaction_hash: String + vault_type: vault_type } """ order by max() on columns of table "deposit" """ input deposits_max_order_by { + assets_after_fees: order_by block_number: order_by created_at: order_by curve_id: order_by - entry_fee: order_by id: order_by + log_index: order_by receiver_id: order_by - receiver_total_shares_in_vault: order_by - sender_assets_after_total_fees: order_by sender_id: order_by - shares_for_receiver: order_by + shares: order_by term_id: order_by + total_shares: order_by transaction_hash: order_by + vault_type: order_by } -""" -aggregate min on columns -""" +"""aggregate min on columns""" type deposits_min_fields { + assets_after_fees: numeric block_number: numeric created_at: timestamptz curve_id: numeric - entry_fee: numeric id: String + log_index: bigint receiver_id: String - receiver_total_shares_in_vault: numeric - sender_assets_after_total_fees: numeric sender_id: String - shares_for_receiver: numeric - term_id: numeric + shares: numeric + term_id: String + total_shares: numeric transaction_hash: String + vault_type: vault_type } """ order by min() on columns of table "deposit" """ input deposits_min_order_by { + assets_after_fees: order_by block_number: order_by created_at: order_by curve_id: order_by - entry_fee: order_by id: order_by + log_index: order_by receiver_id: order_by - receiver_total_shares_in_vault: order_by - sender_assets_after_total_fees: order_by sender_id: order_by - shares_for_receiver: order_by + shares: order_by term_id: order_by + total_shares: order_by transaction_hash: order_by + vault_type: order_by } -""" -Ordering options when selecting data from "deposit". -""" +"""Ordering options when selecting data from "deposit".""" input deposits_order_by { + assets_after_fees: order_by block_number: order_by created_at: order_by curve_id: order_by - entry_fee: order_by id: order_by - is_atom_wallet: order_by - is_triple: order_by + log_index: order_by receiver: accounts_order_by receiver_id: order_by - receiver_total_shares_in_vault: order_by sender: accounts_order_by - sender_assets_after_total_fees: order_by sender_id: order_by - shares_for_receiver: order_by + shares: order_by term: terms_order_by term_id: order_by + total_shares: order_by transaction_hash: order_by vault: vaults_order_by + vault_type: order_by } """ select columns of table "deposit" """ enum deposits_select_column { - """ - column name - """ + """column name""" + assets_after_fees + """column name""" block_number - """ - column name - """ + """column name""" created_at - """ - column name - """ + """column name""" curve_id - """ - column name - """ - entry_fee - """ - column name - """ + """column name""" id - """ - column name - """ - is_atom_wallet - """ - column name - """ - is_triple - """ - column name - """ + """column name""" + log_index + """column name""" receiver_id - """ - column name - """ - receiver_total_shares_in_vault - """ - column name - """ - sender_assets_after_total_fees - """ - column name - """ + """column name""" sender_id - """ - column name - """ - shares_for_receiver - """ - column name - """ + """column name""" + shares + """column name""" term_id - """ - column name - """ + """column name""" + total_shares + """column name""" transaction_hash + """column name""" + vault_type } -""" -select "deposits_aggregate_bool_exp_bool_and_arguments_columns" columns of table "deposit" -""" -enum deposits_select_column_deposits_aggregate_bool_exp_bool_and_arguments_columns { - """ - column name - """ - is_atom_wallet - """ - column name - """ - is_triple -} - -""" -select "deposits_aggregate_bool_exp_bool_or_arguments_columns" columns of table "deposit" -""" -enum deposits_select_column_deposits_aggregate_bool_exp_bool_or_arguments_columns { - """ - column name - """ - is_atom_wallet - """ - column name - """ - is_triple -} - -""" -aggregate stddev on columns -""" +"""aggregate stddev on columns""" type deposits_stddev_fields { + assets_after_fees: Float block_number: Float curve_id: Float - entry_fee: Float - receiver_total_shares_in_vault: Float - sender_assets_after_total_fees: Float - shares_for_receiver: Float - term_id: Float + log_index: Float + shares: Float + total_shares: Float } """ order by stddev() on columns of table "deposit" """ input deposits_stddev_order_by { + assets_after_fees: order_by block_number: order_by curve_id: order_by - entry_fee: order_by - receiver_total_shares_in_vault: order_by - sender_assets_after_total_fees: order_by - shares_for_receiver: order_by - term_id: order_by + log_index: order_by + shares: order_by + total_shares: order_by } -""" -aggregate stddev_pop on columns -""" +"""aggregate stddev_pop on columns""" type deposits_stddev_pop_fields { + assets_after_fees: Float block_number: Float curve_id: Float - entry_fee: Float - receiver_total_shares_in_vault: Float - sender_assets_after_total_fees: Float - shares_for_receiver: Float - term_id: Float + log_index: Float + shares: Float + total_shares: Float } """ order by stddev_pop() on columns of table "deposit" """ input deposits_stddev_pop_order_by { + assets_after_fees: order_by block_number: order_by curve_id: order_by - entry_fee: order_by - receiver_total_shares_in_vault: order_by - sender_assets_after_total_fees: order_by - shares_for_receiver: order_by - term_id: order_by + log_index: order_by + shares: order_by + total_shares: order_by } -""" -aggregate stddev_samp on columns -""" +"""aggregate stddev_samp on columns""" type deposits_stddev_samp_fields { + assets_after_fees: Float block_number: Float curve_id: Float - entry_fee: Float - receiver_total_shares_in_vault: Float - sender_assets_after_total_fees: Float - shares_for_receiver: Float - term_id: Float + log_index: Float + shares: Float + total_shares: Float } """ order by stddev_samp() on columns of table "deposit" """ input deposits_stddev_samp_order_by { + assets_after_fees: order_by block_number: order_by curve_id: order_by - entry_fee: order_by - receiver_total_shares_in_vault: order_by - sender_assets_after_total_fees: order_by - shares_for_receiver: order_by - term_id: order_by + log_index: order_by + shares: order_by + total_shares: order_by } """ Streaming cursor of the table "deposits" """ input deposits_stream_cursor_input { - """ - Stream column input with initial value - """ + """Stream column input with initial value""" initial_value: deposits_stream_cursor_value_input! - """ - cursor ordering - """ + """cursor ordering""" ordering: cursor_ordering } -""" -Initial value of the column from where the streaming should start -""" +"""Initial value of the column from where the streaming should start""" input deposits_stream_cursor_value_input { + assets_after_fees: numeric block_number: numeric created_at: timestamptz curve_id: numeric - entry_fee: numeric id: String - is_atom_wallet: Boolean - is_triple: Boolean + log_index: bigint receiver_id: String - receiver_total_shares_in_vault: numeric - sender_assets_after_total_fees: numeric sender_id: String - shares_for_receiver: numeric - term_id: numeric + shares: numeric + term_id: String + total_shares: numeric transaction_hash: String + vault_type: vault_type } -""" -aggregate sum on columns -""" +"""aggregate sum on columns""" type deposits_sum_fields { + assets_after_fees: numeric block_number: numeric curve_id: numeric - entry_fee: numeric - receiver_total_shares_in_vault: numeric - sender_assets_after_total_fees: numeric - shares_for_receiver: numeric - term_id: numeric + log_index: bigint + shares: numeric + total_shares: numeric } """ order by sum() on columns of table "deposit" """ input deposits_sum_order_by { + assets_after_fees: order_by block_number: order_by curve_id: order_by - entry_fee: order_by - receiver_total_shares_in_vault: order_by - sender_assets_after_total_fees: order_by - shares_for_receiver: order_by - term_id: order_by + log_index: order_by + shares: order_by + total_shares: order_by } -""" -aggregate var_pop on columns -""" +"""aggregate var_pop on columns""" type deposits_var_pop_fields { + assets_after_fees: Float block_number: Float curve_id: Float - entry_fee: Float - receiver_total_shares_in_vault: Float - sender_assets_after_total_fees: Float - shares_for_receiver: Float - term_id: Float + log_index: Float + shares: Float + total_shares: Float } """ order by var_pop() on columns of table "deposit" """ input deposits_var_pop_order_by { + assets_after_fees: order_by block_number: order_by curve_id: order_by - entry_fee: order_by - receiver_total_shares_in_vault: order_by - sender_assets_after_total_fees: order_by - shares_for_receiver: order_by - term_id: order_by + log_index: order_by + shares: order_by + total_shares: order_by } -""" -aggregate var_samp on columns -""" +"""aggregate var_samp on columns""" type deposits_var_samp_fields { + assets_after_fees: Float block_number: Float curve_id: Float - entry_fee: Float - receiver_total_shares_in_vault: Float - sender_assets_after_total_fees: Float - shares_for_receiver: Float - term_id: Float + log_index: Float + shares: Float + total_shares: Float } """ order by var_samp() on columns of table "deposit" """ input deposits_var_samp_order_by { + assets_after_fees: order_by block_number: order_by curve_id: order_by - entry_fee: order_by - receiver_total_shares_in_vault: order_by - sender_assets_after_total_fees: order_by - shares_for_receiver: order_by - term_id: order_by + log_index: order_by + shares: order_by + total_shares: order_by } -""" -aggregate variance on columns -""" +"""aggregate variance on columns""" type deposits_variance_fields { + assets_after_fees: Float block_number: Float curve_id: Float - entry_fee: Float - receiver_total_shares_in_vault: Float - sender_assets_after_total_fees: Float - shares_for_receiver: Float - term_id: Float + log_index: Float + shares: Float + total_shares: Float } """ order by variance() on columns of table "deposit" """ input deposits_variance_order_by { + assets_after_fees: order_by block_number: order_by curve_id: order_by - entry_fee: order_by - receiver_total_shares_in_vault: order_by - sender_assets_after_total_fees: order_by - shares_for_receiver: order_by - term_id: order_by + log_index: order_by + shares: order_by + total_shares: order_by } scalar event_type @@ -3512,35 +2361,25 @@ input event_type_comparison_exp { columns and relationships of "event" """ type events { - """ - An object relationship - """ + """An object relationship""" atom: atoms - atom_id: numeric + atom_id: String block_number: numeric! created_at: timestamptz! - """ - An object relationship - """ + """An object relationship""" deposit: deposits deposit_id: String - """ - An object relationship - """ + """An object relationship""" fee_transfer: fee_transfers fee_transfer_id: String id: String! - """ - An object relationship - """ + """An object relationship""" redemption: redemptions redemption_id: String transaction_hash: String! - """ - An object relationship - """ + """An object relationship""" triple: triples - triple_id: numeric + triple_id: String type: event_type! } @@ -3569,13 +2408,9 @@ type events_aggregate_fields { variance: events_variance_fields } -""" -aggregate avg on columns -""" +"""aggregate avg on columns""" type events_avg_fields { - atom_id: Float block_number: Float - triple_id: Float } """ @@ -3586,7 +2421,7 @@ input events_bool_exp { _not: events_bool_exp _or: [events_bool_exp!] atom: atoms_bool_exp - atom_id: numeric_comparison_exp + atom_id: String_comparison_exp block_number: numeric_comparison_exp created_at: timestamptz_comparison_exp deposit: deposits_bool_exp @@ -3598,15 +2433,13 @@ input events_bool_exp { redemption_id: String_comparison_exp transaction_hash: String_comparison_exp triple: triples_bool_exp - triple_id: numeric_comparison_exp + triple_id: String_comparison_exp type: event_type_comparison_exp } -""" -aggregate max on columns -""" +"""aggregate max on columns""" type events_max_fields { - atom_id: numeric + atom_id: String block_number: numeric created_at: timestamptz deposit_id: String @@ -3614,15 +2447,13 @@ type events_max_fields { id: String redemption_id: String transaction_hash: String - triple_id: numeric + triple_id: String type: event_type } -""" -aggregate min on columns -""" +"""aggregate min on columns""" type events_min_fields { - atom_id: numeric + atom_id: String block_number: numeric created_at: timestamptz deposit_id: String @@ -3630,13 +2461,11 @@ type events_min_fields { id: String redemption_id: String transaction_hash: String - triple_id: numeric + triple_id: String type: event_type } -""" -Ordering options when selecting data from "event". -""" +"""Ordering options when selecting data from "event".""" input events_order_by { atom: atoms_order_by atom_id: order_by @@ -3659,94 +2488,56 @@ input events_order_by { select columns of table "event" """ enum events_select_column { - """ - column name - """ + """column name""" atom_id - """ - column name - """ + """column name""" block_number - """ - column name - """ + """column name""" created_at - """ - column name - """ + """column name""" deposit_id - """ - column name - """ + """column name""" fee_transfer_id - """ - column name - """ + """column name""" id - """ - column name - """ + """column name""" redemption_id - """ - column name - """ + """column name""" transaction_hash - """ - column name - """ + """column name""" triple_id - """ - column name - """ + """column name""" type } -""" -aggregate stddev on columns -""" +"""aggregate stddev on columns""" type events_stddev_fields { - atom_id: Float block_number: Float - triple_id: Float } -""" -aggregate stddev_pop on columns -""" +"""aggregate stddev_pop on columns""" type events_stddev_pop_fields { - atom_id: Float block_number: Float - triple_id: Float } -""" -aggregate stddev_samp on columns -""" +"""aggregate stddev_samp on columns""" type events_stddev_samp_fields { - atom_id: Float block_number: Float - triple_id: Float } """ Streaming cursor of the table "events" """ input events_stream_cursor_input { - """ - Stream column input with initial value - """ + """Stream column input with initial value""" initial_value: events_stream_cursor_value_input! - """ - cursor ordering - """ + """cursor ordering""" ordering: cursor_ordering } -""" -Initial value of the column from where the streaming should start -""" +"""Initial value of the column from where the streaming should start""" input events_stream_cursor_value_input { - atom_id: numeric + atom_id: String block_number: numeric created_at: timestamptz deposit_id: String @@ -3754,44 +2545,28 @@ input events_stream_cursor_value_input { id: String redemption_id: String transaction_hash: String - triple_id: numeric + triple_id: String type: event_type } -""" -aggregate sum on columns -""" +"""aggregate sum on columns""" type events_sum_fields { - atom_id: numeric block_number: numeric - triple_id: numeric } -""" -aggregate var_pop on columns -""" +"""aggregate var_pop on columns""" type events_var_pop_fields { - atom_id: Float block_number: Float - triple_id: Float } -""" -aggregate var_samp on columns -""" +"""aggregate var_samp on columns""" type events_var_samp_fields { - atom_id: Float block_number: Float - triple_id: Float } -""" -aggregate variance on columns -""" +"""aggregate variance on columns""" type events_variance_fields { - atom_id: Float block_number: Float - triple_id: Float } """ @@ -3802,14 +2577,10 @@ type fee_transfers { block_number: numeric! created_at: timestamptz! id: String! - """ - An object relationship - """ + """An object relationship""" receiver: accounts! receiver_id: String! - """ - An object relationship - """ + """An object relationship""" sender: accounts sender_id: String! transaction_hash: String! @@ -3868,9 +2639,7 @@ input fee_transfers_aggregate_order_by { variance: fee_transfers_variance_order_by } -""" -aggregate avg on columns -""" +"""aggregate avg on columns""" type fee_transfers_avg_fields { amount: Float block_number: Float @@ -3902,9 +2671,7 @@ input fee_transfers_bool_exp { transaction_hash: String_comparison_exp } -""" -aggregate max on columns -""" +"""aggregate max on columns""" type fee_transfers_max_fields { amount: numeric block_number: numeric @@ -3928,9 +2695,7 @@ input fee_transfers_max_order_by { transaction_hash: order_by } -""" -aggregate min on columns -""" +"""aggregate min on columns""" type fee_transfers_min_fields { amount: numeric block_number: numeric @@ -3954,9 +2719,7 @@ input fee_transfers_min_order_by { transaction_hash: order_by } -""" -Ordering options when selecting data from "fee_transfer". -""" +"""Ordering options when selecting data from "fee_transfer".""" input fee_transfers_order_by { amount: order_by block_number: order_by @@ -3973,39 +2736,23 @@ input fee_transfers_order_by { select columns of table "fee_transfer" """ enum fee_transfers_select_column { - """ - column name - """ + """column name""" amount - """ - column name - """ + """column name""" block_number - """ - column name - """ + """column name""" created_at - """ - column name - """ + """column name""" id - """ - column name - """ + """column name""" receiver_id - """ - column name - """ + """column name""" sender_id - """ - column name - """ + """column name""" transaction_hash } -""" -aggregate stddev on columns -""" +"""aggregate stddev on columns""" type fee_transfers_stddev_fields { amount: Float block_number: Float @@ -4019,9 +2766,7 @@ input fee_transfers_stddev_order_by { block_number: order_by } -""" -aggregate stddev_pop on columns -""" +"""aggregate stddev_pop on columns""" type fee_transfers_stddev_pop_fields { amount: Float block_number: Float @@ -4035,9 +2780,7 @@ input fee_transfers_stddev_pop_order_by { block_number: order_by } -""" -aggregate stddev_samp on columns -""" +"""aggregate stddev_samp on columns""" type fee_transfers_stddev_samp_fields { amount: Float block_number: Float @@ -4055,19 +2798,13 @@ input fee_transfers_stddev_samp_order_by { Streaming cursor of the table "fee_transfers" """ input fee_transfers_stream_cursor_input { - """ - Stream column input with initial value - """ + """Stream column input with initial value""" initial_value: fee_transfers_stream_cursor_value_input! - """ - cursor ordering - """ + """cursor ordering""" ordering: cursor_ordering } -""" -Initial value of the column from where the streaming should start -""" +"""Initial value of the column from where the streaming should start""" input fee_transfers_stream_cursor_value_input { amount: numeric block_number: numeric @@ -4078,9 +2815,7 @@ input fee_transfers_stream_cursor_value_input { transaction_hash: String } -""" -aggregate sum on columns -""" +"""aggregate sum on columns""" type fee_transfers_sum_fields { amount: numeric block_number: numeric @@ -4094,9 +2829,7 @@ input fee_transfers_sum_order_by { block_number: order_by } -""" -aggregate var_pop on columns -""" +"""aggregate var_pop on columns""" type fee_transfers_var_pop_fields { amount: Float block_number: Float @@ -4110,9 +2843,7 @@ input fee_transfers_var_pop_order_by { block_number: order_by } -""" -aggregate var_samp on columns -""" +"""aggregate var_samp on columns""" type fee_transfers_var_samp_fields { amount: Float block_number: Float @@ -4126,9 +2857,7 @@ input fee_transfers_var_samp_order_by { block_number: order_by } -""" -aggregate variance on columns -""" +"""aggregate variance on columns""" type fee_transfers_variance_fields { amount: Float block_number: Float @@ -4167,17 +2896,13 @@ input following_args { columns and relationships of "json_object" """ type json_objects { - """ - An object relationship - """ + """An object relationship""" atom: atoms data( - """ - JSON select path - """ + """JSON select path""" path: String ): jsonb! - id: numeric! + id: String! } """ @@ -4192,24 +2917,9 @@ type json_objects_aggregate { aggregate fields of "json_object" """ type json_objects_aggregate_fields { - avg: json_objects_avg_fields count(columns: [json_objects_select_column!], distinct: Boolean): Int! max: json_objects_max_fields min: json_objects_min_fields - stddev: json_objects_stddev_fields - stddev_pop: json_objects_stddev_pop_fields - stddev_samp: json_objects_stddev_samp_fields - sum: json_objects_sum_fields - var_pop: json_objects_var_pop_fields - var_samp: json_objects_var_samp_fields - variance: json_objects_variance_fields -} - -""" -aggregate avg on columns -""" -type json_objects_avg_fields { - id: Float } """ @@ -4221,26 +2931,20 @@ input json_objects_bool_exp { _or: [json_objects_bool_exp!] atom: atoms_bool_exp data: jsonb_comparison_exp - id: numeric_comparison_exp + id: String_comparison_exp } -""" -aggregate max on columns -""" +"""aggregate max on columns""" type json_objects_max_fields { - id: numeric + id: String } -""" -aggregate min on columns -""" +"""aggregate min on columns""" type json_objects_min_fields { - id: numeric + id: String } -""" -Ordering options when selecting data from "json_object". -""" +"""Ordering options when selecting data from "json_object".""" input json_objects_order_by { atom: atoms_order_by data: order_by @@ -4251,120 +2955,51 @@ input json_objects_order_by { select columns of table "json_object" """ enum json_objects_select_column { - """ - column name - """ + """column name""" data - """ - column name - """ + """column name""" id } -""" -aggregate stddev on columns -""" -type json_objects_stddev_fields { - id: Float -} - -""" -aggregate stddev_pop on columns -""" -type json_objects_stddev_pop_fields { - id: Float -} - -""" -aggregate stddev_samp on columns -""" -type json_objects_stddev_samp_fields { - id: Float -} - """ Streaming cursor of the table "json_objects" """ input json_objects_stream_cursor_input { - """ - Stream column input with initial value - """ + """Stream column input with initial value""" initial_value: json_objects_stream_cursor_value_input! - """ - cursor ordering - """ + """cursor ordering""" ordering: cursor_ordering } -""" -Initial value of the column from where the streaming should start -""" +"""Initial value of the column from where the streaming should start""" input json_objects_stream_cursor_value_input { data: jsonb - id: numeric + id: String } -""" -aggregate sum on columns -""" -type json_objects_sum_fields { - id: numeric -} +scalar jsonb -""" -aggregate var_pop on columns -""" -type json_objects_var_pop_fields { - id: Float +input jsonb_cast_exp { + String: String_comparison_exp } """ -aggregate var_samp on columns -""" -type json_objects_var_samp_fields { - id: Float -} - -""" -aggregate variance on columns -""" -type json_objects_variance_fields { - id: Float -} - -scalar jsonb - -input jsonb_cast_exp { - String: String_comparison_exp -} - -""" -Boolean expression to compare columns of type "jsonb". All fields are combined with logical 'AND'. +Boolean expression to compare columns of type "jsonb". All fields are combined with logical 'AND'. """ input jsonb_comparison_exp { _cast: jsonb_cast_exp - """ - is the column contained in the given json value - """ + """is the column contained in the given json value""" _contained_in: jsonb - """ - does the column contain the given json value at the top level - """ + """does the column contain the given json value at the top level""" _contains: jsonb _eq: jsonb _gt: jsonb _gte: jsonb - """ - does the string exist as a top-level key in the column - """ + """does the string exist as a top-level key in the column""" _has_key: String - """ - do all of these strings exist as top-level keys in the column - """ + """do all of these strings exist as top-level keys in the column""" _has_keys_all: [String!] - """ - do any of these strings exist as top-level keys in the column - """ + """do any of these strings exist as top-level keys in the column""" _has_keys_any: [String!] _in: [jsonb!] _is_null: Boolean @@ -4374,21 +3009,13 @@ input jsonb_comparison_exp { _nin: [jsonb!] } -""" -mutation root -""" +"""mutation root""" type mutation_root { - """ - Uploads and pins Organization to IPFS - """ + """Uploads and pins Organization to IPFS""" pinOrganization(organization: PinOrganizationInput!): PinOutput - """ - Uploads and pins Person to IPFS - """ + """Uploads and pins Person to IPFS""" pinPerson(person: PinPersonInput!): PinOutput - """ - Uploads and pins Thing to IPFS - """ + """Uploads and pins Thing to IPFS""" pinThing(thing: PinThingInput!): PinOutput } @@ -4409,33 +3036,19 @@ input numeric_comparison_exp { _nin: [numeric!] } -""" -column ordering options -""" +"""column ordering options""" enum order_by { - """ - in ascending order, nulls last - """ + """in ascending order, nulls last""" asc - """ - in ascending order, nulls first - """ + """in ascending order, nulls first""" asc_nulls_first - """ - in ascending order, nulls last - """ + """in ascending order, nulls last""" asc_nulls_last - """ - in descending order, nulls first - """ + """in descending order, nulls first""" desc - """ - in descending order, nulls first - """ + """in descending order, nulls first""" desc_nulls_first - """ - in descending order, nulls last - """ + """in descending order, nulls last""" desc_nulls_last } @@ -4443,13 +3056,11 @@ enum order_by { columns and relationships of "organization" """ type organizations { - """ - An object relationship - """ + """An object relationship""" atom: atoms description: String email: String - id: numeric! + id: String! image: String name: String url: String @@ -4467,24 +3078,9 @@ type organizations_aggregate { aggregate fields of "organization" """ type organizations_aggregate_fields { - avg: organizations_avg_fields count(columns: [organizations_select_column!], distinct: Boolean): Int! max: organizations_max_fields min: organizations_min_fields - stddev: organizations_stddev_fields - stddev_pop: organizations_stddev_pop_fields - stddev_samp: organizations_stddev_samp_fields - sum: organizations_sum_fields - var_pop: organizations_var_pop_fields - var_samp: organizations_var_samp_fields - variance: organizations_variance_fields -} - -""" -aggregate avg on columns -""" -type organizations_avg_fields { - id: Float } """ @@ -4497,39 +3093,33 @@ input organizations_bool_exp { atom: atoms_bool_exp description: String_comparison_exp email: String_comparison_exp - id: numeric_comparison_exp + id: String_comparison_exp image: String_comparison_exp name: String_comparison_exp url: String_comparison_exp } -""" -aggregate max on columns -""" +"""aggregate max on columns""" type organizations_max_fields { description: String email: String - id: numeric + id: String image: String name: String url: String } -""" -aggregate min on columns -""" +"""aggregate min on columns""" type organizations_min_fields { description: String email: String - id: numeric + id: String image: String name: String url: String } -""" -Ordering options when selecting data from "organization". -""" +"""Ordering options when selecting data from "organization".""" input organizations_order_by { atom: atoms_order_by description: order_by @@ -4544,119 +3134,50 @@ input organizations_order_by { select columns of table "organization" """ enum organizations_select_column { - """ - column name - """ + """column name""" description - """ - column name - """ + """column name""" email - """ - column name - """ + """column name""" id - """ - column name - """ + """column name""" image - """ - column name - """ + """column name""" name - """ - column name - """ + """column name""" url } -""" -aggregate stddev on columns -""" -type organizations_stddev_fields { - id: Float -} - -""" -aggregate stddev_pop on columns -""" -type organizations_stddev_pop_fields { - id: Float -} - -""" -aggregate stddev_samp on columns -""" -type organizations_stddev_samp_fields { - id: Float -} - """ Streaming cursor of the table "organizations" """ input organizations_stream_cursor_input { - """ - Stream column input with initial value - """ + """Stream column input with initial value""" initial_value: organizations_stream_cursor_value_input! - """ - cursor ordering - """ + """cursor ordering""" ordering: cursor_ordering } -""" -Initial value of the column from where the streaming should start -""" +"""Initial value of the column from where the streaming should start""" input organizations_stream_cursor_value_input { description: String email: String - id: numeric + id: String image: String name: String url: String } -""" -aggregate sum on columns -""" -type organizations_sum_fields { - id: numeric -} - -""" -aggregate var_pop on columns -""" -type organizations_var_pop_fields { - id: Float -} - -""" -aggregate var_samp on columns -""" -type organizations_var_samp_fields { - id: Float -} - -""" -aggregate variance on columns -""" -type organizations_variance_fields { - id: Float -} - """ columns and relationships of "person" """ type persons { - """ - An object relationship - """ + """An object relationship""" atom: atoms cached_image: cached_images_cached_image description: String email: String - id: numeric! + id: String! identifier: String image: String name: String @@ -4675,24 +3196,9 @@ type persons_aggregate { aggregate fields of "person" """ type persons_aggregate_fields { - avg: persons_avg_fields count(columns: [persons_select_column!], distinct: Boolean): Int! max: persons_max_fields min: persons_min_fields - stddev: persons_stddev_fields - stddev_pop: persons_stddev_pop_fields - stddev_samp: persons_stddev_samp_fields - sum: persons_sum_fields - var_pop: persons_var_pop_fields - var_samp: persons_var_samp_fields - variance: persons_variance_fields -} - -""" -aggregate avg on columns -""" -type persons_avg_fields { - id: Float } """ @@ -4705,42 +3211,36 @@ input persons_bool_exp { atom: atoms_bool_exp description: String_comparison_exp email: String_comparison_exp - id: numeric_comparison_exp + id: String_comparison_exp identifier: String_comparison_exp image: String_comparison_exp name: String_comparison_exp url: String_comparison_exp } -""" -aggregate max on columns -""" +"""aggregate max on columns""" type persons_max_fields { description: String email: String - id: numeric + id: String identifier: String image: String name: String url: String } -""" -aggregate min on columns -""" +"""aggregate min on columns""" type persons_min_fields { description: String email: String - id: numeric + id: String identifier: String image: String name: String url: String } -""" -Ordering options when selecting data from "person". -""" +"""Ordering options when selecting data from "person".""" input persons_order_by { atom: atoms_order_by description: order_by @@ -4756,134 +3256,65 @@ input persons_order_by { select columns of table "person" """ enum persons_select_column { - """ - column name - """ + """column name""" description - """ - column name - """ + """column name""" email - """ - column name - """ + """column name""" id - """ - column name - """ + """column name""" identifier - """ - column name - """ + """column name""" image - """ - column name - """ + """column name""" name - """ - column name - """ + """column name""" url } -""" -aggregate stddev on columns -""" -type persons_stddev_fields { - id: Float -} - -""" -aggregate stddev_pop on columns -""" -type persons_stddev_pop_fields { - id: Float -} - -""" -aggregate stddev_samp on columns -""" -type persons_stddev_samp_fields { - id: Float -} - """ Streaming cursor of the table "persons" """ input persons_stream_cursor_input { - """ - Stream column input with initial value - """ + """Stream column input with initial value""" initial_value: persons_stream_cursor_value_input! - """ - cursor ordering - """ + """cursor ordering""" ordering: cursor_ordering } -""" -Initial value of the column from where the streaming should start -""" +"""Initial value of the column from where the streaming should start""" input persons_stream_cursor_value_input { description: String email: String - id: numeric + id: String identifier: String image: String name: String url: String } -""" -aggregate sum on columns -""" -type persons_sum_fields { - id: numeric -} - -""" -aggregate var_pop on columns -""" -type persons_var_pop_fields { - id: Float -} - -""" -aggregate var_samp on columns -""" -type persons_var_samp_fields { - id: Float -} - -""" -aggregate variance on columns -""" -type persons_variance_fields { - id: Float -} - """ columns and relationships of "position" """ type positions { - """ - An object relationship - """ + """An object relationship""" account: accounts account_id: String! + block_number: bigint! created_at: timestamptz! curve_id: numeric! id: String! + log_index: bigint! shares: numeric! - """ - An object relationship - """ + """An object relationship""" term: terms! - term_id: numeric! + term_id: String! + total_deposit_assets_after_total_fees: numeric! + total_redeem_assets_for_receiver: numeric! + transaction_hash: String! + transaction_index: bigint! updated_at: timestamptz! - """ - An object relationship - """ + """An object relationship""" vault: vaults } @@ -4940,22 +3371,28 @@ input positions_aggregate_order_by { variance: positions_variance_order_by } -""" -aggregate avg on columns -""" +"""aggregate avg on columns""" type positions_avg_fields { + block_number: Float curve_id: Float + log_index: Float shares: Float - term_id: Float + total_deposit_assets_after_total_fees: Float + total_redeem_assets_for_receiver: Float + transaction_index: Float } """ order by avg() on columns of table "position" """ input positions_avg_order_by { + block_number: order_by curve_id: order_by + log_index: order_by shares: order_by - term_id: order_by + total_deposit_assets_after_total_fees: order_by + total_redeem_assets_for_receiver: order_by + transaction_index: order_by } """ @@ -4967,12 +3404,18 @@ input positions_bool_exp { _or: [positions_bool_exp!] account: accounts_bool_exp account_id: String_comparison_exp + block_number: bigint_comparison_exp created_at: timestamptz_comparison_exp curve_id: numeric_comparison_exp id: String_comparison_exp + log_index: bigint_comparison_exp shares: numeric_comparison_exp term: terms_bool_exp - term_id: numeric_comparison_exp + term_id: String_comparison_exp + total_deposit_assets_after_total_fees: numeric_comparison_exp + total_redeem_assets_for_receiver: numeric_comparison_exp + transaction_hash: String_comparison_exp + transaction_index: bigint_comparison_exp updated_at: timestamptz_comparison_exp vault: vaults_bool_exp } @@ -4981,16 +3424,20 @@ input positions_from_following_args { address: String } -""" -aggregate max on columns -""" +"""aggregate max on columns""" type positions_max_fields { account_id: String + block_number: bigint created_at: timestamptz curve_id: numeric id: String + log_index: bigint shares: numeric - term_id: numeric + term_id: String + total_deposit_assets_after_total_fees: numeric + total_redeem_assets_for_receiver: numeric + transaction_hash: String + transaction_index: bigint updated_at: timestamptz } @@ -4999,24 +3446,34 @@ order by max() on columns of table "position" """ input positions_max_order_by { account_id: order_by + block_number: order_by created_at: order_by curve_id: order_by id: order_by + log_index: order_by shares: order_by term_id: order_by + total_deposit_assets_after_total_fees: order_by + total_redeem_assets_for_receiver: order_by + transaction_hash: order_by + transaction_index: order_by updated_at: order_by } -""" -aggregate min on columns -""" +"""aggregate min on columns""" type positions_min_fields { account_id: String + block_number: bigint created_at: timestamptz curve_id: numeric id: String + log_index: bigint shares: numeric - term_id: numeric + term_id: String + total_deposit_assets_after_total_fees: numeric + total_redeem_assets_for_receiver: numeric + transaction_hash: String + transaction_index: bigint updated_at: timestamptz } @@ -5025,26 +3482,36 @@ order by min() on columns of table "position" """ input positions_min_order_by { account_id: order_by + block_number: order_by created_at: order_by curve_id: order_by id: order_by + log_index: order_by shares: order_by term_id: order_by + total_deposit_assets_after_total_fees: order_by + total_redeem_assets_for_receiver: order_by + transaction_hash: order_by + transaction_index: order_by updated_at: order_by } -""" -Ordering options when selecting data from "position". -""" +"""Ordering options when selecting data from "position".""" input positions_order_by { account: accounts_order_by account_id: order_by + block_number: order_by created_at: order_by curve_id: order_by id: order_by + log_index: order_by shares: order_by term: terms_order_by term_id: order_by + total_deposit_assets_after_total_fees: order_by + total_redeem_assets_for_receiver: order_by + transaction_hash: order_by + transaction_index: order_by updated_at: order_by vault: vaults_order_by } @@ -5053,187 +3520,227 @@ input positions_order_by { select columns of table "position" """ enum positions_select_column { - """ - column name - """ + """column name""" account_id - """ - column name - """ + """column name""" + block_number + """column name""" created_at - """ - column name - """ + """column name""" curve_id - """ - column name - """ + """column name""" id - """ - column name - """ + """column name""" + log_index + """column name""" shares - """ - column name - """ + """column name""" term_id - """ - column name - """ + """column name""" + total_deposit_assets_after_total_fees + """column name""" + total_redeem_assets_for_receiver + """column name""" + transaction_hash + """column name""" + transaction_index + """column name""" updated_at } -""" -aggregate stddev on columns -""" +"""aggregate stddev on columns""" type positions_stddev_fields { + block_number: Float curve_id: Float + log_index: Float shares: Float - term_id: Float + total_deposit_assets_after_total_fees: Float + total_redeem_assets_for_receiver: Float + transaction_index: Float } """ order by stddev() on columns of table "position" """ input positions_stddev_order_by { + block_number: order_by curve_id: order_by + log_index: order_by shares: order_by - term_id: order_by + total_deposit_assets_after_total_fees: order_by + total_redeem_assets_for_receiver: order_by + transaction_index: order_by } -""" -aggregate stddev_pop on columns -""" +"""aggregate stddev_pop on columns""" type positions_stddev_pop_fields { + block_number: Float curve_id: Float + log_index: Float shares: Float - term_id: Float + total_deposit_assets_after_total_fees: Float + total_redeem_assets_for_receiver: Float + transaction_index: Float } """ order by stddev_pop() on columns of table "position" """ input positions_stddev_pop_order_by { + block_number: order_by curve_id: order_by + log_index: order_by shares: order_by - term_id: order_by + total_deposit_assets_after_total_fees: order_by + total_redeem_assets_for_receiver: order_by + transaction_index: order_by } -""" -aggregate stddev_samp on columns -""" +"""aggregate stddev_samp on columns""" type positions_stddev_samp_fields { + block_number: Float curve_id: Float + log_index: Float shares: Float - term_id: Float + total_deposit_assets_after_total_fees: Float + total_redeem_assets_for_receiver: Float + transaction_index: Float } """ order by stddev_samp() on columns of table "position" """ input positions_stddev_samp_order_by { + block_number: order_by curve_id: order_by + log_index: order_by shares: order_by - term_id: order_by + total_deposit_assets_after_total_fees: order_by + total_redeem_assets_for_receiver: order_by + transaction_index: order_by } """ Streaming cursor of the table "positions" """ input positions_stream_cursor_input { - """ - Stream column input with initial value - """ + """Stream column input with initial value""" initial_value: positions_stream_cursor_value_input! - """ - cursor ordering - """ + """cursor ordering""" ordering: cursor_ordering } -""" -Initial value of the column from where the streaming should start -""" +"""Initial value of the column from where the streaming should start""" input positions_stream_cursor_value_input { account_id: String + block_number: bigint created_at: timestamptz curve_id: numeric id: String + log_index: bigint shares: numeric - term_id: numeric + term_id: String + total_deposit_assets_after_total_fees: numeric + total_redeem_assets_for_receiver: numeric + transaction_hash: String + transaction_index: bigint updated_at: timestamptz } -""" -aggregate sum on columns -""" +"""aggregate sum on columns""" type positions_sum_fields { + block_number: bigint curve_id: numeric + log_index: bigint shares: numeric - term_id: numeric + total_deposit_assets_after_total_fees: numeric + total_redeem_assets_for_receiver: numeric + transaction_index: bigint } """ order by sum() on columns of table "position" """ input positions_sum_order_by { + block_number: order_by curve_id: order_by + log_index: order_by shares: order_by - term_id: order_by + total_deposit_assets_after_total_fees: order_by + total_redeem_assets_for_receiver: order_by + transaction_index: order_by } -""" -aggregate var_pop on columns -""" +"""aggregate var_pop on columns""" type positions_var_pop_fields { + block_number: Float curve_id: Float + log_index: Float shares: Float - term_id: Float + total_deposit_assets_after_total_fees: Float + total_redeem_assets_for_receiver: Float + transaction_index: Float } """ order by var_pop() on columns of table "position" """ input positions_var_pop_order_by { + block_number: order_by curve_id: order_by + log_index: order_by shares: order_by - term_id: order_by + total_deposit_assets_after_total_fees: order_by + total_redeem_assets_for_receiver: order_by + transaction_index: order_by } -""" -aggregate var_samp on columns -""" +"""aggregate var_samp on columns""" type positions_var_samp_fields { + block_number: Float curve_id: Float + log_index: Float shares: Float - term_id: Float + total_deposit_assets_after_total_fees: Float + total_redeem_assets_for_receiver: Float + transaction_index: Float } """ order by var_samp() on columns of table "position" """ input positions_var_samp_order_by { + block_number: order_by curve_id: order_by + log_index: order_by shares: order_by - term_id: order_by + total_deposit_assets_after_total_fees: order_by + total_redeem_assets_for_receiver: order_by + transaction_index: order_by } -""" -aggregate variance on columns -""" +"""aggregate variance on columns""" type positions_variance_fields { + block_number: Float curve_id: Float + log_index: Float shares: Float - term_id: Float + total_deposit_assets_after_total_fees: Float + total_redeem_assets_for_receiver: Float + transaction_index: Float } """ order by variance() on columns of table "position" """ input positions_variance_order_by { + block_number: order_by curve_id: order_by + log_index: order_by shares: order_by - term_id: order_by + total_deposit_assets_after_total_fees: order_by + total_redeem_assets_for_receiver: order_by + transaction_index: order_by } """ @@ -5241,16 +3748,12 @@ columns and relationships of "predicate_object" """ type predicate_objects { id: String! - """ - An object relationship - """ + """An object relationship""" object: atoms! - object_id: numeric! - """ - An object relationship - """ + object_id: String! + """An object relationship""" predicate: atoms! - predicate_id: numeric! + predicate_id: String! triple_count: Int! } @@ -5307,12 +3810,8 @@ input predicate_objects_aggregate_order_by { variance: predicate_objects_variance_order_by } -""" -aggregate avg on columns -""" +"""aggregate avg on columns""" type predicate_objects_avg_fields { - object_id: Float - predicate_id: Float triple_count: Float } @@ -5320,8 +3819,6 @@ type predicate_objects_avg_fields { order by avg() on columns of table "predicate_object" """ input predicate_objects_avg_order_by { - object_id: order_by - predicate_id: order_by triple_count: order_by } @@ -5334,19 +3831,17 @@ input predicate_objects_bool_exp { _or: [predicate_objects_bool_exp!] id: String_comparison_exp object: atoms_bool_exp - object_id: numeric_comparison_exp + object_id: String_comparison_exp predicate: atoms_bool_exp - predicate_id: numeric_comparison_exp + predicate_id: String_comparison_exp triple_count: Int_comparison_exp } -""" -aggregate max on columns -""" +"""aggregate max on columns""" type predicate_objects_max_fields { id: String - object_id: numeric - predicate_id: numeric + object_id: String + predicate_id: String triple_count: Int } @@ -5360,13 +3855,11 @@ input predicate_objects_max_order_by { triple_count: order_by } -""" -aggregate min on columns -""" +"""aggregate min on columns""" type predicate_objects_min_fields { id: String - object_id: numeric - predicate_id: numeric + object_id: String + predicate_id: String triple_count: Int } @@ -5380,9 +3873,7 @@ input predicate_objects_min_order_by { triple_count: order_by } -""" -Ordering options when selecting data from "predicate_object". -""" +"""Ordering options when selecting data from "predicate_object".""" input predicate_objects_order_by { id: order_by object: atoms_order_by @@ -5396,30 +3887,18 @@ input predicate_objects_order_by { select columns of table "predicate_object" """ enum predicate_objects_select_column { - """ - column name - """ + """column name""" id - """ - column name - """ + """column name""" object_id - """ - column name - """ + """column name""" predicate_id - """ - column name - """ + """column name""" triple_count } -""" -aggregate stddev on columns -""" +"""aggregate stddev on columns""" type predicate_objects_stddev_fields { - object_id: Float - predicate_id: Float triple_count: Float } @@ -5427,17 +3906,11 @@ type predicate_objects_stddev_fields { order by stddev() on columns of table "predicate_object" """ input predicate_objects_stddev_order_by { - object_id: order_by - predicate_id: order_by triple_count: order_by } -""" -aggregate stddev_pop on columns -""" +"""aggregate stddev_pop on columns""" type predicate_objects_stddev_pop_fields { - object_id: Float - predicate_id: Float triple_count: Float } @@ -5445,17 +3918,11 @@ type predicate_objects_stddev_pop_fields { order by stddev_pop() on columns of table "predicate_object" """ input predicate_objects_stddev_pop_order_by { - object_id: order_by - predicate_id: order_by triple_count: order_by } -""" -aggregate stddev_samp on columns -""" +"""aggregate stddev_samp on columns""" type predicate_objects_stddev_samp_fields { - object_id: Float - predicate_id: Float triple_count: Float } @@ -5463,8 +3930,6 @@ type predicate_objects_stddev_samp_fields { order by stddev_samp() on columns of table "predicate_object" """ input predicate_objects_stddev_samp_order_by { - object_id: order_by - predicate_id: order_by triple_count: order_by } @@ -5472,32 +3937,22 @@ input predicate_objects_stddev_samp_order_by { Streaming cursor of the table "predicate_objects" """ input predicate_objects_stream_cursor_input { - """ - Stream column input with initial value - """ + """Stream column input with initial value""" initial_value: predicate_objects_stream_cursor_value_input! - """ - cursor ordering - """ + """cursor ordering""" ordering: cursor_ordering } -""" -Initial value of the column from where the streaming should start -""" +"""Initial value of the column from where the streaming should start""" input predicate_objects_stream_cursor_value_input { id: String - object_id: numeric - predicate_id: numeric + object_id: String + predicate_id: String triple_count: Int } -""" -aggregate sum on columns -""" +"""aggregate sum on columns""" type predicate_objects_sum_fields { - object_id: numeric - predicate_id: numeric triple_count: Int } @@ -5505,17 +3960,11 @@ type predicate_objects_sum_fields { order by sum() on columns of table "predicate_object" """ input predicate_objects_sum_order_by { - object_id: order_by - predicate_id: order_by triple_count: order_by } -""" -aggregate var_pop on columns -""" +"""aggregate var_pop on columns""" type predicate_objects_var_pop_fields { - object_id: Float - predicate_id: Float triple_count: Float } @@ -5523,17 +3972,11 @@ type predicate_objects_var_pop_fields { order by var_pop() on columns of table "predicate_object" """ input predicate_objects_var_pop_order_by { - object_id: order_by - predicate_id: order_by triple_count: order_by } -""" -aggregate var_samp on columns -""" +"""aggregate var_samp on columns""" type predicate_objects_var_samp_fields { - object_id: Float - predicate_id: Float triple_count: Float } @@ -5541,17 +3984,11 @@ type predicate_objects_var_samp_fields { order by var_samp() on columns of table "predicate_object" """ input predicate_objects_var_samp_order_by { - object_id: order_by - predicate_id: order_by triple_count: order_by } -""" -aggregate variance on columns -""" +"""aggregate variance on columns""" type predicate_objects_variance_fields { - object_id: Float - predicate_id: Float triple_count: Float } @@ -5559,554 +3996,316 @@ type predicate_objects_variance_fields { order by variance() on columns of table "predicate_object" """ input predicate_objects_variance_order_by { - object_id: order_by - predicate_id: order_by triple_count: order_by } type query_root { - """ - fetch data from the table: "account" using primary key columns - """ + """fetch data from the table: "account" using primary key columns""" account(id: String!): accounts - """ - An array relationship - """ + """An array relationship""" accounts( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [accounts_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [accounts_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: accounts_bool_exp ): [accounts!]! - """ - An aggregate relationship - """ + """An aggregate relationship""" accounts_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [accounts_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [accounts_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: accounts_bool_exp ): accounts_aggregate! - """ - fetch data from the table: "atom" using primary key columns - """ - atom(term_id: numeric!): atoms - """ - fetch data from the table: "atom_value" using primary key columns - """ - atom_value(id: numeric!): atom_values + """fetch data from the table: "atom" using primary key columns""" + atom(term_id: String!): atoms + """fetch data from the table: "atom_value" using primary key columns""" + atom_value(id: String!): atom_values """ fetch data from the table: "atom_value" """ atom_values( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [atom_values_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [atom_values_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: atom_values_bool_exp ): [atom_values!]! """ fetch aggregated fields from the table: "atom_value" """ atom_values_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [atom_values_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [atom_values_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: atom_values_bool_exp ): atom_values_aggregate! - """ - An array relationship - """ + """An array relationship""" atoms( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [atoms_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [atoms_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: atoms_bool_exp ): [atoms!]! - """ - An aggregate relationship - """ + """An aggregate relationship""" atoms_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [atoms_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [atoms_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: atoms_bool_exp ): atoms_aggregate! - """ - fetch data from the table: "book" using primary key columns - """ - book(id: numeric!): books + """fetch data from the table: "book" using primary key columns""" + book(id: String!): books """ fetch data from the table: "book" """ books( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [books_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [books_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: books_bool_exp ): [books!]! """ fetch aggregated fields from the table: "book" """ books_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [books_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [books_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: books_bool_exp ): books_aggregate! """ fetch data from the table: "byte_object" """ byte_object( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [byte_object_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [byte_object_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: byte_object_bool_exp ): [byte_object!]! """ fetch aggregated fields from the table: "byte_object" """ byte_object_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [byte_object_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [byte_object_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: byte_object_bool_exp ): byte_object_aggregate! - """ - fetch data from the table: "byte_object" using primary key columns - """ - byte_object_by_pk(id: numeric!): byte_object + """fetch data from the table: "byte_object" using primary key columns""" + byte_object_by_pk(id: String!): byte_object """ fetch data from the table: "cached_images.cached_image" """ cached_images_cached_image( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [cached_images_cached_image_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [cached_images_cached_image_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: cached_images_cached_image_bool_exp ): [cached_images_cached_image!]! """ fetch data from the table: "cached_images.cached_image" using primary key columns """ cached_images_cached_image_by_pk(url: String!): cached_images_cached_image - """ - fetch data from the table: "caip10" using primary key columns - """ - caip10(id: numeric!): caip10 + """fetch data from the table: "caip10" using primary key columns""" + caip10(id: String!): caip10 """ fetch aggregated fields from the table: "caip10" """ caip10_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [caip10_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [caip10_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: caip10_bool_exp ): caip10_aggregate! """ fetch data from the table: "caip10" """ caip10s( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [caip10_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [caip10_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: caip10_bool_exp ): [caip10!]! - """ - fetch data from the table: "chainlink_price" using primary key columns - """ + """fetch data from the table: "chainlink_price" using primary key columns""" chainlink_price(id: numeric!): chainlink_prices """ fetch data from the table: "chainlink_price" """ chainlink_prices( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [chainlink_prices_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [chainlink_prices_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: chainlink_prices_bool_exp ): [chainlink_prices!]! - """ - fetch data from the table: "deposit" using primary key columns - """ + """fetch data from the table: "deposit" using primary key columns""" deposit(id: String!): deposits - """ - An array relationship - """ + """An array relationship""" deposits( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [deposits_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [deposits_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: deposits_bool_exp ): [deposits!]! - """ - An aggregate relationship - """ + """An aggregate relationship""" deposits_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [deposits_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [deposits_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: deposits_bool_exp ): deposits_aggregate! - """ - fetch data from the table: "event" using primary key columns - """ + """fetch data from the table: "event" using primary key columns""" event(id: String!): events """ fetch data from the table: "event" """ events( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [events_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [events_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: events_bool_exp ): [events!]! """ fetch aggregated fields from the table: "event" """ events_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [events_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [events_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: events_bool_exp ): events_aggregate! - """ - fetch data from the table: "fee_transfer" using primary key columns - """ + """fetch data from the table: "fee_transfer" using primary key columns""" fee_transfer(id: String!): fee_transfers - """ - An array relationship - """ + """An array relationship""" fee_transfers( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [fee_transfers_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [fee_transfers_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: fee_transfers_bool_exp ): [fee_transfers!]! - """ - An aggregate relationship - """ + """An aggregate relationship""" fee_transfers_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [fee_transfers_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [fee_transfers_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: fee_transfers_bool_exp ): fee_transfers_aggregate! """ @@ -6117,25 +4316,15 @@ type query_root { input parameters for function "following" """ args: following_args! - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [accounts_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [accounts_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: accounts_bool_exp ): [accounts!]! """ @@ -6146,241 +4335,139 @@ type query_root { input parameters for function "following_aggregate" """ args: following_args! - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [accounts_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [accounts_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: accounts_bool_exp ): accounts_aggregate! - """ - fetch data from the table: "json_object" using primary key columns - """ - json_object(id: numeric!): json_objects + """fetch data from the table: "json_object" using primary key columns""" + json_object(id: String!): json_objects """ fetch data from the table: "json_object" """ json_objects( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [json_objects_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [json_objects_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: json_objects_bool_exp ): [json_objects!]! """ fetch aggregated fields from the table: "json_object" """ json_objects_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [json_objects_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [json_objects_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: json_objects_bool_exp ): json_objects_aggregate! - """ - fetch data from the table: "organization" using primary key columns - """ - organization(id: numeric!): organizations + """fetch data from the table: "organization" using primary key columns""" + organization(id: String!): organizations """ fetch data from the table: "organization" """ organizations( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [organizations_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [organizations_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: organizations_bool_exp ): [organizations!]! """ fetch aggregated fields from the table: "organization" """ organizations_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [organizations_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [organizations_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: organizations_bool_exp ): organizations_aggregate! - """ - fetch data from the table: "person" using primary key columns - """ - person(id: numeric!): persons + """fetch data from the table: "person" using primary key columns""" + person(id: String!): persons """ fetch data from the table: "person" """ persons( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [persons_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [persons_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: persons_bool_exp ): [persons!]! """ fetch aggregated fields from the table: "person" """ persons_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [persons_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [persons_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: persons_bool_exp ): persons_aggregate! - """ - fetch data from the table: "position" using primary key columns - """ + """fetch data from the table: "position" using primary key columns""" position(id: String!): positions - """ - An array relationship - """ + """An array relationship""" positions( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [positions_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [positions_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: positions_bool_exp ): [positions!]! - """ - An aggregate relationship - """ + """An aggregate relationship""" positions_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [positions_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [positions_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: positions_bool_exp ): positions_aggregate! """ @@ -6391,25 +4478,15 @@ type query_root { input parameters for function "positions_from_following" """ args: positions_from_following_args! - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [positions_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [positions_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: positions_bool_exp ): [positions!]! """ @@ -6420,133 +4497,77 @@ type query_root { input parameters for function "positions_from_following_aggregate" """ args: positions_from_following_args! - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [positions_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [positions_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: positions_bool_exp ): positions_aggregate! """ fetch data from the table: "predicate_object" """ predicate_objects( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [predicate_objects_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [predicate_objects_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: predicate_objects_bool_exp ): [predicate_objects!]! """ fetch aggregated fields from the table: "predicate_object" """ predicate_objects_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [predicate_objects_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [predicate_objects_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: predicate_objects_bool_exp ): predicate_objects_aggregate! """ fetch data from the table: "predicate_object" using primary key columns """ predicate_objects_by_pk(id: String!): predicate_objects - """ - fetch data from the table: "redemption" using primary key columns - """ + """fetch data from the table: "redemption" using primary key columns""" redemption(id: String!): redemptions - """ - An array relationship - """ + """An array relationship""" redemptions( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [redemptions_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [redemptions_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: redemptions_bool_exp ): [redemptions!]! - """ - An aggregate relationship - """ + """An aggregate relationship""" redemptions_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [redemptions_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [redemptions_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: redemptions_bool_exp ): redemptions_aggregate! """ @@ -6557,25 +4578,15 @@ type query_root { input parameters for function "search_positions_on_subject" """ args: search_positions_on_subject_args! - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [positions_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [positions_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: positions_bool_exp ): [positions!]! """ @@ -6586,25 +4597,15 @@ type query_root { input parameters for function "search_positions_on_subject_aggregate" """ args: search_positions_on_subject_args! - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [positions_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [positions_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: positions_bool_exp ): positions_aggregate! """ @@ -6615,25 +4616,15 @@ type query_root { input parameters for function "search_term" """ args: search_term_args! - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [terms_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [terms_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: terms_bool_exp ): [terms!]! """ @@ -6644,25 +4635,15 @@ type query_root { input parameters for function "search_term_aggregate" """ args: search_term_args! - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [terms_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [terms_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: terms_bool_exp ): terms_aggregate! """ @@ -6673,25 +4654,15 @@ type query_root { input parameters for function "search_term_from_following" """ args: search_term_from_following_args! - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [terms_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [terms_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: terms_bool_exp ): [terms!]! """ @@ -6702,325 +4673,179 @@ type query_root { input parameters for function "search_term_from_following_aggregate" """ args: search_term_from_following_args! - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [terms_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [terms_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: terms_bool_exp ): terms_aggregate! - """ - An array relationship - """ + """An array relationship""" share_price_change_stats_daily( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [share_price_change_stats_daily_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [share_price_change_stats_daily_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: share_price_change_stats_daily_bool_exp ): [share_price_change_stats_daily!]! - """ - An array relationship - """ + """An array relationship""" share_price_change_stats_hourly( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [share_price_change_stats_hourly_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [share_price_change_stats_hourly_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: share_price_change_stats_hourly_bool_exp ): [share_price_change_stats_hourly!]! - """ - An array relationship - """ + """An array relationship""" share_price_change_stats_monthly( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [share_price_change_stats_monthly_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [share_price_change_stats_monthly_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: share_price_change_stats_monthly_bool_exp ): [share_price_change_stats_monthly!]! - """ - An array relationship - """ + """An array relationship""" share_price_change_stats_weekly( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [share_price_change_stats_weekly_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [share_price_change_stats_weekly_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: share_price_change_stats_weekly_bool_exp ): [share_price_change_stats_weekly!]! - """ - An array relationship - """ + """An array relationship""" share_price_changes( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [share_price_changes_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [share_price_changes_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: share_price_changes_bool_exp ): [share_price_changes!]! - """ - An aggregate relationship - """ + """An aggregate relationship""" share_price_changes_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [share_price_changes_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [share_price_changes_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: share_price_changes_bool_exp ): share_price_changes_aggregate! """ fetch data from the table: "signal_stats_daily" """ signal_stats_daily( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [signal_stats_daily_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [signal_stats_daily_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: signal_stats_daily_bool_exp ): [signal_stats_daily!]! """ fetch data from the table: "signal_stats_hourly" """ signal_stats_hourly( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [signal_stats_hourly_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [signal_stats_hourly_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: signal_stats_hourly_bool_exp ): [signal_stats_hourly!]! """ fetch data from the table: "signal_stats_monthly" """ signal_stats_monthly( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [signal_stats_monthly_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [signal_stats_monthly_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: signal_stats_monthly_bool_exp ): [signal_stats_monthly!]! """ fetch data from the table: "signal_stats_weekly" """ signal_stats_weekly( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [signal_stats_weekly_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [signal_stats_weekly_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: signal_stats_weekly_bool_exp ): [signal_stats_weekly!]! - """ - An array relationship - """ + """An array relationship""" signals( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [signals_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [signals_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: signals_bool_exp ): [signals!]! - """ - An aggregate relationship - """ + """An aggregate relationship""" signals_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [signals_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [signals_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: signals_bool_exp ): signals_aggregate! """ @@ -7031,25 +4856,15 @@ type query_root { input parameters for function "signals_from_following" """ args: signals_from_following_args! - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [signals_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [signals_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: signals_bool_exp ): [signals!]! """ @@ -7060,407 +4875,323 @@ type query_root { input parameters for function "signals_from_following_aggregate" """ args: signals_from_following_args! - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [signals_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [signals_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: signals_bool_exp ): signals_aggregate! + """fetch data from the table: "stats" using primary key columns""" + stat(id: Int!): stats + """fetch data from the table: "stats_hour" using primary key columns""" + statHour(id: Int!): statHours """ - fetch data from the table: "stats" using primary key columns + fetch data from the table: "stats_hour" """ - stat(id: Int!): stats + statHours( + """distinct select on columns""" + distinct_on: [statHours_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [statHours_order_by!] + """filter the rows returned""" + where: statHours_bool_exp + ): [statHours!]! """ fetch data from the table: "stats" """ stats( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [stats_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [stats_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: stats_bool_exp ): [stats!]! """ fetch aggregated fields from the table: "stats" """ stats_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [stats_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [stats_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: stats_bool_exp ): stats_aggregate! + """fetch data from the table: "term" using primary key columns""" + term(id: String!): terms """ - fetch data from the table: "term" using primary key columns + fetch data from the table: "term_total_state_change_stats_daily" """ - term(id: numeric!): terms + term_total_state_change_stats_daily( + """distinct select on columns""" + distinct_on: [term_total_state_change_stats_daily_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [term_total_state_change_stats_daily_order_by!] + """filter the rows returned""" + where: term_total_state_change_stats_daily_bool_exp + ): [term_total_state_change_stats_daily!]! """ - fetch data from the table: "term" + fetch data from the table: "term_total_state_change_stats_hourly" """ - terms( - """ - distinct select on columns - """ - distinct_on: [terms_select_column!] - """ - limit the number of rows returned - """ + term_total_state_change_stats_hourly( + """distinct select on columns""" + distinct_on: [term_total_state_change_stats_hourly_select_column!] + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" + order_by: [term_total_state_change_stats_hourly_order_by!] + """filter the rows returned""" + where: term_total_state_change_stats_hourly_bool_exp + ): [term_total_state_change_stats_hourly!]! + """ + fetch data from the table: "term_total_state_change_stats_monthly" + """ + term_total_state_change_stats_monthly( + """distinct select on columns""" + distinct_on: [term_total_state_change_stats_monthly_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [term_total_state_change_stats_monthly_order_by!] + """filter the rows returned""" + where: term_total_state_change_stats_monthly_bool_exp + ): [term_total_state_change_stats_monthly!]! + """ + fetch data from the table: "term_total_state_change_stats_weekly" + """ + term_total_state_change_stats_weekly( + """distinct select on columns""" + distinct_on: [term_total_state_change_stats_weekly_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [term_total_state_change_stats_weekly_order_by!] + """filter the rows returned""" + where: term_total_state_change_stats_weekly_bool_exp + ): [term_total_state_change_stats_weekly!]! + """An array relationship""" + term_total_state_changes( + """distinct select on columns""" + distinct_on: [term_total_state_changes_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [term_total_state_changes_order_by!] + """filter the rows returned""" + where: term_total_state_changes_bool_exp + ): [term_total_state_changes!]! + """ + fetch data from the table: "term" + """ + terms( + """distinct select on columns""" + distinct_on: [terms_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" order_by: [terms_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: terms_bool_exp ): [terms!]! """ fetch aggregated fields from the table: "term" """ terms_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [terms_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [terms_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: terms_bool_exp ): terms_aggregate! - """ - fetch data from the table: "text_object" using primary key columns - """ - text_object(id: numeric!): text_objects + """fetch data from the table: "text_object" using primary key columns""" + text_object(id: String!): text_objects """ fetch data from the table: "text_object" """ text_objects( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [text_objects_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [text_objects_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: text_objects_bool_exp ): [text_objects!]! """ fetch aggregated fields from the table: "text_object" """ text_objects_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [text_objects_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [text_objects_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: text_objects_bool_exp ): text_objects_aggregate! - """ - fetch data from the table: "thing" using primary key columns - """ - thing(id: numeric!): things + """fetch data from the table: "thing" using primary key columns""" + thing(id: String!): things """ fetch data from the table: "thing" """ things( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [things_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [things_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: things_bool_exp ): [things!]! """ fetch aggregated fields from the table: "thing" """ things_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [things_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [things_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: things_bool_exp ): things_aggregate! - """ - fetch data from the table: "triple" using primary key columns - """ - triple(term_id: numeric!): triples - """ - fetch data from the table: "triple_term" using primary key columns - """ - triple_term(term_id: numeric!): triple_term + """fetch data from the table: "triple" using primary key columns""" + triple(term_id: String!): triples + """fetch data from the table: "triple_term" using primary key columns""" + triple_term(term_id: String!): triple_term """ fetch data from the table: "triple_term" """ triple_terms( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [triple_term_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [triple_term_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: triple_term_bool_exp ): [triple_term!]! - """ - fetch data from the table: "triple_vault" using primary key columns - """ - triple_vault(curve_id: numeric!, term_id: numeric!): triple_vault + """fetch data from the table: "triple_vault" using primary key columns""" + triple_vault(curve_id: numeric!, term_id: String!): triple_vault """ fetch data from the table: "triple_vault" """ triple_vaults( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [triple_vault_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [triple_vault_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: triple_vault_bool_exp ): [triple_vault!]! - """ - An array relationship - """ + """An array relationship""" triples( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [triples_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [triples_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: triples_bool_exp ): [triples!]! - """ - An aggregate relationship - """ + """An aggregate relationship""" triples_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [triples_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [triples_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: triples_bool_exp ): triples_aggregate! - """ - fetch data from the table: "vault" using primary key columns - """ - vault(curve_id: numeric!, term_id: numeric!): vaults - """ - An array relationship - """ + """fetch data from the table: "vault" using primary key columns""" + vault(curve_id: numeric!, term_id: String!): vaults + """An array relationship""" vaults( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [vaults_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [vaults_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: vaults_bool_exp ): [vaults!]! - """ - An aggregate relationship - """ + """An aggregate relationship""" vaults_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [vaults_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [vaults_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: vaults_bool_exp ): vaults_aggregate! } @@ -7469,34 +5200,28 @@ type query_root { columns and relationships of "redemption" """ type redemptions { - assets_for_receiver: numeric! + assets: numeric! block_number: numeric! created_at: timestamptz! curve_id: numeric! - exit_fee: numeric! + fees: numeric! id: String! - """ - An object relationship - """ + log_index: bigint! + """An object relationship""" receiver: accounts! receiver_id: String! - """ - An object relationship - """ + """An object relationship""" sender: accounts sender_id: String! - sender_total_shares_in_vault: numeric! - shares_redeemed_by_sender: numeric! - """ - An object relationship - """ + shares: numeric! + """An object relationship""" term: terms! - term_id: numeric! + term_id: String! + total_shares: numeric! transaction_hash: String! - """ - An object relationship - """ + """An object relationship""" vault: vaults + vault_type: vault_type! } """ @@ -7552,30 +5277,28 @@ input redemptions_aggregate_order_by { variance: redemptions_variance_order_by } -""" -aggregate avg on columns -""" +"""aggregate avg on columns""" type redemptions_avg_fields { - assets_for_receiver: Float + assets: Float block_number: Float curve_id: Float - exit_fee: Float - sender_total_shares_in_vault: Float - shares_redeemed_by_sender: Float - term_id: Float + fees: Float + log_index: Float + shares: Float + total_shares: Float } """ order by avg() on columns of table "redemption" """ input redemptions_avg_order_by { - assets_for_receiver: order_by + assets: order_by block_number: order_by curve_id: order_by - exit_fee: order_by - sender_total_shares_in_vault: order_by - shares_redeemed_by_sender: order_by - term_id: order_by + fees: order_by + log_index: order_by + shares: order_by + total_shares: order_by } """ @@ -7585,384 +5308,352 @@ input redemptions_bool_exp { _and: [redemptions_bool_exp!] _not: redemptions_bool_exp _or: [redemptions_bool_exp!] - assets_for_receiver: numeric_comparison_exp + assets: numeric_comparison_exp block_number: numeric_comparison_exp created_at: timestamptz_comparison_exp curve_id: numeric_comparison_exp - exit_fee: numeric_comparison_exp + fees: numeric_comparison_exp id: String_comparison_exp + log_index: bigint_comparison_exp receiver: accounts_bool_exp receiver_id: String_comparison_exp sender: accounts_bool_exp sender_id: String_comparison_exp - sender_total_shares_in_vault: numeric_comparison_exp - shares_redeemed_by_sender: numeric_comparison_exp + shares: numeric_comparison_exp term: terms_bool_exp - term_id: numeric_comparison_exp + term_id: String_comparison_exp + total_shares: numeric_comparison_exp transaction_hash: String_comparison_exp vault: vaults_bool_exp + vault_type: vault_type_comparison_exp } -""" -aggregate max on columns -""" +"""aggregate max on columns""" type redemptions_max_fields { - assets_for_receiver: numeric + assets: numeric block_number: numeric created_at: timestamptz curve_id: numeric - exit_fee: numeric + fees: numeric id: String + log_index: bigint receiver_id: String sender_id: String - sender_total_shares_in_vault: numeric - shares_redeemed_by_sender: numeric - term_id: numeric + shares: numeric + term_id: String + total_shares: numeric transaction_hash: String + vault_type: vault_type } """ order by max() on columns of table "redemption" """ input redemptions_max_order_by { - assets_for_receiver: order_by + assets: order_by block_number: order_by created_at: order_by curve_id: order_by - exit_fee: order_by + fees: order_by id: order_by + log_index: order_by receiver_id: order_by sender_id: order_by - sender_total_shares_in_vault: order_by - shares_redeemed_by_sender: order_by + shares: order_by term_id: order_by + total_shares: order_by transaction_hash: order_by + vault_type: order_by } -""" -aggregate min on columns -""" +"""aggregate min on columns""" type redemptions_min_fields { - assets_for_receiver: numeric + assets: numeric block_number: numeric created_at: timestamptz curve_id: numeric - exit_fee: numeric + fees: numeric id: String + log_index: bigint receiver_id: String sender_id: String - sender_total_shares_in_vault: numeric - shares_redeemed_by_sender: numeric - term_id: numeric + shares: numeric + term_id: String + total_shares: numeric transaction_hash: String + vault_type: vault_type } """ order by min() on columns of table "redemption" """ input redemptions_min_order_by { - assets_for_receiver: order_by + assets: order_by block_number: order_by created_at: order_by curve_id: order_by - exit_fee: order_by + fees: order_by id: order_by + log_index: order_by receiver_id: order_by sender_id: order_by - sender_total_shares_in_vault: order_by - shares_redeemed_by_sender: order_by + shares: order_by term_id: order_by + total_shares: order_by transaction_hash: order_by + vault_type: order_by } -""" -Ordering options when selecting data from "redemption". -""" +"""Ordering options when selecting data from "redemption".""" input redemptions_order_by { - assets_for_receiver: order_by + assets: order_by block_number: order_by created_at: order_by curve_id: order_by - exit_fee: order_by + fees: order_by id: order_by + log_index: order_by receiver: accounts_order_by receiver_id: order_by sender: accounts_order_by sender_id: order_by - sender_total_shares_in_vault: order_by - shares_redeemed_by_sender: order_by + shares: order_by term: terms_order_by term_id: order_by + total_shares: order_by transaction_hash: order_by vault: vaults_order_by + vault_type: order_by } """ select columns of table "redemption" """ enum redemptions_select_column { - """ - column name - """ - assets_for_receiver - """ - column name - """ + """column name""" + assets + """column name""" block_number - """ - column name - """ + """column name""" created_at - """ - column name - """ + """column name""" curve_id - """ - column name - """ - exit_fee - """ - column name - """ + """column name""" + fees + """column name""" id - """ - column name - """ + """column name""" + log_index + """column name""" receiver_id - """ - column name - """ + """column name""" sender_id - """ - column name - """ - sender_total_shares_in_vault - """ - column name - """ - shares_redeemed_by_sender - """ - column name - """ + """column name""" + shares + """column name""" term_id - """ - column name - """ + """column name""" + total_shares + """column name""" transaction_hash + """column name""" + vault_type } -""" -aggregate stddev on columns -""" +"""aggregate stddev on columns""" type redemptions_stddev_fields { - assets_for_receiver: Float + assets: Float block_number: Float curve_id: Float - exit_fee: Float - sender_total_shares_in_vault: Float - shares_redeemed_by_sender: Float - term_id: Float + fees: Float + log_index: Float + shares: Float + total_shares: Float } """ order by stddev() on columns of table "redemption" """ input redemptions_stddev_order_by { - assets_for_receiver: order_by + assets: order_by block_number: order_by curve_id: order_by - exit_fee: order_by - sender_total_shares_in_vault: order_by - shares_redeemed_by_sender: order_by - term_id: order_by + fees: order_by + log_index: order_by + shares: order_by + total_shares: order_by } -""" -aggregate stddev_pop on columns -""" +"""aggregate stddev_pop on columns""" type redemptions_stddev_pop_fields { - assets_for_receiver: Float + assets: Float block_number: Float curve_id: Float - exit_fee: Float - sender_total_shares_in_vault: Float - shares_redeemed_by_sender: Float - term_id: Float + fees: Float + log_index: Float + shares: Float + total_shares: Float } """ order by stddev_pop() on columns of table "redemption" """ input redemptions_stddev_pop_order_by { - assets_for_receiver: order_by + assets: order_by block_number: order_by curve_id: order_by - exit_fee: order_by - sender_total_shares_in_vault: order_by - shares_redeemed_by_sender: order_by - term_id: order_by + fees: order_by + log_index: order_by + shares: order_by + total_shares: order_by } -""" -aggregate stddev_samp on columns -""" +"""aggregate stddev_samp on columns""" type redemptions_stddev_samp_fields { - assets_for_receiver: Float + assets: Float block_number: Float curve_id: Float - exit_fee: Float - sender_total_shares_in_vault: Float - shares_redeemed_by_sender: Float - term_id: Float + fees: Float + log_index: Float + shares: Float + total_shares: Float } """ order by stddev_samp() on columns of table "redemption" """ input redemptions_stddev_samp_order_by { - assets_for_receiver: order_by + assets: order_by block_number: order_by curve_id: order_by - exit_fee: order_by - sender_total_shares_in_vault: order_by - shares_redeemed_by_sender: order_by - term_id: order_by + fees: order_by + log_index: order_by + shares: order_by + total_shares: order_by } """ Streaming cursor of the table "redemptions" """ input redemptions_stream_cursor_input { - """ - Stream column input with initial value - """ + """Stream column input with initial value""" initial_value: redemptions_stream_cursor_value_input! - """ - cursor ordering - """ + """cursor ordering""" ordering: cursor_ordering } -""" -Initial value of the column from where the streaming should start -""" +"""Initial value of the column from where the streaming should start""" input redemptions_stream_cursor_value_input { - assets_for_receiver: numeric + assets: numeric block_number: numeric created_at: timestamptz curve_id: numeric - exit_fee: numeric + fees: numeric id: String + log_index: bigint receiver_id: String sender_id: String - sender_total_shares_in_vault: numeric - shares_redeemed_by_sender: numeric - term_id: numeric + shares: numeric + term_id: String + total_shares: numeric transaction_hash: String + vault_type: vault_type } -""" -aggregate sum on columns -""" +"""aggregate sum on columns""" type redemptions_sum_fields { - assets_for_receiver: numeric + assets: numeric block_number: numeric curve_id: numeric - exit_fee: numeric - sender_total_shares_in_vault: numeric - shares_redeemed_by_sender: numeric - term_id: numeric + fees: numeric + log_index: bigint + shares: numeric + total_shares: numeric } """ order by sum() on columns of table "redemption" """ input redemptions_sum_order_by { - assets_for_receiver: order_by + assets: order_by block_number: order_by curve_id: order_by - exit_fee: order_by - sender_total_shares_in_vault: order_by - shares_redeemed_by_sender: order_by - term_id: order_by + fees: order_by + log_index: order_by + shares: order_by + total_shares: order_by } -""" -aggregate var_pop on columns -""" +"""aggregate var_pop on columns""" type redemptions_var_pop_fields { - assets_for_receiver: Float + assets: Float block_number: Float curve_id: Float - exit_fee: Float - sender_total_shares_in_vault: Float - shares_redeemed_by_sender: Float - term_id: Float + fees: Float + log_index: Float + shares: Float + total_shares: Float } """ order by var_pop() on columns of table "redemption" """ input redemptions_var_pop_order_by { - assets_for_receiver: order_by + assets: order_by block_number: order_by curve_id: order_by - exit_fee: order_by - sender_total_shares_in_vault: order_by - shares_redeemed_by_sender: order_by - term_id: order_by + fees: order_by + log_index: order_by + shares: order_by + total_shares: order_by } -""" -aggregate var_samp on columns -""" +"""aggregate var_samp on columns""" type redemptions_var_samp_fields { - assets_for_receiver: Float + assets: Float block_number: Float curve_id: Float - exit_fee: Float - sender_total_shares_in_vault: Float - shares_redeemed_by_sender: Float - term_id: Float + fees: Float + log_index: Float + shares: Float + total_shares: Float } """ order by var_samp() on columns of table "redemption" """ input redemptions_var_samp_order_by { - assets_for_receiver: order_by + assets: order_by block_number: order_by curve_id: order_by - exit_fee: order_by - sender_total_shares_in_vault: order_by - shares_redeemed_by_sender: order_by - term_id: order_by + fees: order_by + log_index: order_by + shares: order_by + total_shares: order_by } -""" -aggregate variance on columns -""" +"""aggregate variance on columns""" type redemptions_variance_fields { - assets_for_receiver: Float + assets: Float block_number: Float curve_id: Float - exit_fee: Float - sender_total_shares_in_vault: Float - shares_redeemed_by_sender: Float - term_id: Float + fees: Float + log_index: Float + shares: Float + total_shares: Float } """ order by variance() on columns of table "redemption" """ input redemptions_variance_order_by { - assets_for_receiver: order_by + assets: order_by block_number: order_by curve_id: order_by - exit_fee: order_by - sender_total_shares_in_vault: order_by - shares_redeemed_by_sender: order_by - term_id: order_by + fees: order_by + log_index: order_by + shares: order_by + total_shares: order_by } input search_positions_on_subject_args { @@ -7989,11 +5680,9 @@ type share_price_change_stats_daily { difference: numeric first_share_price: numeric last_share_price: numeric - """ - An object relationship - """ + """An object relationship""" term: terms - term_id: numeric + term_id: String } """ @@ -8022,7 +5711,6 @@ input share_price_change_stats_daily_avg_order_by { difference: order_by first_share_price: order_by last_share_price: order_by - term_id: order_by } """ @@ -8039,7 +5727,7 @@ input share_price_change_stats_daily_bool_exp { first_share_price: numeric_comparison_exp last_share_price: numeric_comparison_exp term: terms_bool_exp - term_id: numeric_comparison_exp + term_id: String_comparison_exp } """ @@ -8086,33 +5774,19 @@ input share_price_change_stats_daily_order_by { select columns of table "share_price_change_stats_daily" """ enum share_price_change_stats_daily_select_column { - """ - column name - """ + """column name""" bucket - """ - column name - """ + """column name""" change_count - """ - column name - """ + """column name""" curve_id - """ - column name - """ + """column name""" difference - """ - column name - """ + """column name""" first_share_price - """ - column name - """ + """column name""" last_share_price - """ - column name - """ + """column name""" term_id } @@ -8125,7 +5799,6 @@ input share_price_change_stats_daily_stddev_order_by { difference: order_by first_share_price: order_by last_share_price: order_by - term_id: order_by } """ @@ -8137,7 +5810,6 @@ input share_price_change_stats_daily_stddev_pop_order_by { difference: order_by first_share_price: order_by last_share_price: order_by - term_id: order_by } """ @@ -8149,26 +5821,19 @@ input share_price_change_stats_daily_stddev_samp_order_by { difference: order_by first_share_price: order_by last_share_price: order_by - term_id: order_by } """ Streaming cursor of the table "share_price_change_stats_daily" """ input share_price_change_stats_daily_stream_cursor_input { - """ - Stream column input with initial value - """ + """Stream column input with initial value""" initial_value: share_price_change_stats_daily_stream_cursor_value_input! - """ - cursor ordering - """ + """cursor ordering""" ordering: cursor_ordering } -""" -Initial value of the column from where the streaming should start -""" +"""Initial value of the column from where the streaming should start""" input share_price_change_stats_daily_stream_cursor_value_input { bucket: timestamptz change_count: numeric @@ -8176,7 +5841,7 @@ input share_price_change_stats_daily_stream_cursor_value_input { difference: numeric first_share_price: numeric last_share_price: numeric - term_id: numeric + term_id: String } """ @@ -8188,7 +5853,6 @@ input share_price_change_stats_daily_sum_order_by { difference: order_by first_share_price: order_by last_share_price: order_by - term_id: order_by } """ @@ -8200,7 +5864,6 @@ input share_price_change_stats_daily_var_pop_order_by { difference: order_by first_share_price: order_by last_share_price: order_by - term_id: order_by } """ @@ -8212,7 +5875,6 @@ input share_price_change_stats_daily_var_samp_order_by { difference: order_by first_share_price: order_by last_share_price: order_by - term_id: order_by } """ @@ -8224,7 +5886,6 @@ input share_price_change_stats_daily_variance_order_by { difference: order_by first_share_price: order_by last_share_price: order_by - term_id: order_by } """ @@ -8237,11 +5898,9 @@ type share_price_change_stats_hourly { difference: numeric first_share_price: numeric last_share_price: numeric - """ - An object relationship - """ + """An object relationship""" term: terms - term_id: numeric + term_id: String } """ @@ -8270,7 +5929,6 @@ input share_price_change_stats_hourly_avg_order_by { difference: order_by first_share_price: order_by last_share_price: order_by - term_id: order_by } """ @@ -8287,7 +5945,7 @@ input share_price_change_stats_hourly_bool_exp { first_share_price: numeric_comparison_exp last_share_price: numeric_comparison_exp term: terms_bool_exp - term_id: numeric_comparison_exp + term_id: String_comparison_exp } """ @@ -8334,33 +5992,19 @@ input share_price_change_stats_hourly_order_by { select columns of table "share_price_change_stats_hourly" """ enum share_price_change_stats_hourly_select_column { - """ - column name - """ + """column name""" bucket - """ - column name - """ + """column name""" change_count - """ - column name - """ + """column name""" curve_id - """ - column name - """ + """column name""" difference - """ - column name - """ + """column name""" first_share_price - """ - column name - """ + """column name""" last_share_price - """ - column name - """ + """column name""" term_id } @@ -8373,7 +6017,6 @@ input share_price_change_stats_hourly_stddev_order_by { difference: order_by first_share_price: order_by last_share_price: order_by - term_id: order_by } """ @@ -8385,7 +6028,6 @@ input share_price_change_stats_hourly_stddev_pop_order_by { difference: order_by first_share_price: order_by last_share_price: order_by - term_id: order_by } """ @@ -8397,26 +6039,19 @@ input share_price_change_stats_hourly_stddev_samp_order_by { difference: order_by first_share_price: order_by last_share_price: order_by - term_id: order_by } """ Streaming cursor of the table "share_price_change_stats_hourly" """ input share_price_change_stats_hourly_stream_cursor_input { - """ - Stream column input with initial value - """ + """Stream column input with initial value""" initial_value: share_price_change_stats_hourly_stream_cursor_value_input! - """ - cursor ordering - """ + """cursor ordering""" ordering: cursor_ordering } -""" -Initial value of the column from where the streaming should start -""" +"""Initial value of the column from where the streaming should start""" input share_price_change_stats_hourly_stream_cursor_value_input { bucket: timestamptz change_count: bigint @@ -8424,7 +6059,7 @@ input share_price_change_stats_hourly_stream_cursor_value_input { difference: numeric first_share_price: numeric last_share_price: numeric - term_id: numeric + term_id: String } """ @@ -8436,7 +6071,6 @@ input share_price_change_stats_hourly_sum_order_by { difference: order_by first_share_price: order_by last_share_price: order_by - term_id: order_by } """ @@ -8448,7 +6082,6 @@ input share_price_change_stats_hourly_var_pop_order_by { difference: order_by first_share_price: order_by last_share_price: order_by - term_id: order_by } """ @@ -8460,7 +6093,6 @@ input share_price_change_stats_hourly_var_samp_order_by { difference: order_by first_share_price: order_by last_share_price: order_by - term_id: order_by } """ @@ -8472,7 +6104,6 @@ input share_price_change_stats_hourly_variance_order_by { difference: order_by first_share_price: order_by last_share_price: order_by - term_id: order_by } """ @@ -8485,11 +6116,9 @@ type share_price_change_stats_monthly { difference: numeric first_share_price: numeric last_share_price: numeric - """ - An object relationship - """ + """An object relationship""" term: terms - term_id: numeric + term_id: String } """ @@ -8518,7 +6147,6 @@ input share_price_change_stats_monthly_avg_order_by { difference: order_by first_share_price: order_by last_share_price: order_by - term_id: order_by } """ @@ -8535,7 +6163,7 @@ input share_price_change_stats_monthly_bool_exp { first_share_price: numeric_comparison_exp last_share_price: numeric_comparison_exp term: terms_bool_exp - term_id: numeric_comparison_exp + term_id: String_comparison_exp } """ @@ -8582,33 +6210,19 @@ input share_price_change_stats_monthly_order_by { select columns of table "share_price_change_stats_monthly" """ enum share_price_change_stats_monthly_select_column { - """ - column name - """ + """column name""" bucket - """ - column name - """ + """column name""" change_count - """ - column name - """ + """column name""" curve_id - """ - column name - """ + """column name""" difference - """ - column name - """ + """column name""" first_share_price - """ - column name - """ + """column name""" last_share_price - """ - column name - """ + """column name""" term_id } @@ -8621,7 +6235,6 @@ input share_price_change_stats_monthly_stddev_order_by { difference: order_by first_share_price: order_by last_share_price: order_by - term_id: order_by } """ @@ -8633,7 +6246,6 @@ input share_price_change_stats_monthly_stddev_pop_order_by { difference: order_by first_share_price: order_by last_share_price: order_by - term_id: order_by } """ @@ -8645,26 +6257,19 @@ input share_price_change_stats_monthly_stddev_samp_order_by { difference: order_by first_share_price: order_by last_share_price: order_by - term_id: order_by } """ Streaming cursor of the table "share_price_change_stats_monthly" """ input share_price_change_stats_monthly_stream_cursor_input { - """ - Stream column input with initial value - """ + """Stream column input with initial value""" initial_value: share_price_change_stats_monthly_stream_cursor_value_input! - """ - cursor ordering - """ + """cursor ordering""" ordering: cursor_ordering } -""" -Initial value of the column from where the streaming should start -""" +"""Initial value of the column from where the streaming should start""" input share_price_change_stats_monthly_stream_cursor_value_input { bucket: timestamptz change_count: numeric @@ -8672,7 +6277,7 @@ input share_price_change_stats_monthly_stream_cursor_value_input { difference: numeric first_share_price: numeric last_share_price: numeric - term_id: numeric + term_id: String } """ @@ -8684,7 +6289,6 @@ input share_price_change_stats_monthly_sum_order_by { difference: order_by first_share_price: order_by last_share_price: order_by - term_id: order_by } """ @@ -8696,7 +6300,6 @@ input share_price_change_stats_monthly_var_pop_order_by { difference: order_by first_share_price: order_by last_share_price: order_by - term_id: order_by } """ @@ -8708,7 +6311,6 @@ input share_price_change_stats_monthly_var_samp_order_by { difference: order_by first_share_price: order_by last_share_price: order_by - term_id: order_by } """ @@ -8720,7 +6322,6 @@ input share_price_change_stats_monthly_variance_order_by { difference: order_by first_share_price: order_by last_share_price: order_by - term_id: order_by } """ @@ -8733,11 +6334,9 @@ type share_price_change_stats_weekly { difference: numeric first_share_price: numeric last_share_price: numeric - """ - An object relationship - """ + """An object relationship""" term: terms - term_id: numeric + term_id: String } """ @@ -8766,7 +6365,6 @@ input share_price_change_stats_weekly_avg_order_by { difference: order_by first_share_price: order_by last_share_price: order_by - term_id: order_by } """ @@ -8783,7 +6381,7 @@ input share_price_change_stats_weekly_bool_exp { first_share_price: numeric_comparison_exp last_share_price: numeric_comparison_exp term: terms_bool_exp - term_id: numeric_comparison_exp + term_id: String_comparison_exp } """ @@ -8830,33 +6428,19 @@ input share_price_change_stats_weekly_order_by { select columns of table "share_price_change_stats_weekly" """ enum share_price_change_stats_weekly_select_column { - """ - column name - """ + """column name""" bucket - """ - column name - """ + """column name""" change_count - """ - column name - """ + """column name""" curve_id - """ - column name - """ + """column name""" difference - """ - column name - """ + """column name""" first_share_price - """ - column name - """ + """column name""" last_share_price - """ - column name - """ + """column name""" term_id } @@ -8869,7 +6453,6 @@ input share_price_change_stats_weekly_stddev_order_by { difference: order_by first_share_price: order_by last_share_price: order_by - term_id: order_by } """ @@ -8881,7 +6464,6 @@ input share_price_change_stats_weekly_stddev_pop_order_by { difference: order_by first_share_price: order_by last_share_price: order_by - term_id: order_by } """ @@ -8893,26 +6475,19 @@ input share_price_change_stats_weekly_stddev_samp_order_by { difference: order_by first_share_price: order_by last_share_price: order_by - term_id: order_by } """ Streaming cursor of the table "share_price_change_stats_weekly" """ input share_price_change_stats_weekly_stream_cursor_input { - """ - Stream column input with initial value - """ + """Stream column input with initial value""" initial_value: share_price_change_stats_weekly_stream_cursor_value_input! - """ - cursor ordering - """ + """cursor ordering""" ordering: cursor_ordering } -""" -Initial value of the column from where the streaming should start -""" +"""Initial value of the column from where the streaming should start""" input share_price_change_stats_weekly_stream_cursor_value_input { bucket: timestamptz change_count: numeric @@ -8920,7 +6495,7 @@ input share_price_change_stats_weekly_stream_cursor_value_input { difference: numeric first_share_price: numeric last_share_price: numeric - term_id: numeric + term_id: String } """ @@ -8932,7 +6507,6 @@ input share_price_change_stats_weekly_sum_order_by { difference: order_by first_share_price: order_by last_share_price: order_by - term_id: order_by } """ @@ -8944,7 +6518,6 @@ input share_price_change_stats_weekly_var_pop_order_by { difference: order_by first_share_price: order_by last_share_price: order_by - term_id: order_by } """ @@ -8956,7 +6529,6 @@ input share_price_change_stats_weekly_var_samp_order_by { difference: order_by first_share_price: order_by last_share_price: order_by - term_id: order_by } """ @@ -8968,7 +6540,6 @@ input share_price_change_stats_weekly_variance_order_by { difference: order_by first_share_price: order_by last_share_price: order_by - term_id: order_by } """ @@ -8979,20 +6550,18 @@ type share_price_changes { block_timestamp: bigint! curve_id: numeric! id: bigint! + log_index: bigint! share_price: numeric! - """ - An object relationship - """ + """An object relationship""" term: terms! - term_id: numeric! + term_id: String! total_assets: numeric! total_shares: numeric! transaction_hash: String! updated_at: timestamptz! - """ - An object relationship - """ + """An object relationship""" vault: vaults + vault_type: vault_type! } """ @@ -9048,16 +6617,14 @@ input share_price_changes_aggregate_order_by { variance: share_price_changes_variance_order_by } -""" -aggregate avg on columns -""" +"""aggregate avg on columns""" type share_price_changes_avg_fields { block_number: Float block_timestamp: Float curve_id: Float id: Float + log_index: Float share_price: Float - term_id: Float total_assets: Float total_shares: Float } @@ -9070,8 +6637,8 @@ input share_price_changes_avg_order_by { block_timestamp: order_by curve_id: order_by id: order_by + log_index: order_by share_price: order_by - term_id: order_by total_assets: order_by total_shares: order_by } @@ -9087,30 +6654,32 @@ input share_price_changes_bool_exp { block_timestamp: bigint_comparison_exp curve_id: numeric_comparison_exp id: bigint_comparison_exp + log_index: bigint_comparison_exp share_price: numeric_comparison_exp term: terms_bool_exp - term_id: numeric_comparison_exp + term_id: String_comparison_exp total_assets: numeric_comparison_exp total_shares: numeric_comparison_exp transaction_hash: String_comparison_exp updated_at: timestamptz_comparison_exp vault: vaults_bool_exp + vault_type: vault_type_comparison_exp } -""" -aggregate max on columns -""" +"""aggregate max on columns""" type share_price_changes_max_fields { block_number: numeric block_timestamp: bigint curve_id: numeric id: bigint + log_index: bigint share_price: numeric - term_id: numeric + term_id: String total_assets: numeric total_shares: numeric transaction_hash: String updated_at: timestamptz + vault_type: vault_type } """ @@ -9121,28 +6690,30 @@ input share_price_changes_max_order_by { block_timestamp: order_by curve_id: order_by id: order_by + log_index: order_by share_price: order_by term_id: order_by total_assets: order_by total_shares: order_by transaction_hash: order_by updated_at: order_by + vault_type: order_by } -""" -aggregate min on columns -""" +"""aggregate min on columns""" type share_price_changes_min_fields { block_number: numeric block_timestamp: bigint curve_id: numeric id: bigint + log_index: bigint share_price: numeric - term_id: numeric + term_id: String total_assets: numeric total_shares: numeric transaction_hash: String updated_at: timestamptz + vault_type: vault_type } """ @@ -9153,22 +6724,23 @@ input share_price_changes_min_order_by { block_timestamp: order_by curve_id: order_by id: order_by + log_index: order_by share_price: order_by term_id: order_by total_assets: order_by total_shares: order_by transaction_hash: order_by updated_at: order_by + vault_type: order_by } -""" -Ordering options when selecting data from "share_price_change". -""" +"""Ordering options when selecting data from "share_price_change".""" input share_price_changes_order_by { block_number: order_by block_timestamp: order_by curve_id: order_by id: order_by + log_index: order_by share_price: order_by term: terms_order_by term_id: order_by @@ -9177,64 +6749,47 @@ input share_price_changes_order_by { transaction_hash: order_by updated_at: order_by vault: vaults_order_by + vault_type: order_by } """ select columns of table "share_price_change" """ enum share_price_changes_select_column { - """ - column name - """ + """column name""" block_number - """ - column name - """ + """column name""" block_timestamp - """ - column name - """ + """column name""" curve_id - """ - column name - """ + """column name""" id - """ - column name - """ + """column name""" + log_index + """column name""" share_price - """ - column name - """ + """column name""" term_id - """ - column name - """ + """column name""" total_assets - """ - column name - """ + """column name""" total_shares - """ - column name - """ + """column name""" transaction_hash - """ - column name - """ + """column name""" updated_at + """column name""" + vault_type } -""" -aggregate stddev on columns -""" +"""aggregate stddev on columns""" type share_price_changes_stddev_fields { block_number: Float block_timestamp: Float curve_id: Float id: Float + log_index: Float share_price: Float - term_id: Float total_assets: Float total_shares: Float } @@ -9247,22 +6802,20 @@ input share_price_changes_stddev_order_by { block_timestamp: order_by curve_id: order_by id: order_by + log_index: order_by share_price: order_by - term_id: order_by total_assets: order_by total_shares: order_by } -""" -aggregate stddev_pop on columns -""" +"""aggregate stddev_pop on columns""" type share_price_changes_stddev_pop_fields { block_number: Float block_timestamp: Float curve_id: Float id: Float + log_index: Float share_price: Float - term_id: Float total_assets: Float total_shares: Float } @@ -9275,22 +6828,20 @@ input share_price_changes_stddev_pop_order_by { block_timestamp: order_by curve_id: order_by id: order_by + log_index: order_by share_price: order_by - term_id: order_by total_assets: order_by total_shares: order_by } -""" -aggregate stddev_samp on columns -""" +"""aggregate stddev_samp on columns""" type share_price_changes_stddev_samp_fields { block_number: Float block_timestamp: Float curve_id: Float id: Float + log_index: Float share_price: Float - term_id: Float total_assets: Float total_shares: Float } @@ -9303,8 +6854,8 @@ input share_price_changes_stddev_samp_order_by { block_timestamp: order_by curve_id: order_by id: order_by + log_index: order_by share_price: order_by - term_id: order_by total_assets: order_by total_shares: order_by } @@ -9313,42 +6864,36 @@ input share_price_changes_stddev_samp_order_by { Streaming cursor of the table "share_price_changes" """ input share_price_changes_stream_cursor_input { - """ - Stream column input with initial value - """ + """Stream column input with initial value""" initial_value: share_price_changes_stream_cursor_value_input! - """ - cursor ordering - """ + """cursor ordering""" ordering: cursor_ordering } -""" -Initial value of the column from where the streaming should start -""" +"""Initial value of the column from where the streaming should start""" input share_price_changes_stream_cursor_value_input { block_number: numeric block_timestamp: bigint curve_id: numeric id: bigint + log_index: bigint share_price: numeric - term_id: numeric + term_id: String total_assets: numeric total_shares: numeric transaction_hash: String updated_at: timestamptz + vault_type: vault_type } -""" -aggregate sum on columns -""" +"""aggregate sum on columns""" type share_price_changes_sum_fields { block_number: numeric block_timestamp: bigint curve_id: numeric id: bigint + log_index: bigint share_price: numeric - term_id: numeric total_assets: numeric total_shares: numeric } @@ -9361,22 +6906,20 @@ input share_price_changes_sum_order_by { block_timestamp: order_by curve_id: order_by id: order_by + log_index: order_by share_price: order_by - term_id: order_by total_assets: order_by total_shares: order_by } -""" -aggregate var_pop on columns -""" +"""aggregate var_pop on columns""" type share_price_changes_var_pop_fields { block_number: Float block_timestamp: Float curve_id: Float id: Float + log_index: Float share_price: Float - term_id: Float total_assets: Float total_shares: Float } @@ -9389,22 +6932,20 @@ input share_price_changes_var_pop_order_by { block_timestamp: order_by curve_id: order_by id: order_by + log_index: order_by share_price: order_by - term_id: order_by total_assets: order_by total_shares: order_by } -""" -aggregate var_samp on columns -""" +"""aggregate var_samp on columns""" type share_price_changes_var_samp_fields { block_number: Float block_timestamp: Float curve_id: Float id: Float + log_index: Float share_price: Float - term_id: Float total_assets: Float total_shares: Float } @@ -9417,22 +6958,20 @@ input share_price_changes_var_samp_order_by { block_timestamp: order_by curve_id: order_by id: order_by + log_index: order_by share_price: order_by - term_id: order_by total_assets: order_by total_shares: order_by } -""" -aggregate variance on columns -""" +"""aggregate variance on columns""" type share_price_changes_variance_fields { block_number: Float block_timestamp: Float curve_id: Float id: Float + log_index: Float share_price: Float - term_id: Float total_assets: Float total_shares: Float } @@ -9445,8 +6984,8 @@ input share_price_changes_variance_order_by { block_timestamp: order_by curve_id: order_by id: order_by + log_index: order_by share_price: order_by - term_id: order_by total_assets: order_by total_shares: order_by } @@ -9458,11 +6997,9 @@ type signal_stats_daily { bucket: timestamptz count: numeric curve_id: numeric - """ - An object relationship - """ + """An object relationship""" term: terms - term_id: numeric + term_id: String volume: numeric } @@ -9477,13 +7014,11 @@ input signal_stats_daily_bool_exp { count: numeric_comparison_exp curve_id: numeric_comparison_exp term: terms_bool_exp - term_id: numeric_comparison_exp + term_id: String_comparison_exp volume: numeric_comparison_exp } -""" -Ordering options when selecting data from "signal_stats_daily". -""" +"""Ordering options when selecting data from "signal_stats_daily".""" input signal_stats_daily_order_by { bucket: order_by count: order_by @@ -9497,25 +7032,15 @@ input signal_stats_daily_order_by { select columns of table "signal_stats_daily" """ enum signal_stats_daily_select_column { - """ - column name - """ + """column name""" bucket - """ - column name - """ + """column name""" count - """ - column name - """ + """column name""" curve_id - """ - column name - """ + """column name""" term_id - """ - column name - """ + """column name""" volume } @@ -9523,24 +7048,18 @@ enum signal_stats_daily_select_column { Streaming cursor of the table "signal_stats_daily" """ input signal_stats_daily_stream_cursor_input { - """ - Stream column input with initial value - """ + """Stream column input with initial value""" initial_value: signal_stats_daily_stream_cursor_value_input! - """ - cursor ordering - """ + """cursor ordering""" ordering: cursor_ordering } -""" -Initial value of the column from where the streaming should start -""" +"""Initial value of the column from where the streaming should start""" input signal_stats_daily_stream_cursor_value_input { bucket: timestamptz count: numeric curve_id: numeric - term_id: numeric + term_id: String volume: numeric } @@ -9551,11 +7070,9 @@ type signal_stats_hourly { bucket: timestamptz count: bigint curve_id: numeric - """ - An object relationship - """ + """An object relationship""" term: terms - term_id: numeric + term_id: String volume: numeric } @@ -9570,13 +7087,11 @@ input signal_stats_hourly_bool_exp { count: bigint_comparison_exp curve_id: numeric_comparison_exp term: terms_bool_exp - term_id: numeric_comparison_exp + term_id: String_comparison_exp volume: numeric_comparison_exp } -""" -Ordering options when selecting data from "signal_stats_hourly". -""" +"""Ordering options when selecting data from "signal_stats_hourly".""" input signal_stats_hourly_order_by { bucket: order_by count: order_by @@ -9590,25 +7105,15 @@ input signal_stats_hourly_order_by { select columns of table "signal_stats_hourly" """ enum signal_stats_hourly_select_column { - """ - column name - """ + """column name""" bucket - """ - column name - """ + """column name""" count - """ - column name - """ + """column name""" curve_id - """ - column name - """ + """column name""" term_id - """ - column name - """ + """column name""" volume } @@ -9616,24 +7121,18 @@ enum signal_stats_hourly_select_column { Streaming cursor of the table "signal_stats_hourly" """ input signal_stats_hourly_stream_cursor_input { - """ - Stream column input with initial value - """ + """Stream column input with initial value""" initial_value: signal_stats_hourly_stream_cursor_value_input! - """ - cursor ordering - """ + """cursor ordering""" ordering: cursor_ordering } -""" -Initial value of the column from where the streaming should start -""" +"""Initial value of the column from where the streaming should start""" input signal_stats_hourly_stream_cursor_value_input { bucket: timestamptz count: bigint curve_id: numeric - term_id: numeric + term_id: String volume: numeric } @@ -9644,11 +7143,9 @@ type signal_stats_monthly { bucket: timestamptz count: numeric curve_id: numeric - """ - An object relationship - """ + """An object relationship""" term: terms - term_id: numeric + term_id: String volume: numeric } @@ -9663,13 +7160,11 @@ input signal_stats_monthly_bool_exp { count: numeric_comparison_exp curve_id: numeric_comparison_exp term: terms_bool_exp - term_id: numeric_comparison_exp + term_id: String_comparison_exp volume: numeric_comparison_exp } -""" -Ordering options when selecting data from "signal_stats_monthly". -""" +"""Ordering options when selecting data from "signal_stats_monthly".""" input signal_stats_monthly_order_by { bucket: order_by count: order_by @@ -9683,25 +7178,15 @@ input signal_stats_monthly_order_by { select columns of table "signal_stats_monthly" """ enum signal_stats_monthly_select_column { - """ - column name - """ + """column name""" bucket - """ - column name - """ + """column name""" count - """ - column name - """ + """column name""" curve_id - """ - column name - """ + """column name""" term_id - """ - column name - """ + """column name""" volume } @@ -9709,24 +7194,18 @@ enum signal_stats_monthly_select_column { Streaming cursor of the table "signal_stats_monthly" """ input signal_stats_monthly_stream_cursor_input { - """ - Stream column input with initial value - """ + """Stream column input with initial value""" initial_value: signal_stats_monthly_stream_cursor_value_input! - """ - cursor ordering - """ + """cursor ordering""" ordering: cursor_ordering } -""" -Initial value of the column from where the streaming should start -""" +"""Initial value of the column from where the streaming should start""" input signal_stats_monthly_stream_cursor_value_input { bucket: timestamptz count: numeric curve_id: numeric - term_id: numeric + term_id: String volume: numeric } @@ -9737,11 +7216,9 @@ type signal_stats_weekly { bucket: timestamptz count: numeric curve_id: numeric - """ - An object relationship - """ + """An object relationship""" term: terms - term_id: numeric + term_id: String volume: numeric } @@ -9756,13 +7233,11 @@ input signal_stats_weekly_bool_exp { count: numeric_comparison_exp curve_id: numeric_comparison_exp term: terms_bool_exp - term_id: numeric_comparison_exp + term_id: String_comparison_exp volume: numeric_comparison_exp } -""" -Ordering options when selecting data from "signal_stats_weekly". -""" +"""Ordering options when selecting data from "signal_stats_weekly".""" input signal_stats_weekly_order_by { bucket: order_by count: order_by @@ -9776,25 +7251,15 @@ input signal_stats_weekly_order_by { select columns of table "signal_stats_weekly" """ enum signal_stats_weekly_select_column { - """ - column name - """ + """column name""" bucket - """ - column name - """ + """column name""" count - """ - column name - """ + """column name""" curve_id - """ - column name - """ + """column name""" term_id - """ - column name - """ + """column name""" volume } @@ -9802,24 +7267,18 @@ enum signal_stats_weekly_select_column { Streaming cursor of the table "signal_stats_weekly" """ input signal_stats_weekly_stream_cursor_input { - """ - Stream column input with initial value - """ + """Stream column input with initial value""" initial_value: signal_stats_weekly_stream_cursor_value_input! - """ - cursor ordering - """ + """cursor ordering""" ordering: cursor_ordering } -""" -Initial value of the column from where the streaming should start -""" +"""Initial value of the column from where the streaming should start""" input signal_stats_weekly_stream_cursor_value_input { bucket: timestamptz count: numeric curve_id: numeric - term_id: numeric + term_id: String volume: numeric } @@ -9827,35 +7286,27 @@ input signal_stats_weekly_stream_cursor_value_input { columns and relationships of "signal" """ type signals { - """ - An object relationship - """ + """An object relationship""" account: accounts account_id: String! - atom_id: numeric + atom_id: String block_number: numeric! created_at: timestamptz! + curve_id: numeric! delta: numeric! - """ - An object relationship - """ + """An object relationship""" deposit: deposits deposit_id: String id: String! - """ - An object relationship - """ + """An object relationship""" redemption: redemptions redemption_id: String - """ - An object relationship - """ + """An object relationship""" term: terms! + term_id: String! transaction_hash: String! - triple_id: numeric - """ - An object relationship - """ + triple_id: String + """An object relationship""" vault: vaults } @@ -9912,24 +7363,20 @@ input signals_aggregate_order_by { variance: signals_variance_order_by } -""" -aggregate avg on columns -""" +"""aggregate avg on columns""" type signals_avg_fields { - atom_id: Float block_number: Float + curve_id: Float delta: Float - triple_id: Float } """ order by avg() on columns of table "signal" """ input signals_avg_order_by { - atom_id: order_by block_number: order_by + curve_id: order_by delta: order_by - triple_id: order_by } """ @@ -9941,9 +7388,10 @@ input signals_bool_exp { _or: [signals_bool_exp!] account: accounts_bool_exp account_id: String_comparison_exp - atom_id: numeric_comparison_exp + atom_id: String_comparison_exp block_number: numeric_comparison_exp created_at: timestamptz_comparison_exp + curve_id: numeric_comparison_exp delta: numeric_comparison_exp deposit: deposits_bool_exp deposit_id: String_comparison_exp @@ -9951,8 +7399,9 @@ input signals_bool_exp { redemption: redemptions_bool_exp redemption_id: String_comparison_exp term: terms_bool_exp + term_id: String_comparison_exp transaction_hash: String_comparison_exp - triple_id: numeric_comparison_exp + triple_id: String_comparison_exp vault: vaults_bool_exp } @@ -9960,20 +7409,20 @@ input signals_from_following_args { address: String } -""" -aggregate max on columns -""" +"""aggregate max on columns""" type signals_max_fields { account_id: String - atom_id: numeric + atom_id: String block_number: numeric created_at: timestamptz + curve_id: numeric delta: numeric deposit_id: String id: String redemption_id: String + term_id: String transaction_hash: String - triple_id: numeric + triple_id: String } """ @@ -9984,28 +7433,30 @@ input signals_max_order_by { atom_id: order_by block_number: order_by created_at: order_by + curve_id: order_by delta: order_by deposit_id: order_by id: order_by redemption_id: order_by + term_id: order_by transaction_hash: order_by triple_id: order_by } -""" -aggregate min on columns -""" +"""aggregate min on columns""" type signals_min_fields { account_id: String - atom_id: numeric + atom_id: String block_number: numeric created_at: timestamptz + curve_id: numeric delta: numeric deposit_id: String id: String redemption_id: String + term_id: String transaction_hash: String - triple_id: numeric + triple_id: String } """ @@ -10016,23 +7467,24 @@ input signals_min_order_by { atom_id: order_by block_number: order_by created_at: order_by + curve_id: order_by delta: order_by deposit_id: order_by id: order_by redemption_id: order_by + term_id: order_by transaction_hash: order_by triple_id: order_by } -""" -Ordering options when selecting data from "signal". -""" +"""Ordering options when selecting data from "signal".""" input signals_order_by { account: accounts_order_by account_id: order_by atom_id: order_by block_number: order_by created_at: order_by + curve_id: order_by delta: order_by deposit: deposits_order_by deposit_id: order_by @@ -10040,6 +7492,7 @@ input signals_order_by { redemption: redemptions_order_by redemption_id: order_by term: terms_order_by + term_id: order_by transaction_hash: order_by triple_id: order_by vault: vaults_order_by @@ -10049,216 +7502,261 @@ input signals_order_by { select columns of table "signal" """ enum signals_select_column { - """ - column name - """ + """column name""" account_id - """ - column name - """ + """column name""" atom_id - """ - column name - """ + """column name""" block_number - """ - column name - """ + """column name""" created_at - """ - column name - """ + """column name""" + curve_id + """column name""" delta - """ - column name - """ + """column name""" deposit_id - """ - column name - """ + """column name""" id - """ - column name - """ + """column name""" redemption_id - """ - column name - """ + """column name""" + term_id + """column name""" transaction_hash - """ - column name - """ + """column name""" triple_id } -""" -aggregate stddev on columns -""" +"""aggregate stddev on columns""" type signals_stddev_fields { - atom_id: Float block_number: Float + curve_id: Float delta: Float - triple_id: Float } """ order by stddev() on columns of table "signal" """ input signals_stddev_order_by { - atom_id: order_by block_number: order_by + curve_id: order_by delta: order_by - triple_id: order_by } -""" -aggregate stddev_pop on columns -""" +"""aggregate stddev_pop on columns""" type signals_stddev_pop_fields { - atom_id: Float block_number: Float + curve_id: Float delta: Float - triple_id: Float } """ order by stddev_pop() on columns of table "signal" """ input signals_stddev_pop_order_by { - atom_id: order_by block_number: order_by + curve_id: order_by delta: order_by - triple_id: order_by } -""" -aggregate stddev_samp on columns -""" +"""aggregate stddev_samp on columns""" type signals_stddev_samp_fields { - atom_id: Float block_number: Float + curve_id: Float delta: Float - triple_id: Float } """ order by stddev_samp() on columns of table "signal" """ input signals_stddev_samp_order_by { - atom_id: order_by block_number: order_by + curve_id: order_by delta: order_by - triple_id: order_by } """ Streaming cursor of the table "signals" """ input signals_stream_cursor_input { - """ - Stream column input with initial value - """ + """Stream column input with initial value""" initial_value: signals_stream_cursor_value_input! - """ - cursor ordering - """ + """cursor ordering""" ordering: cursor_ordering } -""" -Initial value of the column from where the streaming should start -""" +"""Initial value of the column from where the streaming should start""" input signals_stream_cursor_value_input { account_id: String - atom_id: numeric + atom_id: String block_number: numeric created_at: timestamptz + curve_id: numeric delta: numeric deposit_id: String id: String redemption_id: String + term_id: String transaction_hash: String - triple_id: numeric + triple_id: String } -""" -aggregate sum on columns -""" +"""aggregate sum on columns""" type signals_sum_fields { - atom_id: numeric block_number: numeric + curve_id: numeric delta: numeric - triple_id: numeric } """ order by sum() on columns of table "signal" """ input signals_sum_order_by { - atom_id: order_by block_number: order_by + curve_id: order_by delta: order_by - triple_id: order_by } -""" -aggregate var_pop on columns -""" +"""aggregate var_pop on columns""" type signals_var_pop_fields { - atom_id: Float block_number: Float + curve_id: Float delta: Float - triple_id: Float } """ order by var_pop() on columns of table "signal" """ input signals_var_pop_order_by { - atom_id: order_by block_number: order_by + curve_id: order_by delta: order_by - triple_id: order_by } -""" -aggregate var_samp on columns -""" +"""aggregate var_samp on columns""" type signals_var_samp_fields { - atom_id: Float block_number: Float + curve_id: Float delta: Float - triple_id: Float } """ order by var_samp() on columns of table "signal" """ input signals_var_samp_order_by { - atom_id: order_by block_number: order_by + curve_id: order_by delta: order_by - triple_id: order_by } -""" -aggregate variance on columns -""" +"""aggregate variance on columns""" type signals_variance_fields { - atom_id: Float block_number: Float + curve_id: Float delta: Float - triple_id: Float } """ order by variance() on columns of table "signal" """ input signals_variance_order_by { - atom_id: order_by block_number: order_by + curve_id: order_by delta: order_by - triple_id: order_by +} + +""" +columns and relationships of "stats_hour" +""" +type statHours { + contract_balance: numeric + created_at: timestamptz! + id: Int! + total_accounts: Int + total_atoms: Int + total_fees: numeric + total_positions: Int + total_signals: Int + total_triples: Int +} + +""" +Boolean expression to filter rows from the table "stats_hour". All fields are combined with a logical 'AND'. +""" +input statHours_bool_exp { + _and: [statHours_bool_exp!] + _not: statHours_bool_exp + _or: [statHours_bool_exp!] + contract_balance: numeric_comparison_exp + created_at: timestamptz_comparison_exp + id: Int_comparison_exp + total_accounts: Int_comparison_exp + total_atoms: Int_comparison_exp + total_fees: numeric_comparison_exp + total_positions: Int_comparison_exp + total_signals: Int_comparison_exp + total_triples: Int_comparison_exp +} + +"""Ordering options when selecting data from "stats_hour".""" +input statHours_order_by { + contract_balance: order_by + created_at: order_by + id: order_by + total_accounts: order_by + total_atoms: order_by + total_fees: order_by + total_positions: order_by + total_signals: order_by + total_triples: order_by +} + +""" +select columns of table "stats_hour" +""" +enum statHours_select_column { + """column name""" + contract_balance + """column name""" + created_at + """column name""" + id + """column name""" + total_accounts + """column name""" + total_atoms + """column name""" + total_fees + """column name""" + total_positions + """column name""" + total_signals + """column name""" + total_triples +} + +""" +Streaming cursor of the table "statHours" +""" +input statHours_stream_cursor_input { + """Stream column input with initial value""" + initial_value: statHours_stream_cursor_value_input! + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input statHours_stream_cursor_value_input { + contract_balance: numeric + created_at: timestamptz + id: Int + total_accounts: Int + total_atoms: Int + total_fees: numeric + total_positions: Int + total_signals: Int + total_triples: Int } """ @@ -10267,6 +7765,9 @@ columns and relationships of "stats" type stats { contract_balance: numeric id: Int! + last_processed_block_number: numeric + last_processed_block_timestamp: timestamptz + last_updated: timestamptz! total_accounts: Int total_atoms: Int total_fees: numeric @@ -10300,12 +7801,11 @@ type stats_aggregate_fields { variance: stats_variance_fields } -""" -aggregate avg on columns -""" +"""aggregate avg on columns""" type stats_avg_fields { contract_balance: Float id: Float + last_processed_block_number: Float total_accounts: Float total_atoms: Float total_fees: Float @@ -10323,6 +7823,9 @@ input stats_bool_exp { _or: [stats_bool_exp!] contract_balance: numeric_comparison_exp id: Int_comparison_exp + last_processed_block_number: numeric_comparison_exp + last_processed_block_timestamp: timestamptz_comparison_exp + last_updated: timestamptz_comparison_exp total_accounts: Int_comparison_exp total_atoms: Int_comparison_exp total_fees: numeric_comparison_exp @@ -10331,12 +7834,13 @@ input stats_bool_exp { total_triples: Int_comparison_exp } -""" -aggregate max on columns -""" +"""aggregate max on columns""" type stats_max_fields { contract_balance: numeric id: Int + last_processed_block_number: numeric + last_processed_block_timestamp: timestamptz + last_updated: timestamptz total_accounts: Int total_atoms: Int total_fees: numeric @@ -10345,12 +7849,13 @@ type stats_max_fields { total_triples: Int } -""" -aggregate min on columns -""" +"""aggregate min on columns""" type stats_min_fields { contract_balance: numeric id: Int + last_processed_block_number: numeric + last_processed_block_timestamp: timestamptz + last_updated: timestamptz total_accounts: Int total_atoms: Int total_fees: numeric @@ -10359,12 +7864,13 @@ type stats_min_fields { total_triples: Int } -""" -Ordering options when selecting data from "stats". -""" +"""Ordering options when selecting data from "stats".""" input stats_order_by { contract_balance: order_by id: order_by + last_processed_block_number: order_by + last_processed_block_timestamp: order_by + last_updated: order_by total_accounts: order_by total_atoms: order_by total_fees: order_by @@ -10377,46 +7883,35 @@ input stats_order_by { select columns of table "stats" """ enum stats_select_column { - """ - column name - """ + """column name""" contract_balance - """ - column name - """ + """column name""" id - """ - column name - """ + """column name""" + last_processed_block_number + """column name""" + last_processed_block_timestamp + """column name""" + last_updated + """column name""" total_accounts - """ - column name - """ + """column name""" total_atoms - """ - column name - """ + """column name""" total_fees - """ - column name - """ + """column name""" total_positions - """ - column name - """ + """column name""" total_signals - """ - column name - """ + """column name""" total_triples } -""" -aggregate stddev on columns -""" +"""aggregate stddev on columns""" type stats_stddev_fields { contract_balance: Float id: Float + last_processed_block_number: Float total_accounts: Float total_atoms: Float total_fees: Float @@ -10425,12 +7920,11 @@ type stats_stddev_fields { total_triples: Float } -""" -aggregate stddev_pop on columns -""" +"""aggregate stddev_pop on columns""" type stats_stddev_pop_fields { contract_balance: Float id: Float + last_processed_block_number: Float total_accounts: Float total_atoms: Float total_fees: Float @@ -10439,12 +7933,11 @@ type stats_stddev_pop_fields { total_triples: Float } -""" -aggregate stddev_samp on columns -""" +"""aggregate stddev_samp on columns""" type stats_stddev_samp_fields { contract_balance: Float id: Float + last_processed_block_number: Float total_accounts: Float total_atoms: Float total_fees: Float @@ -10457,22 +7950,19 @@ type stats_stddev_samp_fields { Streaming cursor of the table "stats" """ input stats_stream_cursor_input { - """ - Stream column input with initial value - """ + """Stream column input with initial value""" initial_value: stats_stream_cursor_value_input! - """ - cursor ordering - """ + """cursor ordering""" ordering: cursor_ordering } -""" -Initial value of the column from where the streaming should start -""" +"""Initial value of the column from where the streaming should start""" input stats_stream_cursor_value_input { contract_balance: numeric id: Int + last_processed_block_number: numeric + last_processed_block_timestamp: timestamptz + last_updated: timestamptz total_accounts: Int total_atoms: Int total_fees: numeric @@ -10481,12 +7971,11 @@ input stats_stream_cursor_value_input { total_triples: Int } -""" -aggregate sum on columns -""" +"""aggregate sum on columns""" type stats_sum_fields { contract_balance: numeric id: Int + last_processed_block_number: numeric total_accounts: Int total_atoms: Int total_fees: numeric @@ -10495,12 +7984,11 @@ type stats_sum_fields { total_triples: Int } -""" -aggregate var_pop on columns -""" +"""aggregate var_pop on columns""" type stats_var_pop_fields { contract_balance: Float id: Float + last_processed_block_number: Float total_accounts: Float total_atoms: Float total_fees: Float @@ -10509,12 +7997,11 @@ type stats_var_pop_fields { total_triples: Float } -""" -aggregate var_samp on columns -""" +"""aggregate var_samp on columns""" type stats_var_samp_fields { contract_balance: Float id: Float + last_processed_block_number: Float total_accounts: Float total_atoms: Float total_fees: Float @@ -10523,12 +8010,11 @@ type stats_var_samp_fields { total_triples: Float } -""" -aggregate variance on columns -""" +"""aggregate variance on columns""" type stats_variance_fields { contract_balance: Float id: Float + last_processed_block_number: Float total_accounts: Float total_atoms: Float total_fees: Float @@ -10538,384 +8024,226 @@ type stats_variance_fields { } type subscription_root { - """ - fetch data from the table: "account" using primary key columns - """ + """fetch data from the table: "account" using primary key columns""" account(id: String!): accounts - """ - An array relationship - """ + """An array relationship""" accounts( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [accounts_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [accounts_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: accounts_bool_exp ): [accounts!]! - """ - An aggregate relationship - """ + """An aggregate relationship""" accounts_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [accounts_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [accounts_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: accounts_bool_exp ): accounts_aggregate! """ fetch data from the table in a streaming manner: "account" """ accounts_stream( - """ - maximum number of rows returned in a single batch - """ + """maximum number of rows returned in a single batch""" batch_size: Int! - """ - cursor to stream the results returned by the query - """ + """cursor to stream the results returned by the query""" cursor: [accounts_stream_cursor_input]! - """ - filter the rows returned - """ + """filter the rows returned""" where: accounts_bool_exp ): [accounts!]! - """ - fetch data from the table: "atom" using primary key columns - """ - atom(term_id: numeric!): atoms - """ - fetch data from the table: "atom_value" using primary key columns - """ - atom_value(id: numeric!): atom_values + """fetch data from the table: "atom" using primary key columns""" + atom(term_id: String!): atoms + """fetch data from the table: "atom_value" using primary key columns""" + atom_value(id: String!): atom_values """ fetch data from the table: "atom_value" """ atom_values( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [atom_values_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [atom_values_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: atom_values_bool_exp ): [atom_values!]! """ fetch aggregated fields from the table: "atom_value" """ atom_values_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [atom_values_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [atom_values_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: atom_values_bool_exp ): atom_values_aggregate! """ fetch data from the table in a streaming manner: "atom_value" """ atom_values_stream( - """ - maximum number of rows returned in a single batch - """ + """maximum number of rows returned in a single batch""" batch_size: Int! - """ - cursor to stream the results returned by the query - """ + """cursor to stream the results returned by the query""" cursor: [atom_values_stream_cursor_input]! - """ - filter the rows returned - """ + """filter the rows returned""" where: atom_values_bool_exp ): [atom_values!]! - """ - An array relationship - """ + """An array relationship""" atoms( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [atoms_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [atoms_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: atoms_bool_exp ): [atoms!]! - """ - An aggregate relationship - """ + """An aggregate relationship""" atoms_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [atoms_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [atoms_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: atoms_bool_exp ): atoms_aggregate! """ fetch data from the table in a streaming manner: "atom" """ atoms_stream( - """ - maximum number of rows returned in a single batch - """ + """maximum number of rows returned in a single batch""" batch_size: Int! - """ - cursor to stream the results returned by the query - """ + """cursor to stream the results returned by the query""" cursor: [atoms_stream_cursor_input]! - """ - filter the rows returned - """ + """filter the rows returned""" where: atoms_bool_exp ): [atoms!]! - """ - fetch data from the table: "book" using primary key columns - """ - book(id: numeric!): books + """fetch data from the table: "book" using primary key columns""" + book(id: String!): books """ fetch data from the table: "book" """ books( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [books_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [books_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: books_bool_exp ): [books!]! """ fetch aggregated fields from the table: "book" """ books_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [books_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [books_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: books_bool_exp ): books_aggregate! """ fetch data from the table in a streaming manner: "book" """ books_stream( - """ - maximum number of rows returned in a single batch - """ + """maximum number of rows returned in a single batch""" batch_size: Int! - """ - cursor to stream the results returned by the query - """ + """cursor to stream the results returned by the query""" cursor: [books_stream_cursor_input]! - """ - filter the rows returned - """ + """filter the rows returned""" where: books_bool_exp ): [books!]! """ fetch data from the table: "byte_object" """ byte_object( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [byte_object_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [byte_object_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: byte_object_bool_exp ): [byte_object!]! """ fetch aggregated fields from the table: "byte_object" """ byte_object_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [byte_object_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [byte_object_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: byte_object_bool_exp ): byte_object_aggregate! - """ - fetch data from the table: "byte_object" using primary key columns - """ - byte_object_by_pk(id: numeric!): byte_object + """fetch data from the table: "byte_object" using primary key columns""" + byte_object_by_pk(id: String!): byte_object """ fetch data from the table in a streaming manner: "byte_object" """ byte_object_stream( - """ - maximum number of rows returned in a single batch - """ + """maximum number of rows returned in a single batch""" batch_size: Int! - """ - cursor to stream the results returned by the query - """ + """cursor to stream the results returned by the query""" cursor: [byte_object_stream_cursor_input]! - """ - filter the rows returned - """ + """filter the rows returned""" where: byte_object_bool_exp ): [byte_object!]! """ fetch data from the table: "cached_images.cached_image" """ cached_images_cached_image( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [cached_images_cached_image_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [cached_images_cached_image_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: cached_images_cached_image_bool_exp ): [cached_images_cached_image!]! """ @@ -10926,347 +8254,203 @@ type subscription_root { fetch data from the table in a streaming manner: "cached_images.cached_image" """ cached_images_cached_image_stream( - """ - maximum number of rows returned in a single batch - """ + """maximum number of rows returned in a single batch""" batch_size: Int! - """ - cursor to stream the results returned by the query - """ + """cursor to stream the results returned by the query""" cursor: [cached_images_cached_image_stream_cursor_input]! - """ - filter the rows returned - """ + """filter the rows returned""" where: cached_images_cached_image_bool_exp ): [cached_images_cached_image!]! - """ - fetch data from the table: "caip10" using primary key columns - """ - caip10(id: numeric!): caip10 + """fetch data from the table: "caip10" using primary key columns""" + caip10(id: String!): caip10 """ fetch aggregated fields from the table: "caip10" """ caip10_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [caip10_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [caip10_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: caip10_bool_exp ): caip10_aggregate! """ fetch data from the table in a streaming manner: "caip10" """ caip10_stream( - """ - maximum number of rows returned in a single batch - """ + """maximum number of rows returned in a single batch""" batch_size: Int! - """ - cursor to stream the results returned by the query - """ + """cursor to stream the results returned by the query""" cursor: [caip10_stream_cursor_input]! - """ - filter the rows returned - """ + """filter the rows returned""" where: caip10_bool_exp ): [caip10!]! """ fetch data from the table: "caip10" """ caip10s( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [caip10_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [caip10_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: caip10_bool_exp ): [caip10!]! - """ - fetch data from the table: "chainlink_price" using primary key columns - """ + """fetch data from the table: "chainlink_price" using primary key columns""" chainlink_price(id: numeric!): chainlink_prices """ fetch data from the table: "chainlink_price" """ chainlink_prices( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [chainlink_prices_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [chainlink_prices_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: chainlink_prices_bool_exp ): [chainlink_prices!]! """ fetch data from the table in a streaming manner: "chainlink_price" """ chainlink_prices_stream( - """ - maximum number of rows returned in a single batch - """ + """maximum number of rows returned in a single batch""" batch_size: Int! - """ - cursor to stream the results returned by the query - """ + """cursor to stream the results returned by the query""" cursor: [chainlink_prices_stream_cursor_input]! - """ - filter the rows returned - """ + """filter the rows returned""" where: chainlink_prices_bool_exp ): [chainlink_prices!]! - """ - fetch data from the table: "deposit" using primary key columns - """ + """fetch data from the table: "deposit" using primary key columns""" deposit(id: String!): deposits - """ - An array relationship - """ + """An array relationship""" deposits( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [deposits_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [deposits_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: deposits_bool_exp ): [deposits!]! - """ - An aggregate relationship - """ + """An aggregate relationship""" deposits_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [deposits_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [deposits_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: deposits_bool_exp ): deposits_aggregate! """ fetch data from the table in a streaming manner: "deposit" """ deposits_stream( - """ - maximum number of rows returned in a single batch - """ + """maximum number of rows returned in a single batch""" batch_size: Int! - """ - cursor to stream the results returned by the query - """ + """cursor to stream the results returned by the query""" cursor: [deposits_stream_cursor_input]! - """ - filter the rows returned - """ + """filter the rows returned""" where: deposits_bool_exp ): [deposits!]! - """ - fetch data from the table: "event" using primary key columns - """ + """fetch data from the table: "event" using primary key columns""" event(id: String!): events """ fetch data from the table: "event" """ events( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [events_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [events_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: events_bool_exp ): [events!]! """ fetch aggregated fields from the table: "event" """ events_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [events_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [events_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: events_bool_exp ): events_aggregate! """ fetch data from the table in a streaming manner: "event" """ events_stream( - """ - maximum number of rows returned in a single batch - """ + """maximum number of rows returned in a single batch""" batch_size: Int! - """ - cursor to stream the results returned by the query - """ + """cursor to stream the results returned by the query""" cursor: [events_stream_cursor_input]! - """ - filter the rows returned - """ + """filter the rows returned""" where: events_bool_exp ): [events!]! - """ - fetch data from the table: "fee_transfer" using primary key columns - """ + """fetch data from the table: "fee_transfer" using primary key columns""" fee_transfer(id: String!): fee_transfers - """ - An array relationship - """ + """An array relationship""" fee_transfers( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [fee_transfers_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [fee_transfers_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: fee_transfers_bool_exp ): [fee_transfers!]! - """ - An aggregate relationship - """ + """An aggregate relationship""" fee_transfers_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [fee_transfers_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [fee_transfers_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: fee_transfers_bool_exp ): fee_transfers_aggregate! """ fetch data from the table in a streaming manner: "fee_transfer" """ fee_transfers_stream( - """ - maximum number of rows returned in a single batch - """ + """maximum number of rows returned in a single batch""" batch_size: Int! - """ - cursor to stream the results returned by the query - """ + """cursor to stream the results returned by the query""" cursor: [fee_transfers_stream_cursor_input]! - """ - filter the rows returned - """ + """filter the rows returned""" where: fee_transfers_bool_exp ): [fee_transfers!]! """ @@ -11277,25 +8461,15 @@ type subscription_root { input parameters for function "following" """ args: following_args! - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [accounts_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [accounts_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: accounts_bool_exp ): [accounts!]! """ @@ -11306,292 +8480,172 @@ type subscription_root { input parameters for function "following_aggregate" """ args: following_args! - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [accounts_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [accounts_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: accounts_bool_exp ): accounts_aggregate! - """ - fetch data from the table: "json_object" using primary key columns - """ - json_object(id: numeric!): json_objects + """fetch data from the table: "json_object" using primary key columns""" + json_object(id: String!): json_objects """ fetch data from the table: "json_object" """ json_objects( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [json_objects_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [json_objects_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: json_objects_bool_exp ): [json_objects!]! """ fetch aggregated fields from the table: "json_object" """ json_objects_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [json_objects_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [json_objects_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: json_objects_bool_exp ): json_objects_aggregate! """ fetch data from the table in a streaming manner: "json_object" """ json_objects_stream( - """ - maximum number of rows returned in a single batch - """ + """maximum number of rows returned in a single batch""" batch_size: Int! - """ - cursor to stream the results returned by the query - """ + """cursor to stream the results returned by the query""" cursor: [json_objects_stream_cursor_input]! - """ - filter the rows returned - """ + """filter the rows returned""" where: json_objects_bool_exp ): [json_objects!]! - """ - fetch data from the table: "organization" using primary key columns - """ - organization(id: numeric!): organizations + """fetch data from the table: "organization" using primary key columns""" + organization(id: String!): organizations """ fetch data from the table: "organization" """ organizations( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [organizations_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [organizations_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: organizations_bool_exp ): [organizations!]! """ fetch aggregated fields from the table: "organization" """ organizations_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [organizations_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [organizations_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: organizations_bool_exp ): organizations_aggregate! """ fetch data from the table in a streaming manner: "organization" """ organizations_stream( - """ - maximum number of rows returned in a single batch - """ + """maximum number of rows returned in a single batch""" batch_size: Int! - """ - cursor to stream the results returned by the query - """ + """cursor to stream the results returned by the query""" cursor: [organizations_stream_cursor_input]! - """ - filter the rows returned - """ + """filter the rows returned""" where: organizations_bool_exp ): [organizations!]! - """ - fetch data from the table: "person" using primary key columns - """ - person(id: numeric!): persons + """fetch data from the table: "person" using primary key columns""" + person(id: String!): persons """ fetch data from the table: "person" """ persons( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [persons_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [persons_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: persons_bool_exp ): [persons!]! """ fetch aggregated fields from the table: "person" """ persons_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [persons_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [persons_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: persons_bool_exp ): persons_aggregate! """ fetch data from the table in a streaming manner: "person" """ persons_stream( - """ - maximum number of rows returned in a single batch - """ + """maximum number of rows returned in a single batch""" batch_size: Int! - """ - cursor to stream the results returned by the query - """ + """cursor to stream the results returned by the query""" cursor: [persons_stream_cursor_input]! - """ - filter the rows returned - """ + """filter the rows returned""" where: persons_bool_exp ): [persons!]! - """ - fetch data from the table: "position" using primary key columns - """ + """fetch data from the table: "position" using primary key columns""" position(id: String!): positions - """ - An array relationship - """ + """An array relationship""" positions( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [positions_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [positions_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: positions_bool_exp ): [positions!]! - """ - An aggregate relationship - """ + """An aggregate relationship""" positions_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [positions_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [positions_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: positions_bool_exp ): positions_aggregate! """ @@ -11602,25 +8656,15 @@ type subscription_root { input parameters for function "positions_from_following" """ args: positions_from_following_args! - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [positions_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [positions_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: positions_bool_exp ): [positions!]! """ @@ -11631,92 +8675,56 @@ type subscription_root { input parameters for function "positions_from_following_aggregate" """ args: positions_from_following_args! - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [positions_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [positions_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: positions_bool_exp ): positions_aggregate! """ fetch data from the table in a streaming manner: "position" """ positions_stream( - """ - maximum number of rows returned in a single batch - """ + """maximum number of rows returned in a single batch""" batch_size: Int! - """ - cursor to stream the results returned by the query - """ + """cursor to stream the results returned by the query""" cursor: [positions_stream_cursor_input]! - """ - filter the rows returned - """ + """filter the rows returned""" where: positions_bool_exp ): [positions!]! """ fetch data from the table: "predicate_object" """ predicate_objects( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [predicate_objects_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [predicate_objects_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: predicate_objects_bool_exp ): [predicate_objects!]! """ fetch aggregated fields from the table: "predicate_object" """ predicate_objects_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [predicate_objects_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [predicate_objects_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: predicate_objects_bool_exp ): predicate_objects_aggregate! """ @@ -11727,88 +8735,50 @@ type subscription_root { fetch data from the table in a streaming manner: "predicate_object" """ predicate_objects_stream( - """ - maximum number of rows returned in a single batch - """ + """maximum number of rows returned in a single batch""" batch_size: Int! - """ - cursor to stream the results returned by the query - """ + """cursor to stream the results returned by the query""" cursor: [predicate_objects_stream_cursor_input]! - """ - filter the rows returned - """ + """filter the rows returned""" where: predicate_objects_bool_exp ): [predicate_objects!]! - """ - fetch data from the table: "redemption" using primary key columns - """ + """fetch data from the table: "redemption" using primary key columns""" redemption(id: String!): redemptions - """ - An array relationship - """ + """An array relationship""" redemptions( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [redemptions_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [redemptions_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: redemptions_bool_exp ): [redemptions!]! - """ - An aggregate relationship - """ + """An aggregate relationship""" redemptions_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [redemptions_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [redemptions_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: redemptions_bool_exp ): redemptions_aggregate! """ fetch data from the table in a streaming manner: "redemption" """ redemptions_stream( - """ - maximum number of rows returned in a single batch - """ + """maximum number of rows returned in a single batch""" batch_size: Int! - """ - cursor to stream the results returned by the query - """ + """cursor to stream the results returned by the query""" cursor: [redemptions_stream_cursor_input]! - """ - filter the rows returned - """ + """filter the rows returned""" where: redemptions_bool_exp ): [redemptions!]! """ @@ -11819,25 +8789,15 @@ type subscription_root { input parameters for function "search_positions_on_subject" """ args: search_positions_on_subject_args! - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [positions_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [positions_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: positions_bool_exp ): [positions!]! """ @@ -11848,25 +8808,15 @@ type subscription_root { input parameters for function "search_positions_on_subject_aggregate" """ args: search_positions_on_subject_args! - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [positions_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [positions_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: positions_bool_exp ): positions_aggregate! """ @@ -11877,25 +8827,15 @@ type subscription_root { input parameters for function "search_term" """ args: search_term_args! - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [terms_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [terms_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: terms_bool_exp ): [terms!]! """ @@ -11906,25 +8846,15 @@ type subscription_root { input parameters for function "search_term_aggregate" """ args: search_term_args! - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [terms_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [terms_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: terms_bool_exp ): terms_aggregate! """ @@ -11935,25 +8865,15 @@ type subscription_root { input parameters for function "search_term_from_following" """ args: search_term_from_following_args! - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [terms_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [terms_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: terms_bool_exp ): [terms!]! """ @@ -11964,478 +8884,278 @@ type subscription_root { input parameters for function "search_term_from_following_aggregate" """ args: search_term_from_following_args! - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [terms_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [terms_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: terms_bool_exp ): terms_aggregate! - """ - An array relationship - """ + """An array relationship""" share_price_change_stats_daily( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [share_price_change_stats_daily_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [share_price_change_stats_daily_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: share_price_change_stats_daily_bool_exp ): [share_price_change_stats_daily!]! """ fetch data from the table in a streaming manner: "share_price_change_stats_daily" """ share_price_change_stats_daily_stream( - """ - maximum number of rows returned in a single batch - """ + """maximum number of rows returned in a single batch""" batch_size: Int! - """ - cursor to stream the results returned by the query - """ + """cursor to stream the results returned by the query""" cursor: [share_price_change_stats_daily_stream_cursor_input]! - """ - filter the rows returned - """ + """filter the rows returned""" where: share_price_change_stats_daily_bool_exp ): [share_price_change_stats_daily!]! - """ - An array relationship - """ + """An array relationship""" share_price_change_stats_hourly( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [share_price_change_stats_hourly_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [share_price_change_stats_hourly_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: share_price_change_stats_hourly_bool_exp ): [share_price_change_stats_hourly!]! """ fetch data from the table in a streaming manner: "share_price_change_stats_hourly" """ share_price_change_stats_hourly_stream( - """ - maximum number of rows returned in a single batch - """ + """maximum number of rows returned in a single batch""" batch_size: Int! - """ - cursor to stream the results returned by the query - """ + """cursor to stream the results returned by the query""" cursor: [share_price_change_stats_hourly_stream_cursor_input]! - """ - filter the rows returned - """ + """filter the rows returned""" where: share_price_change_stats_hourly_bool_exp ): [share_price_change_stats_hourly!]! - """ - An array relationship - """ + """An array relationship""" share_price_change_stats_monthly( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [share_price_change_stats_monthly_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [share_price_change_stats_monthly_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: share_price_change_stats_monthly_bool_exp ): [share_price_change_stats_monthly!]! """ fetch data from the table in a streaming manner: "share_price_change_stats_monthly" """ share_price_change_stats_monthly_stream( - """ - maximum number of rows returned in a single batch - """ + """maximum number of rows returned in a single batch""" batch_size: Int! - """ - cursor to stream the results returned by the query - """ + """cursor to stream the results returned by the query""" cursor: [share_price_change_stats_monthly_stream_cursor_input]! - """ - filter the rows returned - """ + """filter the rows returned""" where: share_price_change_stats_monthly_bool_exp ): [share_price_change_stats_monthly!]! - """ - An array relationship - """ + """An array relationship""" share_price_change_stats_weekly( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [share_price_change_stats_weekly_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [share_price_change_stats_weekly_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: share_price_change_stats_weekly_bool_exp ): [share_price_change_stats_weekly!]! """ fetch data from the table in a streaming manner: "share_price_change_stats_weekly" """ share_price_change_stats_weekly_stream( - """ - maximum number of rows returned in a single batch - """ + """maximum number of rows returned in a single batch""" batch_size: Int! - """ - cursor to stream the results returned by the query - """ + """cursor to stream the results returned by the query""" cursor: [share_price_change_stats_weekly_stream_cursor_input]! - """ - filter the rows returned - """ + """filter the rows returned""" where: share_price_change_stats_weekly_bool_exp ): [share_price_change_stats_weekly!]! - """ - An array relationship - """ + """An array relationship""" share_price_changes( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [share_price_changes_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [share_price_changes_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: share_price_changes_bool_exp ): [share_price_changes!]! - """ - An aggregate relationship - """ + """An aggregate relationship""" share_price_changes_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [share_price_changes_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [share_price_changes_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: share_price_changes_bool_exp ): share_price_changes_aggregate! """ fetch data from the table in a streaming manner: "share_price_change" """ share_price_changes_stream( - """ - maximum number of rows returned in a single batch - """ + """maximum number of rows returned in a single batch""" batch_size: Int! - """ - cursor to stream the results returned by the query - """ + """cursor to stream the results returned by the query""" cursor: [share_price_changes_stream_cursor_input]! - """ - filter the rows returned - """ + """filter the rows returned""" where: share_price_changes_bool_exp ): [share_price_changes!]! """ fetch data from the table: "signal_stats_daily" """ signal_stats_daily( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [signal_stats_daily_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [signal_stats_daily_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: signal_stats_daily_bool_exp ): [signal_stats_daily!]! """ fetch data from the table in a streaming manner: "signal_stats_daily" """ signal_stats_daily_stream( - """ - maximum number of rows returned in a single batch - """ + """maximum number of rows returned in a single batch""" batch_size: Int! - """ - cursor to stream the results returned by the query - """ + """cursor to stream the results returned by the query""" cursor: [signal_stats_daily_stream_cursor_input]! - """ - filter the rows returned - """ + """filter the rows returned""" where: signal_stats_daily_bool_exp ): [signal_stats_daily!]! """ fetch data from the table: "signal_stats_hourly" """ signal_stats_hourly( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [signal_stats_hourly_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [signal_stats_hourly_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: signal_stats_hourly_bool_exp ): [signal_stats_hourly!]! """ fetch data from the table in a streaming manner: "signal_stats_hourly" """ signal_stats_hourly_stream( - """ - maximum number of rows returned in a single batch - """ + """maximum number of rows returned in a single batch""" batch_size: Int! - """ - cursor to stream the results returned by the query - """ + """cursor to stream the results returned by the query""" cursor: [signal_stats_hourly_stream_cursor_input]! - """ - filter the rows returned - """ + """filter the rows returned""" where: signal_stats_hourly_bool_exp ): [signal_stats_hourly!]! """ fetch data from the table: "signal_stats_monthly" """ signal_stats_monthly( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [signal_stats_monthly_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [signal_stats_monthly_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: signal_stats_monthly_bool_exp ): [signal_stats_monthly!]! """ fetch data from the table in a streaming manner: "signal_stats_monthly" """ signal_stats_monthly_stream( - """ - maximum number of rows returned in a single batch - """ + """maximum number of rows returned in a single batch""" batch_size: Int! - """ - cursor to stream the results returned by the query - """ + """cursor to stream the results returned by the query""" cursor: [signal_stats_monthly_stream_cursor_input]! - """ - filter the rows returned - """ + """filter the rows returned""" where: signal_stats_monthly_bool_exp ): [signal_stats_monthly!]! """ fetch data from the table: "signal_stats_weekly" """ signal_stats_weekly( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [signal_stats_weekly_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [signal_stats_weekly_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: signal_stats_weekly_bool_exp ): [signal_stats_weekly!]! """ fetch data from the table in a streaming manner: "signal_stats_weekly" """ signal_stats_weekly_stream( - """ - maximum number of rows returned in a single batch - """ + """maximum number of rows returned in a single batch""" batch_size: Int! - """ - cursor to stream the results returned by the query - """ + """cursor to stream the results returned by the query""" cursor: [signal_stats_weekly_stream_cursor_input]! - """ - filter the rows returned - """ + """filter the rows returned""" where: signal_stats_weekly_bool_exp ): [signal_stats_weekly!]! - """ - An array relationship - """ + """An array relationship""" signals( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [signals_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [signals_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: signals_bool_exp ): [signals!]! - """ - An aggregate relationship - """ + """An aggregate relationship""" signals_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [signals_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [signals_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: signals_bool_exp ): signals_aggregate! """ @@ -12446,25 +9166,15 @@ type subscription_root { input parameters for function "signals_from_following" """ args: signals_from_following_args! - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [signals_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [signals_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: signals_bool_exp ): [signals!]! """ @@ -12475,564 +9185,1384 @@ type subscription_root { input parameters for function "signals_from_following_aggregate" """ args: signals_from_following_args! - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [signals_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [signals_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: signals_bool_exp ): signals_aggregate! """ fetch data from the table in a streaming manner: "signal" """ signals_stream( - """ - maximum number of rows returned in a single batch - """ + """maximum number of rows returned in a single batch""" batch_size: Int! - """ - cursor to stream the results returned by the query - """ + """cursor to stream the results returned by the query""" cursor: [signals_stream_cursor_input]! - """ - filter the rows returned - """ + """filter the rows returned""" where: signals_bool_exp ): [signals!]! + """fetch data from the table: "stats" using primary key columns""" + stat(id: Int!): stats + """fetch data from the table: "stats_hour" using primary key columns""" + statHour(id: Int!): statHours """ - fetch data from the table: "stats" using primary key columns + fetch data from the table: "stats_hour" """ - stat(id: Int!): stats + statHours( + """distinct select on columns""" + distinct_on: [statHours_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [statHours_order_by!] + """filter the rows returned""" + where: statHours_bool_exp + ): [statHours!]! + """ + fetch data from the table in a streaming manner: "stats_hour" + """ + statHours_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + """cursor to stream the results returned by the query""" + cursor: [statHours_stream_cursor_input]! + """filter the rows returned""" + where: statHours_bool_exp + ): [statHours!]! """ fetch data from the table: "stats" """ stats( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [stats_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [stats_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: stats_bool_exp ): [stats!]! """ fetch aggregated fields from the table: "stats" """ stats_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [stats_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [stats_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: stats_bool_exp ): stats_aggregate! """ fetch data from the table in a streaming manner: "stats" """ stats_stream( - """ - maximum number of rows returned in a single batch - """ + """maximum number of rows returned in a single batch""" batch_size: Int! - """ - cursor to stream the results returned by the query - """ + """cursor to stream the results returned by the query""" cursor: [stats_stream_cursor_input]! - """ - filter the rows returned - """ + """filter the rows returned""" where: stats_bool_exp ): [stats!]! + """fetch data from the table: "term" using primary key columns""" + term(id: String!): terms + """ + fetch data from the table: "term_total_state_change_stats_daily" + """ + term_total_state_change_stats_daily( + """distinct select on columns""" + distinct_on: [term_total_state_change_stats_daily_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [term_total_state_change_stats_daily_order_by!] + """filter the rows returned""" + where: term_total_state_change_stats_daily_bool_exp + ): [term_total_state_change_stats_daily!]! + """ + fetch data from the table in a streaming manner: "term_total_state_change_stats_daily" + """ + term_total_state_change_stats_daily_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + """cursor to stream the results returned by the query""" + cursor: [term_total_state_change_stats_daily_stream_cursor_input]! + """filter the rows returned""" + where: term_total_state_change_stats_daily_bool_exp + ): [term_total_state_change_stats_daily!]! + """ + fetch data from the table: "term_total_state_change_stats_hourly" + """ + term_total_state_change_stats_hourly( + """distinct select on columns""" + distinct_on: [term_total_state_change_stats_hourly_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [term_total_state_change_stats_hourly_order_by!] + """filter the rows returned""" + where: term_total_state_change_stats_hourly_bool_exp + ): [term_total_state_change_stats_hourly!]! + """ + fetch data from the table in a streaming manner: "term_total_state_change_stats_hourly" """ - fetch data from the table: "term" using primary key columns + term_total_state_change_stats_hourly_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + """cursor to stream the results returned by the query""" + cursor: [term_total_state_change_stats_hourly_stream_cursor_input]! + """filter the rows returned""" + where: term_total_state_change_stats_hourly_bool_exp + ): [term_total_state_change_stats_hourly!]! + """ + fetch data from the table: "term_total_state_change_stats_monthly" + """ + term_total_state_change_stats_monthly( + """distinct select on columns""" + distinct_on: [term_total_state_change_stats_monthly_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [term_total_state_change_stats_monthly_order_by!] + """filter the rows returned""" + where: term_total_state_change_stats_monthly_bool_exp + ): [term_total_state_change_stats_monthly!]! + """ + fetch data from the table in a streaming manner: "term_total_state_change_stats_monthly" + """ + term_total_state_change_stats_monthly_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + """cursor to stream the results returned by the query""" + cursor: [term_total_state_change_stats_monthly_stream_cursor_input]! + """filter the rows returned""" + where: term_total_state_change_stats_monthly_bool_exp + ): [term_total_state_change_stats_monthly!]! """ - term(id: numeric!): terms + fetch data from the table: "term_total_state_change_stats_weekly" + """ + term_total_state_change_stats_weekly( + """distinct select on columns""" + distinct_on: [term_total_state_change_stats_weekly_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [term_total_state_change_stats_weekly_order_by!] + """filter the rows returned""" + where: term_total_state_change_stats_weekly_bool_exp + ): [term_total_state_change_stats_weekly!]! + """ + fetch data from the table in a streaming manner: "term_total_state_change_stats_weekly" + """ + term_total_state_change_stats_weekly_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + """cursor to stream the results returned by the query""" + cursor: [term_total_state_change_stats_weekly_stream_cursor_input]! + """filter the rows returned""" + where: term_total_state_change_stats_weekly_bool_exp + ): [term_total_state_change_stats_weekly!]! + """An array relationship""" + term_total_state_changes( + """distinct select on columns""" + distinct_on: [term_total_state_changes_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [term_total_state_changes_order_by!] + """filter the rows returned""" + where: term_total_state_changes_bool_exp + ): [term_total_state_changes!]! + """ + fetch data from the table in a streaming manner: "term_total_state_change" + """ + term_total_state_changes_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + """cursor to stream the results returned by the query""" + cursor: [term_total_state_changes_stream_cursor_input]! + """filter the rows returned""" + where: term_total_state_changes_bool_exp + ): [term_total_state_changes!]! """ fetch data from the table: "term" """ terms( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [terms_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [terms_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: terms_bool_exp ): [terms!]! """ fetch aggregated fields from the table: "term" """ terms_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [terms_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [terms_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: terms_bool_exp ): terms_aggregate! """ fetch data from the table in a streaming manner: "term" """ terms_stream( - """ - maximum number of rows returned in a single batch - """ + """maximum number of rows returned in a single batch""" batch_size: Int! - """ - cursor to stream the results returned by the query - """ + """cursor to stream the results returned by the query""" cursor: [terms_stream_cursor_input]! - """ - filter the rows returned - """ + """filter the rows returned""" where: terms_bool_exp ): [terms!]! - """ - fetch data from the table: "text_object" using primary key columns - """ - text_object(id: numeric!): text_objects + """fetch data from the table: "text_object" using primary key columns""" + text_object(id: String!): text_objects """ fetch data from the table: "text_object" """ text_objects( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [text_objects_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [text_objects_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: text_objects_bool_exp ): [text_objects!]! """ fetch aggregated fields from the table: "text_object" """ text_objects_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [text_objects_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [text_objects_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: text_objects_bool_exp ): text_objects_aggregate! """ fetch data from the table in a streaming manner: "text_object" """ text_objects_stream( - """ - maximum number of rows returned in a single batch - """ + """maximum number of rows returned in a single batch""" batch_size: Int! - """ - cursor to stream the results returned by the query - """ + """cursor to stream the results returned by the query""" cursor: [text_objects_stream_cursor_input]! - """ - filter the rows returned - """ + """filter the rows returned""" where: text_objects_bool_exp ): [text_objects!]! - """ - fetch data from the table: "thing" using primary key columns - """ - thing(id: numeric!): things + """fetch data from the table: "thing" using primary key columns""" + thing(id: String!): things """ fetch data from the table: "thing" """ things( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [things_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [things_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: things_bool_exp ): [things!]! """ fetch aggregated fields from the table: "thing" """ things_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [things_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [things_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: things_bool_exp ): things_aggregate! """ fetch data from the table in a streaming manner: "thing" """ things_stream( - """ - maximum number of rows returned in a single batch - """ + """maximum number of rows returned in a single batch""" batch_size: Int! - """ - cursor to stream the results returned by the query - """ + """cursor to stream the results returned by the query""" cursor: [things_stream_cursor_input]! - """ - filter the rows returned - """ + """filter the rows returned""" where: things_bool_exp ): [things!]! - """ - fetch data from the table: "triple" using primary key columns - """ - triple(term_id: numeric!): triples - """ - fetch data from the table: "triple_term" using primary key columns - """ - triple_term(term_id: numeric!): triple_term + """fetch data from the table: "triple" using primary key columns""" + triple(term_id: String!): triples + """fetch data from the table: "triple_term" using primary key columns""" + triple_term(term_id: String!): triple_term """ fetch data from the table in a streaming manner: "triple_term" """ triple_term_stream( - """ - maximum number of rows returned in a single batch - """ + """maximum number of rows returned in a single batch""" batch_size: Int! - """ - cursor to stream the results returned by the query - """ + """cursor to stream the results returned by the query""" cursor: [triple_term_stream_cursor_input]! - """ - filter the rows returned - """ + """filter the rows returned""" where: triple_term_bool_exp ): [triple_term!]! """ fetch data from the table: "triple_term" """ triple_terms( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [triple_term_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [triple_term_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: triple_term_bool_exp ): [triple_term!]! - """ - fetch data from the table: "triple_vault" using primary key columns - """ - triple_vault(curve_id: numeric!, term_id: numeric!): triple_vault + """fetch data from the table: "triple_vault" using primary key columns""" + triple_vault(curve_id: numeric!, term_id: String!): triple_vault """ fetch data from the table in a streaming manner: "triple_vault" """ triple_vault_stream( - """ - maximum number of rows returned in a single batch - """ + """maximum number of rows returned in a single batch""" batch_size: Int! - """ - cursor to stream the results returned by the query - """ + """cursor to stream the results returned by the query""" cursor: [triple_vault_stream_cursor_input]! - """ - filter the rows returned - """ + """filter the rows returned""" where: triple_vault_bool_exp ): [triple_vault!]! """ fetch data from the table: "triple_vault" """ triple_vaults( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [triple_vault_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [triple_vault_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: triple_vault_bool_exp ): [triple_vault!]! - """ - An array relationship - """ + """An array relationship""" triples( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [triples_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [triples_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: triples_bool_exp ): [triples!]! - """ - An aggregate relationship - """ + """An aggregate relationship""" triples_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [triples_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [triples_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: triples_bool_exp ): triples_aggregate! """ fetch data from the table in a streaming manner: "triple" """ triples_stream( - """ - maximum number of rows returned in a single batch - """ + """maximum number of rows returned in a single batch""" batch_size: Int! - """ - cursor to stream the results returned by the query - """ + """cursor to stream the results returned by the query""" cursor: [triples_stream_cursor_input]! - """ - filter the rows returned - """ + """filter the rows returned""" where: triples_bool_exp ): [triples!]! - """ - fetch data from the table: "vault" using primary key columns - """ - vault(curve_id: numeric!, term_id: numeric!): vaults - """ - An array relationship - """ + """fetch data from the table: "vault" using primary key columns""" + vault(curve_id: numeric!, term_id: String!): vaults + """An array relationship""" vaults( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [vaults_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [vaults_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: vaults_bool_exp ): [vaults!]! - """ - An aggregate relationship - """ + """An aggregate relationship""" vaults_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [vaults_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [vaults_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: vaults_bool_exp ): vaults_aggregate! """ fetch data from the table in a streaming manner: "vault" """ vaults_stream( - """ - maximum number of rows returned in a single batch - """ + """maximum number of rows returned in a single batch""" batch_size: Int! - """ - cursor to stream the results returned by the query - """ + """cursor to stream the results returned by the query""" cursor: [vaults_stream_cursor_input]! - """ - filter the rows returned - """ + """filter the rows returned""" where: vaults_bool_exp ): [vaults!]! } +""" +columns and relationships of "term_total_state_change_stats_daily" +""" +type term_total_state_change_stats_daily { + bucket: timestamptz + difference: numeric + first_total_market_cap: numeric + last_total_market_cap: numeric + term_id: String +} + +""" +order by aggregate values of table "term_total_state_change_stats_daily" +""" +input term_total_state_change_stats_daily_aggregate_order_by { + avg: term_total_state_change_stats_daily_avg_order_by + count: order_by + max: term_total_state_change_stats_daily_max_order_by + min: term_total_state_change_stats_daily_min_order_by + stddev: term_total_state_change_stats_daily_stddev_order_by + stddev_pop: term_total_state_change_stats_daily_stddev_pop_order_by + stddev_samp: term_total_state_change_stats_daily_stddev_samp_order_by + sum: term_total_state_change_stats_daily_sum_order_by + var_pop: term_total_state_change_stats_daily_var_pop_order_by + var_samp: term_total_state_change_stats_daily_var_samp_order_by + variance: term_total_state_change_stats_daily_variance_order_by +} + +""" +order by avg() on columns of table "term_total_state_change_stats_daily" +""" +input term_total_state_change_stats_daily_avg_order_by { + difference: order_by + first_total_market_cap: order_by + last_total_market_cap: order_by +} + +""" +Boolean expression to filter rows from the table "term_total_state_change_stats_daily". All fields are combined with a logical 'AND'. +""" +input term_total_state_change_stats_daily_bool_exp { + _and: [term_total_state_change_stats_daily_bool_exp!] + _not: term_total_state_change_stats_daily_bool_exp + _or: [term_total_state_change_stats_daily_bool_exp!] + bucket: timestamptz_comparison_exp + difference: numeric_comparison_exp + first_total_market_cap: numeric_comparison_exp + last_total_market_cap: numeric_comparison_exp + term_id: String_comparison_exp +} + +""" +order by max() on columns of table "term_total_state_change_stats_daily" +""" +input term_total_state_change_stats_daily_max_order_by { + bucket: order_by + difference: order_by + first_total_market_cap: order_by + last_total_market_cap: order_by + term_id: order_by +} + +""" +order by min() on columns of table "term_total_state_change_stats_daily" +""" +input term_total_state_change_stats_daily_min_order_by { + bucket: order_by + difference: order_by + first_total_market_cap: order_by + last_total_market_cap: order_by + term_id: order_by +} + +""" +Ordering options when selecting data from "term_total_state_change_stats_daily". +""" +input term_total_state_change_stats_daily_order_by { + bucket: order_by + difference: order_by + first_total_market_cap: order_by + last_total_market_cap: order_by + term_id: order_by +} + +""" +select columns of table "term_total_state_change_stats_daily" +""" +enum term_total_state_change_stats_daily_select_column { + """column name""" + bucket + """column name""" + difference + """column name""" + first_total_market_cap + """column name""" + last_total_market_cap + """column name""" + term_id +} + +""" +order by stddev() on columns of table "term_total_state_change_stats_daily" +""" +input term_total_state_change_stats_daily_stddev_order_by { + difference: order_by + first_total_market_cap: order_by + last_total_market_cap: order_by +} + +""" +order by stddev_pop() on columns of table "term_total_state_change_stats_daily" +""" +input term_total_state_change_stats_daily_stddev_pop_order_by { + difference: order_by + first_total_market_cap: order_by + last_total_market_cap: order_by +} + +""" +order by stddev_samp() on columns of table "term_total_state_change_stats_daily" +""" +input term_total_state_change_stats_daily_stddev_samp_order_by { + difference: order_by + first_total_market_cap: order_by + last_total_market_cap: order_by +} + +""" +Streaming cursor of the table "term_total_state_change_stats_daily" +""" +input term_total_state_change_stats_daily_stream_cursor_input { + """Stream column input with initial value""" + initial_value: term_total_state_change_stats_daily_stream_cursor_value_input! + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input term_total_state_change_stats_daily_stream_cursor_value_input { + bucket: timestamptz + difference: numeric + first_total_market_cap: numeric + last_total_market_cap: numeric + term_id: String +} + +""" +order by sum() on columns of table "term_total_state_change_stats_daily" +""" +input term_total_state_change_stats_daily_sum_order_by { + difference: order_by + first_total_market_cap: order_by + last_total_market_cap: order_by +} + +""" +order by var_pop() on columns of table "term_total_state_change_stats_daily" +""" +input term_total_state_change_stats_daily_var_pop_order_by { + difference: order_by + first_total_market_cap: order_by + last_total_market_cap: order_by +} + +""" +order by var_samp() on columns of table "term_total_state_change_stats_daily" +""" +input term_total_state_change_stats_daily_var_samp_order_by { + difference: order_by + first_total_market_cap: order_by + last_total_market_cap: order_by +} + +""" +order by variance() on columns of table "term_total_state_change_stats_daily" +""" +input term_total_state_change_stats_daily_variance_order_by { + difference: order_by + first_total_market_cap: order_by + last_total_market_cap: order_by +} + +""" +columns and relationships of "term_total_state_change_stats_hourly" +""" +type term_total_state_change_stats_hourly { + bucket: timestamptz + difference: numeric + first_total_market_cap: numeric + last_total_market_cap: numeric + term_id: String +} + +""" +order by aggregate values of table "term_total_state_change_stats_hourly" +""" +input term_total_state_change_stats_hourly_aggregate_order_by { + avg: term_total_state_change_stats_hourly_avg_order_by + count: order_by + max: term_total_state_change_stats_hourly_max_order_by + min: term_total_state_change_stats_hourly_min_order_by + stddev: term_total_state_change_stats_hourly_stddev_order_by + stddev_pop: term_total_state_change_stats_hourly_stddev_pop_order_by + stddev_samp: term_total_state_change_stats_hourly_stddev_samp_order_by + sum: term_total_state_change_stats_hourly_sum_order_by + var_pop: term_total_state_change_stats_hourly_var_pop_order_by + var_samp: term_total_state_change_stats_hourly_var_samp_order_by + variance: term_total_state_change_stats_hourly_variance_order_by +} + +""" +order by avg() on columns of table "term_total_state_change_stats_hourly" +""" +input term_total_state_change_stats_hourly_avg_order_by { + difference: order_by + first_total_market_cap: order_by + last_total_market_cap: order_by +} + +""" +Boolean expression to filter rows from the table "term_total_state_change_stats_hourly". All fields are combined with a logical 'AND'. +""" +input term_total_state_change_stats_hourly_bool_exp { + _and: [term_total_state_change_stats_hourly_bool_exp!] + _not: term_total_state_change_stats_hourly_bool_exp + _or: [term_total_state_change_stats_hourly_bool_exp!] + bucket: timestamptz_comparison_exp + difference: numeric_comparison_exp + first_total_market_cap: numeric_comparison_exp + last_total_market_cap: numeric_comparison_exp + term_id: String_comparison_exp +} + +""" +order by max() on columns of table "term_total_state_change_stats_hourly" +""" +input term_total_state_change_stats_hourly_max_order_by { + bucket: order_by + difference: order_by + first_total_market_cap: order_by + last_total_market_cap: order_by + term_id: order_by +} + +""" +order by min() on columns of table "term_total_state_change_stats_hourly" +""" +input term_total_state_change_stats_hourly_min_order_by { + bucket: order_by + difference: order_by + first_total_market_cap: order_by + last_total_market_cap: order_by + term_id: order_by +} + +""" +Ordering options when selecting data from "term_total_state_change_stats_hourly". +""" +input term_total_state_change_stats_hourly_order_by { + bucket: order_by + difference: order_by + first_total_market_cap: order_by + last_total_market_cap: order_by + term_id: order_by +} + +""" +select columns of table "term_total_state_change_stats_hourly" +""" +enum term_total_state_change_stats_hourly_select_column { + """column name""" + bucket + """column name""" + difference + """column name""" + first_total_market_cap + """column name""" + last_total_market_cap + """column name""" + term_id +} + +""" +order by stddev() on columns of table "term_total_state_change_stats_hourly" +""" +input term_total_state_change_stats_hourly_stddev_order_by { + difference: order_by + first_total_market_cap: order_by + last_total_market_cap: order_by +} + +""" +order by stddev_pop() on columns of table "term_total_state_change_stats_hourly" +""" +input term_total_state_change_stats_hourly_stddev_pop_order_by { + difference: order_by + first_total_market_cap: order_by + last_total_market_cap: order_by +} + +""" +order by stddev_samp() on columns of table "term_total_state_change_stats_hourly" +""" +input term_total_state_change_stats_hourly_stddev_samp_order_by { + difference: order_by + first_total_market_cap: order_by + last_total_market_cap: order_by +} + +""" +Streaming cursor of the table "term_total_state_change_stats_hourly" +""" +input term_total_state_change_stats_hourly_stream_cursor_input { + """Stream column input with initial value""" + initial_value: term_total_state_change_stats_hourly_stream_cursor_value_input! + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input term_total_state_change_stats_hourly_stream_cursor_value_input { + bucket: timestamptz + difference: numeric + first_total_market_cap: numeric + last_total_market_cap: numeric + term_id: String +} + +""" +order by sum() on columns of table "term_total_state_change_stats_hourly" +""" +input term_total_state_change_stats_hourly_sum_order_by { + difference: order_by + first_total_market_cap: order_by + last_total_market_cap: order_by +} + +""" +order by var_pop() on columns of table "term_total_state_change_stats_hourly" +""" +input term_total_state_change_stats_hourly_var_pop_order_by { + difference: order_by + first_total_market_cap: order_by + last_total_market_cap: order_by +} + +""" +order by var_samp() on columns of table "term_total_state_change_stats_hourly" +""" +input term_total_state_change_stats_hourly_var_samp_order_by { + difference: order_by + first_total_market_cap: order_by + last_total_market_cap: order_by +} + +""" +order by variance() on columns of table "term_total_state_change_stats_hourly" +""" +input term_total_state_change_stats_hourly_variance_order_by { + difference: order_by + first_total_market_cap: order_by + last_total_market_cap: order_by +} + +""" +columns and relationships of "term_total_state_change_stats_monthly" +""" +type term_total_state_change_stats_monthly { + bucket: timestamptz + difference: numeric + first_total_market_cap: numeric + last_total_market_cap: numeric + term_id: String +} + +""" +order by aggregate values of table "term_total_state_change_stats_monthly" +""" +input term_total_state_change_stats_monthly_aggregate_order_by { + avg: term_total_state_change_stats_monthly_avg_order_by + count: order_by + max: term_total_state_change_stats_monthly_max_order_by + min: term_total_state_change_stats_monthly_min_order_by + stddev: term_total_state_change_stats_monthly_stddev_order_by + stddev_pop: term_total_state_change_stats_monthly_stddev_pop_order_by + stddev_samp: term_total_state_change_stats_monthly_stddev_samp_order_by + sum: term_total_state_change_stats_monthly_sum_order_by + var_pop: term_total_state_change_stats_monthly_var_pop_order_by + var_samp: term_total_state_change_stats_monthly_var_samp_order_by + variance: term_total_state_change_stats_monthly_variance_order_by +} + +""" +order by avg() on columns of table "term_total_state_change_stats_monthly" +""" +input term_total_state_change_stats_monthly_avg_order_by { + difference: order_by + first_total_market_cap: order_by + last_total_market_cap: order_by +} + +""" +Boolean expression to filter rows from the table "term_total_state_change_stats_monthly". All fields are combined with a logical 'AND'. +""" +input term_total_state_change_stats_monthly_bool_exp { + _and: [term_total_state_change_stats_monthly_bool_exp!] + _not: term_total_state_change_stats_monthly_bool_exp + _or: [term_total_state_change_stats_monthly_bool_exp!] + bucket: timestamptz_comparison_exp + difference: numeric_comparison_exp + first_total_market_cap: numeric_comparison_exp + last_total_market_cap: numeric_comparison_exp + term_id: String_comparison_exp +} + +""" +order by max() on columns of table "term_total_state_change_stats_monthly" +""" +input term_total_state_change_stats_monthly_max_order_by { + bucket: order_by + difference: order_by + first_total_market_cap: order_by + last_total_market_cap: order_by + term_id: order_by +} + +""" +order by min() on columns of table "term_total_state_change_stats_monthly" +""" +input term_total_state_change_stats_monthly_min_order_by { + bucket: order_by + difference: order_by + first_total_market_cap: order_by + last_total_market_cap: order_by + term_id: order_by +} + +""" +Ordering options when selecting data from "term_total_state_change_stats_monthly". +""" +input term_total_state_change_stats_monthly_order_by { + bucket: order_by + difference: order_by + first_total_market_cap: order_by + last_total_market_cap: order_by + term_id: order_by +} + +""" +select columns of table "term_total_state_change_stats_monthly" +""" +enum term_total_state_change_stats_monthly_select_column { + """column name""" + bucket + """column name""" + difference + """column name""" + first_total_market_cap + """column name""" + last_total_market_cap + """column name""" + term_id +} + +""" +order by stddev() on columns of table "term_total_state_change_stats_monthly" +""" +input term_total_state_change_stats_monthly_stddev_order_by { + difference: order_by + first_total_market_cap: order_by + last_total_market_cap: order_by +} + +""" +order by stddev_pop() on columns of table "term_total_state_change_stats_monthly" +""" +input term_total_state_change_stats_monthly_stddev_pop_order_by { + difference: order_by + first_total_market_cap: order_by + last_total_market_cap: order_by +} + +""" +order by stddev_samp() on columns of table "term_total_state_change_stats_monthly" +""" +input term_total_state_change_stats_monthly_stddev_samp_order_by { + difference: order_by + first_total_market_cap: order_by + last_total_market_cap: order_by +} + +""" +Streaming cursor of the table "term_total_state_change_stats_monthly" +""" +input term_total_state_change_stats_monthly_stream_cursor_input { + """Stream column input with initial value""" + initial_value: term_total_state_change_stats_monthly_stream_cursor_value_input! + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input term_total_state_change_stats_monthly_stream_cursor_value_input { + bucket: timestamptz + difference: numeric + first_total_market_cap: numeric + last_total_market_cap: numeric + term_id: String +} + +""" +order by sum() on columns of table "term_total_state_change_stats_monthly" +""" +input term_total_state_change_stats_monthly_sum_order_by { + difference: order_by + first_total_market_cap: order_by + last_total_market_cap: order_by +} + +""" +order by var_pop() on columns of table "term_total_state_change_stats_monthly" +""" +input term_total_state_change_stats_monthly_var_pop_order_by { + difference: order_by + first_total_market_cap: order_by + last_total_market_cap: order_by +} + +""" +order by var_samp() on columns of table "term_total_state_change_stats_monthly" +""" +input term_total_state_change_stats_monthly_var_samp_order_by { + difference: order_by + first_total_market_cap: order_by + last_total_market_cap: order_by +} + +""" +order by variance() on columns of table "term_total_state_change_stats_monthly" +""" +input term_total_state_change_stats_monthly_variance_order_by { + difference: order_by + first_total_market_cap: order_by + last_total_market_cap: order_by +} + +""" +columns and relationships of "term_total_state_change_stats_weekly" +""" +type term_total_state_change_stats_weekly { + bucket: timestamptz + difference: numeric + first_total_market_cap: numeric + last_total_market_cap: numeric + term_id: String +} + +""" +order by aggregate values of table "term_total_state_change_stats_weekly" +""" +input term_total_state_change_stats_weekly_aggregate_order_by { + avg: term_total_state_change_stats_weekly_avg_order_by + count: order_by + max: term_total_state_change_stats_weekly_max_order_by + min: term_total_state_change_stats_weekly_min_order_by + stddev: term_total_state_change_stats_weekly_stddev_order_by + stddev_pop: term_total_state_change_stats_weekly_stddev_pop_order_by + stddev_samp: term_total_state_change_stats_weekly_stddev_samp_order_by + sum: term_total_state_change_stats_weekly_sum_order_by + var_pop: term_total_state_change_stats_weekly_var_pop_order_by + var_samp: term_total_state_change_stats_weekly_var_samp_order_by + variance: term_total_state_change_stats_weekly_variance_order_by +} + +""" +order by avg() on columns of table "term_total_state_change_stats_weekly" +""" +input term_total_state_change_stats_weekly_avg_order_by { + difference: order_by + first_total_market_cap: order_by + last_total_market_cap: order_by +} + +""" +Boolean expression to filter rows from the table "term_total_state_change_stats_weekly". All fields are combined with a logical 'AND'. +""" +input term_total_state_change_stats_weekly_bool_exp { + _and: [term_total_state_change_stats_weekly_bool_exp!] + _not: term_total_state_change_stats_weekly_bool_exp + _or: [term_total_state_change_stats_weekly_bool_exp!] + bucket: timestamptz_comparison_exp + difference: numeric_comparison_exp + first_total_market_cap: numeric_comparison_exp + last_total_market_cap: numeric_comparison_exp + term_id: String_comparison_exp +} + +""" +order by max() on columns of table "term_total_state_change_stats_weekly" +""" +input term_total_state_change_stats_weekly_max_order_by { + bucket: order_by + difference: order_by + first_total_market_cap: order_by + last_total_market_cap: order_by + term_id: order_by +} + +""" +order by min() on columns of table "term_total_state_change_stats_weekly" +""" +input term_total_state_change_stats_weekly_min_order_by { + bucket: order_by + difference: order_by + first_total_market_cap: order_by + last_total_market_cap: order_by + term_id: order_by +} + +""" +Ordering options when selecting data from "term_total_state_change_stats_weekly". +""" +input term_total_state_change_stats_weekly_order_by { + bucket: order_by + difference: order_by + first_total_market_cap: order_by + last_total_market_cap: order_by + term_id: order_by +} + +""" +select columns of table "term_total_state_change_stats_weekly" +""" +enum term_total_state_change_stats_weekly_select_column { + """column name""" + bucket + """column name""" + difference + """column name""" + first_total_market_cap + """column name""" + last_total_market_cap + """column name""" + term_id +} + +""" +order by stddev() on columns of table "term_total_state_change_stats_weekly" +""" +input term_total_state_change_stats_weekly_stddev_order_by { + difference: order_by + first_total_market_cap: order_by + last_total_market_cap: order_by +} + +""" +order by stddev_pop() on columns of table "term_total_state_change_stats_weekly" +""" +input term_total_state_change_stats_weekly_stddev_pop_order_by { + difference: order_by + first_total_market_cap: order_by + last_total_market_cap: order_by +} + +""" +order by stddev_samp() on columns of table "term_total_state_change_stats_weekly" +""" +input term_total_state_change_stats_weekly_stddev_samp_order_by { + difference: order_by + first_total_market_cap: order_by + last_total_market_cap: order_by +} + +""" +Streaming cursor of the table "term_total_state_change_stats_weekly" +""" +input term_total_state_change_stats_weekly_stream_cursor_input { + """Stream column input with initial value""" + initial_value: term_total_state_change_stats_weekly_stream_cursor_value_input! + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input term_total_state_change_stats_weekly_stream_cursor_value_input { + bucket: timestamptz + difference: numeric + first_total_market_cap: numeric + last_total_market_cap: numeric + term_id: String +} + +""" +order by sum() on columns of table "term_total_state_change_stats_weekly" +""" +input term_total_state_change_stats_weekly_sum_order_by { + difference: order_by + first_total_market_cap: order_by + last_total_market_cap: order_by +} + +""" +order by var_pop() on columns of table "term_total_state_change_stats_weekly" +""" +input term_total_state_change_stats_weekly_var_pop_order_by { + difference: order_by + first_total_market_cap: order_by + last_total_market_cap: order_by +} + +""" +order by var_samp() on columns of table "term_total_state_change_stats_weekly" +""" +input term_total_state_change_stats_weekly_var_samp_order_by { + difference: order_by + first_total_market_cap: order_by + last_total_market_cap: order_by +} + +""" +order by variance() on columns of table "term_total_state_change_stats_weekly" +""" +input term_total_state_change_stats_weekly_variance_order_by { + difference: order_by + first_total_market_cap: order_by + last_total_market_cap: order_by +} + +""" +columns and relationships of "term_total_state_change" +""" +type term_total_state_changes { + created_at: timestamptz! + term_id: String! + total_assets: numeric! + total_market_cap: numeric! +} + +""" +order by aggregate values of table "term_total_state_change" +""" +input term_total_state_changes_aggregate_order_by { + avg: term_total_state_changes_avg_order_by + count: order_by + max: term_total_state_changes_max_order_by + min: term_total_state_changes_min_order_by + stddev: term_total_state_changes_stddev_order_by + stddev_pop: term_total_state_changes_stddev_pop_order_by + stddev_samp: term_total_state_changes_stddev_samp_order_by + sum: term_total_state_changes_sum_order_by + var_pop: term_total_state_changes_var_pop_order_by + var_samp: term_total_state_changes_var_samp_order_by + variance: term_total_state_changes_variance_order_by +} + +""" +order by avg() on columns of table "term_total_state_change" +""" +input term_total_state_changes_avg_order_by { + total_assets: order_by + total_market_cap: order_by +} + +""" +Boolean expression to filter rows from the table "term_total_state_change". All fields are combined with a logical 'AND'. +""" +input term_total_state_changes_bool_exp { + _and: [term_total_state_changes_bool_exp!] + _not: term_total_state_changes_bool_exp + _or: [term_total_state_changes_bool_exp!] + created_at: timestamptz_comparison_exp + term_id: String_comparison_exp + total_assets: numeric_comparison_exp + total_market_cap: numeric_comparison_exp +} + +""" +order by max() on columns of table "term_total_state_change" +""" +input term_total_state_changes_max_order_by { + created_at: order_by + term_id: order_by + total_assets: order_by + total_market_cap: order_by +} + +""" +order by min() on columns of table "term_total_state_change" +""" +input term_total_state_changes_min_order_by { + created_at: order_by + term_id: order_by + total_assets: order_by + total_market_cap: order_by +} + +"""Ordering options when selecting data from "term_total_state_change".""" +input term_total_state_changes_order_by { + created_at: order_by + term_id: order_by + total_assets: order_by + total_market_cap: order_by +} + +""" +select columns of table "term_total_state_change" +""" +enum term_total_state_changes_select_column { + """column name""" + created_at + """column name""" + term_id + """column name""" + total_assets + """column name""" + total_market_cap +} + +""" +order by stddev() on columns of table "term_total_state_change" +""" +input term_total_state_changes_stddev_order_by { + total_assets: order_by + total_market_cap: order_by +} + +""" +order by stddev_pop() on columns of table "term_total_state_change" +""" +input term_total_state_changes_stddev_pop_order_by { + total_assets: order_by + total_market_cap: order_by +} + +""" +order by stddev_samp() on columns of table "term_total_state_change" +""" +input term_total_state_changes_stddev_samp_order_by { + total_assets: order_by + total_market_cap: order_by +} + +""" +Streaming cursor of the table "term_total_state_changes" +""" +input term_total_state_changes_stream_cursor_input { + """Stream column input with initial value""" + initial_value: term_total_state_changes_stream_cursor_value_input! + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input term_total_state_changes_stream_cursor_value_input { + created_at: timestamptz + term_id: String + total_assets: numeric + total_market_cap: numeric +} + +""" +order by sum() on columns of table "term_total_state_change" +""" +input term_total_state_changes_sum_order_by { + total_assets: order_by + total_market_cap: order_by +} + +""" +order by var_pop() on columns of table "term_total_state_change" +""" +input term_total_state_changes_var_pop_order_by { + total_assets: order_by + total_market_cap: order_by +} + +""" +order by var_samp() on columns of table "term_total_state_change" +""" +input term_total_state_changes_var_samp_order_by { + total_assets: order_by + total_market_cap: order_by +} + +""" +order by variance() on columns of table "term_total_state_change" +""" +input term_total_state_changes_variance_order_by { + total_assets: order_by + total_market_cap: order_by +} + scalar term_type """ @@ -13054,426 +10584,292 @@ input term_type_comparison_exp { columns and relationships of "term" """ type terms { - """ - An object relationship - """ + """An object relationship""" atom: atoms - """ - An object relationship - """ + """An object relationship""" atomById: atoms - atom_id: numeric - """ - An array relationship - """ + atom_id: String + """An array relationship""" deposits( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [deposits_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [deposits_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: deposits_bool_exp ): [deposits!]! - """ - An aggregate relationship - """ + """An aggregate relationship""" deposits_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [deposits_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [deposits_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: deposits_bool_exp ): deposits_aggregate! - id: numeric! - """ - An array relationship - """ + id: String! + """An array relationship""" positions( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [positions_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [positions_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: positions_bool_exp ): [positions!]! - """ - An aggregate relationship - """ + """An aggregate relationship""" positions_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [positions_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [positions_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: positions_bool_exp ): positions_aggregate! - """ - An array relationship - """ + """An array relationship""" redemptions( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [redemptions_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [redemptions_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: redemptions_bool_exp ): [redemptions!]! - """ - An aggregate relationship - """ + """An aggregate relationship""" redemptions_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [redemptions_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [redemptions_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: redemptions_bool_exp ): redemptions_aggregate! - """ - An array relationship - """ + """An array relationship""" share_price_change_stats_daily( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [share_price_change_stats_daily_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [share_price_change_stats_daily_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: share_price_change_stats_daily_bool_exp ): [share_price_change_stats_daily!]! - """ - An array relationship - """ + """An array relationship""" share_price_change_stats_hourly( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [share_price_change_stats_hourly_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [share_price_change_stats_hourly_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: share_price_change_stats_hourly_bool_exp ): [share_price_change_stats_hourly!]! - """ - An array relationship - """ + """An array relationship""" share_price_change_stats_monthly( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [share_price_change_stats_monthly_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [share_price_change_stats_monthly_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: share_price_change_stats_monthly_bool_exp ): [share_price_change_stats_monthly!]! - """ - An array relationship - """ + """An array relationship""" share_price_change_stats_weekly( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [share_price_change_stats_weekly_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [share_price_change_stats_weekly_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: share_price_change_stats_weekly_bool_exp ): [share_price_change_stats_weekly!]! - """ - An array relationship - """ + """An array relationship""" share_price_changes( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [share_price_changes_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [share_price_changes_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: share_price_changes_bool_exp ): [share_price_changes!]! - """ - An aggregate relationship - """ + """An aggregate relationship""" share_price_changes_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [share_price_changes_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [share_price_changes_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: share_price_changes_bool_exp ): share_price_changes_aggregate! - """ - An array relationship - """ + """An array relationship""" signals( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [signals_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [signals_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: signals_bool_exp ): [signals!]! - """ - An aggregate relationship - """ + """An aggregate relationship""" signals_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [signals_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [signals_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: signals_bool_exp ): signals_aggregate! + """An array relationship""" + term_total_state_change_daily( + """distinct select on columns""" + distinct_on: [term_total_state_change_stats_daily_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [term_total_state_change_stats_daily_order_by!] + """filter the rows returned""" + where: term_total_state_change_stats_daily_bool_exp + ): [term_total_state_change_stats_daily!]! + """An array relationship""" + term_total_state_change_hourly( + """distinct select on columns""" + distinct_on: [term_total_state_change_stats_hourly_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [term_total_state_change_stats_hourly_order_by!] + """filter the rows returned""" + where: term_total_state_change_stats_hourly_bool_exp + ): [term_total_state_change_stats_hourly!]! + """An array relationship""" + term_total_state_change_monthly( + """distinct select on columns""" + distinct_on: [term_total_state_change_stats_monthly_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [term_total_state_change_stats_monthly_order_by!] + """filter the rows returned""" + where: term_total_state_change_stats_monthly_bool_exp + ): [term_total_state_change_stats_monthly!]! + """An array relationship""" + term_total_state_change_weekly( + """distinct select on columns""" + distinct_on: [term_total_state_change_stats_weekly_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [term_total_state_change_stats_weekly_order_by!] + """filter the rows returned""" + where: term_total_state_change_stats_weekly_bool_exp + ): [term_total_state_change_stats_weekly!]! + """An array relationship""" + term_total_state_changes( + """distinct select on columns""" + distinct_on: [term_total_state_changes_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [term_total_state_changes_order_by!] + """filter the rows returned""" + where: term_total_state_changes_bool_exp + ): [term_total_state_changes!]! total_assets: numeric total_market_cap: numeric - """ - An object relationship - """ + """An object relationship""" triple: triples - """ - An object relationship - """ + """An object relationship""" tripleById: triples - triple_id: numeric + triple_id: String type: term_type! - """ - An array relationship - """ + updated_at: timestamptz! + """An array relationship""" vaults( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [vaults_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [vaults_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: vaults_bool_exp ): [vaults!]! - """ - An aggregate relationship - """ + """An aggregate relationship""" vaults_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [vaults_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [vaults_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: vaults_bool_exp ): vaults_aggregate! } @@ -13500,15 +10896,10 @@ type terms_aggregate_fields { variance: terms_variance_fields } -""" -aggregate avg on columns -""" +"""aggregate avg on columns""" type terms_avg_fields { - atom_id: Float - id: Float total_assets: Float total_market_cap: Float - triple_id: Float } """ @@ -13520,10 +10911,10 @@ input terms_bool_exp { _or: [terms_bool_exp!] atom: atoms_bool_exp atomById: atoms_bool_exp - atom_id: numeric_comparison_exp + atom_id: String_comparison_exp deposits: deposits_bool_exp deposits_aggregate: deposits_aggregate_bool_exp - id: numeric_comparison_exp + id: String_comparison_exp positions: positions_bool_exp positions_aggregate: positions_aggregate_bool_exp redemptions: redemptions_bool_exp @@ -13536,43 +10927,45 @@ input terms_bool_exp { share_price_changes_aggregate: share_price_changes_aggregate_bool_exp signals: signals_bool_exp signals_aggregate: signals_aggregate_bool_exp + term_total_state_change_daily: term_total_state_change_stats_daily_bool_exp + term_total_state_change_hourly: term_total_state_change_stats_hourly_bool_exp + term_total_state_change_monthly: term_total_state_change_stats_monthly_bool_exp + term_total_state_change_weekly: term_total_state_change_stats_weekly_bool_exp + term_total_state_changes: term_total_state_changes_bool_exp total_assets: numeric_comparison_exp total_market_cap: numeric_comparison_exp triple: triples_bool_exp tripleById: triples_bool_exp - triple_id: numeric_comparison_exp + triple_id: String_comparison_exp type: term_type_comparison_exp + updated_at: timestamptz_comparison_exp vaults: vaults_bool_exp vaults_aggregate: vaults_aggregate_bool_exp } -""" -aggregate max on columns -""" +"""aggregate max on columns""" type terms_max_fields { - atom_id: numeric - id: numeric + atom_id: String + id: String total_assets: numeric total_market_cap: numeric - triple_id: numeric + triple_id: String type: term_type + updated_at: timestamptz } -""" -aggregate min on columns -""" +"""aggregate min on columns""" type terms_min_fields { - atom_id: numeric - id: numeric + atom_id: String + id: String total_assets: numeric total_market_cap: numeric - triple_id: numeric + triple_id: String type: term_type + updated_at: timestamptz } -""" -Ordering options when selecting data from "term". -""" +"""Ordering options when selecting data from "term".""" input terms_order_by { atom: atoms_order_by atomById: atoms_order_by @@ -13587,12 +10980,18 @@ input terms_order_by { share_price_change_stats_weekly_aggregate: share_price_change_stats_weekly_aggregate_order_by share_price_changes_aggregate: share_price_changes_aggregate_order_by signals_aggregate: signals_aggregate_order_by + term_total_state_change_daily_aggregate: term_total_state_change_stats_daily_aggregate_order_by + term_total_state_change_hourly_aggregate: term_total_state_change_stats_hourly_aggregate_order_by + term_total_state_change_monthly_aggregate: term_total_state_change_stats_monthly_aggregate_order_by + term_total_state_change_weekly_aggregate: term_total_state_change_stats_weekly_aggregate_order_by + term_total_state_changes_aggregate: term_total_state_changes_aggregate_order_by total_assets: order_by total_market_cap: order_by triple: triples_order_by tripleById: triples_order_by triple_id: order_by type: order_by + updated_at: order_by vaults_aggregate: vaults_aggregate_order_by } @@ -13600,145 +10999,93 @@ input terms_order_by { select columns of table "term" """ enum terms_select_column { - """ - column name - """ + """column name""" atom_id - """ - column name - """ + """column name""" id - """ - column name - """ + """column name""" total_assets - """ - column name - """ + """column name""" total_market_cap - """ - column name - """ + """column name""" triple_id - """ - column name - """ + """column name""" type + """column name""" + updated_at } -""" -aggregate stddev on columns -""" +"""aggregate stddev on columns""" type terms_stddev_fields { - atom_id: Float - id: Float total_assets: Float total_market_cap: Float - triple_id: Float } -""" -aggregate stddev_pop on columns -""" +"""aggregate stddev_pop on columns""" type terms_stddev_pop_fields { - atom_id: Float - id: Float total_assets: Float total_market_cap: Float - triple_id: Float } -""" -aggregate stddev_samp on columns -""" +"""aggregate stddev_samp on columns""" type terms_stddev_samp_fields { - atom_id: Float - id: Float total_assets: Float total_market_cap: Float - triple_id: Float } """ Streaming cursor of the table "terms" """ input terms_stream_cursor_input { - """ - Stream column input with initial value - """ + """Stream column input with initial value""" initial_value: terms_stream_cursor_value_input! - """ - cursor ordering - """ + """cursor ordering""" ordering: cursor_ordering } -""" -Initial value of the column from where the streaming should start -""" +"""Initial value of the column from where the streaming should start""" input terms_stream_cursor_value_input { - atom_id: numeric - id: numeric + atom_id: String + id: String total_assets: numeric total_market_cap: numeric - triple_id: numeric + triple_id: String type: term_type + updated_at: timestamptz } -""" -aggregate sum on columns -""" +"""aggregate sum on columns""" type terms_sum_fields { - atom_id: numeric - id: numeric total_assets: numeric total_market_cap: numeric - triple_id: numeric } -""" -aggregate var_pop on columns -""" +"""aggregate var_pop on columns""" type terms_var_pop_fields { - atom_id: Float - id: Float total_assets: Float total_market_cap: Float - triple_id: Float } -""" -aggregate var_samp on columns -""" +"""aggregate var_samp on columns""" type terms_var_samp_fields { - atom_id: Float - id: Float total_assets: Float total_market_cap: Float - triple_id: Float } -""" -aggregate variance on columns -""" +"""aggregate variance on columns""" type terms_variance_fields { - atom_id: Float - id: Float total_assets: Float total_market_cap: Float - triple_id: Float } """ columns and relationships of "text_object" """ type text_objects { - """ - An object relationship - """ + """An object relationship""" atom: atoms data: String! - id: numeric! + id: String! } """ @@ -13753,24 +11100,9 @@ type text_objects_aggregate { aggregate fields of "text_object" """ type text_objects_aggregate_fields { - avg: text_objects_avg_fields count(columns: [text_objects_select_column!], distinct: Boolean): Int! max: text_objects_max_fields min: text_objects_min_fields - stddev: text_objects_stddev_fields - stddev_pop: text_objects_stddev_pop_fields - stddev_samp: text_objects_stddev_samp_fields - sum: text_objects_sum_fields - var_pop: text_objects_var_pop_fields - var_samp: text_objects_var_samp_fields - variance: text_objects_variance_fields -} - -""" -aggregate avg on columns -""" -type text_objects_avg_fields { - id: Float } """ @@ -13782,28 +11114,22 @@ input text_objects_bool_exp { _or: [text_objects_bool_exp!] atom: atoms_bool_exp data: String_comparison_exp - id: numeric_comparison_exp + id: String_comparison_exp } -""" -aggregate max on columns -""" +"""aggregate max on columns""" type text_objects_max_fields { data: String - id: numeric + id: String } -""" -aggregate min on columns -""" +"""aggregate min on columns""" type text_objects_min_fields { data: String - id: numeric + id: String } -""" -Ordering options when selecting data from "text_object". -""" +"""Ordering options when selecting data from "text_object".""" input text_objects_order_by { atom: atoms_order_by data: order_by @@ -13814,98 +11140,37 @@ input text_objects_order_by { select columns of table "text_object" """ enum text_objects_select_column { - """ - column name - """ + """column name""" data - """ - column name - """ + """column name""" id } -""" -aggregate stddev on columns -""" -type text_objects_stddev_fields { - id: Float -} - -""" -aggregate stddev_pop on columns -""" -type text_objects_stddev_pop_fields { - id: Float -} - -""" -aggregate stddev_samp on columns -""" -type text_objects_stddev_samp_fields { - id: Float -} - """ Streaming cursor of the table "text_objects" """ input text_objects_stream_cursor_input { - """ - Stream column input with initial value - """ + """Stream column input with initial value""" initial_value: text_objects_stream_cursor_value_input! - """ - cursor ordering - """ + """cursor ordering""" ordering: cursor_ordering } -""" -Initial value of the column from where the streaming should start -""" +"""Initial value of the column from where the streaming should start""" input text_objects_stream_cursor_value_input { data: String - id: numeric -} - -""" -aggregate sum on columns -""" -type text_objects_sum_fields { - id: numeric -} - -""" -aggregate var_pop on columns -""" -type text_objects_var_pop_fields { - id: Float -} - -""" -aggregate var_samp on columns -""" -type text_objects_var_samp_fields { - id: Float -} - -""" -aggregate variance on columns -""" -type text_objects_variance_fields { - id: Float + id: String } """ columns and relationships of "thing" """ type things { - """ - An object relationship - """ + """An object relationship""" atom: atoms cached_image: cached_images_cached_image description: String - id: numeric! + id: String! image: String name: String url: String @@ -13923,24 +11188,9 @@ type things_aggregate { aggregate fields of "thing" """ type things_aggregate_fields { - avg: things_avg_fields count(columns: [things_select_column!], distinct: Boolean): Int! max: things_max_fields min: things_min_fields - stddev: things_stddev_fields - stddev_pop: things_stddev_pop_fields - stddev_samp: things_stddev_samp_fields - sum: things_sum_fields - var_pop: things_var_pop_fields - var_samp: things_var_samp_fields - variance: things_variance_fields -} - -""" -aggregate avg on columns -""" -type things_avg_fields { - id: Float } """ @@ -13952,144 +11202,73 @@ input things_bool_exp { _or: [things_bool_exp!] atom: atoms_bool_exp description: String_comparison_exp - id: numeric_comparison_exp + id: String_comparison_exp image: String_comparison_exp name: String_comparison_exp url: String_comparison_exp } -""" -aggregate max on columns -""" +"""aggregate max on columns""" type things_max_fields { description: String - id: numeric + id: String image: String name: String url: String } -""" -aggregate min on columns -""" +"""aggregate min on columns""" type things_min_fields { description: String - id: numeric + id: String image: String name: String url: String } -""" -Ordering options when selecting data from "thing". -""" +"""Ordering options when selecting data from "thing".""" input things_order_by { atom: atoms_order_by - description: order_by - id: order_by - image: order_by - name: order_by - url: order_by -} - -""" -select columns of table "thing" -""" -enum things_select_column { - """ - column name - """ - description - """ - column name - """ - id - """ - column name - """ - image - """ - column name - """ - name - """ - column name - """ - url -} - -""" -aggregate stddev on columns -""" -type things_stddev_fields { - id: Float -} - -""" -aggregate stddev_pop on columns -""" -type things_stddev_pop_fields { - id: Float -} - -""" -aggregate stddev_samp on columns -""" -type things_stddev_samp_fields { - id: Float -} - -""" -Streaming cursor of the table "things" -""" -input things_stream_cursor_input { - """ - Stream column input with initial value - """ - initial_value: things_stream_cursor_value_input! - """ - cursor ordering - """ - ordering: cursor_ordering -} - -""" -Initial value of the column from where the streaming should start -""" -input things_stream_cursor_value_input { - description: String - id: numeric - image: String - name: String - url: String -} - -""" -aggregate sum on columns -""" -type things_sum_fields { - id: numeric + description: order_by + id: order_by + image: order_by + name: order_by + url: order_by } """ -aggregate var_pop on columns +select columns of table "thing" """ -type things_var_pop_fields { - id: Float +enum things_select_column { + """column name""" + description + """column name""" + id + """column name""" + image + """column name""" + name + """column name""" + url } """ -aggregate var_samp on columns +Streaming cursor of the table "things" """ -type things_var_samp_fields { - id: Float +input things_stream_cursor_input { + """Stream column input with initial value""" + initial_value: things_stream_cursor_value_input! + """cursor ordering""" + ordering: cursor_ordering } -""" -aggregate variance on columns -""" -type things_variance_fields { - id: Float +"""Initial value of the column from where the streaming should start""" +input things_stream_cursor_value_input { + description: String + id: String + image: String + name: String + url: String } scalar timestamptz @@ -14113,16 +11292,12 @@ input timestamptz_comparison_exp { columns and relationships of "triple_term" """ type triple_term { - """ - An object relationship - """ + """An object relationship""" counter_term: terms! - counter_term_id: numeric! - """ - An object relationship - """ + counter_term_id: String! + """An object relationship""" term: terms! - term_id: numeric! + term_id: String! total_assets: numeric! total_market_cap: numeric! total_position_count: bigint! @@ -14137,18 +11312,16 @@ input triple_term_bool_exp { _not: triple_term_bool_exp _or: [triple_term_bool_exp!] counter_term: terms_bool_exp - counter_term_id: numeric_comparison_exp + counter_term_id: String_comparison_exp term: terms_bool_exp - term_id: numeric_comparison_exp + term_id: String_comparison_exp total_assets: numeric_comparison_exp total_market_cap: numeric_comparison_exp total_position_count: bigint_comparison_exp updated_at: timestamptz_comparison_exp } -""" -Ordering options when selecting data from "triple_term". -""" +"""Ordering options when selecting data from "triple_term".""" input triple_term_order_by { counter_term: terms_order_by counter_term_id: order_by @@ -14164,29 +11337,17 @@ input triple_term_order_by { select columns of table "triple_term" """ enum triple_term_select_column { - """ - column name - """ + """column name""" counter_term_id - """ - column name - """ + """column name""" term_id - """ - column name - """ + """column name""" total_assets - """ - column name - """ + """column name""" total_market_cap - """ - column name - """ + """column name""" total_position_count - """ - column name - """ + """column name""" updated_at } @@ -14194,22 +11355,16 @@ enum triple_term_select_column { Streaming cursor of the table "triple_term" """ input triple_term_stream_cursor_input { - """ - Stream column input with initial value - """ + """Stream column input with initial value""" initial_value: triple_term_stream_cursor_value_input! - """ - cursor ordering - """ + """cursor ordering""" ordering: cursor_ordering } -""" -Initial value of the column from where the streaming should start -""" +"""Initial value of the column from where the streaming should start""" input triple_term_stream_cursor_value_input { - counter_term_id: numeric - term_id: numeric + counter_term_id: String + term_id: String total_assets: numeric total_market_cap: numeric total_position_count: bigint @@ -14221,20 +11376,16 @@ columns and relationships of "triple_vault" """ type triple_vault { block_number: numeric! - """ - An object relationship - """ + """An object relationship""" counter_term: terms - counter_term_id: numeric! + counter_term_id: String! curve_id: numeric! log_index: bigint! market_cap: numeric! position_count: bigint! - """ - An object relationship - """ + """An object relationship""" term: terms - term_id: numeric! + term_id: String! total_assets: numeric! total_shares: numeric! updated_at: timestamptz! @@ -14249,21 +11400,19 @@ input triple_vault_bool_exp { _or: [triple_vault_bool_exp!] block_number: numeric_comparison_exp counter_term: terms_bool_exp - counter_term_id: numeric_comparison_exp + counter_term_id: String_comparison_exp curve_id: numeric_comparison_exp log_index: bigint_comparison_exp market_cap: numeric_comparison_exp position_count: bigint_comparison_exp term: terms_bool_exp - term_id: numeric_comparison_exp + term_id: String_comparison_exp total_assets: numeric_comparison_exp total_shares: numeric_comparison_exp updated_at: timestamptz_comparison_exp } -""" -Ordering options when selecting data from "triple_vault". -""" +"""Ordering options when selecting data from "triple_vault".""" input triple_vault_order_by { block_number: order_by counter_term: terms_order_by @@ -14283,45 +11432,25 @@ input triple_vault_order_by { select columns of table "triple_vault" """ enum triple_vault_select_column { - """ - column name - """ + """column name""" block_number - """ - column name - """ + """column name""" counter_term_id - """ - column name - """ + """column name""" curve_id - """ - column name - """ + """column name""" log_index - """ - column name - """ + """column name""" market_cap - """ - column name - """ + """column name""" position_count - """ - column name - """ + """column name""" term_id - """ - column name - """ + """column name""" total_assets - """ - column name - """ + """column name""" total_shares - """ - column name - """ + """column name""" updated_at } @@ -14329,27 +11458,21 @@ enum triple_vault_select_column { Streaming cursor of the table "triple_vault" """ input triple_vault_stream_cursor_input { - """ - Stream column input with initial value - """ + """Stream column input with initial value""" initial_value: triple_vault_stream_cursor_value_input! - """ - cursor ordering - """ + """cursor ordering""" ordering: cursor_ordering } -""" -Initial value of the column from where the streaming should start -""" +"""Initial value of the column from where the streaming should start""" input triple_vault_stream_cursor_value_input { block_number: numeric - counter_term_id: numeric + counter_term_id: String curve_id: numeric log_index: bigint market_cap: numeric position_count: bigint - term_id: numeric + term_id: String total_assets: numeric total_shares: numeric updated_at: timestamptz @@ -14360,145 +11483,81 @@ columns and relationships of "triple" """ type triples { block_number: numeric! - """ - An array relationship - """ + """An array relationship""" counter_positions( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [positions_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [positions_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: positions_bool_exp ): [positions!]! - """ - An aggregate relationship - """ + """An aggregate relationship""" counter_positions_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [positions_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [positions_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: positions_bool_exp ): positions_aggregate! - """ - An object relationship - """ + """An object relationship""" counter_term: terms - counter_term_id: numeric! + counter_term_id: String! created_at: timestamptz! - """ - An object relationship - """ + """An object relationship""" creator: accounts creator_id: String! - """ - An object relationship - """ + """An object relationship""" object: atoms! - object_id: numeric! - """ - An array relationship - """ + object_id: String! + """An array relationship""" positions( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [positions_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [positions_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: positions_bool_exp ): [positions!]! - """ - An aggregate relationship - """ + """An aggregate relationship""" positions_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [positions_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [positions_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: positions_bool_exp ): positions_aggregate! - """ - An object relationship - """ + """An object relationship""" predicate: atoms! - predicate_id: numeric! - """ - An object relationship - """ + predicate_id: String! + """An object relationship""" subject: atoms! - subject_id: numeric! - """ - An object relationship - """ + subject_id: String! + """An object relationship""" term: terms - term_id: numeric! + term_id: String! transaction_hash: String! - """ - An object relationship - """ + """An object relationship""" triple_term: triple_term - """ - An object relationship - """ + """An object relationship""" triple_vault: triple_vault } @@ -14555,16 +11614,9 @@ input triples_aggregate_order_by { variance: triples_variance_order_by } -""" -aggregate avg on columns -""" +"""aggregate avg on columns""" type triples_avg_fields { block_number: Float - counter_term_id: Float - object_id: Float - predicate_id: Float - subject_id: Float - term_id: Float } """ @@ -14572,11 +11624,6 @@ order by avg() on columns of table "triple" """ input triples_avg_order_by { block_number: order_by - counter_term_id: order_by - object_id: order_by - predicate_id: order_by - subject_id: order_by - term_id: order_by } """ @@ -14590,37 +11637,35 @@ input triples_bool_exp { counter_positions: positions_bool_exp counter_positions_aggregate: positions_aggregate_bool_exp counter_term: terms_bool_exp - counter_term_id: numeric_comparison_exp + counter_term_id: String_comparison_exp created_at: timestamptz_comparison_exp creator: accounts_bool_exp creator_id: String_comparison_exp object: atoms_bool_exp - object_id: numeric_comparison_exp + object_id: String_comparison_exp positions: positions_bool_exp positions_aggregate: positions_aggregate_bool_exp predicate: atoms_bool_exp - predicate_id: numeric_comparison_exp + predicate_id: String_comparison_exp subject: atoms_bool_exp - subject_id: numeric_comparison_exp + subject_id: String_comparison_exp term: terms_bool_exp - term_id: numeric_comparison_exp + term_id: String_comparison_exp transaction_hash: String_comparison_exp triple_term: triple_term_bool_exp triple_vault: triple_vault_bool_exp } -""" -aggregate max on columns -""" +"""aggregate max on columns""" type triples_max_fields { block_number: numeric - counter_term_id: numeric + counter_term_id: String created_at: timestamptz creator_id: String - object_id: numeric - predicate_id: numeric - subject_id: numeric - term_id: numeric + object_id: String + predicate_id: String + subject_id: String + term_id: String transaction_hash: String } @@ -14639,18 +11684,16 @@ input triples_max_order_by { transaction_hash: order_by } -""" -aggregate min on columns -""" +"""aggregate min on columns""" type triples_min_fields { block_number: numeric - counter_term_id: numeric + counter_term_id: String created_at: timestamptz creator_id: String - object_id: numeric - predicate_id: numeric - subject_id: numeric - term_id: numeric + object_id: String + predicate_id: String + subject_id: String + term_id: String transaction_hash: String } @@ -14669,9 +11712,7 @@ input triples_min_order_by { transaction_hash: order_by } -""" -Ordering options when selecting data from "triple". -""" +"""Ordering options when selecting data from "triple".""" input triples_order_by { block_number: order_by counter_positions_aggregate: positions_aggregate_order_by @@ -14698,54 +11739,29 @@ input triples_order_by { select columns of table "triple" """ enum triples_select_column { - """ - column name - """ + """column name""" block_number - """ - column name - """ + """column name""" counter_term_id - """ - column name - """ + """column name""" created_at - """ - column name - """ + """column name""" creator_id - """ - column name - """ + """column name""" object_id - """ - column name - """ + """column name""" predicate_id - """ - column name - """ + """column name""" subject_id - """ - column name - """ + """column name""" term_id - """ - column name - """ + """column name""" transaction_hash } -""" -aggregate stddev on columns -""" +"""aggregate stddev on columns""" type triples_stddev_fields { block_number: Float - counter_term_id: Float - object_id: Float - predicate_id: Float - subject_id: Float - term_id: Float } """ @@ -14753,23 +11769,11 @@ order by stddev() on columns of table "triple" """ input triples_stddev_order_by { block_number: order_by - counter_term_id: order_by - object_id: order_by - predicate_id: order_by - subject_id: order_by - term_id: order_by } -""" -aggregate stddev_pop on columns -""" +"""aggregate stddev_pop on columns""" type triples_stddev_pop_fields { block_number: Float - counter_term_id: Float - object_id: Float - predicate_id: Float - subject_id: Float - term_id: Float } """ @@ -14777,23 +11781,11 @@ order by stddev_pop() on columns of table "triple" """ input triples_stddev_pop_order_by { block_number: order_by - counter_term_id: order_by - object_id: order_by - predicate_id: order_by - subject_id: order_by - term_id: order_by } -""" -aggregate stddev_samp on columns -""" +"""aggregate stddev_samp on columns""" type triples_stddev_samp_fields { block_number: Float - counter_term_id: Float - object_id: Float - predicate_id: Float - subject_id: Float - term_id: Float } """ @@ -14801,52 +11793,34 @@ order by stddev_samp() on columns of table "triple" """ input triples_stddev_samp_order_by { block_number: order_by - counter_term_id: order_by - object_id: order_by - predicate_id: order_by - subject_id: order_by - term_id: order_by } """ Streaming cursor of the table "triples" """ input triples_stream_cursor_input { - """ - Stream column input with initial value - """ + """Stream column input with initial value""" initial_value: triples_stream_cursor_value_input! - """ - cursor ordering - """ + """cursor ordering""" ordering: cursor_ordering } -""" -Initial value of the column from where the streaming should start -""" +"""Initial value of the column from where the streaming should start""" input triples_stream_cursor_value_input { block_number: numeric - counter_term_id: numeric + counter_term_id: String created_at: timestamptz creator_id: String - object_id: numeric - predicate_id: numeric - subject_id: numeric - term_id: numeric + object_id: String + predicate_id: String + subject_id: String + term_id: String transaction_hash: String } -""" -aggregate sum on columns -""" +"""aggregate sum on columns""" type triples_sum_fields { block_number: numeric - counter_term_id: numeric - object_id: numeric - predicate_id: numeric - subject_id: numeric - term_id: numeric } """ @@ -14854,23 +11828,11 @@ order by sum() on columns of table "triple" """ input triples_sum_order_by { block_number: order_by - counter_term_id: order_by - object_id: order_by - predicate_id: order_by - subject_id: order_by - term_id: order_by } -""" -aggregate var_pop on columns -""" +"""aggregate var_pop on columns""" type triples_var_pop_fields { block_number: Float - counter_term_id: Float - object_id: Float - predicate_id: Float - subject_id: Float - term_id: Float } """ @@ -14878,23 +11840,11 @@ order by var_pop() on columns of table "triple" """ input triples_var_pop_order_by { block_number: order_by - counter_term_id: order_by - object_id: order_by - predicate_id: order_by - subject_id: order_by - term_id: order_by } -""" -aggregate var_samp on columns -""" +"""aggregate var_samp on columns""" type triples_var_samp_fields { block_number: Float - counter_term_id: Float - object_id: Float - predicate_id: Float - subject_id: Float - term_id: Float } """ @@ -14902,23 +11852,11 @@ order by var_samp() on columns of table "triple" """ input triples_var_samp_order_by { block_number: order_by - counter_term_id: order_by - object_id: order_by - predicate_id: order_by - subject_id: order_by - term_id: order_by } -""" -aggregate variance on columns -""" +"""aggregate variance on columns""" type triples_variance_fields { block_number: Float - counter_term_id: Float - object_id: Float - predicate_id: Float - subject_id: Float - term_id: Float } """ @@ -14926,379 +11864,224 @@ order by variance() on columns of table "triple" """ input triples_variance_order_by { block_number: order_by - counter_term_id: order_by - object_id: order_by - predicate_id: order_by - subject_id: order_by - term_id: order_by +} + +scalar vault_type + +""" +Boolean expression to compare columns of type "vault_type". All fields are combined with logical 'AND'. +""" +input vault_type_comparison_exp { + _eq: vault_type + _gt: vault_type + _gte: vault_type + _in: [vault_type!] + _is_null: Boolean + _lt: vault_type + _lte: vault_type + _neq: vault_type + _nin: [vault_type!] } """ columns and relationships of "vault" """ type vaults { + block_number: bigint! created_at: timestamptz! current_share_price: numeric! curve_id: numeric! - """ - An array relationship - """ + """An array relationship""" deposits( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [deposits_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [deposits_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: deposits_bool_exp ): [deposits!]! - """ - An aggregate relationship - """ - deposits_aggregate( - """ - distinct select on columns - """ + """An aggregate relationship""" + deposits_aggregate( + """distinct select on columns""" distinct_on: [deposits_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [deposits_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: deposits_bool_exp ): deposits_aggregate! + log_index: bigint! market_cap: numeric! position_count: Int! - """ - An array relationship - """ + """An array relationship""" positions( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [positions_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [positions_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: positions_bool_exp ): [positions!]! - """ - An aggregate relationship - """ + """An aggregate relationship""" positions_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [positions_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [positions_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: positions_bool_exp ): positions_aggregate! - """ - An array relationship - """ + """An array relationship""" redemptions( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [redemptions_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [redemptions_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: redemptions_bool_exp ): [redemptions!]! - """ - An aggregate relationship - """ + """An aggregate relationship""" redemptions_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [redemptions_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [redemptions_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: redemptions_bool_exp ): redemptions_aggregate! - """ - An array relationship - """ + """An array relationship""" share_price_change_stats_daily( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [share_price_change_stats_daily_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [share_price_change_stats_daily_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: share_price_change_stats_daily_bool_exp ): [share_price_change_stats_daily!]! - """ - An array relationship - """ + """An array relationship""" share_price_change_stats_hourly( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [share_price_change_stats_hourly_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [share_price_change_stats_hourly_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: share_price_change_stats_hourly_bool_exp ): [share_price_change_stats_hourly!]! - """ - An array relationship - """ + """An array relationship""" share_price_change_stats_monthly( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [share_price_change_stats_monthly_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [share_price_change_stats_monthly_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: share_price_change_stats_monthly_bool_exp ): [share_price_change_stats_monthly!]! - """ - An array relationship - """ + """An array relationship""" share_price_change_stats_weekly( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [share_price_change_stats_weekly_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [share_price_change_stats_weekly_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: share_price_change_stats_weekly_bool_exp ): [share_price_change_stats_weekly!]! - """ - An array relationship - """ + """An array relationship""" share_price_changes( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [share_price_changes_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [share_price_changes_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: share_price_changes_bool_exp ): [share_price_changes!]! - """ - An aggregate relationship - """ + """An aggregate relationship""" share_price_changes_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [share_price_changes_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [share_price_changes_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: share_price_changes_bool_exp ): share_price_changes_aggregate! - """ - An array relationship - """ + """An array relationship""" signals( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [signals_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [signals_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: signals_bool_exp ): [signals!]! - """ - An aggregate relationship - """ + """An aggregate relationship""" signals_aggregate( - """ - distinct select on columns - """ + """distinct select on columns""" distinct_on: [signals_select_column!] - """ - limit the number of rows returned - """ + """limit the number of rows returned""" limit: Int - """ - skip the first n rows. Use only with order_by - """ + """skip the first n rows. Use only with order_by""" offset: Int - """ - sort the rows by one or more columns - """ + """sort the rows by one or more columns""" order_by: [signals_order_by!] - """ - filter the rows returned - """ + """filter the rows returned""" where: signals_bool_exp ): signals_aggregate! - """ - An object relationship - """ + """An object relationship""" term: terms! - term_id: numeric! + term_id: String! total_assets: numeric! total_shares: numeric! + transaction_hash: String! updated_at: timestamptz! } @@ -15355,15 +12138,14 @@ input vaults_aggregate_order_by { variance: vaults_variance_order_by } -""" -aggregate avg on columns -""" +"""aggregate avg on columns""" type vaults_avg_fields { + block_number: Float current_share_price: Float curve_id: Float + log_index: Float market_cap: Float position_count: Float - term_id: Float total_assets: Float total_shares: Float } @@ -15372,11 +12154,12 @@ type vaults_avg_fields { order by avg() on columns of table "vault" """ input vaults_avg_order_by { + block_number: order_by current_share_price: order_by curve_id: order_by + log_index: order_by market_cap: order_by position_count: order_by - term_id: order_by total_assets: order_by total_shares: order_by } @@ -15388,11 +12171,13 @@ input vaults_bool_exp { _and: [vaults_bool_exp!] _not: vaults_bool_exp _or: [vaults_bool_exp!] + block_number: bigint_comparison_exp created_at: timestamptz_comparison_exp current_share_price: numeric_comparison_exp curve_id: numeric_comparison_exp deposits: deposits_bool_exp deposits_aggregate: deposits_aggregate_bool_exp + log_index: bigint_comparison_exp market_cap: numeric_comparison_exp position_count: Int_comparison_exp positions: positions_bool_exp @@ -15408,24 +12193,26 @@ input vaults_bool_exp { signals: signals_bool_exp signals_aggregate: signals_aggregate_bool_exp term: terms_bool_exp - term_id: numeric_comparison_exp + term_id: String_comparison_exp total_assets: numeric_comparison_exp total_shares: numeric_comparison_exp + transaction_hash: String_comparison_exp updated_at: timestamptz_comparison_exp } -""" -aggregate max on columns -""" +"""aggregate max on columns""" type vaults_max_fields { + block_number: bigint created_at: timestamptz current_share_price: numeric curve_id: numeric + log_index: bigint market_cap: numeric position_count: Int - term_id: numeric + term_id: String total_assets: numeric total_shares: numeric + transaction_hash: String updated_at: timestamptz } @@ -15433,29 +12220,33 @@ type vaults_max_fields { order by max() on columns of table "vault" """ input vaults_max_order_by { + block_number: order_by created_at: order_by current_share_price: order_by curve_id: order_by + log_index: order_by market_cap: order_by position_count: order_by term_id: order_by total_assets: order_by total_shares: order_by + transaction_hash: order_by updated_at: order_by } -""" -aggregate min on columns -""" +"""aggregate min on columns""" type vaults_min_fields { + block_number: bigint created_at: timestamptz current_share_price: numeric curve_id: numeric + log_index: bigint market_cap: numeric position_count: Int - term_id: numeric + term_id: String total_assets: numeric total_shares: numeric + transaction_hash: String updated_at: timestamptz } @@ -15463,25 +12254,28 @@ type vaults_min_fields { order by min() on columns of table "vault" """ input vaults_min_order_by { + block_number: order_by created_at: order_by current_share_price: order_by curve_id: order_by + log_index: order_by market_cap: order_by position_count: order_by term_id: order_by total_assets: order_by total_shares: order_by + transaction_hash: order_by updated_at: order_by } -""" -Ordering options when selecting data from "vault". -""" +"""Ordering options when selecting data from "vault".""" input vaults_order_by { + block_number: order_by created_at: order_by current_share_price: order_by curve_id: order_by deposits_aggregate: deposits_aggregate_order_by + log_index: order_by market_cap: order_by position_count: order_by positions_aggregate: positions_aggregate_order_by @@ -15496,6 +12290,7 @@ input vaults_order_by { term_id: order_by total_assets: order_by total_shares: order_by + transaction_hash: order_by updated_at: order_by } @@ -15503,53 +12298,40 @@ input vaults_order_by { select columns of table "vault" """ enum vaults_select_column { - """ - column name - """ + """column name""" + block_number + """column name""" created_at - """ - column name - """ + """column name""" current_share_price - """ - column name - """ + """column name""" curve_id - """ - column name - """ + """column name""" + log_index + """column name""" market_cap - """ - column name - """ + """column name""" position_count - """ - column name - """ + """column name""" term_id - """ - column name - """ + """column name""" total_assets - """ - column name - """ + """column name""" total_shares - """ - column name - """ + """column name""" + transaction_hash + """column name""" updated_at } -""" -aggregate stddev on columns -""" +"""aggregate stddev on columns""" type vaults_stddev_fields { + block_number: Float current_share_price: Float curve_id: Float + log_index: Float market_cap: Float position_count: Float - term_id: Float total_assets: Float total_shares: Float } @@ -15558,24 +12340,24 @@ type vaults_stddev_fields { order by stddev() on columns of table "vault" """ input vaults_stddev_order_by { + block_number: order_by current_share_price: order_by curve_id: order_by + log_index: order_by market_cap: order_by position_count: order_by - term_id: order_by total_assets: order_by total_shares: order_by } -""" -aggregate stddev_pop on columns -""" +"""aggregate stddev_pop on columns""" type vaults_stddev_pop_fields { + block_number: Float current_share_price: Float curve_id: Float + log_index: Float market_cap: Float position_count: Float - term_id: Float total_assets: Float total_shares: Float } @@ -15584,24 +12366,24 @@ type vaults_stddev_pop_fields { order by stddev_pop() on columns of table "vault" """ input vaults_stddev_pop_order_by { + block_number: order_by current_share_price: order_by curve_id: order_by + log_index: order_by market_cap: order_by position_count: order_by - term_id: order_by total_assets: order_by total_shares: order_by } -""" -aggregate stddev_samp on columns -""" +"""aggregate stddev_samp on columns""" type vaults_stddev_samp_fields { + block_number: Float current_share_price: Float curve_id: Float + log_index: Float market_cap: Float position_count: Float - term_id: Float total_assets: Float total_shares: Float } @@ -15610,11 +12392,12 @@ type vaults_stddev_samp_fields { order by stddev_samp() on columns of table "vault" """ input vaults_stddev_samp_order_by { + block_number: order_by current_share_price: order_by curve_id: order_by + log_index: order_by market_cap: order_by position_count: order_by - term_id: order_by total_assets: order_by total_shares: order_by } @@ -15623,40 +12406,36 @@ input vaults_stddev_samp_order_by { Streaming cursor of the table "vaults" """ input vaults_stream_cursor_input { - """ - Stream column input with initial value - """ + """Stream column input with initial value""" initial_value: vaults_stream_cursor_value_input! - """ - cursor ordering - """ + """cursor ordering""" ordering: cursor_ordering } -""" -Initial value of the column from where the streaming should start -""" +"""Initial value of the column from where the streaming should start""" input vaults_stream_cursor_value_input { + block_number: bigint created_at: timestamptz current_share_price: numeric curve_id: numeric + log_index: bigint market_cap: numeric position_count: Int - term_id: numeric + term_id: String total_assets: numeric total_shares: numeric + transaction_hash: String updated_at: timestamptz } -""" -aggregate sum on columns -""" +"""aggregate sum on columns""" type vaults_sum_fields { + block_number: bigint current_share_price: numeric curve_id: numeric + log_index: bigint market_cap: numeric position_count: Int - term_id: numeric total_assets: numeric total_shares: numeric } @@ -15665,24 +12444,24 @@ type vaults_sum_fields { order by sum() on columns of table "vault" """ input vaults_sum_order_by { + block_number: order_by current_share_price: order_by curve_id: order_by + log_index: order_by market_cap: order_by position_count: order_by - term_id: order_by total_assets: order_by total_shares: order_by } -""" -aggregate var_pop on columns -""" +"""aggregate var_pop on columns""" type vaults_var_pop_fields { + block_number: Float current_share_price: Float curve_id: Float + log_index: Float market_cap: Float position_count: Float - term_id: Float total_assets: Float total_shares: Float } @@ -15691,24 +12470,24 @@ type vaults_var_pop_fields { order by var_pop() on columns of table "vault" """ input vaults_var_pop_order_by { + block_number: order_by current_share_price: order_by curve_id: order_by + log_index: order_by market_cap: order_by position_count: order_by - term_id: order_by total_assets: order_by total_shares: order_by } -""" -aggregate var_samp on columns -""" +"""aggregate var_samp on columns""" type vaults_var_samp_fields { + block_number: Float current_share_price: Float curve_id: Float + log_index: Float market_cap: Float position_count: Float - term_id: Float total_assets: Float total_shares: Float } @@ -15717,24 +12496,24 @@ type vaults_var_samp_fields { order by var_samp() on columns of table "vault" """ input vaults_var_samp_order_by { + block_number: order_by current_share_price: order_by curve_id: order_by + log_index: order_by market_cap: order_by position_count: order_by - term_id: order_by total_assets: order_by total_shares: order_by } -""" -aggregate variance on columns -""" +"""aggregate variance on columns""" type vaults_variance_fields { + block_number: Float current_share_price: Float curve_id: Float + log_index: Float market_cap: Float position_count: Float - term_id: Float total_assets: Float total_shares: Float } @@ -15743,11 +12522,12 @@ type vaults_variance_fields { order by variance() on columns of table "vault" """ input vaults_variance_order_by { + block_number: order_by current_share_price: order_by curve_id: order_by + log_index: order_by market_cap: order_by position_count: order_by - term_id: order_by total_assets: order_by total_shares: order_by -} +} \ No newline at end of file diff --git a/packages/intuition-graphql/src/fragments/account.graphql b/packages/intuition-graphql/src/fragments/account.graphql index cc7d923c5..526894dd6 100644 --- a/packages/intuition-graphql/src/fragments/account.graphql +++ b/packages/intuition-graphql/src/fragments/account.graphql @@ -93,9 +93,6 @@ fragment AccountAtomsAggregate on accounts { ) { aggregate { count - sum { - term_id - } } nodes { term_id diff --git a/packages/intuition-graphql/src/fragments/deposit.graphql b/packages/intuition-graphql/src/fragments/deposit.graphql index 4af21d6e0..9e18ddeeb 100644 --- a/packages/intuition-graphql/src/fragments/deposit.graphql +++ b/packages/intuition-graphql/src/fragments/deposit.graphql @@ -1,9 +1,8 @@ fragment DepositEventFragment on events { deposit { term_id - curve_id - sender_assets_after_total_fees - shares_for_receiver + curve_id + shares receiver { id } diff --git a/packages/intuition-graphql/src/fragments/redemption.graphql b/packages/intuition-graphql/src/fragments/redemption.graphql index fa8d9758c..555cc8d6b 100644 --- a/packages/intuition-graphql/src/fragments/redemption.graphql +++ b/packages/intuition-graphql/src/fragments/redemption.graphql @@ -3,7 +3,6 @@ fragment RedemptionEventFragment on events { term_id curve_id receiver_id - shares_redeemed_by_sender - assets_for_receiver - } + shares + } } diff --git a/packages/intuition-graphql/src/generated/index.ts b/packages/intuition-graphql/src/generated/index.ts index 1ba30d40c..3c67e7ebb 100644 --- a/packages/intuition-graphql/src/generated/index.ts +++ b/packages/intuition-graphql/src/generated/index.ts @@ -1,521 +1,492 @@ -import { - InfiniteData, - useInfiniteQuery, - UseInfiniteQueryOptions, - useMutation, - UseMutationOptions, - useQuery, - UseQueryOptions, -} from '@tanstack/react-query' -import { DocumentNode } from 'graphql' - -import { fetcher } from '../client' - -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< - T extends { [key: string]: unknown }, - K extends keyof T, -> = { [_ in K]?: never } -export type Incremental = - | T - | { - [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never - } +import { useMutation, useQuery, useInfiniteQuery, UseMutationOptions, UseQueryOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query'; +import { fetcher } from '../client'; +import { DocumentNode } from 'graphql'; +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 } - _text: { input: any; output: any } - account_type: { input: any; output: any } - atom_type: { input: any; output: any } - bigint: { input: any; output: any } - bytea: { input: any; output: any } - event_type: { input: any; output: any } - float8: { input: any; output: any } - jsonb: { input: any; output: any } - numeric: { input: any; output: any } - term_type: { input: any; output: any } - timestamptz: { input: any; output: any } -} + 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; } + _text: { input: any; output: any; } + account_type: { input: any; output: any; } + atom_resolving_status: { input: any; output: any; } + atom_type: { input: any; output: any; } + bigint: { input: any; output: any; } + bytea: { input: any; output: any; } + event_type: { input: any; output: any; } + float8: { input: any; output: any; } + jsonb: { input: any; output: any; } + numeric: { input: any; output: any; } + term_type: { input: any; output: any; } + timestamptz: { input: any; output: any; } + vault_type: { input: any; output: any; } +}; /** Boolean expression to compare columns of type "Boolean". All fields are combined with logical 'AND'. */ export type Boolean_Comparison_Exp = { - _eq?: InputMaybe - _gt?: InputMaybe - _gte?: InputMaybe - _in?: InputMaybe> - _is_null?: InputMaybe - _lt?: InputMaybe - _lte?: InputMaybe - _neq?: InputMaybe - _nin?: InputMaybe> -} + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; /** Boolean expression to compare columns of type "Int". All fields are combined with logical 'AND'. */ export type Int_Comparison_Exp = { - _eq?: InputMaybe - _gt?: InputMaybe - _gte?: InputMaybe - _in?: InputMaybe> - _is_null?: InputMaybe - _lt?: InputMaybe - _lte?: InputMaybe - _neq?: InputMaybe - _nin?: InputMaybe> -} + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; export type PinOrganizationInput = { - description?: InputMaybe - email?: InputMaybe - image?: InputMaybe - name?: InputMaybe - url?: InputMaybe -} + description?: InputMaybe; + email?: InputMaybe; + image?: InputMaybe; + name?: InputMaybe; + url?: InputMaybe; +}; export type PinOutput = { - __typename?: 'PinOutput' - uri?: Maybe -} + __typename?: 'PinOutput'; + uri?: Maybe; +}; export type PinPersonInput = { - description?: InputMaybe - email?: InputMaybe - identifier?: InputMaybe - image?: InputMaybe - name?: InputMaybe - url?: InputMaybe -} + description?: InputMaybe; + email?: InputMaybe; + identifier?: InputMaybe; + image?: InputMaybe; + name?: InputMaybe; + url?: InputMaybe; +}; export type PinThingInput = { - description?: InputMaybe - image?: InputMaybe - name?: InputMaybe - url?: InputMaybe -} + description?: InputMaybe; + image?: InputMaybe; + name?: InputMaybe; + url?: InputMaybe; +}; /** Boolean expression to compare columns of type "String". All fields are combined with logical 'AND'. */ export type String_Comparison_Exp = { - _eq?: InputMaybe - _gt?: InputMaybe - _gte?: InputMaybe + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; /** does the column match the given case-insensitive pattern */ - _ilike?: InputMaybe - _in?: InputMaybe> + _ilike?: InputMaybe; + _in?: InputMaybe>; /** does the column match the given POSIX regular expression, case insensitive */ - _iregex?: InputMaybe - _is_null?: InputMaybe + _iregex?: InputMaybe; + _is_null?: InputMaybe; /** does the column match the given pattern */ - _like?: InputMaybe - _lt?: InputMaybe - _lte?: InputMaybe - _neq?: InputMaybe + _like?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; /** does the column NOT match the given case-insensitive pattern */ - _nilike?: InputMaybe - _nin?: InputMaybe> + _nilike?: InputMaybe; + _nin?: InputMaybe>; /** does the column NOT match the given POSIX regular expression, case insensitive */ - _niregex?: InputMaybe + _niregex?: InputMaybe; /** does the column NOT match the given pattern */ - _nlike?: InputMaybe + _nlike?: InputMaybe; /** does the column NOT match the given POSIX regular expression, case sensitive */ - _nregex?: InputMaybe + _nregex?: InputMaybe; /** does the column NOT match the given SQL regular expression */ - _nsimilar?: InputMaybe + _nsimilar?: InputMaybe; /** does the column match the given POSIX regular expression, case sensitive */ - _regex?: InputMaybe + _regex?: InputMaybe; /** does the column match the given SQL regular expression */ - _similar?: InputMaybe -} + _similar?: InputMaybe; +}; /** Boolean expression to compare columns of type "account_type". All fields are combined with logical 'AND'. */ export type Account_Type_Comparison_Exp = { - _eq?: InputMaybe - _gt?: InputMaybe - _gte?: InputMaybe - _in?: InputMaybe> - _is_null?: InputMaybe - _lt?: InputMaybe - _lte?: InputMaybe - _neq?: InputMaybe - _nin?: InputMaybe> -} + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; /** columns and relationships of "account" */ export type Accounts = { - __typename?: 'accounts' + __typename?: 'accounts'; /** An object relationship */ - atom?: Maybe - atom_id?: Maybe + atom?: Maybe; + atom_id?: Maybe; /** An array relationship */ - atoms: Array + atoms: Array; /** An aggregate relationship */ - atoms_aggregate: Atoms_Aggregate - cached_image?: Maybe + atoms_aggregate: Atoms_Aggregate; + cached_image?: Maybe; /** An array relationship */ - deposits_received: Array + deposits_received: Array; /** An aggregate relationship */ - deposits_received_aggregate: Deposits_Aggregate + deposits_received_aggregate: Deposits_Aggregate; /** An array relationship */ - deposits_sent: Array + deposits_sent: Array; /** An aggregate relationship */ - deposits_sent_aggregate: Deposits_Aggregate + deposits_sent_aggregate: Deposits_Aggregate; /** An array relationship */ - fee_transfers: Array + fee_transfers: Array; /** An aggregate relationship */ - fee_transfers_aggregate: Fee_Transfers_Aggregate - id: Scalars['String']['output'] - image?: Maybe - label: Scalars['String']['output'] + fee_transfers_aggregate: Fee_Transfers_Aggregate; + id: Scalars['String']['output']; + image?: Maybe; + label: Scalars['String']['output']; /** An array relationship */ - positions: Array + positions: Array; /** An aggregate relationship */ - positions_aggregate: Positions_Aggregate + positions_aggregate: Positions_Aggregate; /** An array relationship */ - redemptions_received: Array + redemptions_received: Array; /** An aggregate relationship */ - redemptions_received_aggregate: Redemptions_Aggregate + redemptions_received_aggregate: Redemptions_Aggregate; /** An array relationship */ - redemptions_sent: Array + redemptions_sent: Array; /** An aggregate relationship */ - redemptions_sent_aggregate: Redemptions_Aggregate + redemptions_sent_aggregate: Redemptions_Aggregate; /** An array relationship */ - signals: Array + signals: Array; /** An aggregate relationship */ - signals_aggregate: Signals_Aggregate + signals_aggregate: Signals_Aggregate; /** An array relationship */ - triples: Array + triples: Array; /** An aggregate relationship */ - triples_aggregate: Triples_Aggregate - type: Scalars['account_type']['output'] -} + triples_aggregate: Triples_Aggregate; + type: Scalars['account_type']['output']; +}; + /** columns and relationships of "account" */ export type AccountsAtomsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "account" */ export type AccountsAtoms_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "account" */ export type AccountsDeposits_ReceivedArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "account" */ export type AccountsDeposits_Received_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "account" */ export type AccountsDeposits_SentArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "account" */ export type AccountsDeposits_Sent_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "account" */ export type AccountsFee_TransfersArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "account" */ export type AccountsFee_Transfers_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "account" */ export type AccountsPositionsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "account" */ export type AccountsPositions_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "account" */ export type AccountsRedemptions_ReceivedArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "account" */ export type AccountsRedemptions_Received_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "account" */ export type AccountsRedemptions_SentArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "account" */ export type AccountsRedemptions_Sent_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "account" */ export type AccountsSignalsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "account" */ export type AccountsSignals_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "account" */ export type AccountsTriplesArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "account" */ export type AccountsTriples_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; /** aggregated selection of "account" */ export type Accounts_Aggregate = { - __typename?: 'accounts_aggregate' - aggregate?: Maybe - nodes: Array -} + __typename?: 'accounts_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; export type Accounts_Aggregate_Bool_Exp = { - count?: InputMaybe -} + count?: InputMaybe; +}; export type Accounts_Aggregate_Bool_Exp_Count = { - arguments?: InputMaybe> - distinct?: InputMaybe - filter?: InputMaybe - predicate: Int_Comparison_Exp -} + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Int_Comparison_Exp; +}; /** aggregate fields of "account" */ export type Accounts_Aggregate_Fields = { - __typename?: 'accounts_aggregate_fields' - avg?: Maybe - count: Scalars['Int']['output'] - max?: Maybe - min?: Maybe - stddev?: Maybe - stddev_pop?: Maybe - stddev_samp?: Maybe - sum?: Maybe - var_pop?: Maybe - var_samp?: Maybe - variance?: Maybe -} + __typename?: 'accounts_aggregate_fields'; + count: Scalars['Int']['output']; + max?: Maybe; + min?: Maybe; +}; + /** aggregate fields of "account" */ export type Accounts_Aggregate_FieldsCountArgs = { - columns?: InputMaybe> - distinct?: InputMaybe -} + columns?: InputMaybe>; + distinct?: InputMaybe; +}; /** order by aggregate values of table "account" */ export type Accounts_Aggregate_Order_By = { - avg?: InputMaybe - count?: InputMaybe - max?: InputMaybe - min?: InputMaybe - stddev?: InputMaybe - stddev_pop?: InputMaybe - stddev_samp?: InputMaybe - sum?: InputMaybe - var_pop?: InputMaybe - var_samp?: InputMaybe - variance?: InputMaybe -} - -/** aggregate avg on columns */ -export type Accounts_Avg_Fields = { - __typename?: 'accounts_avg_fields' - atom_id?: Maybe -} - -/** order by avg() on columns of table "account" */ -export type Accounts_Avg_Order_By = { - atom_id?: InputMaybe -} + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; +}; /** Boolean expression to filter rows from the table "account". All fields are combined with a logical 'AND'. */ export type Accounts_Bool_Exp = { - _and?: InputMaybe> - _not?: InputMaybe - _or?: InputMaybe> - atom?: InputMaybe - atom_id?: InputMaybe - atoms?: InputMaybe - atoms_aggregate?: InputMaybe - deposits_received?: InputMaybe - deposits_received_aggregate?: InputMaybe - deposits_sent?: InputMaybe - deposits_sent_aggregate?: InputMaybe - fee_transfers?: InputMaybe - fee_transfers_aggregate?: InputMaybe - id?: InputMaybe - image?: InputMaybe - label?: InputMaybe - positions?: InputMaybe - positions_aggregate?: InputMaybe - redemptions_received?: InputMaybe - redemptions_received_aggregate?: InputMaybe - redemptions_sent?: InputMaybe - redemptions_sent_aggregate?: InputMaybe - signals?: InputMaybe - signals_aggregate?: InputMaybe - triples?: InputMaybe - triples_aggregate?: InputMaybe - type?: InputMaybe -} + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + atom?: InputMaybe; + atom_id?: InputMaybe; + atoms?: InputMaybe; + atoms_aggregate?: InputMaybe; + deposits_received?: InputMaybe; + deposits_received_aggregate?: InputMaybe; + deposits_sent?: InputMaybe; + deposits_sent_aggregate?: InputMaybe; + fee_transfers?: InputMaybe; + fee_transfers_aggregate?: InputMaybe; + id?: InputMaybe; + image?: InputMaybe; + label?: InputMaybe; + positions?: InputMaybe; + positions_aggregate?: InputMaybe; + redemptions_received?: InputMaybe; + redemptions_received_aggregate?: InputMaybe; + redemptions_sent?: InputMaybe; + redemptions_sent_aggregate?: InputMaybe; + signals?: InputMaybe; + signals_aggregate?: InputMaybe; + triples?: InputMaybe; + triples_aggregate?: InputMaybe; + type?: InputMaybe; +}; /** aggregate max on columns */ export type Accounts_Max_Fields = { - __typename?: 'accounts_max_fields' - atom_id?: Maybe - id?: Maybe - image?: Maybe - label?: Maybe - type?: Maybe -} + __typename?: 'accounts_max_fields'; + atom_id?: Maybe; + id?: Maybe; + image?: Maybe; + label?: Maybe; + type?: Maybe; +}; /** order by max() on columns of table "account" */ export type Accounts_Max_Order_By = { - atom_id?: InputMaybe - id?: InputMaybe - image?: InputMaybe - label?: InputMaybe - type?: InputMaybe -} + atom_id?: InputMaybe; + id?: InputMaybe; + image?: InputMaybe; + label?: InputMaybe; + type?: InputMaybe; +}; /** aggregate min on columns */ export type Accounts_Min_Fields = { - __typename?: 'accounts_min_fields' - atom_id?: Maybe - id?: Maybe - image?: Maybe - label?: Maybe - type?: Maybe -} + __typename?: 'accounts_min_fields'; + atom_id?: Maybe; + id?: Maybe; + image?: Maybe; + label?: Maybe; + type?: Maybe; +}; /** order by min() on columns of table "account" */ export type Accounts_Min_Order_By = { - atom_id?: InputMaybe - id?: InputMaybe - image?: InputMaybe - label?: InputMaybe - type?: InputMaybe -} + atom_id?: InputMaybe; + id?: InputMaybe; + image?: InputMaybe; + label?: InputMaybe; + type?: InputMaybe; +}; /** Ordering options when selecting data from "account". */ export type Accounts_Order_By = { - atom?: InputMaybe - atom_id?: InputMaybe - atoms_aggregate?: InputMaybe - deposits_received_aggregate?: InputMaybe - deposits_sent_aggregate?: InputMaybe - fee_transfers_aggregate?: InputMaybe - id?: InputMaybe - image?: InputMaybe - label?: InputMaybe - positions_aggregate?: InputMaybe - redemptions_received_aggregate?: InputMaybe - redemptions_sent_aggregate?: InputMaybe - signals_aggregate?: InputMaybe - triples_aggregate?: InputMaybe - type?: InputMaybe -} + atom?: InputMaybe; + atom_id?: InputMaybe; + atoms_aggregate?: InputMaybe; + deposits_received_aggregate?: InputMaybe; + deposits_sent_aggregate?: InputMaybe; + fee_transfers_aggregate?: InputMaybe; + id?: InputMaybe; + image?: InputMaybe; + label?: InputMaybe; + positions_aggregate?: InputMaybe; + redemptions_received_aggregate?: InputMaybe; + redemptions_sent_aggregate?: InputMaybe; + signals_aggregate?: InputMaybe; + triples_aggregate?: InputMaybe; + type?: InputMaybe; +}; /** select columns of table "account" */ export type Accounts_Select_Column = @@ -528,267 +499,188 @@ export type Accounts_Select_Column = /** column name */ | 'label' /** column name */ - | 'type' - -/** aggregate stddev on columns */ -export type Accounts_Stddev_Fields = { - __typename?: 'accounts_stddev_fields' - atom_id?: Maybe -} - -/** order by stddev() on columns of table "account" */ -export type Accounts_Stddev_Order_By = { - atom_id?: InputMaybe -} - -/** aggregate stddev_pop on columns */ -export type Accounts_Stddev_Pop_Fields = { - __typename?: 'accounts_stddev_pop_fields' - atom_id?: Maybe -} - -/** order by stddev_pop() on columns of table "account" */ -export type Accounts_Stddev_Pop_Order_By = { - atom_id?: InputMaybe -} - -/** aggregate stddev_samp on columns */ -export type Accounts_Stddev_Samp_Fields = { - __typename?: 'accounts_stddev_samp_fields' - atom_id?: Maybe -} - -/** order by stddev_samp() on columns of table "account" */ -export type Accounts_Stddev_Samp_Order_By = { - atom_id?: InputMaybe -} + | 'type'; /** Streaming cursor of the table "accounts" */ export type Accounts_Stream_Cursor_Input = { /** Stream column input with initial value */ - initial_value: Accounts_Stream_Cursor_Value_Input + initial_value: Accounts_Stream_Cursor_Value_Input; /** cursor ordering */ - ordering?: InputMaybe -} + ordering?: InputMaybe; +}; /** Initial value of the column from where the streaming should start */ export type Accounts_Stream_Cursor_Value_Input = { - atom_id?: InputMaybe - id?: InputMaybe - image?: InputMaybe - label?: InputMaybe - type?: InputMaybe -} - -/** aggregate sum on columns */ -export type Accounts_Sum_Fields = { - __typename?: 'accounts_sum_fields' - atom_id?: Maybe -} - -/** order by sum() on columns of table "account" */ -export type Accounts_Sum_Order_By = { - atom_id?: InputMaybe -} - -/** aggregate var_pop on columns */ -export type Accounts_Var_Pop_Fields = { - __typename?: 'accounts_var_pop_fields' - atom_id?: Maybe -} - -/** order by var_pop() on columns of table "account" */ -export type Accounts_Var_Pop_Order_By = { - atom_id?: InputMaybe -} - -/** aggregate var_samp on columns */ -export type Accounts_Var_Samp_Fields = { - __typename?: 'accounts_var_samp_fields' - atom_id?: Maybe -} - -/** order by var_samp() on columns of table "account" */ -export type Accounts_Var_Samp_Order_By = { - atom_id?: InputMaybe -} - -/** aggregate variance on columns */ -export type Accounts_Variance_Fields = { - __typename?: 'accounts_variance_fields' - atom_id?: Maybe -} - -/** order by variance() on columns of table "account" */ -export type Accounts_Variance_Order_By = { - atom_id?: InputMaybe -} + atom_id?: InputMaybe; + id?: InputMaybe; + image?: InputMaybe; + label?: InputMaybe; + type?: InputMaybe; +}; + +/** Boolean expression to compare columns of type "atom_resolving_status". All fields are combined with logical 'AND'. */ +export type Atom_Resolving_Status_Comparison_Exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; /** Boolean expression to compare columns of type "atom_type". All fields are combined with logical 'AND'. */ export type Atom_Type_Comparison_Exp = { - _eq?: InputMaybe - _gt?: InputMaybe - _gte?: InputMaybe - _in?: InputMaybe> - _is_null?: InputMaybe - _lt?: InputMaybe - _lte?: InputMaybe - _neq?: InputMaybe - _nin?: InputMaybe> -} + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; /** columns and relationships of "atom_value" */ export type Atom_Values = { - __typename?: 'atom_values' + __typename?: 'atom_values'; /** An object relationship */ - account?: Maybe - account_id?: Maybe + account?: Maybe; + account_id?: Maybe; /** An object relationship */ - atom: Atoms + atom: Atoms; /** An object relationship */ - book?: Maybe - book_id?: Maybe + book?: Maybe; + book_id?: Maybe; /** An object relationship */ - byte_object?: Maybe - byte_object_id?: Maybe + byte_object?: Maybe; + byte_object_id?: Maybe; /** An object relationship */ - caip10?: Maybe - id: Scalars['numeric']['output'] + caip10?: Maybe; + caip10_id?: Maybe; + id: Scalars['String']['output']; /** An object relationship */ - json_object?: Maybe - json_object_id?: Maybe + json_object?: Maybe; + json_object_id?: Maybe; /** An object relationship */ - organization?: Maybe - organization_id?: Maybe + organization?: Maybe; + organization_id?: Maybe; /** An object relationship */ - person?: Maybe - person_id?: Maybe + person?: Maybe; + person_id?: Maybe; /** An object relationship */ - text_object?: Maybe - text_object_id?: Maybe + text_object?: Maybe; + text_object_id?: Maybe; /** An object relationship */ - thing?: Maybe - thing_id?: Maybe -} + thing?: Maybe; + thing_id?: Maybe; +}; /** aggregated selection of "atom_value" */ export type Atom_Values_Aggregate = { - __typename?: 'atom_values_aggregate' - aggregate?: Maybe - nodes: Array -} + __typename?: 'atom_values_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; /** aggregate fields of "atom_value" */ export type Atom_Values_Aggregate_Fields = { - __typename?: 'atom_values_aggregate_fields' - avg?: Maybe - count: Scalars['Int']['output'] - max?: Maybe - min?: Maybe - stddev?: Maybe - stddev_pop?: Maybe - stddev_samp?: Maybe - sum?: Maybe - var_pop?: Maybe - var_samp?: Maybe - variance?: Maybe -} + __typename?: 'atom_values_aggregate_fields'; + count: Scalars['Int']['output']; + max?: Maybe; + min?: Maybe; +}; + /** aggregate fields of "atom_value" */ export type Atom_Values_Aggregate_FieldsCountArgs = { - columns?: InputMaybe> - distinct?: InputMaybe -} - -/** aggregate avg on columns */ -export type Atom_Values_Avg_Fields = { - __typename?: 'atom_values_avg_fields' - book_id?: Maybe - byte_object_id?: Maybe - id?: Maybe - json_object_id?: Maybe - organization_id?: Maybe - person_id?: Maybe - text_object_id?: Maybe - thing_id?: Maybe -} + columns?: InputMaybe>; + distinct?: InputMaybe; +}; /** Boolean expression to filter rows from the table "atom_value". All fields are combined with a logical 'AND'. */ export type Atom_Values_Bool_Exp = { - _and?: InputMaybe> - _not?: InputMaybe - _or?: InputMaybe> - account?: InputMaybe - account_id?: InputMaybe - atom?: InputMaybe - book?: InputMaybe - book_id?: InputMaybe - byte_object?: InputMaybe - byte_object_id?: InputMaybe - caip10?: InputMaybe - id?: InputMaybe - json_object?: InputMaybe - json_object_id?: InputMaybe - organization?: InputMaybe - organization_id?: InputMaybe - person?: InputMaybe - person_id?: InputMaybe - text_object?: InputMaybe - text_object_id?: InputMaybe - thing?: InputMaybe - thing_id?: InputMaybe -} + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + account?: InputMaybe; + account_id?: InputMaybe; + atom?: InputMaybe; + book?: InputMaybe; + book_id?: InputMaybe; + byte_object?: InputMaybe; + byte_object_id?: InputMaybe; + caip10?: InputMaybe; + caip10_id?: InputMaybe; + id?: InputMaybe; + json_object?: InputMaybe; + json_object_id?: InputMaybe; + organization?: InputMaybe; + organization_id?: InputMaybe; + person?: InputMaybe; + person_id?: InputMaybe; + text_object?: InputMaybe; + text_object_id?: InputMaybe; + thing?: InputMaybe; + thing_id?: InputMaybe; +}; /** aggregate max on columns */ export type Atom_Values_Max_Fields = { - __typename?: 'atom_values_max_fields' - account_id?: Maybe - book_id?: Maybe - byte_object_id?: Maybe - id?: Maybe - json_object_id?: Maybe - organization_id?: Maybe - person_id?: Maybe - text_object_id?: Maybe - thing_id?: Maybe -} + __typename?: 'atom_values_max_fields'; + account_id?: Maybe; + book_id?: Maybe; + byte_object_id?: Maybe; + caip10_id?: Maybe; + id?: Maybe; + json_object_id?: Maybe; + organization_id?: Maybe; + person_id?: Maybe; + text_object_id?: Maybe; + thing_id?: Maybe; +}; /** aggregate min on columns */ export type Atom_Values_Min_Fields = { - __typename?: 'atom_values_min_fields' - account_id?: Maybe - book_id?: Maybe - byte_object_id?: Maybe - id?: Maybe - json_object_id?: Maybe - organization_id?: Maybe - person_id?: Maybe - text_object_id?: Maybe - thing_id?: Maybe -} + __typename?: 'atom_values_min_fields'; + account_id?: Maybe; + book_id?: Maybe; + byte_object_id?: Maybe; + caip10_id?: Maybe; + id?: Maybe; + json_object_id?: Maybe; + organization_id?: Maybe; + person_id?: Maybe; + text_object_id?: Maybe; + thing_id?: Maybe; +}; /** Ordering options when selecting data from "atom_value". */ export type Atom_Values_Order_By = { - account?: InputMaybe - account_id?: InputMaybe - atom?: InputMaybe - book?: InputMaybe - book_id?: InputMaybe - byte_object?: InputMaybe - byte_object_id?: InputMaybe - caip10?: InputMaybe - id?: InputMaybe - json_object?: InputMaybe - json_object_id?: InputMaybe - organization?: InputMaybe - organization_id?: InputMaybe - person?: InputMaybe - person_id?: InputMaybe - text_object?: InputMaybe - text_object_id?: InputMaybe - thing?: InputMaybe - thing_id?: InputMaybe -} + account?: InputMaybe; + account_id?: InputMaybe; + atom?: InputMaybe; + book?: InputMaybe; + book_id?: InputMaybe; + byte_object?: InputMaybe; + byte_object_id?: InputMaybe; + caip10?: InputMaybe; + caip10_id?: InputMaybe; + id?: InputMaybe; + json_object?: InputMaybe; + json_object_id?: InputMaybe; + organization?: InputMaybe; + organization_id?: InputMaybe; + person?: InputMaybe; + person_id?: InputMaybe; + text_object?: InputMaybe; + text_object_id?: InputMaybe; + thing?: InputMaybe; + thing_id?: InputMaybe; +}; /** select columns of table "atom_value" */ export type Atom_Values_Select_Column = @@ -799,6 +691,8 @@ export type Atom_Values_Select_Column = /** column name */ | 'byte_object_id' /** column name */ + | 'caip10_id' + /** column name */ | 'id' /** column name */ | 'json_object_id' @@ -809,531 +703,477 @@ export type Atom_Values_Select_Column = /** column name */ | 'text_object_id' /** column name */ - | 'thing_id' - -/** aggregate stddev on columns */ -export type Atom_Values_Stddev_Fields = { - __typename?: 'atom_values_stddev_fields' - book_id?: Maybe - byte_object_id?: Maybe - id?: Maybe - json_object_id?: Maybe - organization_id?: Maybe - person_id?: Maybe - text_object_id?: Maybe - thing_id?: Maybe -} - -/** aggregate stddev_pop on columns */ -export type Atom_Values_Stddev_Pop_Fields = { - __typename?: 'atom_values_stddev_pop_fields' - book_id?: Maybe - byte_object_id?: Maybe - id?: Maybe - json_object_id?: Maybe - organization_id?: Maybe - person_id?: Maybe - text_object_id?: Maybe - thing_id?: Maybe -} - -/** aggregate stddev_samp on columns */ -export type Atom_Values_Stddev_Samp_Fields = { - __typename?: 'atom_values_stddev_samp_fields' - book_id?: Maybe - byte_object_id?: Maybe - id?: Maybe - json_object_id?: Maybe - organization_id?: Maybe - person_id?: Maybe - text_object_id?: Maybe - thing_id?: Maybe -} + | 'thing_id'; /** Streaming cursor of the table "atom_values" */ export type Atom_Values_Stream_Cursor_Input = { /** Stream column input with initial value */ - initial_value: Atom_Values_Stream_Cursor_Value_Input + initial_value: Atom_Values_Stream_Cursor_Value_Input; /** cursor ordering */ - ordering?: InputMaybe -} + ordering?: InputMaybe; +}; /** Initial value of the column from where the streaming should start */ export type Atom_Values_Stream_Cursor_Value_Input = { - account_id?: InputMaybe - book_id?: InputMaybe - byte_object_id?: InputMaybe - id?: InputMaybe - json_object_id?: InputMaybe - organization_id?: InputMaybe - person_id?: InputMaybe - text_object_id?: InputMaybe - thing_id?: InputMaybe -} - -/** aggregate sum on columns */ -export type Atom_Values_Sum_Fields = { - __typename?: 'atom_values_sum_fields' - book_id?: Maybe - byte_object_id?: Maybe - id?: Maybe - json_object_id?: Maybe - organization_id?: Maybe - person_id?: Maybe - text_object_id?: Maybe - thing_id?: Maybe -} - -/** aggregate var_pop on columns */ -export type Atom_Values_Var_Pop_Fields = { - __typename?: 'atom_values_var_pop_fields' - book_id?: Maybe - byte_object_id?: Maybe - id?: Maybe - json_object_id?: Maybe - organization_id?: Maybe - person_id?: Maybe - text_object_id?: Maybe - thing_id?: Maybe -} - -/** aggregate var_samp on columns */ -export type Atom_Values_Var_Samp_Fields = { - __typename?: 'atom_values_var_samp_fields' - book_id?: Maybe - byte_object_id?: Maybe - id?: Maybe - json_object_id?: Maybe - organization_id?: Maybe - person_id?: Maybe - text_object_id?: Maybe - thing_id?: Maybe -} - -/** aggregate variance on columns */ -export type Atom_Values_Variance_Fields = { - __typename?: 'atom_values_variance_fields' - book_id?: Maybe - byte_object_id?: Maybe - id?: Maybe - json_object_id?: Maybe - organization_id?: Maybe - person_id?: Maybe - text_object_id?: Maybe - thing_id?: Maybe -} + account_id?: InputMaybe; + book_id?: InputMaybe; + byte_object_id?: InputMaybe; + caip10_id?: InputMaybe; + id?: InputMaybe; + json_object_id?: InputMaybe; + organization_id?: InputMaybe; + person_id?: InputMaybe; + text_object_id?: InputMaybe; + thing_id?: InputMaybe; +}; /** columns and relationships of "atom" */ export type Atoms = { - __typename?: 'atoms' + __typename?: 'atoms'; /** An array relationship */ - accounts: Array + accounts: Array; /** An aggregate relationship */ - accounts_aggregate: Accounts_Aggregate + accounts_aggregate: Accounts_Aggregate; /** An array relationship */ - as_object_predicate_objects: Array + as_object_predicate_objects: Array; /** An aggregate relationship */ - as_object_predicate_objects_aggregate: Predicate_Objects_Aggregate + as_object_predicate_objects_aggregate: Predicate_Objects_Aggregate; /** An array relationship */ - as_object_triples: Array + as_object_triples: Array; /** An aggregate relationship */ - as_object_triples_aggregate: Triples_Aggregate + as_object_triples_aggregate: Triples_Aggregate; /** An array relationship */ - as_predicate_predicate_objects: Array + as_predicate_predicate_objects: Array; /** An aggregate relationship */ - as_predicate_predicate_objects_aggregate: Predicate_Objects_Aggregate + as_predicate_predicate_objects_aggregate: Predicate_Objects_Aggregate; /** An array relationship */ - as_predicate_triples: Array + as_predicate_triples: Array; /** An aggregate relationship */ - as_predicate_triples_aggregate: Triples_Aggregate + as_predicate_triples_aggregate: Triples_Aggregate; /** An array relationship */ - as_subject_triples: Array + as_subject_triples: Array; /** An aggregate relationship */ - as_subject_triples_aggregate: Triples_Aggregate - block_number: Scalars['numeric']['output'] - cached_image?: Maybe + as_subject_triples_aggregate: Triples_Aggregate; + block_number: Scalars['numeric']['output']; + cached_image?: Maybe; /** An object relationship */ - controller?: Maybe - created_at: Scalars['timestamptz']['output'] + controller?: Maybe; + created_at: Scalars['timestamptz']['output']; /** An object relationship */ - creator: Accounts - creator_id: Scalars['String']['output'] - data?: Maybe - emoji?: Maybe - image?: Maybe - label?: Maybe + creator: Accounts; + creator_id: Scalars['String']['output']; + data?: Maybe; + emoji?: Maybe; + image?: Maybe; + label?: Maybe; + log_index: Scalars['bigint']['output']; /** An array relationship */ - positions: Array + positions: Array; /** An aggregate relationship */ - positions_aggregate: Positions_Aggregate + positions_aggregate: Positions_Aggregate; + raw_data: Scalars['String']['output']; + resolving_status: Scalars['atom_resolving_status']['output']; /** An array relationship */ - signals: Array + signals: Array; /** An aggregate relationship */ - signals_aggregate: Signals_Aggregate + signals_aggregate: Signals_Aggregate; /** An object relationship */ - term: Terms - term_id: Scalars['numeric']['output'] - transaction_hash: Scalars['String']['output'] - type: Scalars['atom_type']['output'] - updated_at: Scalars['timestamptz']['output'] + term: Terms; + term_id: Scalars['String']['output']; + transaction_hash: Scalars['String']['output']; + type: Scalars['atom_type']['output']; + updated_at: Scalars['timestamptz']['output']; /** An object relationship */ - value?: Maybe - value_id?: Maybe - wallet_id: Scalars['String']['output'] -} + value?: Maybe; + value_id?: Maybe; + wallet_id: Scalars['String']['output']; +}; + /** columns and relationships of "atom" */ export type AtomsAccountsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "atom" */ export type AtomsAccounts_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "atom" */ export type AtomsAs_Object_Predicate_ObjectsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "atom" */ export type AtomsAs_Object_Predicate_Objects_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "atom" */ export type AtomsAs_Object_TriplesArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "atom" */ export type AtomsAs_Object_Triples_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "atom" */ export type AtomsAs_Predicate_Predicate_ObjectsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "atom" */ export type AtomsAs_Predicate_Predicate_Objects_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "atom" */ export type AtomsAs_Predicate_TriplesArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "atom" */ export type AtomsAs_Predicate_Triples_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "atom" */ export type AtomsAs_Subject_TriplesArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "atom" */ export type AtomsAs_Subject_Triples_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "atom" */ export type AtomsPositionsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "atom" */ export type AtomsPositions_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "atom" */ export type AtomsSignalsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "atom" */ export type AtomsSignals_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; /** aggregated selection of "atom" */ export type Atoms_Aggregate = { - __typename?: 'atoms_aggregate' - aggregate?: Maybe - nodes: Array -} + __typename?: 'atoms_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; export type Atoms_Aggregate_Bool_Exp = { - count?: InputMaybe -} + count?: InputMaybe; +}; export type Atoms_Aggregate_Bool_Exp_Count = { - arguments?: InputMaybe> - distinct?: InputMaybe - filter?: InputMaybe - predicate: Int_Comparison_Exp -} + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Int_Comparison_Exp; +}; /** aggregate fields of "atom" */ export type Atoms_Aggregate_Fields = { - __typename?: 'atoms_aggregate_fields' - avg?: Maybe - count: Scalars['Int']['output'] - max?: Maybe - min?: Maybe - stddev?: Maybe - stddev_pop?: Maybe - stddev_samp?: Maybe - sum?: Maybe - var_pop?: Maybe - var_samp?: Maybe - variance?: Maybe -} + __typename?: 'atoms_aggregate_fields'; + avg?: Maybe; + count: Scalars['Int']['output']; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + /** aggregate fields of "atom" */ export type Atoms_Aggregate_FieldsCountArgs = { - columns?: InputMaybe> - distinct?: InputMaybe -} + columns?: InputMaybe>; + distinct?: InputMaybe; +}; /** order by aggregate values of table "atom" */ export type Atoms_Aggregate_Order_By = { - avg?: InputMaybe - count?: InputMaybe - max?: InputMaybe - min?: InputMaybe - stddev?: InputMaybe - stddev_pop?: InputMaybe - stddev_samp?: InputMaybe - sum?: InputMaybe - var_pop?: InputMaybe - var_samp?: InputMaybe - variance?: InputMaybe -} + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; /** aggregate avg on columns */ export type Atoms_Avg_Fields = { - __typename?: 'atoms_avg_fields' - block_number?: Maybe - term_id?: Maybe - value_id?: Maybe -} + __typename?: 'atoms_avg_fields'; + block_number?: Maybe; + log_index?: Maybe; +}; /** order by avg() on columns of table "atom" */ export type Atoms_Avg_Order_By = { - block_number?: InputMaybe - term_id?: InputMaybe - value_id?: InputMaybe -} + block_number?: InputMaybe; + log_index?: InputMaybe; +}; /** Boolean expression to filter rows from the table "atom". All fields are combined with a logical 'AND'. */ export type Atoms_Bool_Exp = { - _and?: InputMaybe> - _not?: InputMaybe - _or?: InputMaybe> - accounts?: InputMaybe - accounts_aggregate?: InputMaybe - as_object_predicate_objects?: InputMaybe - as_object_predicate_objects_aggregate?: InputMaybe - as_object_triples?: InputMaybe - as_object_triples_aggregate?: InputMaybe - as_predicate_predicate_objects?: InputMaybe - as_predicate_predicate_objects_aggregate?: InputMaybe - as_predicate_triples?: InputMaybe - as_predicate_triples_aggregate?: InputMaybe - as_subject_triples?: InputMaybe - as_subject_triples_aggregate?: InputMaybe - block_number?: InputMaybe - controller?: InputMaybe - created_at?: InputMaybe - creator?: InputMaybe - creator_id?: InputMaybe - data?: InputMaybe - emoji?: InputMaybe - image?: InputMaybe - label?: InputMaybe - positions?: InputMaybe - positions_aggregate?: InputMaybe - signals?: InputMaybe - signals_aggregate?: InputMaybe - term?: InputMaybe - term_id?: InputMaybe - transaction_hash?: InputMaybe - type?: InputMaybe - updated_at?: InputMaybe - value?: InputMaybe - value_id?: InputMaybe - wallet_id?: InputMaybe -} + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + accounts?: InputMaybe; + accounts_aggregate?: InputMaybe; + as_object_predicate_objects?: InputMaybe; + as_object_predicate_objects_aggregate?: InputMaybe; + as_object_triples?: InputMaybe; + as_object_triples_aggregate?: InputMaybe; + as_predicate_predicate_objects?: InputMaybe; + as_predicate_predicate_objects_aggregate?: InputMaybe; + as_predicate_triples?: InputMaybe; + as_predicate_triples_aggregate?: InputMaybe; + as_subject_triples?: InputMaybe; + as_subject_triples_aggregate?: InputMaybe; + block_number?: InputMaybe; + controller?: InputMaybe; + created_at?: InputMaybe; + creator?: InputMaybe; + creator_id?: InputMaybe; + data?: InputMaybe; + emoji?: InputMaybe; + image?: InputMaybe; + label?: InputMaybe; + log_index?: InputMaybe; + positions?: InputMaybe; + positions_aggregate?: InputMaybe; + raw_data?: InputMaybe; + resolving_status?: InputMaybe; + signals?: InputMaybe; + signals_aggregate?: InputMaybe; + term?: InputMaybe; + term_id?: InputMaybe; + transaction_hash?: InputMaybe; + type?: InputMaybe; + updated_at?: InputMaybe; + value?: InputMaybe; + value_id?: InputMaybe; + wallet_id?: InputMaybe; +}; /** aggregate max on columns */ export type Atoms_Max_Fields = { - __typename?: 'atoms_max_fields' - block_number?: Maybe - created_at?: Maybe - creator_id?: Maybe - data?: Maybe - emoji?: Maybe - image?: Maybe - label?: Maybe - term_id?: Maybe - transaction_hash?: Maybe - type?: Maybe - updated_at?: Maybe - value_id?: Maybe - wallet_id?: Maybe -} + __typename?: 'atoms_max_fields'; + block_number?: Maybe; + created_at?: Maybe; + creator_id?: Maybe; + data?: Maybe; + emoji?: Maybe; + image?: Maybe; + label?: Maybe; + log_index?: Maybe; + raw_data?: Maybe; + resolving_status?: Maybe; + term_id?: Maybe; + transaction_hash?: Maybe; + type?: Maybe; + updated_at?: Maybe; + value_id?: Maybe; + wallet_id?: Maybe; +}; /** order by max() on columns of table "atom" */ export type Atoms_Max_Order_By = { - block_number?: InputMaybe - created_at?: InputMaybe - creator_id?: InputMaybe - data?: InputMaybe - emoji?: InputMaybe - image?: InputMaybe - label?: InputMaybe - term_id?: InputMaybe - transaction_hash?: InputMaybe - type?: InputMaybe - updated_at?: InputMaybe - value_id?: InputMaybe - wallet_id?: InputMaybe -} + block_number?: InputMaybe; + created_at?: InputMaybe; + creator_id?: InputMaybe; + data?: InputMaybe; + emoji?: InputMaybe; + image?: InputMaybe; + label?: InputMaybe; + log_index?: InputMaybe; + raw_data?: InputMaybe; + resolving_status?: InputMaybe; + term_id?: InputMaybe; + transaction_hash?: InputMaybe; + type?: InputMaybe; + updated_at?: InputMaybe; + value_id?: InputMaybe; + wallet_id?: InputMaybe; +}; /** aggregate min on columns */ export type Atoms_Min_Fields = { - __typename?: 'atoms_min_fields' - block_number?: Maybe - created_at?: Maybe - creator_id?: Maybe - data?: Maybe - emoji?: Maybe - image?: Maybe - label?: Maybe - term_id?: Maybe - transaction_hash?: Maybe - type?: Maybe - updated_at?: Maybe - value_id?: Maybe - wallet_id?: Maybe -} + __typename?: 'atoms_min_fields'; + block_number?: Maybe; + created_at?: Maybe; + creator_id?: Maybe; + data?: Maybe; + emoji?: Maybe; + image?: Maybe; + label?: Maybe; + log_index?: Maybe; + raw_data?: Maybe; + resolving_status?: Maybe; + term_id?: Maybe; + transaction_hash?: Maybe; + type?: Maybe; + updated_at?: Maybe; + value_id?: Maybe; + wallet_id?: Maybe; +}; /** order by min() on columns of table "atom" */ export type Atoms_Min_Order_By = { - block_number?: InputMaybe - created_at?: InputMaybe - creator_id?: InputMaybe - data?: InputMaybe - emoji?: InputMaybe - image?: InputMaybe - label?: InputMaybe - term_id?: InputMaybe - transaction_hash?: InputMaybe - type?: InputMaybe - updated_at?: InputMaybe - value_id?: InputMaybe - wallet_id?: InputMaybe -} + block_number?: InputMaybe; + created_at?: InputMaybe; + creator_id?: InputMaybe; + data?: InputMaybe; + emoji?: InputMaybe; + image?: InputMaybe; + label?: InputMaybe; + log_index?: InputMaybe; + raw_data?: InputMaybe; + resolving_status?: InputMaybe; + term_id?: InputMaybe; + transaction_hash?: InputMaybe; + type?: InputMaybe; + updated_at?: InputMaybe; + value_id?: InputMaybe; + wallet_id?: InputMaybe; +}; /** Ordering options when selecting data from "atom". */ export type Atoms_Order_By = { - accounts_aggregate?: InputMaybe - as_object_predicate_objects_aggregate?: InputMaybe - as_object_triples_aggregate?: InputMaybe - as_predicate_predicate_objects_aggregate?: InputMaybe - as_predicate_triples_aggregate?: InputMaybe - as_subject_triples_aggregate?: InputMaybe - block_number?: InputMaybe - controller?: InputMaybe - created_at?: InputMaybe - creator?: InputMaybe - creator_id?: InputMaybe - data?: InputMaybe - emoji?: InputMaybe - image?: InputMaybe - label?: InputMaybe - positions_aggregate?: InputMaybe - signals_aggregate?: InputMaybe - term?: InputMaybe - term_id?: InputMaybe - transaction_hash?: InputMaybe - type?: InputMaybe - updated_at?: InputMaybe - value?: InputMaybe - value_id?: InputMaybe - wallet_id?: InputMaybe -} + accounts_aggregate?: InputMaybe; + as_object_predicate_objects_aggregate?: InputMaybe; + as_object_triples_aggregate?: InputMaybe; + as_predicate_predicate_objects_aggregate?: InputMaybe; + as_predicate_triples_aggregate?: InputMaybe; + as_subject_triples_aggregate?: InputMaybe; + block_number?: InputMaybe; + controller?: InputMaybe; + created_at?: InputMaybe; + creator?: InputMaybe; + creator_id?: InputMaybe; + data?: InputMaybe; + emoji?: InputMaybe; + image?: InputMaybe; + label?: InputMaybe; + log_index?: InputMaybe; + positions_aggregate?: InputMaybe; + raw_data?: InputMaybe; + resolving_status?: InputMaybe; + signals_aggregate?: InputMaybe; + term?: InputMaybe; + term_id?: InputMaybe; + transaction_hash?: InputMaybe; + type?: InputMaybe; + updated_at?: InputMaybe; + value?: InputMaybe; + value_id?: InputMaybe; + wallet_id?: InputMaybe; +}; /** select columns of table "atom" */ export type Atoms_Select_Column = @@ -1352,6 +1192,12 @@ export type Atoms_Select_Column = /** column name */ | 'label' /** column name */ + | 'log_index' + /** column name */ + | 'raw_data' + /** column name */ + | 'resolving_status' + /** column name */ | 'term_id' /** column name */ | 'transaction_hash' @@ -1362,240 +1208,216 @@ export type Atoms_Select_Column = /** column name */ | 'value_id' /** column name */ - | 'wallet_id' + | 'wallet_id'; /** aggregate stddev on columns */ export type Atoms_Stddev_Fields = { - __typename?: 'atoms_stddev_fields' - block_number?: Maybe - term_id?: Maybe - value_id?: Maybe -} + __typename?: 'atoms_stddev_fields'; + block_number?: Maybe; + log_index?: Maybe; +}; /** order by stddev() on columns of table "atom" */ export type Atoms_Stddev_Order_By = { - block_number?: InputMaybe - term_id?: InputMaybe - value_id?: InputMaybe -} + block_number?: InputMaybe; + log_index?: InputMaybe; +}; /** aggregate stddev_pop on columns */ export type Atoms_Stddev_Pop_Fields = { - __typename?: 'atoms_stddev_pop_fields' - block_number?: Maybe - term_id?: Maybe - value_id?: Maybe -} + __typename?: 'atoms_stddev_pop_fields'; + block_number?: Maybe; + log_index?: Maybe; +}; /** order by stddev_pop() on columns of table "atom" */ export type Atoms_Stddev_Pop_Order_By = { - block_number?: InputMaybe - term_id?: InputMaybe - value_id?: InputMaybe -} + block_number?: InputMaybe; + log_index?: InputMaybe; +}; /** aggregate stddev_samp on columns */ export type Atoms_Stddev_Samp_Fields = { - __typename?: 'atoms_stddev_samp_fields' - block_number?: Maybe - term_id?: Maybe - value_id?: Maybe -} + __typename?: 'atoms_stddev_samp_fields'; + block_number?: Maybe; + log_index?: Maybe; +}; /** order by stddev_samp() on columns of table "atom" */ export type Atoms_Stddev_Samp_Order_By = { - block_number?: InputMaybe - term_id?: InputMaybe - value_id?: InputMaybe -} + block_number?: InputMaybe; + log_index?: InputMaybe; +}; /** Streaming cursor of the table "atoms" */ export type Atoms_Stream_Cursor_Input = { /** Stream column input with initial value */ - initial_value: Atoms_Stream_Cursor_Value_Input + initial_value: Atoms_Stream_Cursor_Value_Input; /** cursor ordering */ - ordering?: InputMaybe -} + ordering?: InputMaybe; +}; /** Initial value of the column from where the streaming should start */ export type Atoms_Stream_Cursor_Value_Input = { - block_number?: InputMaybe - created_at?: InputMaybe - creator_id?: InputMaybe - data?: InputMaybe - emoji?: InputMaybe - image?: InputMaybe - label?: InputMaybe - term_id?: InputMaybe - transaction_hash?: InputMaybe - type?: InputMaybe - updated_at?: InputMaybe - value_id?: InputMaybe - wallet_id?: InputMaybe -} + block_number?: InputMaybe; + created_at?: InputMaybe; + creator_id?: InputMaybe; + data?: InputMaybe; + emoji?: InputMaybe; + image?: InputMaybe; + label?: InputMaybe; + log_index?: InputMaybe; + raw_data?: InputMaybe; + resolving_status?: InputMaybe; + term_id?: InputMaybe; + transaction_hash?: InputMaybe; + type?: InputMaybe; + updated_at?: InputMaybe; + value_id?: InputMaybe; + wallet_id?: InputMaybe; +}; /** aggregate sum on columns */ export type Atoms_Sum_Fields = { - __typename?: 'atoms_sum_fields' - block_number?: Maybe - term_id?: Maybe - value_id?: Maybe -} + __typename?: 'atoms_sum_fields'; + block_number?: Maybe; + log_index?: Maybe; +}; /** order by sum() on columns of table "atom" */ export type Atoms_Sum_Order_By = { - block_number?: InputMaybe - term_id?: InputMaybe - value_id?: InputMaybe -} + block_number?: InputMaybe; + log_index?: InputMaybe; +}; /** aggregate var_pop on columns */ export type Atoms_Var_Pop_Fields = { - __typename?: 'atoms_var_pop_fields' - block_number?: Maybe - term_id?: Maybe - value_id?: Maybe -} + __typename?: 'atoms_var_pop_fields'; + block_number?: Maybe; + log_index?: Maybe; +}; /** order by var_pop() on columns of table "atom" */ export type Atoms_Var_Pop_Order_By = { - block_number?: InputMaybe - term_id?: InputMaybe - value_id?: InputMaybe -} + block_number?: InputMaybe; + log_index?: InputMaybe; +}; /** aggregate var_samp on columns */ export type Atoms_Var_Samp_Fields = { - __typename?: 'atoms_var_samp_fields' - block_number?: Maybe - term_id?: Maybe - value_id?: Maybe -} + __typename?: 'atoms_var_samp_fields'; + block_number?: Maybe; + log_index?: Maybe; +}; /** order by var_samp() on columns of table "atom" */ export type Atoms_Var_Samp_Order_By = { - block_number?: InputMaybe - term_id?: InputMaybe - value_id?: InputMaybe -} + block_number?: InputMaybe; + log_index?: InputMaybe; +}; /** aggregate variance on columns */ export type Atoms_Variance_Fields = { - __typename?: 'atoms_variance_fields' - block_number?: Maybe - term_id?: Maybe - value_id?: Maybe -} + __typename?: 'atoms_variance_fields'; + block_number?: Maybe; + log_index?: Maybe; +}; /** order by variance() on columns of table "atom" */ export type Atoms_Variance_Order_By = { - block_number?: InputMaybe - term_id?: InputMaybe - value_id?: InputMaybe -} + block_number?: InputMaybe; + log_index?: InputMaybe; +}; /** Boolean expression to compare columns of type "bigint". All fields are combined with logical 'AND'. */ export type Bigint_Comparison_Exp = { - _eq?: InputMaybe - _gt?: InputMaybe - _gte?: InputMaybe - _in?: InputMaybe> - _is_null?: InputMaybe - _lt?: InputMaybe - _lte?: InputMaybe - _neq?: InputMaybe - _nin?: InputMaybe> -} + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; /** columns and relationships of "book" */ export type Books = { - __typename?: 'books' + __typename?: 'books'; /** An object relationship */ - atom?: Maybe - description?: Maybe - genre?: Maybe - id: Scalars['numeric']['output'] - name?: Maybe - url?: Maybe -} + atom?: Maybe; + description?: Maybe; + genre?: Maybe; + id: Scalars['String']['output']; + name?: Maybe; + url?: Maybe; +}; /** aggregated selection of "book" */ export type Books_Aggregate = { - __typename?: 'books_aggregate' - aggregate?: Maybe - nodes: Array -} + __typename?: 'books_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; /** aggregate fields of "book" */ export type Books_Aggregate_Fields = { - __typename?: 'books_aggregate_fields' - avg?: Maybe - count: Scalars['Int']['output'] - max?: Maybe - min?: Maybe - stddev?: Maybe - stddev_pop?: Maybe - stddev_samp?: Maybe - sum?: Maybe - var_pop?: Maybe - var_samp?: Maybe - variance?: Maybe -} + __typename?: 'books_aggregate_fields'; + count: Scalars['Int']['output']; + max?: Maybe; + min?: Maybe; +}; + /** aggregate fields of "book" */ export type Books_Aggregate_FieldsCountArgs = { - columns?: InputMaybe> - distinct?: InputMaybe -} - -/** aggregate avg on columns */ -export type Books_Avg_Fields = { - __typename?: 'books_avg_fields' - id?: Maybe -} + columns?: InputMaybe>; + distinct?: InputMaybe; +}; /** Boolean expression to filter rows from the table "book". All fields are combined with a logical 'AND'. */ export type Books_Bool_Exp = { - _and?: InputMaybe> - _not?: InputMaybe - _or?: InputMaybe> - atom?: InputMaybe - description?: InputMaybe - genre?: InputMaybe - id?: InputMaybe - name?: InputMaybe - url?: InputMaybe -} + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + atom?: InputMaybe; + description?: InputMaybe; + genre?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + url?: InputMaybe; +}; /** aggregate max on columns */ export type Books_Max_Fields = { - __typename?: 'books_max_fields' - description?: Maybe - genre?: Maybe - id?: Maybe - name?: Maybe - url?: Maybe -} + __typename?: 'books_max_fields'; + description?: Maybe; + genre?: Maybe; + id?: Maybe; + name?: Maybe; + url?: Maybe; +}; /** aggregate min on columns */ export type Books_Min_Fields = { - __typename?: 'books_min_fields' - description?: Maybe - genre?: Maybe - id?: Maybe - name?: Maybe - url?: Maybe -} + __typename?: 'books_min_fields'; + description?: Maybe; + genre?: Maybe; + id?: Maybe; + name?: Maybe; + url?: Maybe; +}; /** Ordering options when selecting data from "book". */ export type Books_Order_By = { - atom?: InputMaybe - description?: InputMaybe - genre?: InputMaybe - id?: InputMaybe - name?: InputMaybe - url?: InputMaybe -} + atom?: InputMaybe; + description?: InputMaybe; + genre?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + url?: InputMaybe; +}; /** select columns of table "book" */ export type Books_Select_Column = @@ -1608,254 +1430,158 @@ export type Books_Select_Column = /** column name */ | 'name' /** column name */ - | 'url' - -/** aggregate stddev on columns */ -export type Books_Stddev_Fields = { - __typename?: 'books_stddev_fields' - id?: Maybe -} - -/** aggregate stddev_pop on columns */ -export type Books_Stddev_Pop_Fields = { - __typename?: 'books_stddev_pop_fields' - id?: Maybe -} - -/** aggregate stddev_samp on columns */ -export type Books_Stddev_Samp_Fields = { - __typename?: 'books_stddev_samp_fields' - id?: Maybe -} + | 'url'; /** Streaming cursor of the table "books" */ export type Books_Stream_Cursor_Input = { /** Stream column input with initial value */ - initial_value: Books_Stream_Cursor_Value_Input + initial_value: Books_Stream_Cursor_Value_Input; /** cursor ordering */ - ordering?: InputMaybe -} + ordering?: InputMaybe; +}; /** Initial value of the column from where the streaming should start */ export type Books_Stream_Cursor_Value_Input = { - description?: InputMaybe - genre?: InputMaybe - id?: InputMaybe - name?: InputMaybe - url?: InputMaybe -} - -/** aggregate sum on columns */ -export type Books_Sum_Fields = { - __typename?: 'books_sum_fields' - id?: Maybe -} - -/** aggregate var_pop on columns */ -export type Books_Var_Pop_Fields = { - __typename?: 'books_var_pop_fields' - id?: Maybe -} - -/** aggregate var_samp on columns */ -export type Books_Var_Samp_Fields = { - __typename?: 'books_var_samp_fields' - id?: Maybe -} - -/** aggregate variance on columns */ -export type Books_Variance_Fields = { - __typename?: 'books_variance_fields' - id?: Maybe -} + description?: InputMaybe; + genre?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + url?: InputMaybe; +}; /** columns and relationships of "byte_object" */ export type Byte_Object = { - __typename?: 'byte_object' + __typename?: 'byte_object'; /** An object relationship */ - atom?: Maybe - data: Scalars['bytea']['output'] - id: Scalars['numeric']['output'] -} + atom?: Maybe; + data: Scalars['bytea']['output']; + id: Scalars['String']['output']; +}; /** aggregated selection of "byte_object" */ export type Byte_Object_Aggregate = { - __typename?: 'byte_object_aggregate' - aggregate?: Maybe - nodes: Array -} + __typename?: 'byte_object_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; /** aggregate fields of "byte_object" */ export type Byte_Object_Aggregate_Fields = { - __typename?: 'byte_object_aggregate_fields' - avg?: Maybe - count: Scalars['Int']['output'] - max?: Maybe - min?: Maybe - stddev?: Maybe - stddev_pop?: Maybe - stddev_samp?: Maybe - sum?: Maybe - var_pop?: Maybe - var_samp?: Maybe - variance?: Maybe -} + __typename?: 'byte_object_aggregate_fields'; + count: Scalars['Int']['output']; + max?: Maybe; + min?: Maybe; +}; + /** aggregate fields of "byte_object" */ export type Byte_Object_Aggregate_FieldsCountArgs = { - columns?: InputMaybe> - distinct?: InputMaybe -} - -/** aggregate avg on columns */ -export type Byte_Object_Avg_Fields = { - __typename?: 'byte_object_avg_fields' - id?: Maybe -} + columns?: InputMaybe>; + distinct?: InputMaybe; +}; /** Boolean expression to filter rows from the table "byte_object". All fields are combined with a logical 'AND'. */ export type Byte_Object_Bool_Exp = { - _and?: InputMaybe> - _not?: InputMaybe - _or?: InputMaybe> - atom?: InputMaybe - data?: InputMaybe - id?: InputMaybe -} + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + atom?: InputMaybe; + data?: InputMaybe; + id?: InputMaybe; +}; /** aggregate max on columns */ export type Byte_Object_Max_Fields = { - __typename?: 'byte_object_max_fields' - id?: Maybe -} + __typename?: 'byte_object_max_fields'; + id?: Maybe; +}; /** aggregate min on columns */ export type Byte_Object_Min_Fields = { - __typename?: 'byte_object_min_fields' - id?: Maybe -} + __typename?: 'byte_object_min_fields'; + id?: Maybe; +}; /** Ordering options when selecting data from "byte_object". */ export type Byte_Object_Order_By = { - atom?: InputMaybe - data?: InputMaybe - id?: InputMaybe -} + atom?: InputMaybe; + data?: InputMaybe; + id?: InputMaybe; +}; /** select columns of table "byte_object" */ export type Byte_Object_Select_Column = /** column name */ | 'data' /** column name */ - | 'id' - -/** aggregate stddev on columns */ -export type Byte_Object_Stddev_Fields = { - __typename?: 'byte_object_stddev_fields' - id?: Maybe -} - -/** aggregate stddev_pop on columns */ -export type Byte_Object_Stddev_Pop_Fields = { - __typename?: 'byte_object_stddev_pop_fields' - id?: Maybe -} - -/** aggregate stddev_samp on columns */ -export type Byte_Object_Stddev_Samp_Fields = { - __typename?: 'byte_object_stddev_samp_fields' - id?: Maybe -} + | 'id'; /** Streaming cursor of the table "byte_object" */ export type Byte_Object_Stream_Cursor_Input = { /** Stream column input with initial value */ - initial_value: Byte_Object_Stream_Cursor_Value_Input + initial_value: Byte_Object_Stream_Cursor_Value_Input; /** cursor ordering */ - ordering?: InputMaybe -} + ordering?: InputMaybe; +}; /** Initial value of the column from where the streaming should start */ export type Byte_Object_Stream_Cursor_Value_Input = { - data?: InputMaybe - id?: InputMaybe -} - -/** aggregate sum on columns */ -export type Byte_Object_Sum_Fields = { - __typename?: 'byte_object_sum_fields' - id?: Maybe -} - -/** aggregate var_pop on columns */ -export type Byte_Object_Var_Pop_Fields = { - __typename?: 'byte_object_var_pop_fields' - id?: Maybe -} - -/** aggregate var_samp on columns */ -export type Byte_Object_Var_Samp_Fields = { - __typename?: 'byte_object_var_samp_fields' - id?: Maybe -} - -/** aggregate variance on columns */ -export type Byte_Object_Variance_Fields = { - __typename?: 'byte_object_variance_fields' - id?: Maybe -} + data?: InputMaybe; + id?: InputMaybe; +}; /** Boolean expression to compare columns of type "bytea". All fields are combined with logical 'AND'. */ export type Bytea_Comparison_Exp = { - _eq?: InputMaybe - _gt?: InputMaybe - _gte?: InputMaybe - _in?: InputMaybe> - _is_null?: InputMaybe - _lt?: InputMaybe - _lte?: InputMaybe - _neq?: InputMaybe - _nin?: InputMaybe> -} + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; /** columns and relationships of "cached_images.cached_image" */ export type Cached_Images_Cached_Image = { - __typename?: 'cached_images_cached_image' - created_at: Scalars['timestamptz']['output'] - model?: Maybe - original_url: Scalars['String']['output'] - safe: Scalars['Boolean']['output'] - score?: Maybe - url: Scalars['String']['output'] -} + __typename?: 'cached_images_cached_image'; + created_at: Scalars['timestamptz']['output']; + model?: Maybe; + original_url: Scalars['String']['output']; + safe: Scalars['Boolean']['output']; + score?: Maybe; + url: Scalars['String']['output']; +}; + /** columns and relationships of "cached_images.cached_image" */ export type Cached_Images_Cached_ImageScoreArgs = { - path?: InputMaybe -} + path?: InputMaybe; +}; /** Boolean expression to filter rows from the table "cached_images.cached_image". All fields are combined with a logical 'AND'. */ export type Cached_Images_Cached_Image_Bool_Exp = { - _and?: InputMaybe> - _not?: InputMaybe - _or?: InputMaybe> - created_at?: InputMaybe - model?: InputMaybe - original_url?: InputMaybe - safe?: InputMaybe - score?: InputMaybe - url?: InputMaybe -} + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + created_at?: InputMaybe; + model?: InputMaybe; + original_url?: InputMaybe; + safe?: InputMaybe; + score?: InputMaybe; + url?: InputMaybe; +}; /** Ordering options when selecting data from "cached_images.cached_image". */ export type Cached_Images_Cached_Image_Order_By = { - created_at?: InputMaybe - model?: InputMaybe - original_url?: InputMaybe - safe?: InputMaybe - score?: InputMaybe - url?: InputMaybe -} + created_at?: InputMaybe; + model?: InputMaybe; + original_url?: InputMaybe; + safe?: InputMaybe; + score?: InputMaybe; + url?: InputMaybe; +}; /** select columns of table "cached_images.cached_image" */ export type Cached_Images_Cached_Image_Select_Column = @@ -1870,111 +1596,111 @@ export type Cached_Images_Cached_Image_Select_Column = /** column name */ | 'score' /** column name */ - | 'url' + | 'url'; /** Streaming cursor of the table "cached_images_cached_image" */ export type Cached_Images_Cached_Image_Stream_Cursor_Input = { /** Stream column input with initial value */ - initial_value: Cached_Images_Cached_Image_Stream_Cursor_Value_Input + initial_value: Cached_Images_Cached_Image_Stream_Cursor_Value_Input; /** cursor ordering */ - ordering?: InputMaybe -} + ordering?: InputMaybe; +}; /** Initial value of the column from where the streaming should start */ export type Cached_Images_Cached_Image_Stream_Cursor_Value_Input = { - created_at?: InputMaybe - model?: InputMaybe - original_url?: InputMaybe - safe?: InputMaybe - score?: InputMaybe - url?: InputMaybe -} + created_at?: InputMaybe; + model?: InputMaybe; + original_url?: InputMaybe; + safe?: InputMaybe; + score?: InputMaybe; + url?: InputMaybe; +}; /** columns and relationships of "caip10" */ export type Caip10 = { - __typename?: 'caip10' - account_address: Scalars['String']['output'] + __typename?: 'caip10'; + account_address: Scalars['String']['output']; /** An object relationship */ - atom?: Maybe - chain_id: Scalars['Int']['output'] - id: Scalars['numeric']['output'] - namespace: Scalars['String']['output'] -} + atom?: Maybe; + chain_id: Scalars['Int']['output']; + id: Scalars['String']['output']; + namespace: Scalars['String']['output']; +}; /** aggregated selection of "caip10" */ export type Caip10_Aggregate = { - __typename?: 'caip10_aggregate' - aggregate?: Maybe - nodes: Array -} + __typename?: 'caip10_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; /** aggregate fields of "caip10" */ export type Caip10_Aggregate_Fields = { - __typename?: 'caip10_aggregate_fields' - avg?: Maybe - count: Scalars['Int']['output'] - max?: Maybe - min?: Maybe - stddev?: Maybe - stddev_pop?: Maybe - stddev_samp?: Maybe - sum?: Maybe - var_pop?: Maybe - var_samp?: Maybe - variance?: Maybe -} + __typename?: 'caip10_aggregate_fields'; + avg?: Maybe; + count: Scalars['Int']['output']; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + /** aggregate fields of "caip10" */ export type Caip10_Aggregate_FieldsCountArgs = { - columns?: InputMaybe> - distinct?: InputMaybe -} + columns?: InputMaybe>; + distinct?: InputMaybe; +}; /** aggregate avg on columns */ export type Caip10_Avg_Fields = { - __typename?: 'caip10_avg_fields' - chain_id?: Maybe - id?: Maybe -} + __typename?: 'caip10_avg_fields'; + chain_id?: Maybe; +}; /** Boolean expression to filter rows from the table "caip10". All fields are combined with a logical 'AND'. */ export type Caip10_Bool_Exp = { - _and?: InputMaybe> - _not?: InputMaybe - _or?: InputMaybe> - account_address?: InputMaybe - atom?: InputMaybe - chain_id?: InputMaybe - id?: InputMaybe - namespace?: InputMaybe -} + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + account_address?: InputMaybe; + atom?: InputMaybe; + chain_id?: InputMaybe; + id?: InputMaybe; + namespace?: InputMaybe; +}; /** aggregate max on columns */ export type Caip10_Max_Fields = { - __typename?: 'caip10_max_fields' - account_address?: Maybe - chain_id?: Maybe - id?: Maybe - namespace?: Maybe -} + __typename?: 'caip10_max_fields'; + account_address?: Maybe; + chain_id?: Maybe; + id?: Maybe; + namespace?: Maybe; +}; /** aggregate min on columns */ export type Caip10_Min_Fields = { - __typename?: 'caip10_min_fields' - account_address?: Maybe - chain_id?: Maybe - id?: Maybe - namespace?: Maybe -} + __typename?: 'caip10_min_fields'; + account_address?: Maybe; + chain_id?: Maybe; + id?: Maybe; + namespace?: Maybe; +}; /** Ordering options when selecting data from "caip10". */ export type Caip10_Order_By = { - account_address?: InputMaybe - atom?: InputMaybe - chain_id?: InputMaybe - id?: InputMaybe - namespace?: InputMaybe -} + account_address?: InputMaybe; + atom?: InputMaybe; + chain_id?: InputMaybe; + id?: InputMaybe; + namespace?: InputMaybe; +}; /** select columns of table "caip10" */ export type Caip10_Select_Column = @@ -1985,359 +1711,338 @@ export type Caip10_Select_Column = /** column name */ | 'id' /** column name */ - | 'namespace' + | 'namespace'; /** aggregate stddev on columns */ export type Caip10_Stddev_Fields = { - __typename?: 'caip10_stddev_fields' - chain_id?: Maybe - id?: Maybe -} + __typename?: 'caip10_stddev_fields'; + chain_id?: Maybe; +}; /** aggregate stddev_pop on columns */ export type Caip10_Stddev_Pop_Fields = { - __typename?: 'caip10_stddev_pop_fields' - chain_id?: Maybe - id?: Maybe -} + __typename?: 'caip10_stddev_pop_fields'; + chain_id?: Maybe; +}; /** aggregate stddev_samp on columns */ export type Caip10_Stddev_Samp_Fields = { - __typename?: 'caip10_stddev_samp_fields' - chain_id?: Maybe - id?: Maybe -} + __typename?: 'caip10_stddev_samp_fields'; + chain_id?: Maybe; +}; /** Streaming cursor of the table "caip10" */ export type Caip10_Stream_Cursor_Input = { /** Stream column input with initial value */ - initial_value: Caip10_Stream_Cursor_Value_Input + initial_value: Caip10_Stream_Cursor_Value_Input; /** cursor ordering */ - ordering?: InputMaybe -} + ordering?: InputMaybe; +}; /** Initial value of the column from where the streaming should start */ export type Caip10_Stream_Cursor_Value_Input = { - account_address?: InputMaybe - chain_id?: InputMaybe - id?: InputMaybe - namespace?: InputMaybe -} + account_address?: InputMaybe; + chain_id?: InputMaybe; + id?: InputMaybe; + namespace?: InputMaybe; +}; /** aggregate sum on columns */ export type Caip10_Sum_Fields = { - __typename?: 'caip10_sum_fields' - chain_id?: Maybe - id?: Maybe -} + __typename?: 'caip10_sum_fields'; + chain_id?: Maybe; +}; /** aggregate var_pop on columns */ export type Caip10_Var_Pop_Fields = { - __typename?: 'caip10_var_pop_fields' - chain_id?: Maybe - id?: Maybe -} + __typename?: 'caip10_var_pop_fields'; + chain_id?: Maybe; +}; /** aggregate var_samp on columns */ export type Caip10_Var_Samp_Fields = { - __typename?: 'caip10_var_samp_fields' - chain_id?: Maybe - id?: Maybe -} + __typename?: 'caip10_var_samp_fields'; + chain_id?: Maybe; +}; /** aggregate variance on columns */ export type Caip10_Variance_Fields = { - __typename?: 'caip10_variance_fields' - chain_id?: Maybe - id?: Maybe -} + __typename?: 'caip10_variance_fields'; + chain_id?: Maybe; +}; /** columns and relationships of "chainlink_price" */ export type Chainlink_Prices = { - __typename?: 'chainlink_prices' - id: Scalars['numeric']['output'] - usd?: Maybe -} + __typename?: 'chainlink_prices'; + id: Scalars['numeric']['output']; + usd?: Maybe; +}; /** Boolean expression to filter rows from the table "chainlink_price". All fields are combined with a logical 'AND'. */ export type Chainlink_Prices_Bool_Exp = { - _and?: InputMaybe> - _not?: InputMaybe - _or?: InputMaybe> - id?: InputMaybe - usd?: InputMaybe -} + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + id?: InputMaybe; + usd?: InputMaybe; +}; /** Ordering options when selecting data from "chainlink_price". */ export type Chainlink_Prices_Order_By = { - id?: InputMaybe - usd?: InputMaybe -} + id?: InputMaybe; + usd?: InputMaybe; +}; /** select columns of table "chainlink_price" */ export type Chainlink_Prices_Select_Column = /** column name */ | 'id' /** column name */ - | 'usd' + | 'usd'; /** Streaming cursor of the table "chainlink_prices" */ export type Chainlink_Prices_Stream_Cursor_Input = { /** Stream column input with initial value */ - initial_value: Chainlink_Prices_Stream_Cursor_Value_Input + initial_value: Chainlink_Prices_Stream_Cursor_Value_Input; /** cursor ordering */ - ordering?: InputMaybe -} + ordering?: InputMaybe; +}; /** Initial value of the column from where the streaming should start */ export type Chainlink_Prices_Stream_Cursor_Value_Input = { - id?: InputMaybe - usd?: InputMaybe -} + id?: InputMaybe; + usd?: InputMaybe; +}; /** ordering argument of a cursor */ export type Cursor_Ordering = /** ascending ordering of the cursor */ | 'ASC' /** descending ordering of the cursor */ - | 'DESC' + | 'DESC'; /** columns and relationships of "deposit" */ export type Deposits = { - __typename?: 'deposits' - block_number: Scalars['numeric']['output'] - created_at: Scalars['timestamptz']['output'] - curve_id: Scalars['numeric']['output'] - entry_fee: Scalars['numeric']['output'] - id: Scalars['String']['output'] - is_atom_wallet: Scalars['Boolean']['output'] - is_triple: Scalars['Boolean']['output'] + __typename?: 'deposits'; + assets_after_fees: Scalars['numeric']['output']; + block_number: Scalars['numeric']['output']; + created_at: Scalars['timestamptz']['output']; + curve_id: Scalars['numeric']['output']; + id: Scalars['String']['output']; + log_index: Scalars['bigint']['output']; /** An object relationship */ - receiver: Accounts - receiver_id: Scalars['String']['output'] - receiver_total_shares_in_vault: Scalars['numeric']['output'] + receiver: Accounts; + receiver_id: Scalars['String']['output']; /** An object relationship */ - sender?: Maybe - sender_assets_after_total_fees: Scalars['numeric']['output'] - sender_id: Scalars['String']['output'] - shares_for_receiver: Scalars['numeric']['output'] + sender?: Maybe; + sender_id: Scalars['String']['output']; + shares: Scalars['numeric']['output']; /** An object relationship */ - term: Terms - term_id: Scalars['numeric']['output'] - transaction_hash: Scalars['String']['output'] + term: Terms; + term_id: Scalars['String']['output']; + total_shares: Scalars['numeric']['output']; + transaction_hash: Scalars['String']['output']; /** An object relationship */ - vault?: Maybe -} + vault?: Maybe; + vault_type: Scalars['vault_type']['output']; +}; /** aggregated selection of "deposit" */ export type Deposits_Aggregate = { - __typename?: 'deposits_aggregate' - aggregate?: Maybe - nodes: Array -} + __typename?: 'deposits_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; export type Deposits_Aggregate_Bool_Exp = { - bool_and?: InputMaybe - bool_or?: InputMaybe - count?: InputMaybe -} - -export type Deposits_Aggregate_Bool_Exp_Bool_And = { - arguments: Deposits_Select_Column_Deposits_Aggregate_Bool_Exp_Bool_And_Arguments_Columns - distinct?: InputMaybe - filter?: InputMaybe - predicate: Boolean_Comparison_Exp -} - -export type Deposits_Aggregate_Bool_Exp_Bool_Or = { - arguments: Deposits_Select_Column_Deposits_Aggregate_Bool_Exp_Bool_Or_Arguments_Columns - distinct?: InputMaybe - filter?: InputMaybe - predicate: Boolean_Comparison_Exp -} + count?: InputMaybe; +}; export type Deposits_Aggregate_Bool_Exp_Count = { - arguments?: InputMaybe> - distinct?: InputMaybe - filter?: InputMaybe - predicate: Int_Comparison_Exp -} + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Int_Comparison_Exp; +}; /** aggregate fields of "deposit" */ export type Deposits_Aggregate_Fields = { - __typename?: 'deposits_aggregate_fields' - avg?: Maybe - count: Scalars['Int']['output'] - max?: Maybe - min?: Maybe - stddev?: Maybe - stddev_pop?: Maybe - stddev_samp?: Maybe - sum?: Maybe - var_pop?: Maybe - var_samp?: Maybe - variance?: Maybe -} + __typename?: 'deposits_aggregate_fields'; + avg?: Maybe; + count: Scalars['Int']['output']; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + /** aggregate fields of "deposit" */ export type Deposits_Aggregate_FieldsCountArgs = { - columns?: InputMaybe> - distinct?: InputMaybe -} + columns?: InputMaybe>; + distinct?: InputMaybe; +}; /** order by aggregate values of table "deposit" */ export type Deposits_Aggregate_Order_By = { - avg?: InputMaybe - count?: InputMaybe - max?: InputMaybe - min?: InputMaybe - stddev?: InputMaybe - stddev_pop?: InputMaybe - stddev_samp?: InputMaybe - sum?: InputMaybe - var_pop?: InputMaybe - var_samp?: InputMaybe - variance?: InputMaybe -} + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; /** aggregate avg on columns */ export type Deposits_Avg_Fields = { - __typename?: 'deposits_avg_fields' - block_number?: Maybe - curve_id?: Maybe - entry_fee?: Maybe - receiver_total_shares_in_vault?: Maybe - sender_assets_after_total_fees?: Maybe - shares_for_receiver?: Maybe - term_id?: Maybe -} + __typename?: 'deposits_avg_fields'; + assets_after_fees?: Maybe; + block_number?: Maybe; + curve_id?: Maybe; + log_index?: Maybe; + shares?: Maybe; + total_shares?: Maybe; +}; /** order by avg() on columns of table "deposit" */ export type Deposits_Avg_Order_By = { - block_number?: InputMaybe - curve_id?: InputMaybe - entry_fee?: InputMaybe - receiver_total_shares_in_vault?: InputMaybe - sender_assets_after_total_fees?: InputMaybe - shares_for_receiver?: InputMaybe - term_id?: InputMaybe -} + assets_after_fees?: InputMaybe; + block_number?: InputMaybe; + curve_id?: InputMaybe; + log_index?: InputMaybe; + shares?: InputMaybe; + total_shares?: InputMaybe; +}; /** Boolean expression to filter rows from the table "deposit". All fields are combined with a logical 'AND'. */ export type Deposits_Bool_Exp = { - _and?: InputMaybe> - _not?: InputMaybe - _or?: InputMaybe> - block_number?: InputMaybe - created_at?: InputMaybe - curve_id?: InputMaybe - entry_fee?: InputMaybe - id?: InputMaybe - is_atom_wallet?: InputMaybe - is_triple?: InputMaybe - receiver?: InputMaybe - receiver_id?: InputMaybe - receiver_total_shares_in_vault?: InputMaybe - sender?: InputMaybe - sender_assets_after_total_fees?: InputMaybe - sender_id?: InputMaybe - shares_for_receiver?: InputMaybe - term?: InputMaybe - term_id?: InputMaybe - transaction_hash?: InputMaybe - vault?: InputMaybe -} + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + assets_after_fees?: InputMaybe; + block_number?: InputMaybe; + created_at?: InputMaybe; + curve_id?: InputMaybe; + id?: InputMaybe; + log_index?: InputMaybe; + receiver?: InputMaybe; + receiver_id?: InputMaybe; + sender?: InputMaybe; + sender_id?: InputMaybe; + shares?: InputMaybe; + term?: InputMaybe; + term_id?: InputMaybe; + total_shares?: InputMaybe; + transaction_hash?: InputMaybe; + vault?: InputMaybe; + vault_type?: InputMaybe; +}; /** aggregate max on columns */ export type Deposits_Max_Fields = { - __typename?: 'deposits_max_fields' - block_number?: Maybe - created_at?: Maybe - curve_id?: Maybe - entry_fee?: Maybe - id?: Maybe - receiver_id?: Maybe - receiver_total_shares_in_vault?: Maybe - sender_assets_after_total_fees?: Maybe - sender_id?: Maybe - shares_for_receiver?: Maybe - term_id?: Maybe - transaction_hash?: Maybe -} + __typename?: 'deposits_max_fields'; + assets_after_fees?: Maybe; + block_number?: Maybe; + created_at?: Maybe; + curve_id?: Maybe; + id?: Maybe; + log_index?: Maybe; + receiver_id?: Maybe; + sender_id?: Maybe; + shares?: Maybe; + term_id?: Maybe; + total_shares?: Maybe; + transaction_hash?: Maybe; + vault_type?: Maybe; +}; /** order by max() on columns of table "deposit" */ export type Deposits_Max_Order_By = { - block_number?: InputMaybe - created_at?: InputMaybe - curve_id?: InputMaybe - entry_fee?: InputMaybe - id?: InputMaybe - receiver_id?: InputMaybe - receiver_total_shares_in_vault?: InputMaybe - sender_assets_after_total_fees?: InputMaybe - sender_id?: InputMaybe - shares_for_receiver?: InputMaybe - term_id?: InputMaybe - transaction_hash?: InputMaybe -} + assets_after_fees?: InputMaybe; + block_number?: InputMaybe; + created_at?: InputMaybe; + curve_id?: InputMaybe; + id?: InputMaybe; + log_index?: InputMaybe; + receiver_id?: InputMaybe; + sender_id?: InputMaybe; + shares?: InputMaybe; + term_id?: InputMaybe; + total_shares?: InputMaybe; + transaction_hash?: InputMaybe; + vault_type?: InputMaybe; +}; /** aggregate min on columns */ export type Deposits_Min_Fields = { - __typename?: 'deposits_min_fields' - block_number?: Maybe - created_at?: Maybe - curve_id?: Maybe - entry_fee?: Maybe - id?: Maybe - receiver_id?: Maybe - receiver_total_shares_in_vault?: Maybe - sender_assets_after_total_fees?: Maybe - sender_id?: Maybe - shares_for_receiver?: Maybe - term_id?: Maybe - transaction_hash?: Maybe -} + __typename?: 'deposits_min_fields'; + assets_after_fees?: Maybe; + block_number?: Maybe; + created_at?: Maybe; + curve_id?: Maybe; + id?: Maybe; + log_index?: Maybe; + receiver_id?: Maybe; + sender_id?: Maybe; + shares?: Maybe; + term_id?: Maybe; + total_shares?: Maybe; + transaction_hash?: Maybe; + vault_type?: Maybe; +}; /** order by min() on columns of table "deposit" */ export type Deposits_Min_Order_By = { - block_number?: InputMaybe - created_at?: InputMaybe - curve_id?: InputMaybe - entry_fee?: InputMaybe - id?: InputMaybe - receiver_id?: InputMaybe - receiver_total_shares_in_vault?: InputMaybe - sender_assets_after_total_fees?: InputMaybe - sender_id?: InputMaybe - shares_for_receiver?: InputMaybe - term_id?: InputMaybe - transaction_hash?: InputMaybe -} + assets_after_fees?: InputMaybe; + block_number?: InputMaybe; + created_at?: InputMaybe; + curve_id?: InputMaybe; + id?: InputMaybe; + log_index?: InputMaybe; + receiver_id?: InputMaybe; + sender_id?: InputMaybe; + shares?: InputMaybe; + term_id?: InputMaybe; + total_shares?: InputMaybe; + transaction_hash?: InputMaybe; + vault_type?: InputMaybe; +}; /** Ordering options when selecting data from "deposit". */ export type Deposits_Order_By = { - block_number?: InputMaybe - created_at?: InputMaybe - curve_id?: InputMaybe - entry_fee?: InputMaybe - id?: InputMaybe - is_atom_wallet?: InputMaybe - is_triple?: InputMaybe - receiver?: InputMaybe - receiver_id?: InputMaybe - receiver_total_shares_in_vault?: InputMaybe - sender?: InputMaybe - sender_assets_after_total_fees?: InputMaybe - sender_id?: InputMaybe - shares_for_receiver?: InputMaybe - term?: InputMaybe - term_id?: InputMaybe - transaction_hash?: InputMaybe - vault?: InputMaybe -} + assets_after_fees?: InputMaybe; + block_number?: InputMaybe; + created_at?: InputMaybe; + curve_id?: InputMaybe; + id?: InputMaybe; + log_index?: InputMaybe; + receiver?: InputMaybe; + receiver_id?: InputMaybe; + sender?: InputMaybe; + sender_id?: InputMaybe; + shares?: InputMaybe; + term?: InputMaybe; + term_id?: InputMaybe; + total_shares?: InputMaybe; + transaction_hash?: InputMaybe; + vault?: InputMaybe; + vault_type?: InputMaybe; +}; /** select columns of table "deposit" */ export type Deposits_Select_Column = + /** column name */ + | 'assets_after_fees' /** column name */ | 'block_number' /** column name */ @@ -2345,374 +2050,340 @@ export type Deposits_Select_Column = /** column name */ | 'curve_id' /** column name */ - | 'entry_fee' - /** column name */ | 'id' /** column name */ - | 'is_atom_wallet' - /** column name */ - | 'is_triple' + | 'log_index' /** column name */ | 'receiver_id' /** column name */ - | 'receiver_total_shares_in_vault' - /** column name */ - | 'sender_assets_after_total_fees' - /** column name */ | 'sender_id' /** column name */ - | 'shares_for_receiver' + | 'shares' /** column name */ | 'term_id' /** column name */ - | 'transaction_hash' - -/** select "deposits_aggregate_bool_exp_bool_and_arguments_columns" columns of table "deposit" */ -export type Deposits_Select_Column_Deposits_Aggregate_Bool_Exp_Bool_And_Arguments_Columns = - /** column name */ - | 'is_atom_wallet' - /** column name */ - | 'is_triple' - -/** select "deposits_aggregate_bool_exp_bool_or_arguments_columns" columns of table "deposit" */ -export type Deposits_Select_Column_Deposits_Aggregate_Bool_Exp_Bool_Or_Arguments_Columns = + | 'total_shares' /** column name */ - | 'is_atom_wallet' + | 'transaction_hash' /** column name */ - | 'is_triple' + | 'vault_type'; /** aggregate stddev on columns */ export type Deposits_Stddev_Fields = { - __typename?: 'deposits_stddev_fields' - block_number?: Maybe - curve_id?: Maybe - entry_fee?: Maybe - receiver_total_shares_in_vault?: Maybe - sender_assets_after_total_fees?: Maybe - shares_for_receiver?: Maybe - term_id?: Maybe -} + __typename?: 'deposits_stddev_fields'; + assets_after_fees?: Maybe; + block_number?: Maybe; + curve_id?: Maybe; + log_index?: Maybe; + shares?: Maybe; + total_shares?: Maybe; +}; /** order by stddev() on columns of table "deposit" */ export type Deposits_Stddev_Order_By = { - block_number?: InputMaybe - curve_id?: InputMaybe - entry_fee?: InputMaybe - receiver_total_shares_in_vault?: InputMaybe - sender_assets_after_total_fees?: InputMaybe - shares_for_receiver?: InputMaybe - term_id?: InputMaybe -} + assets_after_fees?: InputMaybe; + block_number?: InputMaybe; + curve_id?: InputMaybe; + log_index?: InputMaybe; + shares?: InputMaybe; + total_shares?: InputMaybe; +}; /** aggregate stddev_pop on columns */ export type Deposits_Stddev_Pop_Fields = { - __typename?: 'deposits_stddev_pop_fields' - block_number?: Maybe - curve_id?: Maybe - entry_fee?: Maybe - receiver_total_shares_in_vault?: Maybe - sender_assets_after_total_fees?: Maybe - shares_for_receiver?: Maybe - term_id?: Maybe -} + __typename?: 'deposits_stddev_pop_fields'; + assets_after_fees?: Maybe; + block_number?: Maybe; + curve_id?: Maybe; + log_index?: Maybe; + shares?: Maybe; + total_shares?: Maybe; +}; /** order by stddev_pop() on columns of table "deposit" */ export type Deposits_Stddev_Pop_Order_By = { - block_number?: InputMaybe - curve_id?: InputMaybe - entry_fee?: InputMaybe - receiver_total_shares_in_vault?: InputMaybe - sender_assets_after_total_fees?: InputMaybe - shares_for_receiver?: InputMaybe - term_id?: InputMaybe -} + assets_after_fees?: InputMaybe; + block_number?: InputMaybe; + curve_id?: InputMaybe; + log_index?: InputMaybe; + shares?: InputMaybe; + total_shares?: InputMaybe; +}; /** aggregate stddev_samp on columns */ export type Deposits_Stddev_Samp_Fields = { - __typename?: 'deposits_stddev_samp_fields' - block_number?: Maybe - curve_id?: Maybe - entry_fee?: Maybe - receiver_total_shares_in_vault?: Maybe - sender_assets_after_total_fees?: Maybe - shares_for_receiver?: Maybe - term_id?: Maybe -} + __typename?: 'deposits_stddev_samp_fields'; + assets_after_fees?: Maybe; + block_number?: Maybe; + curve_id?: Maybe; + log_index?: Maybe; + shares?: Maybe; + total_shares?: Maybe; +}; /** order by stddev_samp() on columns of table "deposit" */ export type Deposits_Stddev_Samp_Order_By = { - block_number?: InputMaybe - curve_id?: InputMaybe - entry_fee?: InputMaybe - receiver_total_shares_in_vault?: InputMaybe - sender_assets_after_total_fees?: InputMaybe - shares_for_receiver?: InputMaybe - term_id?: InputMaybe -} + assets_after_fees?: InputMaybe; + block_number?: InputMaybe; + curve_id?: InputMaybe; + log_index?: InputMaybe; + shares?: InputMaybe; + total_shares?: InputMaybe; +}; /** Streaming cursor of the table "deposits" */ export type Deposits_Stream_Cursor_Input = { /** Stream column input with initial value */ - initial_value: Deposits_Stream_Cursor_Value_Input + initial_value: Deposits_Stream_Cursor_Value_Input; /** cursor ordering */ - ordering?: InputMaybe -} + ordering?: InputMaybe; +}; /** Initial value of the column from where the streaming should start */ export type Deposits_Stream_Cursor_Value_Input = { - block_number?: InputMaybe - created_at?: InputMaybe - curve_id?: InputMaybe - entry_fee?: InputMaybe - id?: InputMaybe - is_atom_wallet?: InputMaybe - is_triple?: InputMaybe - receiver_id?: InputMaybe - receiver_total_shares_in_vault?: InputMaybe - sender_assets_after_total_fees?: InputMaybe - sender_id?: InputMaybe - shares_for_receiver?: InputMaybe - term_id?: InputMaybe - transaction_hash?: InputMaybe -} + assets_after_fees?: InputMaybe; + block_number?: InputMaybe; + created_at?: InputMaybe; + curve_id?: InputMaybe; + id?: InputMaybe; + log_index?: InputMaybe; + receiver_id?: InputMaybe; + sender_id?: InputMaybe; + shares?: InputMaybe; + term_id?: InputMaybe; + total_shares?: InputMaybe; + transaction_hash?: InputMaybe; + vault_type?: InputMaybe; +}; /** aggregate sum on columns */ export type Deposits_Sum_Fields = { - __typename?: 'deposits_sum_fields' - block_number?: Maybe - curve_id?: Maybe - entry_fee?: Maybe - receiver_total_shares_in_vault?: Maybe - sender_assets_after_total_fees?: Maybe - shares_for_receiver?: Maybe - term_id?: Maybe -} + __typename?: 'deposits_sum_fields'; + assets_after_fees?: Maybe; + block_number?: Maybe; + curve_id?: Maybe; + log_index?: Maybe; + shares?: Maybe; + total_shares?: Maybe; +}; /** order by sum() on columns of table "deposit" */ export type Deposits_Sum_Order_By = { - block_number?: InputMaybe - curve_id?: InputMaybe - entry_fee?: InputMaybe - receiver_total_shares_in_vault?: InputMaybe - sender_assets_after_total_fees?: InputMaybe - shares_for_receiver?: InputMaybe - term_id?: InputMaybe -} + assets_after_fees?: InputMaybe; + block_number?: InputMaybe; + curve_id?: InputMaybe; + log_index?: InputMaybe; + shares?: InputMaybe; + total_shares?: InputMaybe; +}; /** aggregate var_pop on columns */ export type Deposits_Var_Pop_Fields = { - __typename?: 'deposits_var_pop_fields' - block_number?: Maybe - curve_id?: Maybe - entry_fee?: Maybe - receiver_total_shares_in_vault?: Maybe - sender_assets_after_total_fees?: Maybe - shares_for_receiver?: Maybe - term_id?: Maybe -} + __typename?: 'deposits_var_pop_fields'; + assets_after_fees?: Maybe; + block_number?: Maybe; + curve_id?: Maybe; + log_index?: Maybe; + shares?: Maybe; + total_shares?: Maybe; +}; /** order by var_pop() on columns of table "deposit" */ export type Deposits_Var_Pop_Order_By = { - block_number?: InputMaybe - curve_id?: InputMaybe - entry_fee?: InputMaybe - receiver_total_shares_in_vault?: InputMaybe - sender_assets_after_total_fees?: InputMaybe - shares_for_receiver?: InputMaybe - term_id?: InputMaybe -} + assets_after_fees?: InputMaybe; + block_number?: InputMaybe; + curve_id?: InputMaybe; + log_index?: InputMaybe; + shares?: InputMaybe; + total_shares?: InputMaybe; +}; /** aggregate var_samp on columns */ export type Deposits_Var_Samp_Fields = { - __typename?: 'deposits_var_samp_fields' - block_number?: Maybe - curve_id?: Maybe - entry_fee?: Maybe - receiver_total_shares_in_vault?: Maybe - sender_assets_after_total_fees?: Maybe - shares_for_receiver?: Maybe - term_id?: Maybe -} + __typename?: 'deposits_var_samp_fields'; + assets_after_fees?: Maybe; + block_number?: Maybe; + curve_id?: Maybe; + log_index?: Maybe; + shares?: Maybe; + total_shares?: Maybe; +}; /** order by var_samp() on columns of table "deposit" */ export type Deposits_Var_Samp_Order_By = { - block_number?: InputMaybe - curve_id?: InputMaybe - entry_fee?: InputMaybe - receiver_total_shares_in_vault?: InputMaybe - sender_assets_after_total_fees?: InputMaybe - shares_for_receiver?: InputMaybe - term_id?: InputMaybe -} + assets_after_fees?: InputMaybe; + block_number?: InputMaybe; + curve_id?: InputMaybe; + log_index?: InputMaybe; + shares?: InputMaybe; + total_shares?: InputMaybe; +}; /** aggregate variance on columns */ export type Deposits_Variance_Fields = { - __typename?: 'deposits_variance_fields' - block_number?: Maybe - curve_id?: Maybe - entry_fee?: Maybe - receiver_total_shares_in_vault?: Maybe - sender_assets_after_total_fees?: Maybe - shares_for_receiver?: Maybe - term_id?: Maybe -} + __typename?: 'deposits_variance_fields'; + assets_after_fees?: Maybe; + block_number?: Maybe; + curve_id?: Maybe; + log_index?: Maybe; + shares?: Maybe; + total_shares?: Maybe; +}; /** order by variance() on columns of table "deposit" */ export type Deposits_Variance_Order_By = { - block_number?: InputMaybe - curve_id?: InputMaybe - entry_fee?: InputMaybe - receiver_total_shares_in_vault?: InputMaybe - sender_assets_after_total_fees?: InputMaybe - shares_for_receiver?: InputMaybe - term_id?: InputMaybe -} + assets_after_fees?: InputMaybe; + block_number?: InputMaybe; + curve_id?: InputMaybe; + log_index?: InputMaybe; + shares?: InputMaybe; + total_shares?: InputMaybe; +}; /** Boolean expression to compare columns of type "event_type". All fields are combined with logical 'AND'. */ export type Event_Type_Comparison_Exp = { - _eq?: InputMaybe - _gt?: InputMaybe - _gte?: InputMaybe - _in?: InputMaybe> - _is_null?: InputMaybe - _lt?: InputMaybe - _lte?: InputMaybe - _neq?: InputMaybe - _nin?: InputMaybe> -} + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; /** columns and relationships of "event" */ export type Events = { - __typename?: 'events' + __typename?: 'events'; /** An object relationship */ - atom?: Maybe - atom_id?: Maybe - block_number: Scalars['numeric']['output'] - created_at: Scalars['timestamptz']['output'] + atom?: Maybe; + atom_id?: Maybe; + block_number: Scalars['numeric']['output']; + created_at: Scalars['timestamptz']['output']; /** An object relationship */ - deposit?: Maybe - deposit_id?: Maybe + deposit?: Maybe; + deposit_id?: Maybe; /** An object relationship */ - fee_transfer?: Maybe - fee_transfer_id?: Maybe - id: Scalars['String']['output'] + fee_transfer?: Maybe; + fee_transfer_id?: Maybe; + id: Scalars['String']['output']; /** An object relationship */ - redemption?: Maybe - redemption_id?: Maybe - transaction_hash: Scalars['String']['output'] + redemption?: Maybe; + redemption_id?: Maybe; + transaction_hash: Scalars['String']['output']; /** An object relationship */ - triple?: Maybe - triple_id?: Maybe - type: Scalars['event_type']['output'] -} + triple?: Maybe; + triple_id?: Maybe; + type: Scalars['event_type']['output']; +}; /** aggregated selection of "event" */ export type Events_Aggregate = { - __typename?: 'events_aggregate' - aggregate?: Maybe - nodes: Array -} + __typename?: 'events_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; /** aggregate fields of "event" */ export type Events_Aggregate_Fields = { - __typename?: 'events_aggregate_fields' - avg?: Maybe - count: Scalars['Int']['output'] - max?: Maybe - min?: Maybe - stddev?: Maybe - stddev_pop?: Maybe - stddev_samp?: Maybe - sum?: Maybe - var_pop?: Maybe - var_samp?: Maybe - variance?: Maybe -} + __typename?: 'events_aggregate_fields'; + avg?: Maybe; + count: Scalars['Int']['output']; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + /** aggregate fields of "event" */ export type Events_Aggregate_FieldsCountArgs = { - columns?: InputMaybe> - distinct?: InputMaybe -} + columns?: InputMaybe>; + distinct?: InputMaybe; +}; /** aggregate avg on columns */ export type Events_Avg_Fields = { - __typename?: 'events_avg_fields' - atom_id?: Maybe - block_number?: Maybe - triple_id?: Maybe -} + __typename?: 'events_avg_fields'; + block_number?: Maybe; +}; /** Boolean expression to filter rows from the table "event". All fields are combined with a logical 'AND'. */ export type Events_Bool_Exp = { - _and?: InputMaybe> - _not?: InputMaybe - _or?: InputMaybe> - atom?: InputMaybe - atom_id?: InputMaybe - block_number?: InputMaybe - created_at?: InputMaybe - deposit?: InputMaybe - deposit_id?: InputMaybe - fee_transfer?: InputMaybe - fee_transfer_id?: InputMaybe - id?: InputMaybe - redemption?: InputMaybe - redemption_id?: InputMaybe - transaction_hash?: InputMaybe - triple?: InputMaybe - triple_id?: InputMaybe - type?: InputMaybe -} + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + atom?: InputMaybe; + atom_id?: InputMaybe; + block_number?: InputMaybe; + created_at?: InputMaybe; + deposit?: InputMaybe; + deposit_id?: InputMaybe; + fee_transfer?: InputMaybe; + fee_transfer_id?: InputMaybe; + id?: InputMaybe; + redemption?: InputMaybe; + redemption_id?: InputMaybe; + transaction_hash?: InputMaybe; + triple?: InputMaybe; + triple_id?: InputMaybe; + type?: InputMaybe; +}; /** aggregate max on columns */ export type Events_Max_Fields = { - __typename?: 'events_max_fields' - atom_id?: Maybe - block_number?: Maybe - created_at?: Maybe - deposit_id?: Maybe - fee_transfer_id?: Maybe - id?: Maybe - redemption_id?: Maybe - transaction_hash?: Maybe - triple_id?: Maybe - type?: Maybe -} + __typename?: 'events_max_fields'; + atom_id?: Maybe; + block_number?: Maybe; + created_at?: Maybe; + deposit_id?: Maybe; + fee_transfer_id?: Maybe; + id?: Maybe; + redemption_id?: Maybe; + transaction_hash?: Maybe; + triple_id?: Maybe; + type?: Maybe; +}; /** aggregate min on columns */ export type Events_Min_Fields = { - __typename?: 'events_min_fields' - atom_id?: Maybe - block_number?: Maybe - created_at?: Maybe - deposit_id?: Maybe - fee_transfer_id?: Maybe - id?: Maybe - redemption_id?: Maybe - transaction_hash?: Maybe - triple_id?: Maybe - type?: Maybe -} + __typename?: 'events_min_fields'; + atom_id?: Maybe; + block_number?: Maybe; + created_at?: Maybe; + deposit_id?: Maybe; + fee_transfer_id?: Maybe; + id?: Maybe; + redemption_id?: Maybe; + transaction_hash?: Maybe; + triple_id?: Maybe; + type?: Maybe; +}; /** Ordering options when selecting data from "event". */ export type Events_Order_By = { - atom?: InputMaybe - atom_id?: InputMaybe - block_number?: InputMaybe - created_at?: InputMaybe - deposit?: InputMaybe - deposit_id?: InputMaybe - fee_transfer?: InputMaybe - fee_transfer_id?: InputMaybe - id?: InputMaybe - redemption?: InputMaybe - redemption_id?: InputMaybe - transaction_hash?: InputMaybe - triple?: InputMaybe - triple_id?: InputMaybe - type?: InputMaybe -} + atom?: InputMaybe; + atom_id?: InputMaybe; + block_number?: InputMaybe; + created_at?: InputMaybe; + deposit?: InputMaybe; + deposit_id?: InputMaybe; + fee_transfer?: InputMaybe; + fee_transfer_id?: InputMaybe; + id?: InputMaybe; + redemption?: InputMaybe; + redemption_id?: InputMaybe; + transaction_hash?: InputMaybe; + triple?: InputMaybe; + triple_id?: InputMaybe; + type?: InputMaybe; +}; /** select columns of table "event" */ export type Events_Select_Column = @@ -2735,244 +2406,231 @@ export type Events_Select_Column = /** column name */ | 'triple_id' /** column name */ - | 'type' + | 'type'; /** aggregate stddev on columns */ export type Events_Stddev_Fields = { - __typename?: 'events_stddev_fields' - atom_id?: Maybe - block_number?: Maybe - triple_id?: Maybe -} + __typename?: 'events_stddev_fields'; + block_number?: Maybe; +}; /** aggregate stddev_pop on columns */ export type Events_Stddev_Pop_Fields = { - __typename?: 'events_stddev_pop_fields' - atom_id?: Maybe - block_number?: Maybe - triple_id?: Maybe -} + __typename?: 'events_stddev_pop_fields'; + block_number?: Maybe; +}; /** aggregate stddev_samp on columns */ export type Events_Stddev_Samp_Fields = { - __typename?: 'events_stddev_samp_fields' - atom_id?: Maybe - block_number?: Maybe - triple_id?: Maybe -} + __typename?: 'events_stddev_samp_fields'; + block_number?: Maybe; +}; /** Streaming cursor of the table "events" */ export type Events_Stream_Cursor_Input = { /** Stream column input with initial value */ - initial_value: Events_Stream_Cursor_Value_Input + initial_value: Events_Stream_Cursor_Value_Input; /** cursor ordering */ - ordering?: InputMaybe -} + ordering?: InputMaybe; +}; /** Initial value of the column from where the streaming should start */ export type Events_Stream_Cursor_Value_Input = { - atom_id?: InputMaybe - block_number?: InputMaybe - created_at?: InputMaybe - deposit_id?: InputMaybe - fee_transfer_id?: InputMaybe - id?: InputMaybe - redemption_id?: InputMaybe - transaction_hash?: InputMaybe - triple_id?: InputMaybe - type?: InputMaybe -} + atom_id?: InputMaybe; + block_number?: InputMaybe; + created_at?: InputMaybe; + deposit_id?: InputMaybe; + fee_transfer_id?: InputMaybe; + id?: InputMaybe; + redemption_id?: InputMaybe; + transaction_hash?: InputMaybe; + triple_id?: InputMaybe; + type?: InputMaybe; +}; /** aggregate sum on columns */ export type Events_Sum_Fields = { - __typename?: 'events_sum_fields' - atom_id?: Maybe - block_number?: Maybe - triple_id?: Maybe -} + __typename?: 'events_sum_fields'; + block_number?: Maybe; +}; /** aggregate var_pop on columns */ export type Events_Var_Pop_Fields = { - __typename?: 'events_var_pop_fields' - atom_id?: Maybe - block_number?: Maybe - triple_id?: Maybe -} + __typename?: 'events_var_pop_fields'; + block_number?: Maybe; +}; /** aggregate var_samp on columns */ export type Events_Var_Samp_Fields = { - __typename?: 'events_var_samp_fields' - atom_id?: Maybe - block_number?: Maybe - triple_id?: Maybe -} + __typename?: 'events_var_samp_fields'; + block_number?: Maybe; +}; /** aggregate variance on columns */ export type Events_Variance_Fields = { - __typename?: 'events_variance_fields' - atom_id?: Maybe - block_number?: Maybe - triple_id?: Maybe -} + __typename?: 'events_variance_fields'; + block_number?: Maybe; +}; /** columns and relationships of "fee_transfer" */ export type Fee_Transfers = { - __typename?: 'fee_transfers' - amount: Scalars['numeric']['output'] - block_number: Scalars['numeric']['output'] - created_at: Scalars['timestamptz']['output'] - id: Scalars['String']['output'] + __typename?: 'fee_transfers'; + amount: Scalars['numeric']['output']; + block_number: Scalars['numeric']['output']; + created_at: Scalars['timestamptz']['output']; + id: Scalars['String']['output']; /** An object relationship */ - receiver: Accounts - receiver_id: Scalars['String']['output'] + receiver: Accounts; + receiver_id: Scalars['String']['output']; /** An object relationship */ - sender?: Maybe - sender_id: Scalars['String']['output'] - transaction_hash: Scalars['String']['output'] -} + sender?: Maybe; + sender_id: Scalars['String']['output']; + transaction_hash: Scalars['String']['output']; +}; /** aggregated selection of "fee_transfer" */ export type Fee_Transfers_Aggregate = { - __typename?: 'fee_transfers_aggregate' - aggregate?: Maybe - nodes: Array -} + __typename?: 'fee_transfers_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; export type Fee_Transfers_Aggregate_Bool_Exp = { - count?: InputMaybe -} + count?: InputMaybe; +}; export type Fee_Transfers_Aggregate_Bool_Exp_Count = { - arguments?: InputMaybe> - distinct?: InputMaybe - filter?: InputMaybe - predicate: Int_Comparison_Exp -} + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Int_Comparison_Exp; +}; /** aggregate fields of "fee_transfer" */ export type Fee_Transfers_Aggregate_Fields = { - __typename?: 'fee_transfers_aggregate_fields' - avg?: Maybe - count: Scalars['Int']['output'] - max?: Maybe - min?: Maybe - stddev?: Maybe - stddev_pop?: Maybe - stddev_samp?: Maybe - sum?: Maybe - var_pop?: Maybe - var_samp?: Maybe - variance?: Maybe -} + __typename?: 'fee_transfers_aggregate_fields'; + avg?: Maybe; + count: Scalars['Int']['output']; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + /** aggregate fields of "fee_transfer" */ export type Fee_Transfers_Aggregate_FieldsCountArgs = { - columns?: InputMaybe> - distinct?: InputMaybe -} + columns?: InputMaybe>; + distinct?: InputMaybe; +}; /** order by aggregate values of table "fee_transfer" */ export type Fee_Transfers_Aggregate_Order_By = { - avg?: InputMaybe - count?: InputMaybe - max?: InputMaybe - min?: InputMaybe - stddev?: InputMaybe - stddev_pop?: InputMaybe - stddev_samp?: InputMaybe - sum?: InputMaybe - var_pop?: InputMaybe - var_samp?: InputMaybe - variance?: InputMaybe -} + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; /** aggregate avg on columns */ export type Fee_Transfers_Avg_Fields = { - __typename?: 'fee_transfers_avg_fields' - amount?: Maybe - block_number?: Maybe -} + __typename?: 'fee_transfers_avg_fields'; + amount?: Maybe; + block_number?: Maybe; +}; /** order by avg() on columns of table "fee_transfer" */ export type Fee_Transfers_Avg_Order_By = { - amount?: InputMaybe - block_number?: InputMaybe -} + amount?: InputMaybe; + block_number?: InputMaybe; +}; /** Boolean expression to filter rows from the table "fee_transfer". All fields are combined with a logical 'AND'. */ export type Fee_Transfers_Bool_Exp = { - _and?: InputMaybe> - _not?: InputMaybe - _or?: InputMaybe> - amount?: InputMaybe - block_number?: InputMaybe - created_at?: InputMaybe - id?: InputMaybe - receiver?: InputMaybe - receiver_id?: InputMaybe - sender?: InputMaybe - sender_id?: InputMaybe - transaction_hash?: InputMaybe -} + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + amount?: InputMaybe; + block_number?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + receiver?: InputMaybe; + receiver_id?: InputMaybe; + sender?: InputMaybe; + sender_id?: InputMaybe; + transaction_hash?: InputMaybe; +}; /** aggregate max on columns */ export type Fee_Transfers_Max_Fields = { - __typename?: 'fee_transfers_max_fields' - amount?: Maybe - block_number?: Maybe - created_at?: Maybe - id?: Maybe - receiver_id?: Maybe - sender_id?: Maybe - transaction_hash?: Maybe -} + __typename?: 'fee_transfers_max_fields'; + amount?: Maybe; + block_number?: Maybe; + created_at?: Maybe; + id?: Maybe; + receiver_id?: Maybe; + sender_id?: Maybe; + transaction_hash?: Maybe; +}; /** order by max() on columns of table "fee_transfer" */ export type Fee_Transfers_Max_Order_By = { - amount?: InputMaybe - block_number?: InputMaybe - created_at?: InputMaybe - id?: InputMaybe - receiver_id?: InputMaybe - sender_id?: InputMaybe - transaction_hash?: InputMaybe -} + amount?: InputMaybe; + block_number?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + receiver_id?: InputMaybe; + sender_id?: InputMaybe; + transaction_hash?: InputMaybe; +}; /** aggregate min on columns */ export type Fee_Transfers_Min_Fields = { - __typename?: 'fee_transfers_min_fields' - amount?: Maybe - block_number?: Maybe - created_at?: Maybe - id?: Maybe - receiver_id?: Maybe - sender_id?: Maybe - transaction_hash?: Maybe -} + __typename?: 'fee_transfers_min_fields'; + amount?: Maybe; + block_number?: Maybe; + created_at?: Maybe; + id?: Maybe; + receiver_id?: Maybe; + sender_id?: Maybe; + transaction_hash?: Maybe; +}; /** order by min() on columns of table "fee_transfer" */ export type Fee_Transfers_Min_Order_By = { - amount?: InputMaybe - block_number?: InputMaybe - created_at?: InputMaybe - id?: InputMaybe - receiver_id?: InputMaybe - sender_id?: InputMaybe - transaction_hash?: InputMaybe -} + amount?: InputMaybe; + block_number?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + receiver_id?: InputMaybe; + sender_id?: InputMaybe; + transaction_hash?: InputMaybe; +}; /** Ordering options when selecting data from "fee_transfer". */ export type Fee_Transfers_Order_By = { - amount?: InputMaybe - block_number?: InputMaybe - created_at?: InputMaybe - id?: InputMaybe - receiver?: InputMaybe - receiver_id?: InputMaybe - sender?: InputMaybe - sender_id?: InputMaybe - transaction_hash?: InputMaybe -} + amount?: InputMaybe; + block_number?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + receiver?: InputMaybe; + receiver_id?: InputMaybe; + sender?: InputMaybe; + sender_id?: InputMaybe; + transaction_hash?: InputMaybe; +}; /** select columns of table "fee_transfer" */ export type Fee_Transfers_Select_Column = @@ -2989,342 +2647,291 @@ export type Fee_Transfers_Select_Column = /** column name */ | 'sender_id' /** column name */ - | 'transaction_hash' + | 'transaction_hash'; /** aggregate stddev on columns */ export type Fee_Transfers_Stddev_Fields = { - __typename?: 'fee_transfers_stddev_fields' - amount?: Maybe - block_number?: Maybe -} + __typename?: 'fee_transfers_stddev_fields'; + amount?: Maybe; + block_number?: Maybe; +}; /** order by stddev() on columns of table "fee_transfer" */ export type Fee_Transfers_Stddev_Order_By = { - amount?: InputMaybe - block_number?: InputMaybe -} + amount?: InputMaybe; + block_number?: InputMaybe; +}; /** aggregate stddev_pop on columns */ export type Fee_Transfers_Stddev_Pop_Fields = { - __typename?: 'fee_transfers_stddev_pop_fields' - amount?: Maybe - block_number?: Maybe -} + __typename?: 'fee_transfers_stddev_pop_fields'; + amount?: Maybe; + block_number?: Maybe; +}; /** order by stddev_pop() on columns of table "fee_transfer" */ export type Fee_Transfers_Stddev_Pop_Order_By = { - amount?: InputMaybe - block_number?: InputMaybe -} + amount?: InputMaybe; + block_number?: InputMaybe; +}; /** aggregate stddev_samp on columns */ export type Fee_Transfers_Stddev_Samp_Fields = { - __typename?: 'fee_transfers_stddev_samp_fields' - amount?: Maybe - block_number?: Maybe -} + __typename?: 'fee_transfers_stddev_samp_fields'; + amount?: Maybe; + block_number?: Maybe; +}; /** order by stddev_samp() on columns of table "fee_transfer" */ export type Fee_Transfers_Stddev_Samp_Order_By = { - amount?: InputMaybe - block_number?: InputMaybe -} + amount?: InputMaybe; + block_number?: InputMaybe; +}; /** Streaming cursor of the table "fee_transfers" */ export type Fee_Transfers_Stream_Cursor_Input = { /** Stream column input with initial value */ - initial_value: Fee_Transfers_Stream_Cursor_Value_Input + initial_value: Fee_Transfers_Stream_Cursor_Value_Input; /** cursor ordering */ - ordering?: InputMaybe -} + ordering?: InputMaybe; +}; /** Initial value of the column from where the streaming should start */ export type Fee_Transfers_Stream_Cursor_Value_Input = { - amount?: InputMaybe - block_number?: InputMaybe - created_at?: InputMaybe - id?: InputMaybe - receiver_id?: InputMaybe - sender_id?: InputMaybe - transaction_hash?: InputMaybe -} + amount?: InputMaybe; + block_number?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + receiver_id?: InputMaybe; + sender_id?: InputMaybe; + transaction_hash?: InputMaybe; +}; /** aggregate sum on columns */ export type Fee_Transfers_Sum_Fields = { - __typename?: 'fee_transfers_sum_fields' - amount?: Maybe - block_number?: Maybe -} + __typename?: 'fee_transfers_sum_fields'; + amount?: Maybe; + block_number?: Maybe; +}; /** order by sum() on columns of table "fee_transfer" */ export type Fee_Transfers_Sum_Order_By = { - amount?: InputMaybe - block_number?: InputMaybe -} + amount?: InputMaybe; + block_number?: InputMaybe; +}; /** aggregate var_pop on columns */ export type Fee_Transfers_Var_Pop_Fields = { - __typename?: 'fee_transfers_var_pop_fields' - amount?: Maybe - block_number?: Maybe -} + __typename?: 'fee_transfers_var_pop_fields'; + amount?: Maybe; + block_number?: Maybe; +}; /** order by var_pop() on columns of table "fee_transfer" */ export type Fee_Transfers_Var_Pop_Order_By = { - amount?: InputMaybe - block_number?: InputMaybe -} + amount?: InputMaybe; + block_number?: InputMaybe; +}; /** aggregate var_samp on columns */ export type Fee_Transfers_Var_Samp_Fields = { - __typename?: 'fee_transfers_var_samp_fields' - amount?: Maybe - block_number?: Maybe -} + __typename?: 'fee_transfers_var_samp_fields'; + amount?: Maybe; + block_number?: Maybe; +}; /** order by var_samp() on columns of table "fee_transfer" */ export type Fee_Transfers_Var_Samp_Order_By = { - amount?: InputMaybe - block_number?: InputMaybe -} + amount?: InputMaybe; + block_number?: InputMaybe; +}; /** aggregate variance on columns */ export type Fee_Transfers_Variance_Fields = { - __typename?: 'fee_transfers_variance_fields' - amount?: Maybe - block_number?: Maybe -} + __typename?: 'fee_transfers_variance_fields'; + amount?: Maybe; + block_number?: Maybe; +}; /** order by variance() on columns of table "fee_transfer" */ export type Fee_Transfers_Variance_Order_By = { - amount?: InputMaybe - block_number?: InputMaybe -} + amount?: InputMaybe; + block_number?: InputMaybe; +}; /** Boolean expression to compare columns of type "float8". All fields are combined with logical 'AND'. */ export type Float8_Comparison_Exp = { - _eq?: InputMaybe - _gt?: InputMaybe - _gte?: InputMaybe - _in?: InputMaybe> - _is_null?: InputMaybe - _lt?: InputMaybe - _lte?: InputMaybe - _neq?: InputMaybe - _nin?: InputMaybe> -} + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; export type Following_Args = { - address?: InputMaybe -} + address?: InputMaybe; +}; /** columns and relationships of "json_object" */ export type Json_Objects = { - __typename?: 'json_objects' + __typename?: 'json_objects'; /** An object relationship */ - atom?: Maybe - data: Scalars['jsonb']['output'] - id: Scalars['numeric']['output'] -} + atom?: Maybe; + data: Scalars['jsonb']['output']; + id: Scalars['String']['output']; +}; + /** columns and relationships of "json_object" */ export type Json_ObjectsDataArgs = { - path?: InputMaybe -} + path?: InputMaybe; +}; /** aggregated selection of "json_object" */ export type Json_Objects_Aggregate = { - __typename?: 'json_objects_aggregate' - aggregate?: Maybe - nodes: Array -} + __typename?: 'json_objects_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; /** aggregate fields of "json_object" */ export type Json_Objects_Aggregate_Fields = { - __typename?: 'json_objects_aggregate_fields' - avg?: Maybe - count: Scalars['Int']['output'] - max?: Maybe - min?: Maybe - stddev?: Maybe - stddev_pop?: Maybe - stddev_samp?: Maybe - sum?: Maybe - var_pop?: Maybe - var_samp?: Maybe - variance?: Maybe -} + __typename?: 'json_objects_aggregate_fields'; + count: Scalars['Int']['output']; + max?: Maybe; + min?: Maybe; +}; + /** aggregate fields of "json_object" */ export type Json_Objects_Aggregate_FieldsCountArgs = { - columns?: InputMaybe> - distinct?: InputMaybe -} - -/** aggregate avg on columns */ -export type Json_Objects_Avg_Fields = { - __typename?: 'json_objects_avg_fields' - id?: Maybe -} + columns?: InputMaybe>; + distinct?: InputMaybe; +}; /** Boolean expression to filter rows from the table "json_object". All fields are combined with a logical 'AND'. */ export type Json_Objects_Bool_Exp = { - _and?: InputMaybe> - _not?: InputMaybe - _or?: InputMaybe> - atom?: InputMaybe - data?: InputMaybe - id?: InputMaybe -} + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + atom?: InputMaybe; + data?: InputMaybe; + id?: InputMaybe; +}; /** aggregate max on columns */ export type Json_Objects_Max_Fields = { - __typename?: 'json_objects_max_fields' - id?: Maybe -} + __typename?: 'json_objects_max_fields'; + id?: Maybe; +}; /** aggregate min on columns */ export type Json_Objects_Min_Fields = { - __typename?: 'json_objects_min_fields' - id?: Maybe -} + __typename?: 'json_objects_min_fields'; + id?: Maybe; +}; /** Ordering options when selecting data from "json_object". */ export type Json_Objects_Order_By = { - atom?: InputMaybe - data?: InputMaybe - id?: InputMaybe -} + atom?: InputMaybe; + data?: InputMaybe; + id?: InputMaybe; +}; /** select columns of table "json_object" */ export type Json_Objects_Select_Column = /** column name */ | 'data' /** column name */ - | 'id' - -/** aggregate stddev on columns */ -export type Json_Objects_Stddev_Fields = { - __typename?: 'json_objects_stddev_fields' - id?: Maybe -} - -/** aggregate stddev_pop on columns */ -export type Json_Objects_Stddev_Pop_Fields = { - __typename?: 'json_objects_stddev_pop_fields' - id?: Maybe -} - -/** aggregate stddev_samp on columns */ -export type Json_Objects_Stddev_Samp_Fields = { - __typename?: 'json_objects_stddev_samp_fields' - id?: Maybe -} + | 'id'; /** Streaming cursor of the table "json_objects" */ export type Json_Objects_Stream_Cursor_Input = { /** Stream column input with initial value */ - initial_value: Json_Objects_Stream_Cursor_Value_Input + initial_value: Json_Objects_Stream_Cursor_Value_Input; /** cursor ordering */ - ordering?: InputMaybe -} + ordering?: InputMaybe; +}; /** Initial value of the column from where the streaming should start */ export type Json_Objects_Stream_Cursor_Value_Input = { - data?: InputMaybe - id?: InputMaybe -} - -/** aggregate sum on columns */ -export type Json_Objects_Sum_Fields = { - __typename?: 'json_objects_sum_fields' - id?: Maybe -} - -/** aggregate var_pop on columns */ -export type Json_Objects_Var_Pop_Fields = { - __typename?: 'json_objects_var_pop_fields' - id?: Maybe -} - -/** aggregate var_samp on columns */ -export type Json_Objects_Var_Samp_Fields = { - __typename?: 'json_objects_var_samp_fields' - id?: Maybe -} - -/** aggregate variance on columns */ -export type Json_Objects_Variance_Fields = { - __typename?: 'json_objects_variance_fields' - id?: Maybe -} + data?: InputMaybe; + id?: InputMaybe; +}; export type Jsonb_Cast_Exp = { - String?: InputMaybe -} + String?: InputMaybe; +}; /** Boolean expression to compare columns of type "jsonb". All fields are combined with logical 'AND'. */ export type Jsonb_Comparison_Exp = { - _cast?: InputMaybe + _cast?: InputMaybe; /** is the column contained in the given json value */ - _contained_in?: InputMaybe + _contained_in?: InputMaybe; /** does the column contain the given json value at the top level */ - _contains?: InputMaybe - _eq?: InputMaybe - _gt?: InputMaybe - _gte?: InputMaybe + _contains?: InputMaybe; + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; /** does the string exist as a top-level key in the column */ - _has_key?: InputMaybe + _has_key?: InputMaybe; /** do all of these strings exist as top-level keys in the column */ - _has_keys_all?: InputMaybe> + _has_keys_all?: InputMaybe>; /** do any of these strings exist as top-level keys in the column */ - _has_keys_any?: InputMaybe> - _in?: InputMaybe> - _is_null?: InputMaybe - _lt?: InputMaybe - _lte?: InputMaybe - _neq?: InputMaybe - _nin?: InputMaybe> -} + _has_keys_any?: InputMaybe>; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; /** mutation root */ export type Mutation_Root = { - __typename?: 'mutation_root' + __typename?: 'mutation_root'; /** Uploads and pins Organization to IPFS */ - pinOrganization?: Maybe + pinOrganization?: Maybe; /** Uploads and pins Person to IPFS */ - pinPerson?: Maybe + pinPerson?: Maybe; /** Uploads and pins Thing to IPFS */ - pinThing?: Maybe -} + pinThing?: Maybe; +}; + /** mutation root */ export type Mutation_RootPinOrganizationArgs = { - organization: PinOrganizationInput -} + organization: PinOrganizationInput; +}; + /** mutation root */ export type Mutation_RootPinPersonArgs = { - person: PinPersonInput -} + person: PinPersonInput; +}; + /** mutation root */ export type Mutation_RootPinThingArgs = { - thing: PinThingInput -} + thing: PinThingInput; +}; /** Boolean expression to compare columns of type "numeric". All fields are combined with logical 'AND'. */ export type Numeric_Comparison_Exp = { - _eq?: InputMaybe - _gt?: InputMaybe - _gte?: InputMaybe - _in?: InputMaybe> - _is_null?: InputMaybe - _lt?: InputMaybe - _lte?: InputMaybe - _neq?: InputMaybe - _nin?: InputMaybe> -} + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; /** column ordering options */ export type Order_By = @@ -3339,102 +2946,89 @@ export type Order_By = /** in descending order, nulls first */ | 'desc_nulls_first' /** in descending order, nulls last */ - | 'desc_nulls_last' + | 'desc_nulls_last'; /** columns and relationships of "organization" */ export type Organizations = { - __typename?: 'organizations' + __typename?: 'organizations'; /** An object relationship */ - atom?: Maybe - description?: Maybe - email?: Maybe - id: Scalars['numeric']['output'] - image?: Maybe - name?: Maybe - url?: Maybe -} + atom?: Maybe; + description?: Maybe; + email?: Maybe; + id: Scalars['String']['output']; + image?: Maybe; + name?: Maybe; + url?: Maybe; +}; /** aggregated selection of "organization" */ export type Organizations_Aggregate = { - __typename?: 'organizations_aggregate' - aggregate?: Maybe - nodes: Array -} + __typename?: 'organizations_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; /** aggregate fields of "organization" */ export type Organizations_Aggregate_Fields = { - __typename?: 'organizations_aggregate_fields' - avg?: Maybe - count: Scalars['Int']['output'] - max?: Maybe - min?: Maybe - stddev?: Maybe - stddev_pop?: Maybe - stddev_samp?: Maybe - sum?: Maybe - var_pop?: Maybe - var_samp?: Maybe - variance?: Maybe -} + __typename?: 'organizations_aggregate_fields'; + count: Scalars['Int']['output']; + max?: Maybe; + min?: Maybe; +}; + /** aggregate fields of "organization" */ export type Organizations_Aggregate_FieldsCountArgs = { - columns?: InputMaybe> - distinct?: InputMaybe -} - -/** aggregate avg on columns */ -export type Organizations_Avg_Fields = { - __typename?: 'organizations_avg_fields' - id?: Maybe -} + columns?: InputMaybe>; + distinct?: InputMaybe; +}; /** Boolean expression to filter rows from the table "organization". All fields are combined with a logical 'AND'. */ export type Organizations_Bool_Exp = { - _and?: InputMaybe> - _not?: InputMaybe - _or?: InputMaybe> - atom?: InputMaybe - description?: InputMaybe - email?: InputMaybe - id?: InputMaybe - image?: InputMaybe - name?: InputMaybe - url?: InputMaybe -} + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + atom?: InputMaybe; + description?: InputMaybe; + email?: InputMaybe; + id?: InputMaybe; + image?: InputMaybe; + name?: InputMaybe; + url?: InputMaybe; +}; /** aggregate max on columns */ export type Organizations_Max_Fields = { - __typename?: 'organizations_max_fields' - description?: Maybe - email?: Maybe - id?: Maybe - image?: Maybe - name?: Maybe - url?: Maybe -} + __typename?: 'organizations_max_fields'; + description?: Maybe; + email?: Maybe; + id?: Maybe; + image?: Maybe; + name?: Maybe; + url?: Maybe; +}; /** aggregate min on columns */ export type Organizations_Min_Fields = { - __typename?: 'organizations_min_fields' - description?: Maybe - email?: Maybe - id?: Maybe - image?: Maybe - name?: Maybe - url?: Maybe -} + __typename?: 'organizations_min_fields'; + description?: Maybe; + email?: Maybe; + id?: Maybe; + image?: Maybe; + name?: Maybe; + url?: Maybe; +}; /** Ordering options when selecting data from "organization". */ export type Organizations_Order_By = { - atom?: InputMaybe - description?: InputMaybe - email?: InputMaybe - id?: InputMaybe - image?: InputMaybe - name?: InputMaybe - url?: InputMaybe -} + atom?: InputMaybe; + description?: InputMaybe; + email?: InputMaybe; + id?: InputMaybe; + image?: InputMaybe; + name?: InputMaybe; + url?: InputMaybe; +}; /** select columns of table "organization" */ export type Organizations_Select_Column = @@ -3449,168 +3043,113 @@ export type Organizations_Select_Column = /** column name */ | 'name' /** column name */ - | 'url' - -/** aggregate stddev on columns */ -export type Organizations_Stddev_Fields = { - __typename?: 'organizations_stddev_fields' - id?: Maybe -} - -/** aggregate stddev_pop on columns */ -export type Organizations_Stddev_Pop_Fields = { - __typename?: 'organizations_stddev_pop_fields' - id?: Maybe -} - -/** aggregate stddev_samp on columns */ -export type Organizations_Stddev_Samp_Fields = { - __typename?: 'organizations_stddev_samp_fields' - id?: Maybe -} + | 'url'; /** Streaming cursor of the table "organizations" */ export type Organizations_Stream_Cursor_Input = { /** Stream column input with initial value */ - initial_value: Organizations_Stream_Cursor_Value_Input + initial_value: Organizations_Stream_Cursor_Value_Input; /** cursor ordering */ - ordering?: InputMaybe -} + ordering?: InputMaybe; +}; /** Initial value of the column from where the streaming should start */ export type Organizations_Stream_Cursor_Value_Input = { - description?: InputMaybe - email?: InputMaybe - id?: InputMaybe - image?: InputMaybe - name?: InputMaybe - url?: InputMaybe -} - -/** aggregate sum on columns */ -export type Organizations_Sum_Fields = { - __typename?: 'organizations_sum_fields' - id?: Maybe -} - -/** aggregate var_pop on columns */ -export type Organizations_Var_Pop_Fields = { - __typename?: 'organizations_var_pop_fields' - id?: Maybe -} - -/** aggregate var_samp on columns */ -export type Organizations_Var_Samp_Fields = { - __typename?: 'organizations_var_samp_fields' - id?: Maybe -} - -/** aggregate variance on columns */ -export type Organizations_Variance_Fields = { - __typename?: 'organizations_variance_fields' - id?: Maybe -} + description?: InputMaybe; + email?: InputMaybe; + id?: InputMaybe; + image?: InputMaybe; + name?: InputMaybe; + url?: InputMaybe; +}; /** columns and relationships of "person" */ export type Persons = { - __typename?: 'persons' + __typename?: 'persons'; /** An object relationship */ - atom?: Maybe - cached_image?: Maybe - description?: Maybe - email?: Maybe - id: Scalars['numeric']['output'] - identifier?: Maybe - image?: Maybe - name?: Maybe - url?: Maybe -} + atom?: Maybe; + cached_image?: Maybe; + description?: Maybe; + email?: Maybe; + id: Scalars['String']['output']; + identifier?: Maybe; + image?: Maybe; + name?: Maybe; + url?: Maybe; +}; /** aggregated selection of "person" */ export type Persons_Aggregate = { - __typename?: 'persons_aggregate' - aggregate?: Maybe - nodes: Array -} + __typename?: 'persons_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; /** aggregate fields of "person" */ export type Persons_Aggregate_Fields = { - __typename?: 'persons_aggregate_fields' - avg?: Maybe - count: Scalars['Int']['output'] - max?: Maybe - min?: Maybe - stddev?: Maybe - stddev_pop?: Maybe - stddev_samp?: Maybe - sum?: Maybe - var_pop?: Maybe - var_samp?: Maybe - variance?: Maybe -} + __typename?: 'persons_aggregate_fields'; + count: Scalars['Int']['output']; + max?: Maybe; + min?: Maybe; +}; + /** aggregate fields of "person" */ export type Persons_Aggregate_FieldsCountArgs = { - columns?: InputMaybe> - distinct?: InputMaybe -} - -/** aggregate avg on columns */ -export type Persons_Avg_Fields = { - __typename?: 'persons_avg_fields' - id?: Maybe -} + columns?: InputMaybe>; + distinct?: InputMaybe; +}; /** Boolean expression to filter rows from the table "person". All fields are combined with a logical 'AND'. */ export type Persons_Bool_Exp = { - _and?: InputMaybe> - _not?: InputMaybe - _or?: InputMaybe> - atom?: InputMaybe - description?: InputMaybe - email?: InputMaybe - id?: InputMaybe - identifier?: InputMaybe - image?: InputMaybe - name?: InputMaybe - url?: InputMaybe -} + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + atom?: InputMaybe; + description?: InputMaybe; + email?: InputMaybe; + id?: InputMaybe; + identifier?: InputMaybe; + image?: InputMaybe; + name?: InputMaybe; + url?: InputMaybe; +}; /** aggregate max on columns */ export type Persons_Max_Fields = { - __typename?: 'persons_max_fields' - description?: Maybe - email?: Maybe - id?: Maybe - identifier?: Maybe - image?: Maybe - name?: Maybe - url?: Maybe -} + __typename?: 'persons_max_fields'; + description?: Maybe; + email?: Maybe; + id?: Maybe; + identifier?: Maybe; + image?: Maybe; + name?: Maybe; + url?: Maybe; +}; /** aggregate min on columns */ export type Persons_Min_Fields = { - __typename?: 'persons_min_fields' - description?: Maybe - email?: Maybe - id?: Maybe - identifier?: Maybe - image?: Maybe - name?: Maybe - url?: Maybe -} + __typename?: 'persons_min_fields'; + description?: Maybe; + email?: Maybe; + id?: Maybe; + identifier?: Maybe; + image?: Maybe; + name?: Maybe; + url?: Maybe; +}; /** Ordering options when selecting data from "person". */ export type Persons_Order_By = { - atom?: InputMaybe - description?: InputMaybe - email?: InputMaybe - id?: InputMaybe - identifier?: InputMaybe - image?: InputMaybe - name?: InputMaybe - url?: InputMaybe -} + atom?: InputMaybe; + description?: InputMaybe; + email?: InputMaybe; + id?: InputMaybe; + identifier?: InputMaybe; + image?: InputMaybe; + name?: InputMaybe; + url?: InputMaybe; +}; /** select columns of table "person" */ export type Persons_Select_Column = @@ -3627,518 +3166,598 @@ export type Persons_Select_Column = /** column name */ | 'name' /** column name */ - | 'url' - -/** aggregate stddev on columns */ -export type Persons_Stddev_Fields = { - __typename?: 'persons_stddev_fields' - id?: Maybe -} - -/** aggregate stddev_pop on columns */ -export type Persons_Stddev_Pop_Fields = { - __typename?: 'persons_stddev_pop_fields' - id?: Maybe -} - -/** aggregate stddev_samp on columns */ -export type Persons_Stddev_Samp_Fields = { - __typename?: 'persons_stddev_samp_fields' - id?: Maybe -} + | 'url'; /** Streaming cursor of the table "persons" */ export type Persons_Stream_Cursor_Input = { /** Stream column input with initial value */ - initial_value: Persons_Stream_Cursor_Value_Input + initial_value: Persons_Stream_Cursor_Value_Input; /** cursor ordering */ - ordering?: InputMaybe -} + ordering?: InputMaybe; +}; /** Initial value of the column from where the streaming should start */ export type Persons_Stream_Cursor_Value_Input = { - description?: InputMaybe - email?: InputMaybe - id?: InputMaybe - identifier?: InputMaybe - image?: InputMaybe - name?: InputMaybe - url?: InputMaybe -} - -/** aggregate sum on columns */ -export type Persons_Sum_Fields = { - __typename?: 'persons_sum_fields' - id?: Maybe -} - -/** aggregate var_pop on columns */ -export type Persons_Var_Pop_Fields = { - __typename?: 'persons_var_pop_fields' - id?: Maybe -} - -/** aggregate var_samp on columns */ -export type Persons_Var_Samp_Fields = { - __typename?: 'persons_var_samp_fields' - id?: Maybe -} - -/** aggregate variance on columns */ -export type Persons_Variance_Fields = { - __typename?: 'persons_variance_fields' - id?: Maybe -} + description?: InputMaybe; + email?: InputMaybe; + id?: InputMaybe; + identifier?: InputMaybe; + image?: InputMaybe; + name?: InputMaybe; + url?: InputMaybe; +}; /** columns and relationships of "position" */ export type Positions = { - __typename?: 'positions' + __typename?: 'positions'; /** An object relationship */ - account?: Maybe - account_id: Scalars['String']['output'] - created_at: Scalars['timestamptz']['output'] - curve_id: Scalars['numeric']['output'] - id: Scalars['String']['output'] - shares: Scalars['numeric']['output'] + account?: Maybe; + account_id: Scalars['String']['output']; + block_number: Scalars['bigint']['output']; + created_at: Scalars['timestamptz']['output']; + curve_id: Scalars['numeric']['output']; + id: Scalars['String']['output']; + log_index: Scalars['bigint']['output']; + shares: Scalars['numeric']['output']; /** An object relationship */ - term: Terms - term_id: Scalars['numeric']['output'] - updated_at: Scalars['timestamptz']['output'] + term: Terms; + term_id: Scalars['String']['output']; + total_deposit_assets_after_total_fees: Scalars['numeric']['output']; + total_redeem_assets_for_receiver: Scalars['numeric']['output']; + transaction_hash: Scalars['String']['output']; + transaction_index: Scalars['bigint']['output']; + updated_at: Scalars['timestamptz']['output']; /** An object relationship */ - vault?: Maybe -} + vault?: Maybe; +}; /** aggregated selection of "position" */ export type Positions_Aggregate = { - __typename?: 'positions_aggregate' - aggregate?: Maybe - nodes: Array -} + __typename?: 'positions_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; export type Positions_Aggregate_Bool_Exp = { - count?: InputMaybe -} + count?: InputMaybe; +}; export type Positions_Aggregate_Bool_Exp_Count = { - arguments?: InputMaybe> - distinct?: InputMaybe - filter?: InputMaybe - predicate: Int_Comparison_Exp -} + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Int_Comparison_Exp; +}; /** aggregate fields of "position" */ export type Positions_Aggregate_Fields = { - __typename?: 'positions_aggregate_fields' - avg?: Maybe - count: Scalars['Int']['output'] - max?: Maybe - min?: Maybe - stddev?: Maybe - stddev_pop?: Maybe - stddev_samp?: Maybe - sum?: Maybe - var_pop?: Maybe - var_samp?: Maybe - variance?: Maybe -} + __typename?: 'positions_aggregate_fields'; + avg?: Maybe; + count: Scalars['Int']['output']; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + /** aggregate fields of "position" */ export type Positions_Aggregate_FieldsCountArgs = { - columns?: InputMaybe> - distinct?: InputMaybe -} + columns?: InputMaybe>; + distinct?: InputMaybe; +}; /** order by aggregate values of table "position" */ export type Positions_Aggregate_Order_By = { - avg?: InputMaybe - count?: InputMaybe - max?: InputMaybe - min?: InputMaybe - stddev?: InputMaybe - stddev_pop?: InputMaybe - stddev_samp?: InputMaybe - sum?: InputMaybe - var_pop?: InputMaybe - var_samp?: InputMaybe - variance?: InputMaybe -} + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; /** aggregate avg on columns */ export type Positions_Avg_Fields = { - __typename?: 'positions_avg_fields' - curve_id?: Maybe - shares?: Maybe - term_id?: Maybe -} + __typename?: 'positions_avg_fields'; + block_number?: Maybe; + curve_id?: Maybe; + log_index?: Maybe; + shares?: Maybe; + total_deposit_assets_after_total_fees?: Maybe; + total_redeem_assets_for_receiver?: Maybe; + transaction_index?: Maybe; +}; /** order by avg() on columns of table "position" */ export type Positions_Avg_Order_By = { - curve_id?: InputMaybe - shares?: InputMaybe - term_id?: InputMaybe -} + block_number?: InputMaybe; + curve_id?: InputMaybe; + log_index?: InputMaybe; + shares?: InputMaybe; + total_deposit_assets_after_total_fees?: InputMaybe; + total_redeem_assets_for_receiver?: InputMaybe; + transaction_index?: InputMaybe; +}; /** Boolean expression to filter rows from the table "position". All fields are combined with a logical 'AND'. */ export type Positions_Bool_Exp = { - _and?: InputMaybe> - _not?: InputMaybe - _or?: InputMaybe> - account?: InputMaybe - account_id?: InputMaybe - created_at?: InputMaybe - curve_id?: InputMaybe - id?: InputMaybe - shares?: InputMaybe - term?: InputMaybe - term_id?: InputMaybe - updated_at?: InputMaybe - vault?: InputMaybe -} + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + account?: InputMaybe; + account_id?: InputMaybe; + block_number?: InputMaybe; + created_at?: InputMaybe; + curve_id?: InputMaybe; + id?: InputMaybe; + log_index?: InputMaybe; + shares?: InputMaybe; + term?: InputMaybe; + term_id?: InputMaybe; + total_deposit_assets_after_total_fees?: InputMaybe; + total_redeem_assets_for_receiver?: InputMaybe; + transaction_hash?: InputMaybe; + transaction_index?: InputMaybe; + updated_at?: InputMaybe; + vault?: InputMaybe; +}; export type Positions_From_Following_Args = { - address?: InputMaybe -} + address?: InputMaybe; +}; /** aggregate max on columns */ export type Positions_Max_Fields = { - __typename?: 'positions_max_fields' - account_id?: Maybe - created_at?: Maybe - curve_id?: Maybe - id?: Maybe - shares?: Maybe - term_id?: Maybe - updated_at?: Maybe -} + __typename?: 'positions_max_fields'; + account_id?: Maybe; + block_number?: Maybe; + created_at?: Maybe; + curve_id?: Maybe; + id?: Maybe; + log_index?: Maybe; + shares?: Maybe; + term_id?: Maybe; + total_deposit_assets_after_total_fees?: Maybe; + total_redeem_assets_for_receiver?: Maybe; + transaction_hash?: Maybe; + transaction_index?: Maybe; + updated_at?: Maybe; +}; /** order by max() on columns of table "position" */ export type Positions_Max_Order_By = { - account_id?: InputMaybe - created_at?: InputMaybe - curve_id?: InputMaybe - id?: InputMaybe - shares?: InputMaybe - term_id?: InputMaybe - updated_at?: InputMaybe -} + account_id?: InputMaybe; + block_number?: InputMaybe; + created_at?: InputMaybe; + curve_id?: InputMaybe; + id?: InputMaybe; + log_index?: InputMaybe; + shares?: InputMaybe; + term_id?: InputMaybe; + total_deposit_assets_after_total_fees?: InputMaybe; + total_redeem_assets_for_receiver?: InputMaybe; + transaction_hash?: InputMaybe; + transaction_index?: InputMaybe; + updated_at?: InputMaybe; +}; /** aggregate min on columns */ export type Positions_Min_Fields = { - __typename?: 'positions_min_fields' - account_id?: Maybe - created_at?: Maybe - curve_id?: Maybe - id?: Maybe - shares?: Maybe - term_id?: Maybe - updated_at?: Maybe -} + __typename?: 'positions_min_fields'; + account_id?: Maybe; + block_number?: Maybe; + created_at?: Maybe; + curve_id?: Maybe; + id?: Maybe; + log_index?: Maybe; + shares?: Maybe; + term_id?: Maybe; + total_deposit_assets_after_total_fees?: Maybe; + total_redeem_assets_for_receiver?: Maybe; + transaction_hash?: Maybe; + transaction_index?: Maybe; + updated_at?: Maybe; +}; /** order by min() on columns of table "position" */ export type Positions_Min_Order_By = { - account_id?: InputMaybe - created_at?: InputMaybe - curve_id?: InputMaybe - id?: InputMaybe - shares?: InputMaybe - term_id?: InputMaybe - updated_at?: InputMaybe -} + account_id?: InputMaybe; + block_number?: InputMaybe; + created_at?: InputMaybe; + curve_id?: InputMaybe; + id?: InputMaybe; + log_index?: InputMaybe; + shares?: InputMaybe; + term_id?: InputMaybe; + total_deposit_assets_after_total_fees?: InputMaybe; + total_redeem_assets_for_receiver?: InputMaybe; + transaction_hash?: InputMaybe; + transaction_index?: InputMaybe; + updated_at?: InputMaybe; +}; /** Ordering options when selecting data from "position". */ export type Positions_Order_By = { - account?: InputMaybe - account_id?: InputMaybe - created_at?: InputMaybe - curve_id?: InputMaybe - id?: InputMaybe - shares?: InputMaybe - term?: InputMaybe - term_id?: InputMaybe - updated_at?: InputMaybe - vault?: InputMaybe -} + account?: InputMaybe; + account_id?: InputMaybe; + block_number?: InputMaybe; + created_at?: InputMaybe; + curve_id?: InputMaybe; + id?: InputMaybe; + log_index?: InputMaybe; + shares?: InputMaybe; + term?: InputMaybe; + term_id?: InputMaybe; + total_deposit_assets_after_total_fees?: InputMaybe; + total_redeem_assets_for_receiver?: InputMaybe; + transaction_hash?: InputMaybe; + transaction_index?: InputMaybe; + updated_at?: InputMaybe; + vault?: InputMaybe; +}; /** select columns of table "position" */ export type Positions_Select_Column = /** column name */ | 'account_id' /** column name */ + | 'block_number' + /** column name */ | 'created_at' /** column name */ | 'curve_id' /** column name */ | 'id' /** column name */ + | 'log_index' + /** column name */ | 'shares' /** column name */ | 'term_id' /** column name */ - | 'updated_at' + | 'total_deposit_assets_after_total_fees' + /** column name */ + | 'total_redeem_assets_for_receiver' + /** column name */ + | 'transaction_hash' + /** column name */ + | 'transaction_index' + /** column name */ + | 'updated_at'; /** aggregate stddev on columns */ export type Positions_Stddev_Fields = { - __typename?: 'positions_stddev_fields' - curve_id?: Maybe - shares?: Maybe - term_id?: Maybe -} + __typename?: 'positions_stddev_fields'; + block_number?: Maybe; + curve_id?: Maybe; + log_index?: Maybe; + shares?: Maybe; + total_deposit_assets_after_total_fees?: Maybe; + total_redeem_assets_for_receiver?: Maybe; + transaction_index?: Maybe; +}; /** order by stddev() on columns of table "position" */ export type Positions_Stddev_Order_By = { - curve_id?: InputMaybe - shares?: InputMaybe - term_id?: InputMaybe -} + block_number?: InputMaybe; + curve_id?: InputMaybe; + log_index?: InputMaybe; + shares?: InputMaybe; + total_deposit_assets_after_total_fees?: InputMaybe; + total_redeem_assets_for_receiver?: InputMaybe; + transaction_index?: InputMaybe; +}; /** aggregate stddev_pop on columns */ export type Positions_Stddev_Pop_Fields = { - __typename?: 'positions_stddev_pop_fields' - curve_id?: Maybe - shares?: Maybe - term_id?: Maybe -} + __typename?: 'positions_stddev_pop_fields'; + block_number?: Maybe; + curve_id?: Maybe; + log_index?: Maybe; + shares?: Maybe; + total_deposit_assets_after_total_fees?: Maybe; + total_redeem_assets_for_receiver?: Maybe; + transaction_index?: Maybe; +}; /** order by stddev_pop() on columns of table "position" */ export type Positions_Stddev_Pop_Order_By = { - curve_id?: InputMaybe - shares?: InputMaybe - term_id?: InputMaybe -} + block_number?: InputMaybe; + curve_id?: InputMaybe; + log_index?: InputMaybe; + shares?: InputMaybe; + total_deposit_assets_after_total_fees?: InputMaybe; + total_redeem_assets_for_receiver?: InputMaybe; + transaction_index?: InputMaybe; +}; /** aggregate stddev_samp on columns */ export type Positions_Stddev_Samp_Fields = { - __typename?: 'positions_stddev_samp_fields' - curve_id?: Maybe - shares?: Maybe - term_id?: Maybe -} + __typename?: 'positions_stddev_samp_fields'; + block_number?: Maybe; + curve_id?: Maybe; + log_index?: Maybe; + shares?: Maybe; + total_deposit_assets_after_total_fees?: Maybe; + total_redeem_assets_for_receiver?: Maybe; + transaction_index?: Maybe; +}; /** order by stddev_samp() on columns of table "position" */ export type Positions_Stddev_Samp_Order_By = { - curve_id?: InputMaybe - shares?: InputMaybe - term_id?: InputMaybe -} + block_number?: InputMaybe; + curve_id?: InputMaybe; + log_index?: InputMaybe; + shares?: InputMaybe; + total_deposit_assets_after_total_fees?: InputMaybe; + total_redeem_assets_for_receiver?: InputMaybe; + transaction_index?: InputMaybe; +}; /** Streaming cursor of the table "positions" */ export type Positions_Stream_Cursor_Input = { /** Stream column input with initial value */ - initial_value: Positions_Stream_Cursor_Value_Input + initial_value: Positions_Stream_Cursor_Value_Input; /** cursor ordering */ - ordering?: InputMaybe -} + ordering?: InputMaybe; +}; /** Initial value of the column from where the streaming should start */ export type Positions_Stream_Cursor_Value_Input = { - account_id?: InputMaybe - created_at?: InputMaybe - curve_id?: InputMaybe - id?: InputMaybe - shares?: InputMaybe - term_id?: InputMaybe - updated_at?: InputMaybe -} + account_id?: InputMaybe; + block_number?: InputMaybe; + created_at?: InputMaybe; + curve_id?: InputMaybe; + id?: InputMaybe; + log_index?: InputMaybe; + shares?: InputMaybe; + term_id?: InputMaybe; + total_deposit_assets_after_total_fees?: InputMaybe; + total_redeem_assets_for_receiver?: InputMaybe; + transaction_hash?: InputMaybe; + transaction_index?: InputMaybe; + updated_at?: InputMaybe; +}; /** aggregate sum on columns */ export type Positions_Sum_Fields = { - __typename?: 'positions_sum_fields' - curve_id?: Maybe - shares?: Maybe - term_id?: Maybe -} + __typename?: 'positions_sum_fields'; + block_number?: Maybe; + curve_id?: Maybe; + log_index?: Maybe; + shares?: Maybe; + total_deposit_assets_after_total_fees?: Maybe; + total_redeem_assets_for_receiver?: Maybe; + transaction_index?: Maybe; +}; /** order by sum() on columns of table "position" */ export type Positions_Sum_Order_By = { - curve_id?: InputMaybe - shares?: InputMaybe - term_id?: InputMaybe -} + block_number?: InputMaybe; + curve_id?: InputMaybe; + log_index?: InputMaybe; + shares?: InputMaybe; + total_deposit_assets_after_total_fees?: InputMaybe; + total_redeem_assets_for_receiver?: InputMaybe; + transaction_index?: InputMaybe; +}; /** aggregate var_pop on columns */ export type Positions_Var_Pop_Fields = { - __typename?: 'positions_var_pop_fields' - curve_id?: Maybe - shares?: Maybe - term_id?: Maybe -} + __typename?: 'positions_var_pop_fields'; + block_number?: Maybe; + curve_id?: Maybe; + log_index?: Maybe; + shares?: Maybe; + total_deposit_assets_after_total_fees?: Maybe; + total_redeem_assets_for_receiver?: Maybe; + transaction_index?: Maybe; +}; /** order by var_pop() on columns of table "position" */ export type Positions_Var_Pop_Order_By = { - curve_id?: InputMaybe - shares?: InputMaybe - term_id?: InputMaybe -} + block_number?: InputMaybe; + curve_id?: InputMaybe; + log_index?: InputMaybe; + shares?: InputMaybe; + total_deposit_assets_after_total_fees?: InputMaybe; + total_redeem_assets_for_receiver?: InputMaybe; + transaction_index?: InputMaybe; +}; /** aggregate var_samp on columns */ export type Positions_Var_Samp_Fields = { - __typename?: 'positions_var_samp_fields' - curve_id?: Maybe - shares?: Maybe - term_id?: Maybe -} + __typename?: 'positions_var_samp_fields'; + block_number?: Maybe; + curve_id?: Maybe; + log_index?: Maybe; + shares?: Maybe; + total_deposit_assets_after_total_fees?: Maybe; + total_redeem_assets_for_receiver?: Maybe; + transaction_index?: Maybe; +}; /** order by var_samp() on columns of table "position" */ export type Positions_Var_Samp_Order_By = { - curve_id?: InputMaybe - shares?: InputMaybe - term_id?: InputMaybe -} + block_number?: InputMaybe; + curve_id?: InputMaybe; + log_index?: InputMaybe; + shares?: InputMaybe; + total_deposit_assets_after_total_fees?: InputMaybe; + total_redeem_assets_for_receiver?: InputMaybe; + transaction_index?: InputMaybe; +}; /** aggregate variance on columns */ export type Positions_Variance_Fields = { - __typename?: 'positions_variance_fields' - curve_id?: Maybe - shares?: Maybe - term_id?: Maybe -} + __typename?: 'positions_variance_fields'; + block_number?: Maybe; + curve_id?: Maybe; + log_index?: Maybe; + shares?: Maybe; + total_deposit_assets_after_total_fees?: Maybe; + total_redeem_assets_for_receiver?: Maybe; + transaction_index?: Maybe; +}; /** order by variance() on columns of table "position" */ export type Positions_Variance_Order_By = { - curve_id?: InputMaybe - shares?: InputMaybe - term_id?: InputMaybe -} + block_number?: InputMaybe; + curve_id?: InputMaybe; + log_index?: InputMaybe; + shares?: InputMaybe; + total_deposit_assets_after_total_fees?: InputMaybe; + total_redeem_assets_for_receiver?: InputMaybe; + transaction_index?: InputMaybe; +}; /** columns and relationships of "predicate_object" */ export type Predicate_Objects = { - __typename?: 'predicate_objects' - id: Scalars['String']['output'] + __typename?: 'predicate_objects'; + id: Scalars['String']['output']; /** An object relationship */ - object: Atoms - object_id: Scalars['numeric']['output'] + object: Atoms; + object_id: Scalars['String']['output']; /** An object relationship */ - predicate: Atoms - predicate_id: Scalars['numeric']['output'] - triple_count: Scalars['Int']['output'] -} + predicate: Atoms; + predicate_id: Scalars['String']['output']; + triple_count: Scalars['Int']['output']; +}; /** aggregated selection of "predicate_object" */ export type Predicate_Objects_Aggregate = { - __typename?: 'predicate_objects_aggregate' - aggregate?: Maybe - nodes: Array -} + __typename?: 'predicate_objects_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; export type Predicate_Objects_Aggregate_Bool_Exp = { - count?: InputMaybe -} + count?: InputMaybe; +}; export type Predicate_Objects_Aggregate_Bool_Exp_Count = { - arguments?: InputMaybe> - distinct?: InputMaybe - filter?: InputMaybe - predicate: Int_Comparison_Exp -} + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Int_Comparison_Exp; +}; /** aggregate fields of "predicate_object" */ export type Predicate_Objects_Aggregate_Fields = { - __typename?: 'predicate_objects_aggregate_fields' - avg?: Maybe - count: Scalars['Int']['output'] - max?: Maybe - min?: Maybe - stddev?: Maybe - stddev_pop?: Maybe - stddev_samp?: Maybe - sum?: Maybe - var_pop?: Maybe - var_samp?: Maybe - variance?: Maybe -} + __typename?: 'predicate_objects_aggregate_fields'; + avg?: Maybe; + count: Scalars['Int']['output']; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + /** aggregate fields of "predicate_object" */ export type Predicate_Objects_Aggregate_FieldsCountArgs = { - columns?: InputMaybe> - distinct?: InputMaybe -} + columns?: InputMaybe>; + distinct?: InputMaybe; +}; /** order by aggregate values of table "predicate_object" */ export type Predicate_Objects_Aggregate_Order_By = { - avg?: InputMaybe - count?: InputMaybe - max?: InputMaybe - min?: InputMaybe - stddev?: InputMaybe - stddev_pop?: InputMaybe - stddev_samp?: InputMaybe - sum?: InputMaybe - var_pop?: InputMaybe - var_samp?: InputMaybe - variance?: InputMaybe -} + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; /** aggregate avg on columns */ export type Predicate_Objects_Avg_Fields = { - __typename?: 'predicate_objects_avg_fields' - object_id?: Maybe - predicate_id?: Maybe - triple_count?: Maybe -} + __typename?: 'predicate_objects_avg_fields'; + triple_count?: Maybe; +}; /** order by avg() on columns of table "predicate_object" */ export type Predicate_Objects_Avg_Order_By = { - object_id?: InputMaybe - predicate_id?: InputMaybe - triple_count?: InputMaybe -} + triple_count?: InputMaybe; +}; /** Boolean expression to filter rows from the table "predicate_object". All fields are combined with a logical 'AND'. */ export type Predicate_Objects_Bool_Exp = { - _and?: InputMaybe> - _not?: InputMaybe - _or?: InputMaybe> - id?: InputMaybe - object?: InputMaybe - object_id?: InputMaybe - predicate?: InputMaybe - predicate_id?: InputMaybe - triple_count?: InputMaybe -} + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + id?: InputMaybe; + object?: InputMaybe; + object_id?: InputMaybe; + predicate?: InputMaybe; + predicate_id?: InputMaybe; + triple_count?: InputMaybe; +}; /** aggregate max on columns */ export type Predicate_Objects_Max_Fields = { - __typename?: 'predicate_objects_max_fields' - id?: Maybe - object_id?: Maybe - predicate_id?: Maybe - triple_count?: Maybe -} + __typename?: 'predicate_objects_max_fields'; + id?: Maybe; + object_id?: Maybe; + predicate_id?: Maybe; + triple_count?: Maybe; +}; /** order by max() on columns of table "predicate_object" */ export type Predicate_Objects_Max_Order_By = { - id?: InputMaybe - object_id?: InputMaybe - predicate_id?: InputMaybe - triple_count?: InputMaybe -} + id?: InputMaybe; + object_id?: InputMaybe; + predicate_id?: InputMaybe; + triple_count?: InputMaybe; +}; /** aggregate min on columns */ export type Predicate_Objects_Min_Fields = { - __typename?: 'predicate_objects_min_fields' - id?: Maybe - object_id?: Maybe - predicate_id?: Maybe - triple_count?: Maybe -} + __typename?: 'predicate_objects_min_fields'; + id?: Maybe; + object_id?: Maybe; + predicate_id?: Maybe; + triple_count?: Maybe; +}; /** order by min() on columns of table "predicate_object" */ export type Predicate_Objects_Min_Order_By = { - id?: InputMaybe - object_id?: InputMaybe - predicate_id?: InputMaybe - triple_count?: InputMaybe -} + id?: InputMaybe; + object_id?: InputMaybe; + predicate_id?: InputMaybe; + triple_count?: InputMaybe; +}; /** Ordering options when selecting data from "predicate_object". */ export type Predicate_Objects_Order_By = { - id?: InputMaybe - object?: InputMaybe - object_id?: InputMaybe - predicate?: InputMaybe - predicate_id?: InputMaybe - triple_count?: InputMaybe -} + id?: InputMaybe; + object?: InputMaybe; + object_id?: InputMaybe; + predicate?: InputMaybe; + predicate_id?: InputMaybe; + triple_count?: InputMaybe; +}; /** select columns of table "predicate_object" */ export type Predicate_Objects_Select_Column = @@ -4149,1215 +3768,1368 @@ export type Predicate_Objects_Select_Column = /** column name */ | 'predicate_id' /** column name */ - | 'triple_count' + | 'triple_count'; /** aggregate stddev on columns */ export type Predicate_Objects_Stddev_Fields = { - __typename?: 'predicate_objects_stddev_fields' - object_id?: Maybe - predicate_id?: Maybe - triple_count?: Maybe -} + __typename?: 'predicate_objects_stddev_fields'; + triple_count?: Maybe; +}; /** order by stddev() on columns of table "predicate_object" */ export type Predicate_Objects_Stddev_Order_By = { - object_id?: InputMaybe - predicate_id?: InputMaybe - triple_count?: InputMaybe -} + triple_count?: InputMaybe; +}; /** aggregate stddev_pop on columns */ export type Predicate_Objects_Stddev_Pop_Fields = { - __typename?: 'predicate_objects_stddev_pop_fields' - object_id?: Maybe - predicate_id?: Maybe - triple_count?: Maybe -} + __typename?: 'predicate_objects_stddev_pop_fields'; + triple_count?: Maybe; +}; /** order by stddev_pop() on columns of table "predicate_object" */ export type Predicate_Objects_Stddev_Pop_Order_By = { - object_id?: InputMaybe - predicate_id?: InputMaybe - triple_count?: InputMaybe -} + triple_count?: InputMaybe; +}; /** aggregate stddev_samp on columns */ export type Predicate_Objects_Stddev_Samp_Fields = { - __typename?: 'predicate_objects_stddev_samp_fields' - object_id?: Maybe - predicate_id?: Maybe - triple_count?: Maybe -} + __typename?: 'predicate_objects_stddev_samp_fields'; + triple_count?: Maybe; +}; /** order by stddev_samp() on columns of table "predicate_object" */ export type Predicate_Objects_Stddev_Samp_Order_By = { - object_id?: InputMaybe - predicate_id?: InputMaybe - triple_count?: InputMaybe -} + triple_count?: InputMaybe; +}; /** Streaming cursor of the table "predicate_objects" */ export type Predicate_Objects_Stream_Cursor_Input = { /** Stream column input with initial value */ - initial_value: Predicate_Objects_Stream_Cursor_Value_Input + initial_value: Predicate_Objects_Stream_Cursor_Value_Input; /** cursor ordering */ - ordering?: InputMaybe -} + ordering?: InputMaybe; +}; /** Initial value of the column from where the streaming should start */ export type Predicate_Objects_Stream_Cursor_Value_Input = { - id?: InputMaybe - object_id?: InputMaybe - predicate_id?: InputMaybe - triple_count?: InputMaybe -} + id?: InputMaybe; + object_id?: InputMaybe; + predicate_id?: InputMaybe; + triple_count?: InputMaybe; +}; /** aggregate sum on columns */ export type Predicate_Objects_Sum_Fields = { - __typename?: 'predicate_objects_sum_fields' - object_id?: Maybe - predicate_id?: Maybe - triple_count?: Maybe -} + __typename?: 'predicate_objects_sum_fields'; + triple_count?: Maybe; +}; /** order by sum() on columns of table "predicate_object" */ export type Predicate_Objects_Sum_Order_By = { - object_id?: InputMaybe - predicate_id?: InputMaybe - triple_count?: InputMaybe -} + triple_count?: InputMaybe; +}; /** aggregate var_pop on columns */ export type Predicate_Objects_Var_Pop_Fields = { - __typename?: 'predicate_objects_var_pop_fields' - object_id?: Maybe - predicate_id?: Maybe - triple_count?: Maybe -} + __typename?: 'predicate_objects_var_pop_fields'; + triple_count?: Maybe; +}; /** order by var_pop() on columns of table "predicate_object" */ export type Predicate_Objects_Var_Pop_Order_By = { - object_id?: InputMaybe - predicate_id?: InputMaybe - triple_count?: InputMaybe -} + triple_count?: InputMaybe; +}; /** aggregate var_samp on columns */ export type Predicate_Objects_Var_Samp_Fields = { - __typename?: 'predicate_objects_var_samp_fields' - object_id?: Maybe - predicate_id?: Maybe - triple_count?: Maybe -} + __typename?: 'predicate_objects_var_samp_fields'; + triple_count?: Maybe; +}; /** order by var_samp() on columns of table "predicate_object" */ export type Predicate_Objects_Var_Samp_Order_By = { - object_id?: InputMaybe - predicate_id?: InputMaybe - triple_count?: InputMaybe -} + triple_count?: InputMaybe; +}; /** aggregate variance on columns */ export type Predicate_Objects_Variance_Fields = { - __typename?: 'predicate_objects_variance_fields' - object_id?: Maybe - predicate_id?: Maybe - triple_count?: Maybe -} + __typename?: 'predicate_objects_variance_fields'; + triple_count?: Maybe; +}; /** order by variance() on columns of table "predicate_object" */ export type Predicate_Objects_Variance_Order_By = { - object_id?: InputMaybe - predicate_id?: InputMaybe - triple_count?: InputMaybe -} + triple_count?: InputMaybe; +}; export type Query_Root = { - __typename?: 'query_root' + __typename?: 'query_root'; /** fetch data from the table: "account" using primary key columns */ - account?: Maybe + account?: Maybe; /** An array relationship */ - accounts: Array + accounts: Array; /** An aggregate relationship */ - accounts_aggregate: Accounts_Aggregate + accounts_aggregate: Accounts_Aggregate; /** fetch data from the table: "atom" using primary key columns */ - atom?: Maybe + atom?: Maybe; /** fetch data from the table: "atom_value" using primary key columns */ - atom_value?: Maybe + atom_value?: Maybe; /** fetch data from the table: "atom_value" */ - atom_values: Array + atom_values: Array; /** fetch aggregated fields from the table: "atom_value" */ - atom_values_aggregate: Atom_Values_Aggregate + atom_values_aggregate: Atom_Values_Aggregate; /** An array relationship */ - atoms: Array + atoms: Array; /** An aggregate relationship */ - atoms_aggregate: Atoms_Aggregate + atoms_aggregate: Atoms_Aggregate; /** fetch data from the table: "book" using primary key columns */ - book?: Maybe + book?: Maybe; /** fetch data from the table: "book" */ - books: Array + books: Array; /** fetch aggregated fields from the table: "book" */ - books_aggregate: Books_Aggregate + books_aggregate: Books_Aggregate; /** fetch data from the table: "byte_object" */ - byte_object: Array + byte_object: Array; /** fetch aggregated fields from the table: "byte_object" */ - byte_object_aggregate: Byte_Object_Aggregate + byte_object_aggregate: Byte_Object_Aggregate; /** fetch data from the table: "byte_object" using primary key columns */ - byte_object_by_pk?: Maybe + byte_object_by_pk?: Maybe; /** fetch data from the table: "cached_images.cached_image" */ - cached_images_cached_image: Array + cached_images_cached_image: Array; /** fetch data from the table: "cached_images.cached_image" using primary key columns */ - cached_images_cached_image_by_pk?: Maybe + cached_images_cached_image_by_pk?: Maybe; /** fetch data from the table: "caip10" using primary key columns */ - caip10?: Maybe + caip10?: Maybe; /** fetch aggregated fields from the table: "caip10" */ - caip10_aggregate: Caip10_Aggregate + caip10_aggregate: Caip10_Aggregate; /** fetch data from the table: "caip10" */ - caip10s: Array + caip10s: Array; /** fetch data from the table: "chainlink_price" using primary key columns */ - chainlink_price?: Maybe + chainlink_price?: Maybe; /** fetch data from the table: "chainlink_price" */ - chainlink_prices: Array + chainlink_prices: Array; /** fetch data from the table: "deposit" using primary key columns */ - deposit?: Maybe + deposit?: Maybe; /** An array relationship */ - deposits: Array + deposits: Array; /** An aggregate relationship */ - deposits_aggregate: Deposits_Aggregate + deposits_aggregate: Deposits_Aggregate; /** fetch data from the table: "event" using primary key columns */ - event?: Maybe + event?: Maybe; /** fetch data from the table: "event" */ - events: Array + events: Array; /** fetch aggregated fields from the table: "event" */ - events_aggregate: Events_Aggregate + events_aggregate: Events_Aggregate; /** fetch data from the table: "fee_transfer" using primary key columns */ - fee_transfer?: Maybe + fee_transfer?: Maybe; /** An array relationship */ - fee_transfers: Array + fee_transfers: Array; /** An aggregate relationship */ - fee_transfers_aggregate: Fee_Transfers_Aggregate + fee_transfers_aggregate: Fee_Transfers_Aggregate; /** execute function "following" which returns "account" */ - following: Array + following: Array; /** execute function "following" and query aggregates on result of table type "account" */ - following_aggregate: Accounts_Aggregate + following_aggregate: Accounts_Aggregate; /** fetch data from the table: "json_object" using primary key columns */ - json_object?: Maybe + json_object?: Maybe; /** fetch data from the table: "json_object" */ - json_objects: Array + json_objects: Array; /** fetch aggregated fields from the table: "json_object" */ - json_objects_aggregate: Json_Objects_Aggregate + json_objects_aggregate: Json_Objects_Aggregate; /** fetch data from the table: "organization" using primary key columns */ - organization?: Maybe + organization?: Maybe; /** fetch data from the table: "organization" */ - organizations: Array + organizations: Array; /** fetch aggregated fields from the table: "organization" */ - organizations_aggregate: Organizations_Aggregate + organizations_aggregate: Organizations_Aggregate; /** fetch data from the table: "person" using primary key columns */ - person?: Maybe + person?: Maybe; /** fetch data from the table: "person" */ - persons: Array + persons: Array; /** fetch aggregated fields from the table: "person" */ - persons_aggregate: Persons_Aggregate + persons_aggregate: Persons_Aggregate; /** fetch data from the table: "position" using primary key columns */ - position?: Maybe + position?: Maybe; /** An array relationship */ - positions: Array + positions: Array; /** An aggregate relationship */ - positions_aggregate: Positions_Aggregate + positions_aggregate: Positions_Aggregate; /** execute function "positions_from_following" which returns "position" */ - positions_from_following: Array + positions_from_following: Array; /** execute function "positions_from_following" and query aggregates on result of table type "position" */ - positions_from_following_aggregate: Positions_Aggregate + positions_from_following_aggregate: Positions_Aggregate; /** fetch data from the table: "predicate_object" */ - predicate_objects: Array + predicate_objects: Array; /** fetch aggregated fields from the table: "predicate_object" */ - predicate_objects_aggregate: Predicate_Objects_Aggregate + predicate_objects_aggregate: Predicate_Objects_Aggregate; /** fetch data from the table: "predicate_object" using primary key columns */ - predicate_objects_by_pk?: Maybe + predicate_objects_by_pk?: Maybe; /** fetch data from the table: "redemption" using primary key columns */ - redemption?: Maybe + redemption?: Maybe; /** An array relationship */ - redemptions: Array + redemptions: Array; /** An aggregate relationship */ - redemptions_aggregate: Redemptions_Aggregate + redemptions_aggregate: Redemptions_Aggregate; /** execute function "search_positions_on_subject" which returns "position" */ - search_positions_on_subject: Array + search_positions_on_subject: Array; /** execute function "search_positions_on_subject" and query aggregates on result of table type "position" */ - search_positions_on_subject_aggregate: Positions_Aggregate + search_positions_on_subject_aggregate: Positions_Aggregate; /** execute function "search_term" which returns "term" */ - search_term: Array + search_term: Array; /** execute function "search_term" and query aggregates on result of table type "term" */ - search_term_aggregate: Terms_Aggregate + search_term_aggregate: Terms_Aggregate; /** execute function "search_term_from_following" which returns "term" */ - search_term_from_following: Array + search_term_from_following: Array; /** execute function "search_term_from_following" and query aggregates on result of table type "term" */ - search_term_from_following_aggregate: Terms_Aggregate + search_term_from_following_aggregate: Terms_Aggregate; /** An array relationship */ - share_price_change_stats_daily: Array + share_price_change_stats_daily: Array; /** An array relationship */ - share_price_change_stats_hourly: Array + share_price_change_stats_hourly: Array; /** An array relationship */ - share_price_change_stats_monthly: Array + share_price_change_stats_monthly: Array; /** An array relationship */ - share_price_change_stats_weekly: Array + share_price_change_stats_weekly: Array; /** An array relationship */ - share_price_changes: Array + share_price_changes: Array; /** An aggregate relationship */ - share_price_changes_aggregate: Share_Price_Changes_Aggregate + share_price_changes_aggregate: Share_Price_Changes_Aggregate; /** fetch data from the table: "signal_stats_daily" */ - signal_stats_daily: Array + signal_stats_daily: Array; /** fetch data from the table: "signal_stats_hourly" */ - signal_stats_hourly: Array + signal_stats_hourly: Array; /** fetch data from the table: "signal_stats_monthly" */ - signal_stats_monthly: Array + signal_stats_monthly: Array; /** fetch data from the table: "signal_stats_weekly" */ - signal_stats_weekly: Array + signal_stats_weekly: Array; /** An array relationship */ - signals: Array + signals: Array; /** An aggregate relationship */ - signals_aggregate: Signals_Aggregate + signals_aggregate: Signals_Aggregate; /** execute function "signals_from_following" which returns "signal" */ - signals_from_following: Array + signals_from_following: Array; /** execute function "signals_from_following" and query aggregates on result of table type "signal" */ - signals_from_following_aggregate: Signals_Aggregate + signals_from_following_aggregate: Signals_Aggregate; /** fetch data from the table: "stats" using primary key columns */ - stat?: Maybe + stat?: Maybe; + /** fetch data from the table: "stats_hour" using primary key columns */ + statHour?: Maybe; + /** fetch data from the table: "stats_hour" */ + statHours: Array; /** fetch data from the table: "stats" */ - stats: Array + stats: Array; /** fetch aggregated fields from the table: "stats" */ - stats_aggregate: Stats_Aggregate + stats_aggregate: Stats_Aggregate; /** fetch data from the table: "term" using primary key columns */ - term?: Maybe + term?: Maybe; + /** fetch data from the table: "term_total_state_change_stats_daily" */ + term_total_state_change_stats_daily: Array; + /** fetch data from the table: "term_total_state_change_stats_hourly" */ + term_total_state_change_stats_hourly: Array; + /** fetch data from the table: "term_total_state_change_stats_monthly" */ + term_total_state_change_stats_monthly: Array; + /** fetch data from the table: "term_total_state_change_stats_weekly" */ + term_total_state_change_stats_weekly: Array; + /** An array relationship */ + term_total_state_changes: Array; /** fetch data from the table: "term" */ - terms: Array + terms: Array; /** fetch aggregated fields from the table: "term" */ - terms_aggregate: Terms_Aggregate + terms_aggregate: Terms_Aggregate; /** fetch data from the table: "text_object" using primary key columns */ - text_object?: Maybe + text_object?: Maybe; /** fetch data from the table: "text_object" */ - text_objects: Array + text_objects: Array; /** fetch aggregated fields from the table: "text_object" */ - text_objects_aggregate: Text_Objects_Aggregate + text_objects_aggregate: Text_Objects_Aggregate; /** fetch data from the table: "thing" using primary key columns */ - thing?: Maybe + thing?: Maybe; /** fetch data from the table: "thing" */ - things: Array + things: Array; /** fetch aggregated fields from the table: "thing" */ - things_aggregate: Things_Aggregate + things_aggregate: Things_Aggregate; /** fetch data from the table: "triple" using primary key columns */ - triple?: Maybe + triple?: Maybe; /** fetch data from the table: "triple_term" using primary key columns */ - triple_term?: Maybe + triple_term?: Maybe; /** fetch data from the table: "triple_term" */ - triple_terms: Array + triple_terms: Array; /** fetch data from the table: "triple_vault" using primary key columns */ - triple_vault?: Maybe + triple_vault?: Maybe; /** fetch data from the table: "triple_vault" */ - triple_vaults: Array + triple_vaults: Array; /** An array relationship */ - triples: Array + triples: Array; /** An aggregate relationship */ - triples_aggregate: Triples_Aggregate + triples_aggregate: Triples_Aggregate; /** fetch data from the table: "vault" using primary key columns */ - vault?: Maybe + vault?: Maybe; /** An array relationship */ - vaults: Array + vaults: Array; /** An aggregate relationship */ - vaults_aggregate: Vaults_Aggregate -} + vaults_aggregate: Vaults_Aggregate; +}; + export type Query_RootAccountArgs = { - id: Scalars['String']['input'] -} + id: Scalars['String']['input']; +}; + export type Query_RootAccountsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootAccounts_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootAtomArgs = { - term_id: Scalars['numeric']['input'] -} + term_id: Scalars['String']['input']; +}; + export type Query_RootAtom_ValueArgs = { - id: Scalars['numeric']['input'] -} + id: Scalars['String']['input']; +}; + export type Query_RootAtom_ValuesArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootAtom_Values_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootAtomsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootAtoms_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootBookArgs = { - id: Scalars['numeric']['input'] -} + id: Scalars['String']['input']; +}; + export type Query_RootBooksArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootBooks_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootByte_ObjectArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootByte_Object_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootByte_Object_By_PkArgs = { - id: Scalars['numeric']['input'] -} + id: Scalars['String']['input']; +}; + export type Query_RootCached_Images_Cached_ImageArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootCached_Images_Cached_Image_By_PkArgs = { - url: Scalars['String']['input'] -} + url: Scalars['String']['input']; +}; + export type Query_RootCaip10Args = { - id: Scalars['numeric']['input'] -} + id: Scalars['String']['input']; +}; + export type Query_RootCaip10_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootCaip10sArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootChainlink_PriceArgs = { - id: Scalars['numeric']['input'] -} + id: Scalars['numeric']['input']; +}; + export type Query_RootChainlink_PricesArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootDepositArgs = { - id: Scalars['String']['input'] -} + id: Scalars['String']['input']; +}; + export type Query_RootDepositsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootDeposits_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootEventArgs = { - id: Scalars['String']['input'] -} + id: Scalars['String']['input']; +}; + export type Query_RootEventsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootEvents_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootFee_TransferArgs = { - id: Scalars['String']['input'] -} + id: Scalars['String']['input']; +}; + export type Query_RootFee_TransfersArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootFee_Transfers_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootFollowingArgs = { - args: Following_Args - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + args: Following_Args; + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootFollowing_AggregateArgs = { - args: Following_Args - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + args: Following_Args; + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootJson_ObjectArgs = { - id: Scalars['numeric']['input'] -} + id: Scalars['String']['input']; +}; + export type Query_RootJson_ObjectsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootJson_Objects_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootOrganizationArgs = { - id: Scalars['numeric']['input'] -} + id: Scalars['String']['input']; +}; + export type Query_RootOrganizationsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootOrganizations_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootPersonArgs = { - id: Scalars['numeric']['input'] -} + id: Scalars['String']['input']; +}; + export type Query_RootPersonsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootPersons_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootPositionArgs = { - id: Scalars['String']['input'] -} + id: Scalars['String']['input']; +}; + export type Query_RootPositionsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootPositions_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootPositions_From_FollowingArgs = { - args: Positions_From_Following_Args - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + args: Positions_From_Following_Args; + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootPositions_From_Following_AggregateArgs = { - args: Positions_From_Following_Args - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + args: Positions_From_Following_Args; + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootPredicate_ObjectsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootPredicate_Objects_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootPredicate_Objects_By_PkArgs = { - id: Scalars['String']['input'] -} + id: Scalars['String']['input']; +}; + export type Query_RootRedemptionArgs = { - id: Scalars['String']['input'] -} + id: Scalars['String']['input']; +}; + export type Query_RootRedemptionsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootRedemptions_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootSearch_Positions_On_SubjectArgs = { - args: Search_Positions_On_Subject_Args - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + args: Search_Positions_On_Subject_Args; + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootSearch_Positions_On_Subject_AggregateArgs = { - args: Search_Positions_On_Subject_Args - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + args: Search_Positions_On_Subject_Args; + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootSearch_TermArgs = { - args: Search_Term_Args - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + args: Search_Term_Args; + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootSearch_Term_AggregateArgs = { - args: Search_Term_Args - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + args: Search_Term_Args; + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootSearch_Term_From_FollowingArgs = { - args: Search_Term_From_Following_Args - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + args: Search_Term_From_Following_Args; + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootSearch_Term_From_Following_AggregateArgs = { - args: Search_Term_From_Following_Args - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + args: Search_Term_From_Following_Args; + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootShare_Price_Change_Stats_DailyArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootShare_Price_Change_Stats_HourlyArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootShare_Price_Change_Stats_MonthlyArgs = { - distinct_on?: InputMaybe< - Array - > - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootShare_Price_Change_Stats_WeeklyArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootShare_Price_ChangesArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootShare_Price_Changes_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootSignal_Stats_DailyArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootSignal_Stats_HourlyArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootSignal_Stats_MonthlyArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootSignal_Stats_WeeklyArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootSignalsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootSignals_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootSignals_From_FollowingArgs = { - args: Signals_From_Following_Args - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + args: Signals_From_Following_Args; + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootSignals_From_Following_AggregateArgs = { - args: Signals_From_Following_Args - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + args: Signals_From_Following_Args; + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootStatArgs = { - id: Scalars['Int']['input'] -} + id: Scalars['Int']['input']; +}; -export type Query_RootStatsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} -export type Query_RootStats_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} +export type Query_RootStatHourArgs = { + id: Scalars['Int']['input']; +}; + + +export type Query_RootStatHoursArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Query_RootStatsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Query_RootStats_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootTermArgs = { - id: Scalars['numeric']['input'] -} + id: Scalars['String']['input']; +}; + + +export type Query_RootTerm_Total_State_Change_Stats_DailyArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Query_RootTerm_Total_State_Change_Stats_HourlyArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Query_RootTerm_Total_State_Change_Stats_MonthlyArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Query_RootTerm_Total_State_Change_Stats_WeeklyArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Query_RootTerm_Total_State_ChangesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootTermsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootTerms_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootText_ObjectArgs = { - id: Scalars['numeric']['input'] -} + id: Scalars['String']['input']; +}; + export type Query_RootText_ObjectsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootText_Objects_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootThingArgs = { - id: Scalars['numeric']['input'] -} + id: Scalars['String']['input']; +}; + export type Query_RootThingsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootThings_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootTripleArgs = { - term_id: Scalars['numeric']['input'] -} + term_id: Scalars['String']['input']; +}; + export type Query_RootTriple_TermArgs = { - term_id: Scalars['numeric']['input'] -} + term_id: Scalars['String']['input']; +}; + export type Query_RootTriple_TermsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootTriple_VaultArgs = { - curve_id: Scalars['numeric']['input'] - term_id: Scalars['numeric']['input'] -} + curve_id: Scalars['numeric']['input']; + term_id: Scalars['String']['input']; +}; + export type Query_RootTriple_VaultsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootTriplesArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootTriples_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootVaultArgs = { - curve_id: Scalars['numeric']['input'] - term_id: Scalars['numeric']['input'] -} + curve_id: Scalars['numeric']['input']; + term_id: Scalars['String']['input']; +}; + export type Query_RootVaultsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Query_RootVaults_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; /** columns and relationships of "redemption" */ export type Redemptions = { - __typename?: 'redemptions' - assets_for_receiver: Scalars['numeric']['output'] - block_number: Scalars['numeric']['output'] - created_at: Scalars['timestamptz']['output'] - curve_id: Scalars['numeric']['output'] - exit_fee: Scalars['numeric']['output'] - id: Scalars['String']['output'] + __typename?: 'redemptions'; + assets: Scalars['numeric']['output']; + block_number: Scalars['numeric']['output']; + created_at: Scalars['timestamptz']['output']; + curve_id: Scalars['numeric']['output']; + fees: Scalars['numeric']['output']; + id: Scalars['String']['output']; + log_index: Scalars['bigint']['output']; /** An object relationship */ - receiver: Accounts - receiver_id: Scalars['String']['output'] + receiver: Accounts; + receiver_id: Scalars['String']['output']; /** An object relationship */ - sender?: Maybe - sender_id: Scalars['String']['output'] - sender_total_shares_in_vault: Scalars['numeric']['output'] - shares_redeemed_by_sender: Scalars['numeric']['output'] + sender?: Maybe; + sender_id: Scalars['String']['output']; + shares: Scalars['numeric']['output']; /** An object relationship */ - term: Terms - term_id: Scalars['numeric']['output'] - transaction_hash: Scalars['String']['output'] + term: Terms; + term_id: Scalars['String']['output']; + total_shares: Scalars['numeric']['output']; + transaction_hash: Scalars['String']['output']; /** An object relationship */ - vault?: Maybe -} + vault?: Maybe; + vault_type: Scalars['vault_type']['output']; +}; /** aggregated selection of "redemption" */ export type Redemptions_Aggregate = { - __typename?: 'redemptions_aggregate' - aggregate?: Maybe - nodes: Array -} + __typename?: 'redemptions_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; export type Redemptions_Aggregate_Bool_Exp = { - count?: InputMaybe -} + count?: InputMaybe; +}; export type Redemptions_Aggregate_Bool_Exp_Count = { - arguments?: InputMaybe> - distinct?: InputMaybe - filter?: InputMaybe - predicate: Int_Comparison_Exp -} + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Int_Comparison_Exp; +}; /** aggregate fields of "redemption" */ export type Redemptions_Aggregate_Fields = { - __typename?: 'redemptions_aggregate_fields' - avg?: Maybe - count: Scalars['Int']['output'] - max?: Maybe - min?: Maybe - stddev?: Maybe - stddev_pop?: Maybe - stddev_samp?: Maybe - sum?: Maybe - var_pop?: Maybe - var_samp?: Maybe - variance?: Maybe -} + __typename?: 'redemptions_aggregate_fields'; + avg?: Maybe; + count: Scalars['Int']['output']; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + /** aggregate fields of "redemption" */ export type Redemptions_Aggregate_FieldsCountArgs = { - columns?: InputMaybe> - distinct?: InputMaybe -} + columns?: InputMaybe>; + distinct?: InputMaybe; +}; /** order by aggregate values of table "redemption" */ export type Redemptions_Aggregate_Order_By = { - avg?: InputMaybe - count?: InputMaybe - max?: InputMaybe - min?: InputMaybe - stddev?: InputMaybe - stddev_pop?: InputMaybe - stddev_samp?: InputMaybe - sum?: InputMaybe - var_pop?: InputMaybe - var_samp?: InputMaybe - variance?: InputMaybe -} + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; /** aggregate avg on columns */ export type Redemptions_Avg_Fields = { - __typename?: 'redemptions_avg_fields' - assets_for_receiver?: Maybe - block_number?: Maybe - curve_id?: Maybe - exit_fee?: Maybe - sender_total_shares_in_vault?: Maybe - shares_redeemed_by_sender?: Maybe - term_id?: Maybe -} + __typename?: 'redemptions_avg_fields'; + assets?: Maybe; + block_number?: Maybe; + curve_id?: Maybe; + fees?: Maybe; + log_index?: Maybe; + shares?: Maybe; + total_shares?: Maybe; +}; /** order by avg() on columns of table "redemption" */ export type Redemptions_Avg_Order_By = { - assets_for_receiver?: InputMaybe - block_number?: InputMaybe - curve_id?: InputMaybe - exit_fee?: InputMaybe - sender_total_shares_in_vault?: InputMaybe - shares_redeemed_by_sender?: InputMaybe - term_id?: InputMaybe -} + assets?: InputMaybe; + block_number?: InputMaybe; + curve_id?: InputMaybe; + fees?: InputMaybe; + log_index?: InputMaybe; + shares?: InputMaybe; + total_shares?: InputMaybe; +}; /** Boolean expression to filter rows from the table "redemption". All fields are combined with a logical 'AND'. */ export type Redemptions_Bool_Exp = { - _and?: InputMaybe> - _not?: InputMaybe - _or?: InputMaybe> - assets_for_receiver?: InputMaybe - block_number?: InputMaybe - created_at?: InputMaybe - curve_id?: InputMaybe - exit_fee?: InputMaybe - id?: InputMaybe - receiver?: InputMaybe - receiver_id?: InputMaybe - sender?: InputMaybe - sender_id?: InputMaybe - sender_total_shares_in_vault?: InputMaybe - shares_redeemed_by_sender?: InputMaybe - term?: InputMaybe - term_id?: InputMaybe - transaction_hash?: InputMaybe - vault?: InputMaybe -} + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + assets?: InputMaybe; + block_number?: InputMaybe; + created_at?: InputMaybe; + curve_id?: InputMaybe; + fees?: InputMaybe; + id?: InputMaybe; + log_index?: InputMaybe; + receiver?: InputMaybe; + receiver_id?: InputMaybe; + sender?: InputMaybe; + sender_id?: InputMaybe; + shares?: InputMaybe; + term?: InputMaybe; + term_id?: InputMaybe; + total_shares?: InputMaybe; + transaction_hash?: InputMaybe; + vault?: InputMaybe; + vault_type?: InputMaybe; +}; /** aggregate max on columns */ export type Redemptions_Max_Fields = { - __typename?: 'redemptions_max_fields' - assets_for_receiver?: Maybe - block_number?: Maybe - created_at?: Maybe - curve_id?: Maybe - exit_fee?: Maybe - id?: Maybe - receiver_id?: Maybe - sender_id?: Maybe - sender_total_shares_in_vault?: Maybe - shares_redeemed_by_sender?: Maybe - term_id?: Maybe - transaction_hash?: Maybe -} + __typename?: 'redemptions_max_fields'; + assets?: Maybe; + block_number?: Maybe; + created_at?: Maybe; + curve_id?: Maybe; + fees?: Maybe; + id?: Maybe; + log_index?: Maybe; + receiver_id?: Maybe; + sender_id?: Maybe; + shares?: Maybe; + term_id?: Maybe; + total_shares?: Maybe; + transaction_hash?: Maybe; + vault_type?: Maybe; +}; /** order by max() on columns of table "redemption" */ export type Redemptions_Max_Order_By = { - assets_for_receiver?: InputMaybe - block_number?: InputMaybe - created_at?: InputMaybe - curve_id?: InputMaybe - exit_fee?: InputMaybe - id?: InputMaybe - receiver_id?: InputMaybe - sender_id?: InputMaybe - sender_total_shares_in_vault?: InputMaybe - shares_redeemed_by_sender?: InputMaybe - term_id?: InputMaybe - transaction_hash?: InputMaybe -} + assets?: InputMaybe; + block_number?: InputMaybe; + created_at?: InputMaybe; + curve_id?: InputMaybe; + fees?: InputMaybe; + id?: InputMaybe; + log_index?: InputMaybe; + receiver_id?: InputMaybe; + sender_id?: InputMaybe; + shares?: InputMaybe; + term_id?: InputMaybe; + total_shares?: InputMaybe; + transaction_hash?: InputMaybe; + vault_type?: InputMaybe; +}; /** aggregate min on columns */ export type Redemptions_Min_Fields = { - __typename?: 'redemptions_min_fields' - assets_for_receiver?: Maybe - block_number?: Maybe - created_at?: Maybe - curve_id?: Maybe - exit_fee?: Maybe - id?: Maybe - receiver_id?: Maybe - sender_id?: Maybe - sender_total_shares_in_vault?: Maybe - shares_redeemed_by_sender?: Maybe - term_id?: Maybe - transaction_hash?: Maybe -} + __typename?: 'redemptions_min_fields'; + assets?: Maybe; + block_number?: Maybe; + created_at?: Maybe; + curve_id?: Maybe; + fees?: Maybe; + id?: Maybe; + log_index?: Maybe; + receiver_id?: Maybe; + sender_id?: Maybe; + shares?: Maybe; + term_id?: Maybe; + total_shares?: Maybe; + transaction_hash?: Maybe; + vault_type?: Maybe; +}; /** order by min() on columns of table "redemption" */ export type Redemptions_Min_Order_By = { - assets_for_receiver?: InputMaybe - block_number?: InputMaybe - created_at?: InputMaybe - curve_id?: InputMaybe - exit_fee?: InputMaybe - id?: InputMaybe - receiver_id?: InputMaybe - sender_id?: InputMaybe - sender_total_shares_in_vault?: InputMaybe - shares_redeemed_by_sender?: InputMaybe - term_id?: InputMaybe - transaction_hash?: InputMaybe -} + assets?: InputMaybe; + block_number?: InputMaybe; + created_at?: InputMaybe; + curve_id?: InputMaybe; + fees?: InputMaybe; + id?: InputMaybe; + log_index?: InputMaybe; + receiver_id?: InputMaybe; + sender_id?: InputMaybe; + shares?: InputMaybe; + term_id?: InputMaybe; + total_shares?: InputMaybe; + transaction_hash?: InputMaybe; + vault_type?: InputMaybe; +}; /** Ordering options when selecting data from "redemption". */ export type Redemptions_Order_By = { - assets_for_receiver?: InputMaybe - block_number?: InputMaybe - created_at?: InputMaybe - curve_id?: InputMaybe - exit_fee?: InputMaybe - id?: InputMaybe - receiver?: InputMaybe - receiver_id?: InputMaybe - sender?: InputMaybe - sender_id?: InputMaybe - sender_total_shares_in_vault?: InputMaybe - shares_redeemed_by_sender?: InputMaybe - term?: InputMaybe - term_id?: InputMaybe - transaction_hash?: InputMaybe - vault?: InputMaybe -} + assets?: InputMaybe; + block_number?: InputMaybe; + created_at?: InputMaybe; + curve_id?: InputMaybe; + fees?: InputMaybe; + id?: InputMaybe; + log_index?: InputMaybe; + receiver?: InputMaybe; + receiver_id?: InputMaybe; + sender?: InputMaybe; + sender_id?: InputMaybe; + shares?: InputMaybe; + term?: InputMaybe; + term_id?: InputMaybe; + total_shares?: InputMaybe; + transaction_hash?: InputMaybe; + vault?: InputMaybe; + vault_type?: InputMaybe; +}; /** select columns of table "redemption" */ export type Redemptions_Select_Column = /** column name */ - | 'assets_for_receiver' + | 'assets' /** column name */ | 'block_number' /** column name */ @@ -5365,308 +5137,313 @@ export type Redemptions_Select_Column = /** column name */ | 'curve_id' /** column name */ - | 'exit_fee' + | 'fees' /** column name */ | 'id' /** column name */ + | 'log_index' + /** column name */ | 'receiver_id' /** column name */ | 'sender_id' /** column name */ - | 'sender_total_shares_in_vault' - /** column name */ - | 'shares_redeemed_by_sender' + | 'shares' /** column name */ | 'term_id' /** column name */ + | 'total_shares' + /** column name */ | 'transaction_hash' + /** column name */ + | 'vault_type'; /** aggregate stddev on columns */ export type Redemptions_Stddev_Fields = { - __typename?: 'redemptions_stddev_fields' - assets_for_receiver?: Maybe - block_number?: Maybe - curve_id?: Maybe - exit_fee?: Maybe - sender_total_shares_in_vault?: Maybe - shares_redeemed_by_sender?: Maybe - term_id?: Maybe -} + __typename?: 'redemptions_stddev_fields'; + assets?: Maybe; + block_number?: Maybe; + curve_id?: Maybe; + fees?: Maybe; + log_index?: Maybe; + shares?: Maybe; + total_shares?: Maybe; +}; /** order by stddev() on columns of table "redemption" */ export type Redemptions_Stddev_Order_By = { - assets_for_receiver?: InputMaybe - block_number?: InputMaybe - curve_id?: InputMaybe - exit_fee?: InputMaybe - sender_total_shares_in_vault?: InputMaybe - shares_redeemed_by_sender?: InputMaybe - term_id?: InputMaybe -} + assets?: InputMaybe; + block_number?: InputMaybe; + curve_id?: InputMaybe; + fees?: InputMaybe; + log_index?: InputMaybe; + shares?: InputMaybe; + total_shares?: InputMaybe; +}; /** aggregate stddev_pop on columns */ export type Redemptions_Stddev_Pop_Fields = { - __typename?: 'redemptions_stddev_pop_fields' - assets_for_receiver?: Maybe - block_number?: Maybe - curve_id?: Maybe - exit_fee?: Maybe - sender_total_shares_in_vault?: Maybe - shares_redeemed_by_sender?: Maybe - term_id?: Maybe -} + __typename?: 'redemptions_stddev_pop_fields'; + assets?: Maybe; + block_number?: Maybe; + curve_id?: Maybe; + fees?: Maybe; + log_index?: Maybe; + shares?: Maybe; + total_shares?: Maybe; +}; /** order by stddev_pop() on columns of table "redemption" */ export type Redemptions_Stddev_Pop_Order_By = { - assets_for_receiver?: InputMaybe - block_number?: InputMaybe - curve_id?: InputMaybe - exit_fee?: InputMaybe - sender_total_shares_in_vault?: InputMaybe - shares_redeemed_by_sender?: InputMaybe - term_id?: InputMaybe -} + assets?: InputMaybe; + block_number?: InputMaybe; + curve_id?: InputMaybe; + fees?: InputMaybe; + log_index?: InputMaybe; + shares?: InputMaybe; + total_shares?: InputMaybe; +}; /** aggregate stddev_samp on columns */ export type Redemptions_Stddev_Samp_Fields = { - __typename?: 'redemptions_stddev_samp_fields' - assets_for_receiver?: Maybe - block_number?: Maybe - curve_id?: Maybe - exit_fee?: Maybe - sender_total_shares_in_vault?: Maybe - shares_redeemed_by_sender?: Maybe - term_id?: Maybe -} + __typename?: 'redemptions_stddev_samp_fields'; + assets?: Maybe; + block_number?: Maybe; + curve_id?: Maybe; + fees?: Maybe; + log_index?: Maybe; + shares?: Maybe; + total_shares?: Maybe; +}; /** order by stddev_samp() on columns of table "redemption" */ export type Redemptions_Stddev_Samp_Order_By = { - assets_for_receiver?: InputMaybe - block_number?: InputMaybe - curve_id?: InputMaybe - exit_fee?: InputMaybe - sender_total_shares_in_vault?: InputMaybe - shares_redeemed_by_sender?: InputMaybe - term_id?: InputMaybe -} + assets?: InputMaybe; + block_number?: InputMaybe; + curve_id?: InputMaybe; + fees?: InputMaybe; + log_index?: InputMaybe; + shares?: InputMaybe; + total_shares?: InputMaybe; +}; /** Streaming cursor of the table "redemptions" */ export type Redemptions_Stream_Cursor_Input = { /** Stream column input with initial value */ - initial_value: Redemptions_Stream_Cursor_Value_Input + initial_value: Redemptions_Stream_Cursor_Value_Input; /** cursor ordering */ - ordering?: InputMaybe -} + ordering?: InputMaybe; +}; /** Initial value of the column from where the streaming should start */ export type Redemptions_Stream_Cursor_Value_Input = { - assets_for_receiver?: InputMaybe - block_number?: InputMaybe - created_at?: InputMaybe - curve_id?: InputMaybe - exit_fee?: InputMaybe - id?: InputMaybe - receiver_id?: InputMaybe - sender_id?: InputMaybe - sender_total_shares_in_vault?: InputMaybe - shares_redeemed_by_sender?: InputMaybe - term_id?: InputMaybe - transaction_hash?: InputMaybe -} + assets?: InputMaybe; + block_number?: InputMaybe; + created_at?: InputMaybe; + curve_id?: InputMaybe; + fees?: InputMaybe; + id?: InputMaybe; + log_index?: InputMaybe; + receiver_id?: InputMaybe; + sender_id?: InputMaybe; + shares?: InputMaybe; + term_id?: InputMaybe; + total_shares?: InputMaybe; + transaction_hash?: InputMaybe; + vault_type?: InputMaybe; +}; /** aggregate sum on columns */ export type Redemptions_Sum_Fields = { - __typename?: 'redemptions_sum_fields' - assets_for_receiver?: Maybe - block_number?: Maybe - curve_id?: Maybe - exit_fee?: Maybe - sender_total_shares_in_vault?: Maybe - shares_redeemed_by_sender?: Maybe - term_id?: Maybe -} + __typename?: 'redemptions_sum_fields'; + assets?: Maybe; + block_number?: Maybe; + curve_id?: Maybe; + fees?: Maybe; + log_index?: Maybe; + shares?: Maybe; + total_shares?: Maybe; +}; /** order by sum() on columns of table "redemption" */ export type Redemptions_Sum_Order_By = { - assets_for_receiver?: InputMaybe - block_number?: InputMaybe - curve_id?: InputMaybe - exit_fee?: InputMaybe - sender_total_shares_in_vault?: InputMaybe - shares_redeemed_by_sender?: InputMaybe - term_id?: InputMaybe -} + assets?: InputMaybe; + block_number?: InputMaybe; + curve_id?: InputMaybe; + fees?: InputMaybe; + log_index?: InputMaybe; + shares?: InputMaybe; + total_shares?: InputMaybe; +}; /** aggregate var_pop on columns */ export type Redemptions_Var_Pop_Fields = { - __typename?: 'redemptions_var_pop_fields' - assets_for_receiver?: Maybe - block_number?: Maybe - curve_id?: Maybe - exit_fee?: Maybe - sender_total_shares_in_vault?: Maybe - shares_redeemed_by_sender?: Maybe - term_id?: Maybe -} + __typename?: 'redemptions_var_pop_fields'; + assets?: Maybe; + block_number?: Maybe; + curve_id?: Maybe; + fees?: Maybe; + log_index?: Maybe; + shares?: Maybe; + total_shares?: Maybe; +}; /** order by var_pop() on columns of table "redemption" */ export type Redemptions_Var_Pop_Order_By = { - assets_for_receiver?: InputMaybe - block_number?: InputMaybe - curve_id?: InputMaybe - exit_fee?: InputMaybe - sender_total_shares_in_vault?: InputMaybe - shares_redeemed_by_sender?: InputMaybe - term_id?: InputMaybe -} + assets?: InputMaybe; + block_number?: InputMaybe; + curve_id?: InputMaybe; + fees?: InputMaybe; + log_index?: InputMaybe; + shares?: InputMaybe; + total_shares?: InputMaybe; +}; /** aggregate var_samp on columns */ export type Redemptions_Var_Samp_Fields = { - __typename?: 'redemptions_var_samp_fields' - assets_for_receiver?: Maybe - block_number?: Maybe - curve_id?: Maybe - exit_fee?: Maybe - sender_total_shares_in_vault?: Maybe - shares_redeemed_by_sender?: Maybe - term_id?: Maybe -} + __typename?: 'redemptions_var_samp_fields'; + assets?: Maybe; + block_number?: Maybe; + curve_id?: Maybe; + fees?: Maybe; + log_index?: Maybe; + shares?: Maybe; + total_shares?: Maybe; +}; /** order by var_samp() on columns of table "redemption" */ export type Redemptions_Var_Samp_Order_By = { - assets_for_receiver?: InputMaybe - block_number?: InputMaybe - curve_id?: InputMaybe - exit_fee?: InputMaybe - sender_total_shares_in_vault?: InputMaybe - shares_redeemed_by_sender?: InputMaybe - term_id?: InputMaybe -} + assets?: InputMaybe; + block_number?: InputMaybe; + curve_id?: InputMaybe; + fees?: InputMaybe; + log_index?: InputMaybe; + shares?: InputMaybe; + total_shares?: InputMaybe; +}; /** aggregate variance on columns */ export type Redemptions_Variance_Fields = { - __typename?: 'redemptions_variance_fields' - assets_for_receiver?: Maybe - block_number?: Maybe - curve_id?: Maybe - exit_fee?: Maybe - sender_total_shares_in_vault?: Maybe - shares_redeemed_by_sender?: Maybe - term_id?: Maybe -} + __typename?: 'redemptions_variance_fields'; + assets?: Maybe; + block_number?: Maybe; + curve_id?: Maybe; + fees?: Maybe; + log_index?: Maybe; + shares?: Maybe; + total_shares?: Maybe; +}; /** order by variance() on columns of table "redemption" */ export type Redemptions_Variance_Order_By = { - assets_for_receiver?: InputMaybe - block_number?: InputMaybe - curve_id?: InputMaybe - exit_fee?: InputMaybe - sender_total_shares_in_vault?: InputMaybe - shares_redeemed_by_sender?: InputMaybe - term_id?: InputMaybe -} + assets?: InputMaybe; + block_number?: InputMaybe; + curve_id?: InputMaybe; + fees?: InputMaybe; + log_index?: InputMaybe; + shares?: InputMaybe; + total_shares?: InputMaybe; +}; export type Search_Positions_On_Subject_Args = { - addresses?: InputMaybe - search_fields?: InputMaybe -} + addresses?: InputMaybe; + search_fields?: InputMaybe; +}; export type Search_Term_Args = { - query?: InputMaybe -} + query?: InputMaybe; +}; export type Search_Term_From_Following_Args = { - address?: InputMaybe - query?: InputMaybe -} + address?: InputMaybe; + query?: InputMaybe; +}; /** columns and relationships of "share_price_change_stats_daily" */ export type Share_Price_Change_Stats_Daily = { - __typename?: 'share_price_change_stats_daily' - bucket?: Maybe - change_count?: Maybe - curve_id?: Maybe - difference?: Maybe - first_share_price?: Maybe - last_share_price?: Maybe + __typename?: 'share_price_change_stats_daily'; + bucket?: Maybe; + change_count?: Maybe; + curve_id?: Maybe; + difference?: Maybe; + first_share_price?: Maybe; + last_share_price?: Maybe; /** An object relationship */ - term?: Maybe - term_id?: Maybe -} + term?: Maybe; + term_id?: Maybe; +}; /** order by aggregate values of table "share_price_change_stats_daily" */ export type Share_Price_Change_Stats_Daily_Aggregate_Order_By = { - avg?: InputMaybe - count?: InputMaybe - max?: InputMaybe - min?: InputMaybe - stddev?: InputMaybe - stddev_pop?: InputMaybe - stddev_samp?: InputMaybe - sum?: InputMaybe - var_pop?: InputMaybe - var_samp?: InputMaybe - variance?: InputMaybe -} + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; /** order by avg() on columns of table "share_price_change_stats_daily" */ export type Share_Price_Change_Stats_Daily_Avg_Order_By = { - change_count?: InputMaybe - curve_id?: InputMaybe - difference?: InputMaybe - first_share_price?: InputMaybe - last_share_price?: InputMaybe - term_id?: InputMaybe -} + change_count?: InputMaybe; + curve_id?: InputMaybe; + difference?: InputMaybe; + first_share_price?: InputMaybe; + last_share_price?: InputMaybe; +}; /** Boolean expression to filter rows from the table "share_price_change_stats_daily". All fields are combined with a logical 'AND'. */ export type Share_Price_Change_Stats_Daily_Bool_Exp = { - _and?: InputMaybe> - _not?: InputMaybe - _or?: InputMaybe> - bucket?: InputMaybe - change_count?: InputMaybe - curve_id?: InputMaybe - difference?: InputMaybe - first_share_price?: InputMaybe - last_share_price?: InputMaybe - term?: InputMaybe - term_id?: InputMaybe -} + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + bucket?: InputMaybe; + change_count?: InputMaybe; + curve_id?: InputMaybe; + difference?: InputMaybe; + first_share_price?: InputMaybe; + last_share_price?: InputMaybe; + term?: InputMaybe; + term_id?: InputMaybe; +}; /** order by max() on columns of table "share_price_change_stats_daily" */ export type Share_Price_Change_Stats_Daily_Max_Order_By = { - bucket?: InputMaybe - change_count?: InputMaybe - curve_id?: InputMaybe - difference?: InputMaybe - first_share_price?: InputMaybe - last_share_price?: InputMaybe - term_id?: InputMaybe -} + bucket?: InputMaybe; + change_count?: InputMaybe; + curve_id?: InputMaybe; + difference?: InputMaybe; + first_share_price?: InputMaybe; + last_share_price?: InputMaybe; + term_id?: InputMaybe; +}; /** order by min() on columns of table "share_price_change_stats_daily" */ export type Share_Price_Change_Stats_Daily_Min_Order_By = { - bucket?: InputMaybe - change_count?: InputMaybe - curve_id?: InputMaybe - difference?: InputMaybe - first_share_price?: InputMaybe - last_share_price?: InputMaybe - term_id?: InputMaybe -} + bucket?: InputMaybe; + change_count?: InputMaybe; + curve_id?: InputMaybe; + difference?: InputMaybe; + first_share_price?: InputMaybe; + last_share_price?: InputMaybe; + term_id?: InputMaybe; +}; /** Ordering options when selecting data from "share_price_change_stats_daily". */ export type Share_Price_Change_Stats_Daily_Order_By = { - bucket?: InputMaybe - change_count?: InputMaybe - curve_id?: InputMaybe - difference?: InputMaybe - first_share_price?: InputMaybe - last_share_price?: InputMaybe - term?: InputMaybe - term_id?: InputMaybe -} + bucket?: InputMaybe; + change_count?: InputMaybe; + curve_id?: InputMaybe; + difference?: InputMaybe; + first_share_price?: InputMaybe; + last_share_price?: InputMaybe; + term?: InputMaybe; + term_id?: InputMaybe; +}; /** select columns of table "share_price_change_stats_daily" */ export type Share_Price_Change_Stats_Daily_Select_Column = @@ -5683,184 +5460,176 @@ export type Share_Price_Change_Stats_Daily_Select_Column = /** column name */ | 'last_share_price' /** column name */ - | 'term_id' + | 'term_id'; /** order by stddev() on columns of table "share_price_change_stats_daily" */ export type Share_Price_Change_Stats_Daily_Stddev_Order_By = { - change_count?: InputMaybe - curve_id?: InputMaybe - difference?: InputMaybe - first_share_price?: InputMaybe - last_share_price?: InputMaybe - term_id?: InputMaybe -} + change_count?: InputMaybe; + curve_id?: InputMaybe; + difference?: InputMaybe; + first_share_price?: InputMaybe; + last_share_price?: InputMaybe; +}; /** order by stddev_pop() on columns of table "share_price_change_stats_daily" */ export type Share_Price_Change_Stats_Daily_Stddev_Pop_Order_By = { - change_count?: InputMaybe - curve_id?: InputMaybe - difference?: InputMaybe - first_share_price?: InputMaybe - last_share_price?: InputMaybe - term_id?: InputMaybe -} + change_count?: InputMaybe; + curve_id?: InputMaybe; + difference?: InputMaybe; + first_share_price?: InputMaybe; + last_share_price?: InputMaybe; +}; /** order by stddev_samp() on columns of table "share_price_change_stats_daily" */ export type Share_Price_Change_Stats_Daily_Stddev_Samp_Order_By = { - change_count?: InputMaybe - curve_id?: InputMaybe - difference?: InputMaybe - first_share_price?: InputMaybe - last_share_price?: InputMaybe - term_id?: InputMaybe -} + change_count?: InputMaybe; + curve_id?: InputMaybe; + difference?: InputMaybe; + first_share_price?: InputMaybe; + last_share_price?: InputMaybe; +}; /** Streaming cursor of the table "share_price_change_stats_daily" */ export type Share_Price_Change_Stats_Daily_Stream_Cursor_Input = { /** Stream column input with initial value */ - initial_value: Share_Price_Change_Stats_Daily_Stream_Cursor_Value_Input + initial_value: Share_Price_Change_Stats_Daily_Stream_Cursor_Value_Input; /** cursor ordering */ - ordering?: InputMaybe -} + ordering?: InputMaybe; +}; /** Initial value of the column from where the streaming should start */ export type Share_Price_Change_Stats_Daily_Stream_Cursor_Value_Input = { - bucket?: InputMaybe - change_count?: InputMaybe - curve_id?: InputMaybe - difference?: InputMaybe - first_share_price?: InputMaybe - last_share_price?: InputMaybe - term_id?: InputMaybe -} + bucket?: InputMaybe; + change_count?: InputMaybe; + curve_id?: InputMaybe; + difference?: InputMaybe; + first_share_price?: InputMaybe; + last_share_price?: InputMaybe; + term_id?: InputMaybe; +}; /** order by sum() on columns of table "share_price_change_stats_daily" */ export type Share_Price_Change_Stats_Daily_Sum_Order_By = { - change_count?: InputMaybe - curve_id?: InputMaybe - difference?: InputMaybe - first_share_price?: InputMaybe - last_share_price?: InputMaybe - term_id?: InputMaybe -} + change_count?: InputMaybe; + curve_id?: InputMaybe; + difference?: InputMaybe; + first_share_price?: InputMaybe; + last_share_price?: InputMaybe; +}; /** order by var_pop() on columns of table "share_price_change_stats_daily" */ export type Share_Price_Change_Stats_Daily_Var_Pop_Order_By = { - change_count?: InputMaybe - curve_id?: InputMaybe - difference?: InputMaybe - first_share_price?: InputMaybe - last_share_price?: InputMaybe - term_id?: InputMaybe -} + change_count?: InputMaybe; + curve_id?: InputMaybe; + difference?: InputMaybe; + first_share_price?: InputMaybe; + last_share_price?: InputMaybe; +}; /** order by var_samp() on columns of table "share_price_change_stats_daily" */ export type Share_Price_Change_Stats_Daily_Var_Samp_Order_By = { - change_count?: InputMaybe - curve_id?: InputMaybe - difference?: InputMaybe - first_share_price?: InputMaybe - last_share_price?: InputMaybe - term_id?: InputMaybe -} + change_count?: InputMaybe; + curve_id?: InputMaybe; + difference?: InputMaybe; + first_share_price?: InputMaybe; + last_share_price?: InputMaybe; +}; /** order by variance() on columns of table "share_price_change_stats_daily" */ export type Share_Price_Change_Stats_Daily_Variance_Order_By = { - change_count?: InputMaybe - curve_id?: InputMaybe - difference?: InputMaybe - first_share_price?: InputMaybe - last_share_price?: InputMaybe - term_id?: InputMaybe -} + change_count?: InputMaybe; + curve_id?: InputMaybe; + difference?: InputMaybe; + first_share_price?: InputMaybe; + last_share_price?: InputMaybe; +}; /** columns and relationships of "share_price_change_stats_hourly" */ export type Share_Price_Change_Stats_Hourly = { - __typename?: 'share_price_change_stats_hourly' - bucket?: Maybe - change_count?: Maybe - curve_id?: Maybe - difference?: Maybe - first_share_price?: Maybe - last_share_price?: Maybe + __typename?: 'share_price_change_stats_hourly'; + bucket?: Maybe; + change_count?: Maybe; + curve_id?: Maybe; + difference?: Maybe; + first_share_price?: Maybe; + last_share_price?: Maybe; /** An object relationship */ - term?: Maybe - term_id?: Maybe -} + term?: Maybe; + term_id?: Maybe; +}; /** order by aggregate values of table "share_price_change_stats_hourly" */ export type Share_Price_Change_Stats_Hourly_Aggregate_Order_By = { - avg?: InputMaybe - count?: InputMaybe - max?: InputMaybe - min?: InputMaybe - stddev?: InputMaybe - stddev_pop?: InputMaybe - stddev_samp?: InputMaybe - sum?: InputMaybe - var_pop?: InputMaybe - var_samp?: InputMaybe - variance?: InputMaybe -} + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; /** order by avg() on columns of table "share_price_change_stats_hourly" */ export type Share_Price_Change_Stats_Hourly_Avg_Order_By = { - change_count?: InputMaybe - curve_id?: InputMaybe - difference?: InputMaybe - first_share_price?: InputMaybe - last_share_price?: InputMaybe - term_id?: InputMaybe -} + change_count?: InputMaybe; + curve_id?: InputMaybe; + difference?: InputMaybe; + first_share_price?: InputMaybe; + last_share_price?: InputMaybe; +}; /** Boolean expression to filter rows from the table "share_price_change_stats_hourly". All fields are combined with a logical 'AND'. */ export type Share_Price_Change_Stats_Hourly_Bool_Exp = { - _and?: InputMaybe> - _not?: InputMaybe - _or?: InputMaybe> - bucket?: InputMaybe - change_count?: InputMaybe - curve_id?: InputMaybe - difference?: InputMaybe - first_share_price?: InputMaybe - last_share_price?: InputMaybe - term?: InputMaybe - term_id?: InputMaybe -} + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + bucket?: InputMaybe; + change_count?: InputMaybe; + curve_id?: InputMaybe; + difference?: InputMaybe; + first_share_price?: InputMaybe; + last_share_price?: InputMaybe; + term?: InputMaybe; + term_id?: InputMaybe; +}; /** order by max() on columns of table "share_price_change_stats_hourly" */ export type Share_Price_Change_Stats_Hourly_Max_Order_By = { - bucket?: InputMaybe - change_count?: InputMaybe - curve_id?: InputMaybe - difference?: InputMaybe - first_share_price?: InputMaybe - last_share_price?: InputMaybe - term_id?: InputMaybe -} + bucket?: InputMaybe; + change_count?: InputMaybe; + curve_id?: InputMaybe; + difference?: InputMaybe; + first_share_price?: InputMaybe; + last_share_price?: InputMaybe; + term_id?: InputMaybe; +}; /** order by min() on columns of table "share_price_change_stats_hourly" */ export type Share_Price_Change_Stats_Hourly_Min_Order_By = { - bucket?: InputMaybe - change_count?: InputMaybe - curve_id?: InputMaybe - difference?: InputMaybe - first_share_price?: InputMaybe - last_share_price?: InputMaybe - term_id?: InputMaybe -} + bucket?: InputMaybe; + change_count?: InputMaybe; + curve_id?: InputMaybe; + difference?: InputMaybe; + first_share_price?: InputMaybe; + last_share_price?: InputMaybe; + term_id?: InputMaybe; +}; /** Ordering options when selecting data from "share_price_change_stats_hourly". */ export type Share_Price_Change_Stats_Hourly_Order_By = { - bucket?: InputMaybe - change_count?: InputMaybe - curve_id?: InputMaybe - difference?: InputMaybe - first_share_price?: InputMaybe - last_share_price?: InputMaybe - term?: InputMaybe - term_id?: InputMaybe -} + bucket?: InputMaybe; + change_count?: InputMaybe; + curve_id?: InputMaybe; + difference?: InputMaybe; + first_share_price?: InputMaybe; + last_share_price?: InputMaybe; + term?: InputMaybe; + term_id?: InputMaybe; +}; /** select columns of table "share_price_change_stats_hourly" */ export type Share_Price_Change_Stats_Hourly_Select_Column = @@ -5877,184 +5646,176 @@ export type Share_Price_Change_Stats_Hourly_Select_Column = /** column name */ | 'last_share_price' /** column name */ - | 'term_id' + | 'term_id'; /** order by stddev() on columns of table "share_price_change_stats_hourly" */ export type Share_Price_Change_Stats_Hourly_Stddev_Order_By = { - change_count?: InputMaybe - curve_id?: InputMaybe - difference?: InputMaybe - first_share_price?: InputMaybe - last_share_price?: InputMaybe - term_id?: InputMaybe -} + change_count?: InputMaybe; + curve_id?: InputMaybe; + difference?: InputMaybe; + first_share_price?: InputMaybe; + last_share_price?: InputMaybe; +}; /** order by stddev_pop() on columns of table "share_price_change_stats_hourly" */ export type Share_Price_Change_Stats_Hourly_Stddev_Pop_Order_By = { - change_count?: InputMaybe - curve_id?: InputMaybe - difference?: InputMaybe - first_share_price?: InputMaybe - last_share_price?: InputMaybe - term_id?: InputMaybe -} + change_count?: InputMaybe; + curve_id?: InputMaybe; + difference?: InputMaybe; + first_share_price?: InputMaybe; + last_share_price?: InputMaybe; +}; /** order by stddev_samp() on columns of table "share_price_change_stats_hourly" */ export type Share_Price_Change_Stats_Hourly_Stddev_Samp_Order_By = { - change_count?: InputMaybe - curve_id?: InputMaybe - difference?: InputMaybe - first_share_price?: InputMaybe - last_share_price?: InputMaybe - term_id?: InputMaybe -} + change_count?: InputMaybe; + curve_id?: InputMaybe; + difference?: InputMaybe; + first_share_price?: InputMaybe; + last_share_price?: InputMaybe; +}; /** Streaming cursor of the table "share_price_change_stats_hourly" */ export type Share_Price_Change_Stats_Hourly_Stream_Cursor_Input = { /** Stream column input with initial value */ - initial_value: Share_Price_Change_Stats_Hourly_Stream_Cursor_Value_Input + initial_value: Share_Price_Change_Stats_Hourly_Stream_Cursor_Value_Input; /** cursor ordering */ - ordering?: InputMaybe -} + ordering?: InputMaybe; +}; /** Initial value of the column from where the streaming should start */ export type Share_Price_Change_Stats_Hourly_Stream_Cursor_Value_Input = { - bucket?: InputMaybe - change_count?: InputMaybe - curve_id?: InputMaybe - difference?: InputMaybe - first_share_price?: InputMaybe - last_share_price?: InputMaybe - term_id?: InputMaybe -} + bucket?: InputMaybe; + change_count?: InputMaybe; + curve_id?: InputMaybe; + difference?: InputMaybe; + first_share_price?: InputMaybe; + last_share_price?: InputMaybe; + term_id?: InputMaybe; +}; /** order by sum() on columns of table "share_price_change_stats_hourly" */ export type Share_Price_Change_Stats_Hourly_Sum_Order_By = { - change_count?: InputMaybe - curve_id?: InputMaybe - difference?: InputMaybe - first_share_price?: InputMaybe - last_share_price?: InputMaybe - term_id?: InputMaybe -} + change_count?: InputMaybe; + curve_id?: InputMaybe; + difference?: InputMaybe; + first_share_price?: InputMaybe; + last_share_price?: InputMaybe; +}; /** order by var_pop() on columns of table "share_price_change_stats_hourly" */ export type Share_Price_Change_Stats_Hourly_Var_Pop_Order_By = { - change_count?: InputMaybe - curve_id?: InputMaybe - difference?: InputMaybe - first_share_price?: InputMaybe - last_share_price?: InputMaybe - term_id?: InputMaybe -} + change_count?: InputMaybe; + curve_id?: InputMaybe; + difference?: InputMaybe; + first_share_price?: InputMaybe; + last_share_price?: InputMaybe; +}; /** order by var_samp() on columns of table "share_price_change_stats_hourly" */ export type Share_Price_Change_Stats_Hourly_Var_Samp_Order_By = { - change_count?: InputMaybe - curve_id?: InputMaybe - difference?: InputMaybe - first_share_price?: InputMaybe - last_share_price?: InputMaybe - term_id?: InputMaybe -} + change_count?: InputMaybe; + curve_id?: InputMaybe; + difference?: InputMaybe; + first_share_price?: InputMaybe; + last_share_price?: InputMaybe; +}; /** order by variance() on columns of table "share_price_change_stats_hourly" */ export type Share_Price_Change_Stats_Hourly_Variance_Order_By = { - change_count?: InputMaybe - curve_id?: InputMaybe - difference?: InputMaybe - first_share_price?: InputMaybe - last_share_price?: InputMaybe - term_id?: InputMaybe -} + change_count?: InputMaybe; + curve_id?: InputMaybe; + difference?: InputMaybe; + first_share_price?: InputMaybe; + last_share_price?: InputMaybe; +}; /** columns and relationships of "share_price_change_stats_monthly" */ export type Share_Price_Change_Stats_Monthly = { - __typename?: 'share_price_change_stats_monthly' - bucket?: Maybe - change_count?: Maybe - curve_id?: Maybe - difference?: Maybe - first_share_price?: Maybe - last_share_price?: Maybe + __typename?: 'share_price_change_stats_monthly'; + bucket?: Maybe; + change_count?: Maybe; + curve_id?: Maybe; + difference?: Maybe; + first_share_price?: Maybe; + last_share_price?: Maybe; /** An object relationship */ - term?: Maybe - term_id?: Maybe -} + term?: Maybe; + term_id?: Maybe; +}; /** order by aggregate values of table "share_price_change_stats_monthly" */ export type Share_Price_Change_Stats_Monthly_Aggregate_Order_By = { - avg?: InputMaybe - count?: InputMaybe - max?: InputMaybe - min?: InputMaybe - stddev?: InputMaybe - stddev_pop?: InputMaybe - stddev_samp?: InputMaybe - sum?: InputMaybe - var_pop?: InputMaybe - var_samp?: InputMaybe - variance?: InputMaybe -} + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; /** order by avg() on columns of table "share_price_change_stats_monthly" */ export type Share_Price_Change_Stats_Monthly_Avg_Order_By = { - change_count?: InputMaybe - curve_id?: InputMaybe - difference?: InputMaybe - first_share_price?: InputMaybe - last_share_price?: InputMaybe - term_id?: InputMaybe -} + change_count?: InputMaybe; + curve_id?: InputMaybe; + difference?: InputMaybe; + first_share_price?: InputMaybe; + last_share_price?: InputMaybe; +}; /** Boolean expression to filter rows from the table "share_price_change_stats_monthly". All fields are combined with a logical 'AND'. */ export type Share_Price_Change_Stats_Monthly_Bool_Exp = { - _and?: InputMaybe> - _not?: InputMaybe - _or?: InputMaybe> - bucket?: InputMaybe - change_count?: InputMaybe - curve_id?: InputMaybe - difference?: InputMaybe - first_share_price?: InputMaybe - last_share_price?: InputMaybe - term?: InputMaybe - term_id?: InputMaybe -} + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + bucket?: InputMaybe; + change_count?: InputMaybe; + curve_id?: InputMaybe; + difference?: InputMaybe; + first_share_price?: InputMaybe; + last_share_price?: InputMaybe; + term?: InputMaybe; + term_id?: InputMaybe; +}; /** order by max() on columns of table "share_price_change_stats_monthly" */ export type Share_Price_Change_Stats_Monthly_Max_Order_By = { - bucket?: InputMaybe - change_count?: InputMaybe - curve_id?: InputMaybe - difference?: InputMaybe - first_share_price?: InputMaybe - last_share_price?: InputMaybe - term_id?: InputMaybe -} + bucket?: InputMaybe; + change_count?: InputMaybe; + curve_id?: InputMaybe; + difference?: InputMaybe; + first_share_price?: InputMaybe; + last_share_price?: InputMaybe; + term_id?: InputMaybe; +}; /** order by min() on columns of table "share_price_change_stats_monthly" */ export type Share_Price_Change_Stats_Monthly_Min_Order_By = { - bucket?: InputMaybe - change_count?: InputMaybe - curve_id?: InputMaybe - difference?: InputMaybe - first_share_price?: InputMaybe - last_share_price?: InputMaybe - term_id?: InputMaybe -} + bucket?: InputMaybe; + change_count?: InputMaybe; + curve_id?: InputMaybe; + difference?: InputMaybe; + first_share_price?: InputMaybe; + last_share_price?: InputMaybe; + term_id?: InputMaybe; +}; /** Ordering options when selecting data from "share_price_change_stats_monthly". */ export type Share_Price_Change_Stats_Monthly_Order_By = { - bucket?: InputMaybe - change_count?: InputMaybe - curve_id?: InputMaybe - difference?: InputMaybe - first_share_price?: InputMaybe - last_share_price?: InputMaybe - term?: InputMaybe - term_id?: InputMaybe -} + bucket?: InputMaybe; + change_count?: InputMaybe; + curve_id?: InputMaybe; + difference?: InputMaybe; + first_share_price?: InputMaybe; + last_share_price?: InputMaybe; + term?: InputMaybe; + term_id?: InputMaybe; +}; /** select columns of table "share_price_change_stats_monthly" */ export type Share_Price_Change_Stats_Monthly_Select_Column = @@ -6071,184 +5832,176 @@ export type Share_Price_Change_Stats_Monthly_Select_Column = /** column name */ | 'last_share_price' /** column name */ - | 'term_id' + | 'term_id'; /** order by stddev() on columns of table "share_price_change_stats_monthly" */ export type Share_Price_Change_Stats_Monthly_Stddev_Order_By = { - change_count?: InputMaybe - curve_id?: InputMaybe - difference?: InputMaybe - first_share_price?: InputMaybe - last_share_price?: InputMaybe - term_id?: InputMaybe -} + change_count?: InputMaybe; + curve_id?: InputMaybe; + difference?: InputMaybe; + first_share_price?: InputMaybe; + last_share_price?: InputMaybe; +}; /** order by stddev_pop() on columns of table "share_price_change_stats_monthly" */ export type Share_Price_Change_Stats_Monthly_Stddev_Pop_Order_By = { - change_count?: InputMaybe - curve_id?: InputMaybe - difference?: InputMaybe - first_share_price?: InputMaybe - last_share_price?: InputMaybe - term_id?: InputMaybe -} + change_count?: InputMaybe; + curve_id?: InputMaybe; + difference?: InputMaybe; + first_share_price?: InputMaybe; + last_share_price?: InputMaybe; +}; /** order by stddev_samp() on columns of table "share_price_change_stats_monthly" */ export type Share_Price_Change_Stats_Monthly_Stddev_Samp_Order_By = { - change_count?: InputMaybe - curve_id?: InputMaybe - difference?: InputMaybe - first_share_price?: InputMaybe - last_share_price?: InputMaybe - term_id?: InputMaybe -} + change_count?: InputMaybe; + curve_id?: InputMaybe; + difference?: InputMaybe; + first_share_price?: InputMaybe; + last_share_price?: InputMaybe; +}; /** Streaming cursor of the table "share_price_change_stats_monthly" */ export type Share_Price_Change_Stats_Monthly_Stream_Cursor_Input = { /** Stream column input with initial value */ - initial_value: Share_Price_Change_Stats_Monthly_Stream_Cursor_Value_Input + initial_value: Share_Price_Change_Stats_Monthly_Stream_Cursor_Value_Input; /** cursor ordering */ - ordering?: InputMaybe -} + ordering?: InputMaybe; +}; /** Initial value of the column from where the streaming should start */ export type Share_Price_Change_Stats_Monthly_Stream_Cursor_Value_Input = { - bucket?: InputMaybe - change_count?: InputMaybe - curve_id?: InputMaybe - difference?: InputMaybe - first_share_price?: InputMaybe - last_share_price?: InputMaybe - term_id?: InputMaybe -} + bucket?: InputMaybe; + change_count?: InputMaybe; + curve_id?: InputMaybe; + difference?: InputMaybe; + first_share_price?: InputMaybe; + last_share_price?: InputMaybe; + term_id?: InputMaybe; +}; /** order by sum() on columns of table "share_price_change_stats_monthly" */ export type Share_Price_Change_Stats_Monthly_Sum_Order_By = { - change_count?: InputMaybe - curve_id?: InputMaybe - difference?: InputMaybe - first_share_price?: InputMaybe - last_share_price?: InputMaybe - term_id?: InputMaybe -} + change_count?: InputMaybe; + curve_id?: InputMaybe; + difference?: InputMaybe; + first_share_price?: InputMaybe; + last_share_price?: InputMaybe; +}; /** order by var_pop() on columns of table "share_price_change_stats_monthly" */ export type Share_Price_Change_Stats_Monthly_Var_Pop_Order_By = { - change_count?: InputMaybe - curve_id?: InputMaybe - difference?: InputMaybe - first_share_price?: InputMaybe - last_share_price?: InputMaybe - term_id?: InputMaybe -} + change_count?: InputMaybe; + curve_id?: InputMaybe; + difference?: InputMaybe; + first_share_price?: InputMaybe; + last_share_price?: InputMaybe; +}; /** order by var_samp() on columns of table "share_price_change_stats_monthly" */ export type Share_Price_Change_Stats_Monthly_Var_Samp_Order_By = { - change_count?: InputMaybe - curve_id?: InputMaybe - difference?: InputMaybe - first_share_price?: InputMaybe - last_share_price?: InputMaybe - term_id?: InputMaybe -} + change_count?: InputMaybe; + curve_id?: InputMaybe; + difference?: InputMaybe; + first_share_price?: InputMaybe; + last_share_price?: InputMaybe; +}; /** order by variance() on columns of table "share_price_change_stats_monthly" */ export type Share_Price_Change_Stats_Monthly_Variance_Order_By = { - change_count?: InputMaybe - curve_id?: InputMaybe - difference?: InputMaybe - first_share_price?: InputMaybe - last_share_price?: InputMaybe - term_id?: InputMaybe -} + change_count?: InputMaybe; + curve_id?: InputMaybe; + difference?: InputMaybe; + first_share_price?: InputMaybe; + last_share_price?: InputMaybe; +}; /** columns and relationships of "share_price_change_stats_weekly" */ export type Share_Price_Change_Stats_Weekly = { - __typename?: 'share_price_change_stats_weekly' - bucket?: Maybe - change_count?: Maybe - curve_id?: Maybe - difference?: Maybe - first_share_price?: Maybe - last_share_price?: Maybe + __typename?: 'share_price_change_stats_weekly'; + bucket?: Maybe; + change_count?: Maybe; + curve_id?: Maybe; + difference?: Maybe; + first_share_price?: Maybe; + last_share_price?: Maybe; /** An object relationship */ - term?: Maybe - term_id?: Maybe -} + term?: Maybe; + term_id?: Maybe; +}; /** order by aggregate values of table "share_price_change_stats_weekly" */ export type Share_Price_Change_Stats_Weekly_Aggregate_Order_By = { - avg?: InputMaybe - count?: InputMaybe - max?: InputMaybe - min?: InputMaybe - stddev?: InputMaybe - stddev_pop?: InputMaybe - stddev_samp?: InputMaybe - sum?: InputMaybe - var_pop?: InputMaybe - var_samp?: InputMaybe - variance?: InputMaybe -} + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; /** order by avg() on columns of table "share_price_change_stats_weekly" */ export type Share_Price_Change_Stats_Weekly_Avg_Order_By = { - change_count?: InputMaybe - curve_id?: InputMaybe - difference?: InputMaybe - first_share_price?: InputMaybe - last_share_price?: InputMaybe - term_id?: InputMaybe -} + change_count?: InputMaybe; + curve_id?: InputMaybe; + difference?: InputMaybe; + first_share_price?: InputMaybe; + last_share_price?: InputMaybe; +}; /** Boolean expression to filter rows from the table "share_price_change_stats_weekly". All fields are combined with a logical 'AND'. */ export type Share_Price_Change_Stats_Weekly_Bool_Exp = { - _and?: InputMaybe> - _not?: InputMaybe - _or?: InputMaybe> - bucket?: InputMaybe - change_count?: InputMaybe - curve_id?: InputMaybe - difference?: InputMaybe - first_share_price?: InputMaybe - last_share_price?: InputMaybe - term?: InputMaybe - term_id?: InputMaybe -} + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + bucket?: InputMaybe; + change_count?: InputMaybe; + curve_id?: InputMaybe; + difference?: InputMaybe; + first_share_price?: InputMaybe; + last_share_price?: InputMaybe; + term?: InputMaybe; + term_id?: InputMaybe; +}; /** order by max() on columns of table "share_price_change_stats_weekly" */ export type Share_Price_Change_Stats_Weekly_Max_Order_By = { - bucket?: InputMaybe - change_count?: InputMaybe - curve_id?: InputMaybe - difference?: InputMaybe - first_share_price?: InputMaybe - last_share_price?: InputMaybe - term_id?: InputMaybe -} + bucket?: InputMaybe; + change_count?: InputMaybe; + curve_id?: InputMaybe; + difference?: InputMaybe; + first_share_price?: InputMaybe; + last_share_price?: InputMaybe; + term_id?: InputMaybe; +}; /** order by min() on columns of table "share_price_change_stats_weekly" */ export type Share_Price_Change_Stats_Weekly_Min_Order_By = { - bucket?: InputMaybe - change_count?: InputMaybe - curve_id?: InputMaybe - difference?: InputMaybe - first_share_price?: InputMaybe - last_share_price?: InputMaybe - term_id?: InputMaybe -} + bucket?: InputMaybe; + change_count?: InputMaybe; + curve_id?: InputMaybe; + difference?: InputMaybe; + first_share_price?: InputMaybe; + last_share_price?: InputMaybe; + term_id?: InputMaybe; +}; /** Ordering options when selecting data from "share_price_change_stats_weekly". */ export type Share_Price_Change_Stats_Weekly_Order_By = { - bucket?: InputMaybe - change_count?: InputMaybe - curve_id?: InputMaybe - difference?: InputMaybe - first_share_price?: InputMaybe - last_share_price?: InputMaybe - term?: InputMaybe - term_id?: InputMaybe -} + bucket?: InputMaybe; + change_count?: InputMaybe; + curve_id?: InputMaybe; + difference?: InputMaybe; + first_share_price?: InputMaybe; + last_share_price?: InputMaybe; + term?: InputMaybe; + term_id?: InputMaybe; +}; /** select columns of table "share_price_change_stats_weekly" */ export type Share_Price_Change_Stats_Weekly_Select_Column = @@ -6265,288 +6018,296 @@ export type Share_Price_Change_Stats_Weekly_Select_Column = /** column name */ | 'last_share_price' /** column name */ - | 'term_id' + | 'term_id'; /** order by stddev() on columns of table "share_price_change_stats_weekly" */ export type Share_Price_Change_Stats_Weekly_Stddev_Order_By = { - change_count?: InputMaybe - curve_id?: InputMaybe - difference?: InputMaybe - first_share_price?: InputMaybe - last_share_price?: InputMaybe - term_id?: InputMaybe -} + change_count?: InputMaybe; + curve_id?: InputMaybe; + difference?: InputMaybe; + first_share_price?: InputMaybe; + last_share_price?: InputMaybe; +}; /** order by stddev_pop() on columns of table "share_price_change_stats_weekly" */ export type Share_Price_Change_Stats_Weekly_Stddev_Pop_Order_By = { - change_count?: InputMaybe - curve_id?: InputMaybe - difference?: InputMaybe - first_share_price?: InputMaybe - last_share_price?: InputMaybe - term_id?: InputMaybe -} + change_count?: InputMaybe; + curve_id?: InputMaybe; + difference?: InputMaybe; + first_share_price?: InputMaybe; + last_share_price?: InputMaybe; +}; /** order by stddev_samp() on columns of table "share_price_change_stats_weekly" */ export type Share_Price_Change_Stats_Weekly_Stddev_Samp_Order_By = { - change_count?: InputMaybe - curve_id?: InputMaybe - difference?: InputMaybe - first_share_price?: InputMaybe - last_share_price?: InputMaybe - term_id?: InputMaybe -} + change_count?: InputMaybe; + curve_id?: InputMaybe; + difference?: InputMaybe; + first_share_price?: InputMaybe; + last_share_price?: InputMaybe; +}; /** Streaming cursor of the table "share_price_change_stats_weekly" */ export type Share_Price_Change_Stats_Weekly_Stream_Cursor_Input = { /** Stream column input with initial value */ - initial_value: Share_Price_Change_Stats_Weekly_Stream_Cursor_Value_Input + initial_value: Share_Price_Change_Stats_Weekly_Stream_Cursor_Value_Input; /** cursor ordering */ - ordering?: InputMaybe -} + ordering?: InputMaybe; +}; /** Initial value of the column from where the streaming should start */ export type Share_Price_Change_Stats_Weekly_Stream_Cursor_Value_Input = { - bucket?: InputMaybe - change_count?: InputMaybe - curve_id?: InputMaybe - difference?: InputMaybe - first_share_price?: InputMaybe - last_share_price?: InputMaybe - term_id?: InputMaybe -} + bucket?: InputMaybe; + change_count?: InputMaybe; + curve_id?: InputMaybe; + difference?: InputMaybe; + first_share_price?: InputMaybe; + last_share_price?: InputMaybe; + term_id?: InputMaybe; +}; /** order by sum() on columns of table "share_price_change_stats_weekly" */ export type Share_Price_Change_Stats_Weekly_Sum_Order_By = { - change_count?: InputMaybe - curve_id?: InputMaybe - difference?: InputMaybe - first_share_price?: InputMaybe - last_share_price?: InputMaybe - term_id?: InputMaybe -} + change_count?: InputMaybe; + curve_id?: InputMaybe; + difference?: InputMaybe; + first_share_price?: InputMaybe; + last_share_price?: InputMaybe; +}; /** order by var_pop() on columns of table "share_price_change_stats_weekly" */ export type Share_Price_Change_Stats_Weekly_Var_Pop_Order_By = { - change_count?: InputMaybe - curve_id?: InputMaybe - difference?: InputMaybe - first_share_price?: InputMaybe - last_share_price?: InputMaybe - term_id?: InputMaybe -} + change_count?: InputMaybe; + curve_id?: InputMaybe; + difference?: InputMaybe; + first_share_price?: InputMaybe; + last_share_price?: InputMaybe; +}; /** order by var_samp() on columns of table "share_price_change_stats_weekly" */ export type Share_Price_Change_Stats_Weekly_Var_Samp_Order_By = { - change_count?: InputMaybe - curve_id?: InputMaybe - difference?: InputMaybe - first_share_price?: InputMaybe - last_share_price?: InputMaybe - term_id?: InputMaybe -} + change_count?: InputMaybe; + curve_id?: InputMaybe; + difference?: InputMaybe; + first_share_price?: InputMaybe; + last_share_price?: InputMaybe; +}; /** order by variance() on columns of table "share_price_change_stats_weekly" */ export type Share_Price_Change_Stats_Weekly_Variance_Order_By = { - change_count?: InputMaybe - curve_id?: InputMaybe - difference?: InputMaybe - first_share_price?: InputMaybe - last_share_price?: InputMaybe - term_id?: InputMaybe -} + change_count?: InputMaybe; + curve_id?: InputMaybe; + difference?: InputMaybe; + first_share_price?: InputMaybe; + last_share_price?: InputMaybe; +}; /** columns and relationships of "share_price_change" */ export type Share_Price_Changes = { - __typename?: 'share_price_changes' - block_number: Scalars['numeric']['output'] - block_timestamp: Scalars['bigint']['output'] - curve_id: Scalars['numeric']['output'] - id: Scalars['bigint']['output'] - share_price: Scalars['numeric']['output'] + __typename?: 'share_price_changes'; + block_number: Scalars['numeric']['output']; + block_timestamp: Scalars['bigint']['output']; + curve_id: Scalars['numeric']['output']; + id: Scalars['bigint']['output']; + log_index: Scalars['bigint']['output']; + share_price: Scalars['numeric']['output']; /** An object relationship */ - term: Terms - term_id: Scalars['numeric']['output'] - total_assets: Scalars['numeric']['output'] - total_shares: Scalars['numeric']['output'] - transaction_hash: Scalars['String']['output'] - updated_at: Scalars['timestamptz']['output'] + term: Terms; + term_id: Scalars['String']['output']; + total_assets: Scalars['numeric']['output']; + total_shares: Scalars['numeric']['output']; + transaction_hash: Scalars['String']['output']; + updated_at: Scalars['timestamptz']['output']; /** An object relationship */ - vault?: Maybe -} + vault?: Maybe; + vault_type: Scalars['vault_type']['output']; +}; /** aggregated selection of "share_price_change" */ export type Share_Price_Changes_Aggregate = { - __typename?: 'share_price_changes_aggregate' - aggregate?: Maybe - nodes: Array -} + __typename?: 'share_price_changes_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; export type Share_Price_Changes_Aggregate_Bool_Exp = { - count?: InputMaybe -} + count?: InputMaybe; +}; export type Share_Price_Changes_Aggregate_Bool_Exp_Count = { - arguments?: InputMaybe> - distinct?: InputMaybe - filter?: InputMaybe - predicate: Int_Comparison_Exp -} + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Int_Comparison_Exp; +}; /** aggregate fields of "share_price_change" */ export type Share_Price_Changes_Aggregate_Fields = { - __typename?: 'share_price_changes_aggregate_fields' - avg?: Maybe - count: Scalars['Int']['output'] - max?: Maybe - min?: Maybe - stddev?: Maybe - stddev_pop?: Maybe - stddev_samp?: Maybe - sum?: Maybe - var_pop?: Maybe - var_samp?: Maybe - variance?: Maybe -} + __typename?: 'share_price_changes_aggregate_fields'; + avg?: Maybe; + count: Scalars['Int']['output']; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + /** aggregate fields of "share_price_change" */ export type Share_Price_Changes_Aggregate_FieldsCountArgs = { - columns?: InputMaybe> - distinct?: InputMaybe -} + columns?: InputMaybe>; + distinct?: InputMaybe; +}; /** order by aggregate values of table "share_price_change" */ export type Share_Price_Changes_Aggregate_Order_By = { - avg?: InputMaybe - count?: InputMaybe - max?: InputMaybe - min?: InputMaybe - stddev?: InputMaybe - stddev_pop?: InputMaybe - stddev_samp?: InputMaybe - sum?: InputMaybe - var_pop?: InputMaybe - var_samp?: InputMaybe - variance?: InputMaybe -} + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; /** aggregate avg on columns */ export type Share_Price_Changes_Avg_Fields = { - __typename?: 'share_price_changes_avg_fields' - block_number?: Maybe - block_timestamp?: Maybe - curve_id?: Maybe - id?: Maybe - share_price?: Maybe - term_id?: Maybe - total_assets?: Maybe - total_shares?: Maybe -} + __typename?: 'share_price_changes_avg_fields'; + block_number?: Maybe; + block_timestamp?: Maybe; + curve_id?: Maybe; + id?: Maybe; + log_index?: Maybe; + share_price?: Maybe; + total_assets?: Maybe; + total_shares?: Maybe; +}; /** order by avg() on columns of table "share_price_change" */ export type Share_Price_Changes_Avg_Order_By = { - block_number?: InputMaybe - block_timestamp?: InputMaybe - curve_id?: InputMaybe - id?: InputMaybe - share_price?: InputMaybe - term_id?: InputMaybe - total_assets?: InputMaybe - total_shares?: InputMaybe -} + block_number?: InputMaybe; + block_timestamp?: InputMaybe; + curve_id?: InputMaybe; + id?: InputMaybe; + log_index?: InputMaybe; + share_price?: InputMaybe; + total_assets?: InputMaybe; + total_shares?: InputMaybe; +}; /** Boolean expression to filter rows from the table "share_price_change". All fields are combined with a logical 'AND'. */ export type Share_Price_Changes_Bool_Exp = { - _and?: InputMaybe> - _not?: InputMaybe - _or?: InputMaybe> - block_number?: InputMaybe - block_timestamp?: InputMaybe - curve_id?: InputMaybe - id?: InputMaybe - share_price?: InputMaybe - term?: InputMaybe - term_id?: InputMaybe - total_assets?: InputMaybe - total_shares?: InputMaybe - transaction_hash?: InputMaybe - updated_at?: InputMaybe - vault?: InputMaybe -} + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + block_number?: InputMaybe; + block_timestamp?: InputMaybe; + curve_id?: InputMaybe; + id?: InputMaybe; + log_index?: InputMaybe; + share_price?: InputMaybe; + term?: InputMaybe; + term_id?: InputMaybe; + total_assets?: InputMaybe; + total_shares?: InputMaybe; + transaction_hash?: InputMaybe; + updated_at?: InputMaybe; + vault?: InputMaybe; + vault_type?: InputMaybe; +}; /** aggregate max on columns */ export type Share_Price_Changes_Max_Fields = { - __typename?: 'share_price_changes_max_fields' - block_number?: Maybe - block_timestamp?: Maybe - curve_id?: Maybe - id?: Maybe - share_price?: Maybe - term_id?: Maybe - total_assets?: Maybe - total_shares?: Maybe - transaction_hash?: Maybe - updated_at?: Maybe -} + __typename?: 'share_price_changes_max_fields'; + block_number?: Maybe; + block_timestamp?: Maybe; + curve_id?: Maybe; + id?: Maybe; + log_index?: Maybe; + share_price?: Maybe; + term_id?: Maybe; + total_assets?: Maybe; + total_shares?: Maybe; + transaction_hash?: Maybe; + updated_at?: Maybe; + vault_type?: Maybe; +}; /** order by max() on columns of table "share_price_change" */ export type Share_Price_Changes_Max_Order_By = { - block_number?: InputMaybe - block_timestamp?: InputMaybe - curve_id?: InputMaybe - id?: InputMaybe - share_price?: InputMaybe - term_id?: InputMaybe - total_assets?: InputMaybe - total_shares?: InputMaybe - transaction_hash?: InputMaybe - updated_at?: InputMaybe -} + block_number?: InputMaybe; + block_timestamp?: InputMaybe; + curve_id?: InputMaybe; + id?: InputMaybe; + log_index?: InputMaybe; + share_price?: InputMaybe; + term_id?: InputMaybe; + total_assets?: InputMaybe; + total_shares?: InputMaybe; + transaction_hash?: InputMaybe; + updated_at?: InputMaybe; + vault_type?: InputMaybe; +}; /** aggregate min on columns */ export type Share_Price_Changes_Min_Fields = { - __typename?: 'share_price_changes_min_fields' - block_number?: Maybe - block_timestamp?: Maybe - curve_id?: Maybe - id?: Maybe - share_price?: Maybe - term_id?: Maybe - total_assets?: Maybe - total_shares?: Maybe - transaction_hash?: Maybe - updated_at?: Maybe -} + __typename?: 'share_price_changes_min_fields'; + block_number?: Maybe; + block_timestamp?: Maybe; + curve_id?: Maybe; + id?: Maybe; + log_index?: Maybe; + share_price?: Maybe; + term_id?: Maybe; + total_assets?: Maybe; + total_shares?: Maybe; + transaction_hash?: Maybe; + updated_at?: Maybe; + vault_type?: Maybe; +}; /** order by min() on columns of table "share_price_change" */ export type Share_Price_Changes_Min_Order_By = { - block_number?: InputMaybe - block_timestamp?: InputMaybe - curve_id?: InputMaybe - id?: InputMaybe - share_price?: InputMaybe - term_id?: InputMaybe - total_assets?: InputMaybe - total_shares?: InputMaybe - transaction_hash?: InputMaybe - updated_at?: InputMaybe -} + block_number?: InputMaybe; + block_timestamp?: InputMaybe; + curve_id?: InputMaybe; + id?: InputMaybe; + log_index?: InputMaybe; + share_price?: InputMaybe; + term_id?: InputMaybe; + total_assets?: InputMaybe; + total_shares?: InputMaybe; + transaction_hash?: InputMaybe; + updated_at?: InputMaybe; + vault_type?: InputMaybe; +}; /** Ordering options when selecting data from "share_price_change". */ export type Share_Price_Changes_Order_By = { - block_number?: InputMaybe - block_timestamp?: InputMaybe - curve_id?: InputMaybe - id?: InputMaybe - share_price?: InputMaybe - term?: InputMaybe - term_id?: InputMaybe - total_assets?: InputMaybe - total_shares?: InputMaybe - transaction_hash?: InputMaybe - updated_at?: InputMaybe - vault?: InputMaybe -} + block_number?: InputMaybe; + block_timestamp?: InputMaybe; + curve_id?: InputMaybe; + id?: InputMaybe; + log_index?: InputMaybe; + share_price?: InputMaybe; + term?: InputMaybe; + term_id?: InputMaybe; + total_assets?: InputMaybe; + total_shares?: InputMaybe; + transaction_hash?: InputMaybe; + updated_at?: InputMaybe; + vault?: InputMaybe; + vault_type?: InputMaybe; +}; /** select columns of table "share_price_change" */ export type Share_Price_Changes_Select_Column = @@ -6559,6 +6320,8 @@ export type Share_Price_Changes_Select_Column = /** column name */ | 'id' /** column name */ + | 'log_index' + /** column name */ | 'share_price' /** column name */ | 'term_id' @@ -6570,238 +6333,242 @@ export type Share_Price_Changes_Select_Column = | 'transaction_hash' /** column name */ | 'updated_at' + /** column name */ + | 'vault_type'; /** aggregate stddev on columns */ export type Share_Price_Changes_Stddev_Fields = { - __typename?: 'share_price_changes_stddev_fields' - block_number?: Maybe - block_timestamp?: Maybe - curve_id?: Maybe - id?: Maybe - share_price?: Maybe - term_id?: Maybe - total_assets?: Maybe - total_shares?: Maybe -} + __typename?: 'share_price_changes_stddev_fields'; + block_number?: Maybe; + block_timestamp?: Maybe; + curve_id?: Maybe; + id?: Maybe; + log_index?: Maybe; + share_price?: Maybe; + total_assets?: Maybe; + total_shares?: Maybe; +}; /** order by stddev() on columns of table "share_price_change" */ export type Share_Price_Changes_Stddev_Order_By = { - block_number?: InputMaybe - block_timestamp?: InputMaybe - curve_id?: InputMaybe - id?: InputMaybe - share_price?: InputMaybe - term_id?: InputMaybe - total_assets?: InputMaybe - total_shares?: InputMaybe -} + block_number?: InputMaybe; + block_timestamp?: InputMaybe; + curve_id?: InputMaybe; + id?: InputMaybe; + log_index?: InputMaybe; + share_price?: InputMaybe; + total_assets?: InputMaybe; + total_shares?: InputMaybe; +}; /** aggregate stddev_pop on columns */ export type Share_Price_Changes_Stddev_Pop_Fields = { - __typename?: 'share_price_changes_stddev_pop_fields' - block_number?: Maybe - block_timestamp?: Maybe - curve_id?: Maybe - id?: Maybe - share_price?: Maybe - term_id?: Maybe - total_assets?: Maybe - total_shares?: Maybe -} + __typename?: 'share_price_changes_stddev_pop_fields'; + block_number?: Maybe; + block_timestamp?: Maybe; + curve_id?: Maybe; + id?: Maybe; + log_index?: Maybe; + share_price?: Maybe; + total_assets?: Maybe; + total_shares?: Maybe; +}; /** order by stddev_pop() on columns of table "share_price_change" */ export type Share_Price_Changes_Stddev_Pop_Order_By = { - block_number?: InputMaybe - block_timestamp?: InputMaybe - curve_id?: InputMaybe - id?: InputMaybe - share_price?: InputMaybe - term_id?: InputMaybe - total_assets?: InputMaybe - total_shares?: InputMaybe -} + block_number?: InputMaybe; + block_timestamp?: InputMaybe; + curve_id?: InputMaybe; + id?: InputMaybe; + log_index?: InputMaybe; + share_price?: InputMaybe; + total_assets?: InputMaybe; + total_shares?: InputMaybe; +}; /** aggregate stddev_samp on columns */ export type Share_Price_Changes_Stddev_Samp_Fields = { - __typename?: 'share_price_changes_stddev_samp_fields' - block_number?: Maybe - block_timestamp?: Maybe - curve_id?: Maybe - id?: Maybe - share_price?: Maybe - term_id?: Maybe - total_assets?: Maybe - total_shares?: Maybe -} + __typename?: 'share_price_changes_stddev_samp_fields'; + block_number?: Maybe; + block_timestamp?: Maybe; + curve_id?: Maybe; + id?: Maybe; + log_index?: Maybe; + share_price?: Maybe; + total_assets?: Maybe; + total_shares?: Maybe; +}; /** order by stddev_samp() on columns of table "share_price_change" */ export type Share_Price_Changes_Stddev_Samp_Order_By = { - block_number?: InputMaybe - block_timestamp?: InputMaybe - curve_id?: InputMaybe - id?: InputMaybe - share_price?: InputMaybe - term_id?: InputMaybe - total_assets?: InputMaybe - total_shares?: InputMaybe -} + block_number?: InputMaybe; + block_timestamp?: InputMaybe; + curve_id?: InputMaybe; + id?: InputMaybe; + log_index?: InputMaybe; + share_price?: InputMaybe; + total_assets?: InputMaybe; + total_shares?: InputMaybe; +}; /** Streaming cursor of the table "share_price_changes" */ export type Share_Price_Changes_Stream_Cursor_Input = { /** Stream column input with initial value */ - initial_value: Share_Price_Changes_Stream_Cursor_Value_Input + initial_value: Share_Price_Changes_Stream_Cursor_Value_Input; /** cursor ordering */ - ordering?: InputMaybe -} + ordering?: InputMaybe; +}; /** Initial value of the column from where the streaming should start */ export type Share_Price_Changes_Stream_Cursor_Value_Input = { - block_number?: InputMaybe - block_timestamp?: InputMaybe - curve_id?: InputMaybe - id?: InputMaybe - share_price?: InputMaybe - term_id?: InputMaybe - total_assets?: InputMaybe - total_shares?: InputMaybe - transaction_hash?: InputMaybe - updated_at?: InputMaybe -} + block_number?: InputMaybe; + block_timestamp?: InputMaybe; + curve_id?: InputMaybe; + id?: InputMaybe; + log_index?: InputMaybe; + share_price?: InputMaybe; + term_id?: InputMaybe; + total_assets?: InputMaybe; + total_shares?: InputMaybe; + transaction_hash?: InputMaybe; + updated_at?: InputMaybe; + vault_type?: InputMaybe; +}; /** aggregate sum on columns */ export type Share_Price_Changes_Sum_Fields = { - __typename?: 'share_price_changes_sum_fields' - block_number?: Maybe - block_timestamp?: Maybe - curve_id?: Maybe - id?: Maybe - share_price?: Maybe - term_id?: Maybe - total_assets?: Maybe - total_shares?: Maybe -} + __typename?: 'share_price_changes_sum_fields'; + block_number?: Maybe; + block_timestamp?: Maybe; + curve_id?: Maybe; + id?: Maybe; + log_index?: Maybe; + share_price?: Maybe; + total_assets?: Maybe; + total_shares?: Maybe; +}; /** order by sum() on columns of table "share_price_change" */ export type Share_Price_Changes_Sum_Order_By = { - block_number?: InputMaybe - block_timestamp?: InputMaybe - curve_id?: InputMaybe - id?: InputMaybe - share_price?: InputMaybe - term_id?: InputMaybe - total_assets?: InputMaybe - total_shares?: InputMaybe -} + block_number?: InputMaybe; + block_timestamp?: InputMaybe; + curve_id?: InputMaybe; + id?: InputMaybe; + log_index?: InputMaybe; + share_price?: InputMaybe; + total_assets?: InputMaybe; + total_shares?: InputMaybe; +}; /** aggregate var_pop on columns */ export type Share_Price_Changes_Var_Pop_Fields = { - __typename?: 'share_price_changes_var_pop_fields' - block_number?: Maybe - block_timestamp?: Maybe - curve_id?: Maybe - id?: Maybe - share_price?: Maybe - term_id?: Maybe - total_assets?: Maybe - total_shares?: Maybe -} + __typename?: 'share_price_changes_var_pop_fields'; + block_number?: Maybe; + block_timestamp?: Maybe; + curve_id?: Maybe; + id?: Maybe; + log_index?: Maybe; + share_price?: Maybe; + total_assets?: Maybe; + total_shares?: Maybe; +}; /** order by var_pop() on columns of table "share_price_change" */ export type Share_Price_Changes_Var_Pop_Order_By = { - block_number?: InputMaybe - block_timestamp?: InputMaybe - curve_id?: InputMaybe - id?: InputMaybe - share_price?: InputMaybe - term_id?: InputMaybe - total_assets?: InputMaybe - total_shares?: InputMaybe -} + block_number?: InputMaybe; + block_timestamp?: InputMaybe; + curve_id?: InputMaybe; + id?: InputMaybe; + log_index?: InputMaybe; + share_price?: InputMaybe; + total_assets?: InputMaybe; + total_shares?: InputMaybe; +}; /** aggregate var_samp on columns */ export type Share_Price_Changes_Var_Samp_Fields = { - __typename?: 'share_price_changes_var_samp_fields' - block_number?: Maybe - block_timestamp?: Maybe - curve_id?: Maybe - id?: Maybe - share_price?: Maybe - term_id?: Maybe - total_assets?: Maybe - total_shares?: Maybe -} + __typename?: 'share_price_changes_var_samp_fields'; + block_number?: Maybe; + block_timestamp?: Maybe; + curve_id?: Maybe; + id?: Maybe; + log_index?: Maybe; + share_price?: Maybe; + total_assets?: Maybe; + total_shares?: Maybe; +}; /** order by var_samp() on columns of table "share_price_change" */ export type Share_Price_Changes_Var_Samp_Order_By = { - block_number?: InputMaybe - block_timestamp?: InputMaybe - curve_id?: InputMaybe - id?: InputMaybe - share_price?: InputMaybe - term_id?: InputMaybe - total_assets?: InputMaybe - total_shares?: InputMaybe -} + block_number?: InputMaybe; + block_timestamp?: InputMaybe; + curve_id?: InputMaybe; + id?: InputMaybe; + log_index?: InputMaybe; + share_price?: InputMaybe; + total_assets?: InputMaybe; + total_shares?: InputMaybe; +}; /** aggregate variance on columns */ export type Share_Price_Changes_Variance_Fields = { - __typename?: 'share_price_changes_variance_fields' - block_number?: Maybe - block_timestamp?: Maybe - curve_id?: Maybe - id?: Maybe - share_price?: Maybe - term_id?: Maybe - total_assets?: Maybe - total_shares?: Maybe -} + __typename?: 'share_price_changes_variance_fields'; + block_number?: Maybe; + block_timestamp?: Maybe; + curve_id?: Maybe; + id?: Maybe; + log_index?: Maybe; + share_price?: Maybe; + total_assets?: Maybe; + total_shares?: Maybe; +}; /** order by variance() on columns of table "share_price_change" */ export type Share_Price_Changes_Variance_Order_By = { - block_number?: InputMaybe - block_timestamp?: InputMaybe - curve_id?: InputMaybe - id?: InputMaybe - share_price?: InputMaybe - term_id?: InputMaybe - total_assets?: InputMaybe - total_shares?: InputMaybe -} + block_number?: InputMaybe; + block_timestamp?: InputMaybe; + curve_id?: InputMaybe; + id?: InputMaybe; + log_index?: InputMaybe; + share_price?: InputMaybe; + total_assets?: InputMaybe; + total_shares?: InputMaybe; +}; /** columns and relationships of "signal_stats_daily" */ export type Signal_Stats_Daily = { - __typename?: 'signal_stats_daily' - bucket?: Maybe - count?: Maybe - curve_id?: Maybe + __typename?: 'signal_stats_daily'; + bucket?: Maybe; + count?: Maybe; + curve_id?: Maybe; /** An object relationship */ - term?: Maybe - term_id?: Maybe - volume?: Maybe -} + term?: Maybe; + term_id?: Maybe; + volume?: Maybe; +}; /** Boolean expression to filter rows from the table "signal_stats_daily". All fields are combined with a logical 'AND'. */ export type Signal_Stats_Daily_Bool_Exp = { - _and?: InputMaybe> - _not?: InputMaybe - _or?: InputMaybe> - bucket?: InputMaybe - count?: InputMaybe - curve_id?: InputMaybe - term?: InputMaybe - term_id?: InputMaybe - volume?: InputMaybe -} + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + bucket?: InputMaybe; + count?: InputMaybe; + curve_id?: InputMaybe; + term?: InputMaybe; + term_id?: InputMaybe; + volume?: InputMaybe; +}; /** Ordering options when selecting data from "signal_stats_daily". */ export type Signal_Stats_Daily_Order_By = { - bucket?: InputMaybe - count?: InputMaybe - curve_id?: InputMaybe - term?: InputMaybe - term_id?: InputMaybe - volume?: InputMaybe -} + bucket?: InputMaybe; + count?: InputMaybe; + curve_id?: InputMaybe; + term?: InputMaybe; + term_id?: InputMaybe; + volume?: InputMaybe; +}; /** select columns of table "signal_stats_daily" */ export type Signal_Stats_Daily_Select_Column = @@ -6814,59 +6581,59 @@ export type Signal_Stats_Daily_Select_Column = /** column name */ | 'term_id' /** column name */ - | 'volume' + | 'volume'; /** Streaming cursor of the table "signal_stats_daily" */ export type Signal_Stats_Daily_Stream_Cursor_Input = { /** Stream column input with initial value */ - initial_value: Signal_Stats_Daily_Stream_Cursor_Value_Input + initial_value: Signal_Stats_Daily_Stream_Cursor_Value_Input; /** cursor ordering */ - ordering?: InputMaybe -} + ordering?: InputMaybe; +}; /** Initial value of the column from where the streaming should start */ export type Signal_Stats_Daily_Stream_Cursor_Value_Input = { - bucket?: InputMaybe - count?: InputMaybe - curve_id?: InputMaybe - term_id?: InputMaybe - volume?: InputMaybe -} + bucket?: InputMaybe; + count?: InputMaybe; + curve_id?: InputMaybe; + term_id?: InputMaybe; + volume?: InputMaybe; +}; /** columns and relationships of "signal_stats_hourly" */ export type Signal_Stats_Hourly = { - __typename?: 'signal_stats_hourly' - bucket?: Maybe - count?: Maybe - curve_id?: Maybe + __typename?: 'signal_stats_hourly'; + bucket?: Maybe; + count?: Maybe; + curve_id?: Maybe; /** An object relationship */ - term?: Maybe - term_id?: Maybe - volume?: Maybe -} + term?: Maybe; + term_id?: Maybe; + volume?: Maybe; +}; /** Boolean expression to filter rows from the table "signal_stats_hourly". All fields are combined with a logical 'AND'. */ export type Signal_Stats_Hourly_Bool_Exp = { - _and?: InputMaybe> - _not?: InputMaybe - _or?: InputMaybe> - bucket?: InputMaybe - count?: InputMaybe - curve_id?: InputMaybe - term?: InputMaybe - term_id?: InputMaybe - volume?: InputMaybe -} + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + bucket?: InputMaybe; + count?: InputMaybe; + curve_id?: InputMaybe; + term?: InputMaybe; + term_id?: InputMaybe; + volume?: InputMaybe; +}; /** Ordering options when selecting data from "signal_stats_hourly". */ export type Signal_Stats_Hourly_Order_By = { - bucket?: InputMaybe - count?: InputMaybe - curve_id?: InputMaybe - term?: InputMaybe - term_id?: InputMaybe - volume?: InputMaybe -} + bucket?: InputMaybe; + count?: InputMaybe; + curve_id?: InputMaybe; + term?: InputMaybe; + term_id?: InputMaybe; + volume?: InputMaybe; +}; /** select columns of table "signal_stats_hourly" */ export type Signal_Stats_Hourly_Select_Column = @@ -6879,59 +6646,59 @@ export type Signal_Stats_Hourly_Select_Column = /** column name */ | 'term_id' /** column name */ - | 'volume' + | 'volume'; /** Streaming cursor of the table "signal_stats_hourly" */ export type Signal_Stats_Hourly_Stream_Cursor_Input = { /** Stream column input with initial value */ - initial_value: Signal_Stats_Hourly_Stream_Cursor_Value_Input + initial_value: Signal_Stats_Hourly_Stream_Cursor_Value_Input; /** cursor ordering */ - ordering?: InputMaybe -} + ordering?: InputMaybe; +}; /** Initial value of the column from where the streaming should start */ export type Signal_Stats_Hourly_Stream_Cursor_Value_Input = { - bucket?: InputMaybe - count?: InputMaybe - curve_id?: InputMaybe - term_id?: InputMaybe - volume?: InputMaybe -} + bucket?: InputMaybe; + count?: InputMaybe; + curve_id?: InputMaybe; + term_id?: InputMaybe; + volume?: InputMaybe; +}; /** columns and relationships of "signal_stats_monthly" */ export type Signal_Stats_Monthly = { - __typename?: 'signal_stats_monthly' - bucket?: Maybe - count?: Maybe - curve_id?: Maybe + __typename?: 'signal_stats_monthly'; + bucket?: Maybe; + count?: Maybe; + curve_id?: Maybe; /** An object relationship */ - term?: Maybe - term_id?: Maybe - volume?: Maybe -} + term?: Maybe; + term_id?: Maybe; + volume?: Maybe; +}; /** Boolean expression to filter rows from the table "signal_stats_monthly". All fields are combined with a logical 'AND'. */ export type Signal_Stats_Monthly_Bool_Exp = { - _and?: InputMaybe> - _not?: InputMaybe - _or?: InputMaybe> - bucket?: InputMaybe - count?: InputMaybe - curve_id?: InputMaybe - term?: InputMaybe - term_id?: InputMaybe - volume?: InputMaybe -} + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + bucket?: InputMaybe; + count?: InputMaybe; + curve_id?: InputMaybe; + term?: InputMaybe; + term_id?: InputMaybe; + volume?: InputMaybe; +}; /** Ordering options when selecting data from "signal_stats_monthly". */ export type Signal_Stats_Monthly_Order_By = { - bucket?: InputMaybe - count?: InputMaybe - curve_id?: InputMaybe - term?: InputMaybe - term_id?: InputMaybe - volume?: InputMaybe -} + bucket?: InputMaybe; + count?: InputMaybe; + curve_id?: InputMaybe; + term?: InputMaybe; + term_id?: InputMaybe; + volume?: InputMaybe; +}; /** select columns of table "signal_stats_monthly" */ export type Signal_Stats_Monthly_Select_Column = @@ -6944,59 +6711,59 @@ export type Signal_Stats_Monthly_Select_Column = /** column name */ | 'term_id' /** column name */ - | 'volume' + | 'volume'; /** Streaming cursor of the table "signal_stats_monthly" */ export type Signal_Stats_Monthly_Stream_Cursor_Input = { /** Stream column input with initial value */ - initial_value: Signal_Stats_Monthly_Stream_Cursor_Value_Input + initial_value: Signal_Stats_Monthly_Stream_Cursor_Value_Input; /** cursor ordering */ - ordering?: InputMaybe -} + ordering?: InputMaybe; +}; /** Initial value of the column from where the streaming should start */ export type Signal_Stats_Monthly_Stream_Cursor_Value_Input = { - bucket?: InputMaybe - count?: InputMaybe - curve_id?: InputMaybe - term_id?: InputMaybe - volume?: InputMaybe -} + bucket?: InputMaybe; + count?: InputMaybe; + curve_id?: InputMaybe; + term_id?: InputMaybe; + volume?: InputMaybe; +}; /** columns and relationships of "signal_stats_weekly" */ export type Signal_Stats_Weekly = { - __typename?: 'signal_stats_weekly' - bucket?: Maybe - count?: Maybe - curve_id?: Maybe + __typename?: 'signal_stats_weekly'; + bucket?: Maybe; + count?: Maybe; + curve_id?: Maybe; /** An object relationship */ - term?: Maybe - term_id?: Maybe - volume?: Maybe -} + term?: Maybe; + term_id?: Maybe; + volume?: Maybe; +}; /** Boolean expression to filter rows from the table "signal_stats_weekly". All fields are combined with a logical 'AND'. */ export type Signal_Stats_Weekly_Bool_Exp = { - _and?: InputMaybe> - _not?: InputMaybe - _or?: InputMaybe> - bucket?: InputMaybe - count?: InputMaybe - curve_id?: InputMaybe - term?: InputMaybe - term_id?: InputMaybe - volume?: InputMaybe -} + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + bucket?: InputMaybe; + count?: InputMaybe; + curve_id?: InputMaybe; + term?: InputMaybe; + term_id?: InputMaybe; + volume?: InputMaybe; +}; /** Ordering options when selecting data from "signal_stats_weekly". */ export type Signal_Stats_Weekly_Order_By = { - bucket?: InputMaybe - count?: InputMaybe - curve_id?: InputMaybe - term?: InputMaybe - term_id?: InputMaybe - volume?: InputMaybe -} + bucket?: InputMaybe; + count?: InputMaybe; + curve_id?: InputMaybe; + term?: InputMaybe; + term_id?: InputMaybe; + volume?: InputMaybe; +}; /** select columns of table "signal_stats_weekly" */ export type Signal_Stats_Weekly_Select_Column = @@ -7009,224 +6776,237 @@ export type Signal_Stats_Weekly_Select_Column = /** column name */ | 'term_id' /** column name */ - | 'volume' + | 'volume'; /** Streaming cursor of the table "signal_stats_weekly" */ export type Signal_Stats_Weekly_Stream_Cursor_Input = { /** Stream column input with initial value */ - initial_value: Signal_Stats_Weekly_Stream_Cursor_Value_Input + initial_value: Signal_Stats_Weekly_Stream_Cursor_Value_Input; /** cursor ordering */ - ordering?: InputMaybe -} + ordering?: InputMaybe; +}; /** Initial value of the column from where the streaming should start */ export type Signal_Stats_Weekly_Stream_Cursor_Value_Input = { - bucket?: InputMaybe - count?: InputMaybe - curve_id?: InputMaybe - term_id?: InputMaybe - volume?: InputMaybe -} + bucket?: InputMaybe; + count?: InputMaybe; + curve_id?: InputMaybe; + term_id?: InputMaybe; + volume?: InputMaybe; +}; /** columns and relationships of "signal" */ export type Signals = { - __typename?: 'signals' + __typename?: 'signals'; /** An object relationship */ - account?: Maybe - account_id: Scalars['String']['output'] - atom_id?: Maybe - block_number: Scalars['numeric']['output'] - created_at: Scalars['timestamptz']['output'] - delta: Scalars['numeric']['output'] + account?: Maybe; + account_id: Scalars['String']['output']; + atom_id?: Maybe; + block_number: Scalars['numeric']['output']; + created_at: Scalars['timestamptz']['output']; + curve_id: Scalars['numeric']['output']; + delta: Scalars['numeric']['output']; /** An object relationship */ - deposit?: Maybe - deposit_id?: Maybe - id: Scalars['String']['output'] + deposit?: Maybe; + deposit_id?: Maybe; + id: Scalars['String']['output']; /** An object relationship */ - redemption?: Maybe - redemption_id?: Maybe + redemption?: Maybe; + redemption_id?: Maybe; /** An object relationship */ - term: Terms - transaction_hash: Scalars['String']['output'] - triple_id?: Maybe + term: Terms; + term_id: Scalars['String']['output']; + transaction_hash: Scalars['String']['output']; + triple_id?: Maybe; /** An object relationship */ - vault?: Maybe -} + vault?: Maybe; +}; /** aggregated selection of "signal" */ export type Signals_Aggregate = { - __typename?: 'signals_aggregate' - aggregate?: Maybe - nodes: Array -} + __typename?: 'signals_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; export type Signals_Aggregate_Bool_Exp = { - count?: InputMaybe -} + count?: InputMaybe; +}; export type Signals_Aggregate_Bool_Exp_Count = { - arguments?: InputMaybe> - distinct?: InputMaybe - filter?: InputMaybe - predicate: Int_Comparison_Exp -} + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Int_Comparison_Exp; +}; /** aggregate fields of "signal" */ export type Signals_Aggregate_Fields = { - __typename?: 'signals_aggregate_fields' - avg?: Maybe - count: Scalars['Int']['output'] - max?: Maybe - min?: Maybe - stddev?: Maybe - stddev_pop?: Maybe - stddev_samp?: Maybe - sum?: Maybe - var_pop?: Maybe - var_samp?: Maybe - variance?: Maybe -} + __typename?: 'signals_aggregate_fields'; + avg?: Maybe; + count: Scalars['Int']['output']; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + /** aggregate fields of "signal" */ export type Signals_Aggregate_FieldsCountArgs = { - columns?: InputMaybe> - distinct?: InputMaybe -} + columns?: InputMaybe>; + distinct?: InputMaybe; +}; /** order by aggregate values of table "signal" */ export type Signals_Aggregate_Order_By = { - avg?: InputMaybe - count?: InputMaybe - max?: InputMaybe - min?: InputMaybe - stddev?: InputMaybe - stddev_pop?: InputMaybe - stddev_samp?: InputMaybe - sum?: InputMaybe - var_pop?: InputMaybe - var_samp?: InputMaybe - variance?: InputMaybe -} + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; /** aggregate avg on columns */ export type Signals_Avg_Fields = { - __typename?: 'signals_avg_fields' - atom_id?: Maybe - block_number?: Maybe - delta?: Maybe - triple_id?: Maybe -} + __typename?: 'signals_avg_fields'; + block_number?: Maybe; + curve_id?: Maybe; + delta?: Maybe; +}; /** order by avg() on columns of table "signal" */ export type Signals_Avg_Order_By = { - atom_id?: InputMaybe - block_number?: InputMaybe - delta?: InputMaybe - triple_id?: InputMaybe -} + block_number?: InputMaybe; + curve_id?: InputMaybe; + delta?: InputMaybe; +}; /** Boolean expression to filter rows from the table "signal". All fields are combined with a logical 'AND'. */ export type Signals_Bool_Exp = { - _and?: InputMaybe> - _not?: InputMaybe - _or?: InputMaybe> - account?: InputMaybe - account_id?: InputMaybe - atom_id?: InputMaybe - block_number?: InputMaybe - created_at?: InputMaybe - delta?: InputMaybe - deposit?: InputMaybe - deposit_id?: InputMaybe - id?: InputMaybe - redemption?: InputMaybe - redemption_id?: InputMaybe - term?: InputMaybe - transaction_hash?: InputMaybe - triple_id?: InputMaybe - vault?: InputMaybe -} + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + account?: InputMaybe; + account_id?: InputMaybe; + atom_id?: InputMaybe; + block_number?: InputMaybe; + created_at?: InputMaybe; + curve_id?: InputMaybe; + delta?: InputMaybe; + deposit?: InputMaybe; + deposit_id?: InputMaybe; + id?: InputMaybe; + redemption?: InputMaybe; + redemption_id?: InputMaybe; + term?: InputMaybe; + term_id?: InputMaybe; + transaction_hash?: InputMaybe; + triple_id?: InputMaybe; + vault?: InputMaybe; +}; export type Signals_From_Following_Args = { - address?: InputMaybe -} + address?: InputMaybe; +}; /** aggregate max on columns */ export type Signals_Max_Fields = { - __typename?: 'signals_max_fields' - account_id?: Maybe - atom_id?: Maybe - block_number?: Maybe - created_at?: Maybe - delta?: Maybe - deposit_id?: Maybe - id?: Maybe - redemption_id?: Maybe - transaction_hash?: Maybe - triple_id?: Maybe -} + __typename?: 'signals_max_fields'; + account_id?: Maybe; + atom_id?: Maybe; + block_number?: Maybe; + created_at?: Maybe; + curve_id?: Maybe; + delta?: Maybe; + deposit_id?: Maybe; + id?: Maybe; + redemption_id?: Maybe; + term_id?: Maybe; + transaction_hash?: Maybe; + triple_id?: Maybe; +}; /** order by max() on columns of table "signal" */ export type Signals_Max_Order_By = { - account_id?: InputMaybe - atom_id?: InputMaybe - block_number?: InputMaybe - created_at?: InputMaybe - delta?: InputMaybe - deposit_id?: InputMaybe - id?: InputMaybe - redemption_id?: InputMaybe - transaction_hash?: InputMaybe - triple_id?: InputMaybe -} + account_id?: InputMaybe; + atom_id?: InputMaybe; + block_number?: InputMaybe; + created_at?: InputMaybe; + curve_id?: InputMaybe; + delta?: InputMaybe; + deposit_id?: InputMaybe; + id?: InputMaybe; + redemption_id?: InputMaybe; + term_id?: InputMaybe; + transaction_hash?: InputMaybe; + triple_id?: InputMaybe; +}; /** aggregate min on columns */ export type Signals_Min_Fields = { - __typename?: 'signals_min_fields' - account_id?: Maybe - atom_id?: Maybe - block_number?: Maybe - created_at?: Maybe - delta?: Maybe - deposit_id?: Maybe - id?: Maybe - redemption_id?: Maybe - transaction_hash?: Maybe - triple_id?: Maybe -} + __typename?: 'signals_min_fields'; + account_id?: Maybe; + atom_id?: Maybe; + block_number?: Maybe; + created_at?: Maybe; + curve_id?: Maybe; + delta?: Maybe; + deposit_id?: Maybe; + id?: Maybe; + redemption_id?: Maybe; + term_id?: Maybe; + transaction_hash?: Maybe; + triple_id?: Maybe; +}; /** order by min() on columns of table "signal" */ export type Signals_Min_Order_By = { - account_id?: InputMaybe - atom_id?: InputMaybe - block_number?: InputMaybe - created_at?: InputMaybe - delta?: InputMaybe - deposit_id?: InputMaybe - id?: InputMaybe - redemption_id?: InputMaybe - transaction_hash?: InputMaybe - triple_id?: InputMaybe -} + account_id?: InputMaybe; + atom_id?: InputMaybe; + block_number?: InputMaybe; + created_at?: InputMaybe; + curve_id?: InputMaybe; + delta?: InputMaybe; + deposit_id?: InputMaybe; + id?: InputMaybe; + redemption_id?: InputMaybe; + term_id?: InputMaybe; + transaction_hash?: InputMaybe; + triple_id?: InputMaybe; +}; /** Ordering options when selecting data from "signal". */ export type Signals_Order_By = { - account?: InputMaybe - account_id?: InputMaybe - atom_id?: InputMaybe - block_number?: InputMaybe - created_at?: InputMaybe - delta?: InputMaybe - deposit?: InputMaybe - deposit_id?: InputMaybe - id?: InputMaybe - redemption?: InputMaybe - redemption_id?: InputMaybe - term?: InputMaybe - transaction_hash?: InputMaybe - triple_id?: InputMaybe - vault?: InputMaybe -} + account?: InputMaybe; + account_id?: InputMaybe; + atom_id?: InputMaybe; + block_number?: InputMaybe; + created_at?: InputMaybe; + curve_id?: InputMaybe; + delta?: InputMaybe; + deposit?: InputMaybe; + deposit_id?: InputMaybe; + id?: InputMaybe; + redemption?: InputMaybe; + redemption_id?: InputMaybe; + term?: InputMaybe; + term_id?: InputMaybe; + transaction_hash?: InputMaybe; + triple_id?: InputMaybe; + vault?: InputMaybe; +}; /** select columns of table "signal" */ export type Signals_Select_Column = @@ -7239,6 +7019,8 @@ export type Signals_Select_Column = /** column name */ | 'created_at' /** column name */ + | 'curve_id' + /** column name */ | 'delta' /** column name */ | 'deposit_id' @@ -7247,258 +7029,350 @@ export type Signals_Select_Column = /** column name */ | 'redemption_id' /** column name */ + | 'term_id' + /** column name */ | 'transaction_hash' /** column name */ - | 'triple_id' + | 'triple_id'; /** aggregate stddev on columns */ export type Signals_Stddev_Fields = { - __typename?: 'signals_stddev_fields' - atom_id?: Maybe - block_number?: Maybe - delta?: Maybe - triple_id?: Maybe -} + __typename?: 'signals_stddev_fields'; + block_number?: Maybe; + curve_id?: Maybe; + delta?: Maybe; +}; /** order by stddev() on columns of table "signal" */ export type Signals_Stddev_Order_By = { - atom_id?: InputMaybe - block_number?: InputMaybe - delta?: InputMaybe - triple_id?: InputMaybe -} + block_number?: InputMaybe; + curve_id?: InputMaybe; + delta?: InputMaybe; +}; /** aggregate stddev_pop on columns */ export type Signals_Stddev_Pop_Fields = { - __typename?: 'signals_stddev_pop_fields' - atom_id?: Maybe - block_number?: Maybe - delta?: Maybe - triple_id?: Maybe -} + __typename?: 'signals_stddev_pop_fields'; + block_number?: Maybe; + curve_id?: Maybe; + delta?: Maybe; +}; /** order by stddev_pop() on columns of table "signal" */ export type Signals_Stddev_Pop_Order_By = { - atom_id?: InputMaybe - block_number?: InputMaybe - delta?: InputMaybe - triple_id?: InputMaybe -} + block_number?: InputMaybe; + curve_id?: InputMaybe; + delta?: InputMaybe; +}; /** aggregate stddev_samp on columns */ export type Signals_Stddev_Samp_Fields = { - __typename?: 'signals_stddev_samp_fields' - atom_id?: Maybe - block_number?: Maybe - delta?: Maybe - triple_id?: Maybe -} + __typename?: 'signals_stddev_samp_fields'; + block_number?: Maybe; + curve_id?: Maybe; + delta?: Maybe; +}; /** order by stddev_samp() on columns of table "signal" */ export type Signals_Stddev_Samp_Order_By = { - atom_id?: InputMaybe - block_number?: InputMaybe - delta?: InputMaybe - triple_id?: InputMaybe -} + block_number?: InputMaybe; + curve_id?: InputMaybe; + delta?: InputMaybe; +}; /** Streaming cursor of the table "signals" */ export type Signals_Stream_Cursor_Input = { /** Stream column input with initial value */ - initial_value: Signals_Stream_Cursor_Value_Input + initial_value: Signals_Stream_Cursor_Value_Input; /** cursor ordering */ - ordering?: InputMaybe -} + ordering?: InputMaybe; +}; /** Initial value of the column from where the streaming should start */ export type Signals_Stream_Cursor_Value_Input = { - account_id?: InputMaybe - atom_id?: InputMaybe - block_number?: InputMaybe - created_at?: InputMaybe - delta?: InputMaybe - deposit_id?: InputMaybe - id?: InputMaybe - redemption_id?: InputMaybe - transaction_hash?: InputMaybe - triple_id?: InputMaybe -} + account_id?: InputMaybe; + atom_id?: InputMaybe; + block_number?: InputMaybe; + created_at?: InputMaybe; + curve_id?: InputMaybe; + delta?: InputMaybe; + deposit_id?: InputMaybe; + id?: InputMaybe; + redemption_id?: InputMaybe; + term_id?: InputMaybe; + transaction_hash?: InputMaybe; + triple_id?: InputMaybe; +}; /** aggregate sum on columns */ export type Signals_Sum_Fields = { - __typename?: 'signals_sum_fields' - atom_id?: Maybe - block_number?: Maybe - delta?: Maybe - triple_id?: Maybe -} + __typename?: 'signals_sum_fields'; + block_number?: Maybe; + curve_id?: Maybe; + delta?: Maybe; +}; /** order by sum() on columns of table "signal" */ export type Signals_Sum_Order_By = { - atom_id?: InputMaybe - block_number?: InputMaybe - delta?: InputMaybe - triple_id?: InputMaybe -} + block_number?: InputMaybe; + curve_id?: InputMaybe; + delta?: InputMaybe; +}; /** aggregate var_pop on columns */ export type Signals_Var_Pop_Fields = { - __typename?: 'signals_var_pop_fields' - atom_id?: Maybe - block_number?: Maybe - delta?: Maybe - triple_id?: Maybe -} + __typename?: 'signals_var_pop_fields'; + block_number?: Maybe; + curve_id?: Maybe; + delta?: Maybe; +}; /** order by var_pop() on columns of table "signal" */ export type Signals_Var_Pop_Order_By = { - atom_id?: InputMaybe - block_number?: InputMaybe - delta?: InputMaybe - triple_id?: InputMaybe -} + block_number?: InputMaybe; + curve_id?: InputMaybe; + delta?: InputMaybe; +}; /** aggregate var_samp on columns */ export type Signals_Var_Samp_Fields = { - __typename?: 'signals_var_samp_fields' - atom_id?: Maybe - block_number?: Maybe - delta?: Maybe - triple_id?: Maybe -} + __typename?: 'signals_var_samp_fields'; + block_number?: Maybe; + curve_id?: Maybe; + delta?: Maybe; +}; /** order by var_samp() on columns of table "signal" */ export type Signals_Var_Samp_Order_By = { - atom_id?: InputMaybe - block_number?: InputMaybe - delta?: InputMaybe - triple_id?: InputMaybe -} + block_number?: InputMaybe; + curve_id?: InputMaybe; + delta?: InputMaybe; +}; /** aggregate variance on columns */ export type Signals_Variance_Fields = { - __typename?: 'signals_variance_fields' - atom_id?: Maybe - block_number?: Maybe - delta?: Maybe - triple_id?: Maybe -} + __typename?: 'signals_variance_fields'; + block_number?: Maybe; + curve_id?: Maybe; + delta?: Maybe; +}; /** order by variance() on columns of table "signal" */ export type Signals_Variance_Order_By = { - atom_id?: InputMaybe - block_number?: InputMaybe - delta?: InputMaybe - triple_id?: InputMaybe -} + block_number?: InputMaybe; + curve_id?: InputMaybe; + delta?: InputMaybe; +}; + +/** columns and relationships of "stats_hour" */ +export type StatHours = { + __typename?: 'statHours'; + contract_balance?: Maybe; + created_at: Scalars['timestamptz']['output']; + id: Scalars['Int']['output']; + total_accounts?: Maybe; + total_atoms?: Maybe; + total_fees?: Maybe; + total_positions?: Maybe; + total_signals?: Maybe; + total_triples?: Maybe; +}; + +/** Boolean expression to filter rows from the table "stats_hour". All fields are combined with a logical 'AND'. */ +export type StatHours_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + contract_balance?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + total_accounts?: InputMaybe; + total_atoms?: InputMaybe; + total_fees?: InputMaybe; + total_positions?: InputMaybe; + total_signals?: InputMaybe; + total_triples?: InputMaybe; +}; + +/** Ordering options when selecting data from "stats_hour". */ +export type StatHours_Order_By = { + contract_balance?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + total_accounts?: InputMaybe; + total_atoms?: InputMaybe; + total_fees?: InputMaybe; + total_positions?: InputMaybe; + total_signals?: InputMaybe; + total_triples?: InputMaybe; +}; + +/** select columns of table "stats_hour" */ +export type StatHours_Select_Column = + /** column name */ + | 'contract_balance' + /** column name */ + | 'created_at' + /** column name */ + | 'id' + /** column name */ + | 'total_accounts' + /** column name */ + | 'total_atoms' + /** column name */ + | 'total_fees' + /** column name */ + | 'total_positions' + /** column name */ + | 'total_signals' + /** column name */ + | 'total_triples'; + +/** Streaming cursor of the table "statHours" */ +export type StatHours_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: StatHours_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type StatHours_Stream_Cursor_Value_Input = { + contract_balance?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + total_accounts?: InputMaybe; + total_atoms?: InputMaybe; + total_fees?: InputMaybe; + total_positions?: InputMaybe; + total_signals?: InputMaybe; + total_triples?: InputMaybe; +}; /** columns and relationships of "stats" */ export type Stats = { - __typename?: 'stats' - contract_balance?: Maybe - id: Scalars['Int']['output'] - total_accounts?: Maybe - total_atoms?: Maybe - total_fees?: Maybe - total_positions?: Maybe - total_signals?: Maybe - total_triples?: Maybe -} + __typename?: 'stats'; + contract_balance?: Maybe; + id: Scalars['Int']['output']; + last_processed_block_number?: Maybe; + last_processed_block_timestamp?: Maybe; + last_updated: Scalars['timestamptz']['output']; + total_accounts?: Maybe; + total_atoms?: Maybe; + total_fees?: Maybe; + total_positions?: Maybe; + total_signals?: Maybe; + total_triples?: Maybe; +}; /** aggregated selection of "stats" */ export type Stats_Aggregate = { - __typename?: 'stats_aggregate' - aggregate?: Maybe - nodes: Array -} + __typename?: 'stats_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; /** aggregate fields of "stats" */ export type Stats_Aggregate_Fields = { - __typename?: 'stats_aggregate_fields' - avg?: Maybe - count: Scalars['Int']['output'] - max?: Maybe - min?: Maybe - stddev?: Maybe - stddev_pop?: Maybe - stddev_samp?: Maybe - sum?: Maybe - var_pop?: Maybe - var_samp?: Maybe - variance?: Maybe -} + __typename?: 'stats_aggregate_fields'; + avg?: Maybe; + count: Scalars['Int']['output']; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + /** aggregate fields of "stats" */ export type Stats_Aggregate_FieldsCountArgs = { - columns?: InputMaybe> - distinct?: InputMaybe -} + columns?: InputMaybe>; + distinct?: InputMaybe; +}; /** aggregate avg on columns */ export type Stats_Avg_Fields = { - __typename?: 'stats_avg_fields' - contract_balance?: Maybe - id?: Maybe - total_accounts?: Maybe - total_atoms?: Maybe - total_fees?: Maybe - total_positions?: Maybe - total_signals?: Maybe - total_triples?: Maybe -} + __typename?: 'stats_avg_fields'; + contract_balance?: Maybe; + id?: Maybe; + last_processed_block_number?: Maybe; + total_accounts?: Maybe; + total_atoms?: Maybe; + total_fees?: Maybe; + total_positions?: Maybe; + total_signals?: Maybe; + total_triples?: Maybe; +}; /** Boolean expression to filter rows from the table "stats". All fields are combined with a logical 'AND'. */ export type Stats_Bool_Exp = { - _and?: InputMaybe> - _not?: InputMaybe - _or?: InputMaybe> - contract_balance?: InputMaybe - id?: InputMaybe - total_accounts?: InputMaybe - total_atoms?: InputMaybe - total_fees?: InputMaybe - total_positions?: InputMaybe - total_signals?: InputMaybe - total_triples?: InputMaybe -} + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + contract_balance?: InputMaybe; + id?: InputMaybe; + last_processed_block_number?: InputMaybe; + last_processed_block_timestamp?: InputMaybe; + last_updated?: InputMaybe; + total_accounts?: InputMaybe; + total_atoms?: InputMaybe; + total_fees?: InputMaybe; + total_positions?: InputMaybe; + total_signals?: InputMaybe; + total_triples?: InputMaybe; +}; /** aggregate max on columns */ export type Stats_Max_Fields = { - __typename?: 'stats_max_fields' - contract_balance?: Maybe - id?: Maybe - total_accounts?: Maybe - total_atoms?: Maybe - total_fees?: Maybe - total_positions?: Maybe - total_signals?: Maybe - total_triples?: Maybe -} + __typename?: 'stats_max_fields'; + contract_balance?: Maybe; + id?: Maybe; + last_processed_block_number?: Maybe; + last_processed_block_timestamp?: Maybe; + last_updated?: Maybe; + total_accounts?: Maybe; + total_atoms?: Maybe; + total_fees?: Maybe; + total_positions?: Maybe; + total_signals?: Maybe; + total_triples?: Maybe; +}; /** aggregate min on columns */ export type Stats_Min_Fields = { - __typename?: 'stats_min_fields' - contract_balance?: Maybe - id?: Maybe - total_accounts?: Maybe - total_atoms?: Maybe - total_fees?: Maybe - total_positions?: Maybe - total_signals?: Maybe - total_triples?: Maybe -} + __typename?: 'stats_min_fields'; + contract_balance?: Maybe; + id?: Maybe; + last_processed_block_number?: Maybe; + last_processed_block_timestamp?: Maybe; + last_updated?: Maybe; + total_accounts?: Maybe; + total_atoms?: Maybe; + total_fees?: Maybe; + total_positions?: Maybe; + total_signals?: Maybe; + total_triples?: Maybe; +}; /** Ordering options when selecting data from "stats". */ export type Stats_Order_By = { - contract_balance?: InputMaybe - id?: InputMaybe - total_accounts?: InputMaybe - total_atoms?: InputMaybe - total_fees?: InputMaybe - total_positions?: InputMaybe - total_signals?: InputMaybe - total_triples?: InputMaybe -} + contract_balance?: InputMaybe; + id?: InputMaybe; + last_processed_block_number?: InputMaybe; + last_processed_block_timestamp?: InputMaybe; + last_updated?: InputMaybe; + total_accounts?: InputMaybe; + total_atoms?: InputMaybe; + total_fees?: InputMaybe; + total_positions?: InputMaybe; + total_signals?: InputMaybe; + total_triples?: InputMaybe; +}; /** select columns of table "stats" */ export type Stats_Select_Column = @@ -7507,6 +7381,12 @@ export type Stats_Select_Column = /** column name */ | 'id' /** column name */ + | 'last_processed_block_number' + /** column name */ + | 'last_processed_block_timestamp' + /** column name */ + | 'last_updated' + /** column name */ | 'total_accounts' /** column name */ | 'total_atoms' @@ -7517,1597 +7397,2681 @@ export type Stats_Select_Column = /** column name */ | 'total_signals' /** column name */ - | 'total_triples' + | 'total_triples'; /** aggregate stddev on columns */ export type Stats_Stddev_Fields = { - __typename?: 'stats_stddev_fields' - contract_balance?: Maybe - id?: Maybe - total_accounts?: Maybe - total_atoms?: Maybe - total_fees?: Maybe - total_positions?: Maybe - total_signals?: Maybe - total_triples?: Maybe -} + __typename?: 'stats_stddev_fields'; + contract_balance?: Maybe; + id?: Maybe; + last_processed_block_number?: Maybe; + total_accounts?: Maybe; + total_atoms?: Maybe; + total_fees?: Maybe; + total_positions?: Maybe; + total_signals?: Maybe; + total_triples?: Maybe; +}; /** aggregate stddev_pop on columns */ export type Stats_Stddev_Pop_Fields = { - __typename?: 'stats_stddev_pop_fields' - contract_balance?: Maybe - id?: Maybe - total_accounts?: Maybe - total_atoms?: Maybe - total_fees?: Maybe - total_positions?: Maybe - total_signals?: Maybe - total_triples?: Maybe -} + __typename?: 'stats_stddev_pop_fields'; + contract_balance?: Maybe; + id?: Maybe; + last_processed_block_number?: Maybe; + total_accounts?: Maybe; + total_atoms?: Maybe; + total_fees?: Maybe; + total_positions?: Maybe; + total_signals?: Maybe; + total_triples?: Maybe; +}; /** aggregate stddev_samp on columns */ export type Stats_Stddev_Samp_Fields = { - __typename?: 'stats_stddev_samp_fields' - contract_balance?: Maybe - id?: Maybe - total_accounts?: Maybe - total_atoms?: Maybe - total_fees?: Maybe - total_positions?: Maybe - total_signals?: Maybe - total_triples?: Maybe -} + __typename?: 'stats_stddev_samp_fields'; + contract_balance?: Maybe; + id?: Maybe; + last_processed_block_number?: Maybe; + total_accounts?: Maybe; + total_atoms?: Maybe; + total_fees?: Maybe; + total_positions?: Maybe; + total_signals?: Maybe; + total_triples?: Maybe; +}; /** Streaming cursor of the table "stats" */ export type Stats_Stream_Cursor_Input = { /** Stream column input with initial value */ - initial_value: Stats_Stream_Cursor_Value_Input + initial_value: Stats_Stream_Cursor_Value_Input; /** cursor ordering */ - ordering?: InputMaybe -} + ordering?: InputMaybe; +}; /** Initial value of the column from where the streaming should start */ export type Stats_Stream_Cursor_Value_Input = { - contract_balance?: InputMaybe - id?: InputMaybe - total_accounts?: InputMaybe - total_atoms?: InputMaybe - total_fees?: InputMaybe - total_positions?: InputMaybe - total_signals?: InputMaybe - total_triples?: InputMaybe -} + contract_balance?: InputMaybe; + id?: InputMaybe; + last_processed_block_number?: InputMaybe; + last_processed_block_timestamp?: InputMaybe; + last_updated?: InputMaybe; + total_accounts?: InputMaybe; + total_atoms?: InputMaybe; + total_fees?: InputMaybe; + total_positions?: InputMaybe; + total_signals?: InputMaybe; + total_triples?: InputMaybe; +}; /** aggregate sum on columns */ export type Stats_Sum_Fields = { - __typename?: 'stats_sum_fields' - contract_balance?: Maybe - id?: Maybe - total_accounts?: Maybe - total_atoms?: Maybe - total_fees?: Maybe - total_positions?: Maybe - total_signals?: Maybe - total_triples?: Maybe -} + __typename?: 'stats_sum_fields'; + contract_balance?: Maybe; + id?: Maybe; + last_processed_block_number?: Maybe; + total_accounts?: Maybe; + total_atoms?: Maybe; + total_fees?: Maybe; + total_positions?: Maybe; + total_signals?: Maybe; + total_triples?: Maybe; +}; /** aggregate var_pop on columns */ export type Stats_Var_Pop_Fields = { - __typename?: 'stats_var_pop_fields' - contract_balance?: Maybe - id?: Maybe - total_accounts?: Maybe - total_atoms?: Maybe - total_fees?: Maybe - total_positions?: Maybe - total_signals?: Maybe - total_triples?: Maybe -} + __typename?: 'stats_var_pop_fields'; + contract_balance?: Maybe; + id?: Maybe; + last_processed_block_number?: Maybe; + total_accounts?: Maybe; + total_atoms?: Maybe; + total_fees?: Maybe; + total_positions?: Maybe; + total_signals?: Maybe; + total_triples?: Maybe; +}; /** aggregate var_samp on columns */ export type Stats_Var_Samp_Fields = { - __typename?: 'stats_var_samp_fields' - contract_balance?: Maybe - id?: Maybe - total_accounts?: Maybe - total_atoms?: Maybe - total_fees?: Maybe - total_positions?: Maybe - total_signals?: Maybe - total_triples?: Maybe -} + __typename?: 'stats_var_samp_fields'; + contract_balance?: Maybe; + id?: Maybe; + last_processed_block_number?: Maybe; + total_accounts?: Maybe; + total_atoms?: Maybe; + total_fees?: Maybe; + total_positions?: Maybe; + total_signals?: Maybe; + total_triples?: Maybe; +}; /** aggregate variance on columns */ export type Stats_Variance_Fields = { - __typename?: 'stats_variance_fields' - contract_balance?: Maybe - id?: Maybe - total_accounts?: Maybe - total_atoms?: Maybe - total_fees?: Maybe - total_positions?: Maybe - total_signals?: Maybe - total_triples?: Maybe -} + __typename?: 'stats_variance_fields'; + contract_balance?: Maybe; + id?: Maybe; + last_processed_block_number?: Maybe; + total_accounts?: Maybe; + total_atoms?: Maybe; + total_fees?: Maybe; + total_positions?: Maybe; + total_signals?: Maybe; + total_triples?: Maybe; +}; export type Subscription_Root = { - __typename?: 'subscription_root' + __typename?: 'subscription_root'; /** fetch data from the table: "account" using primary key columns */ - account?: Maybe + account?: Maybe; /** An array relationship */ - accounts: Array + accounts: Array; /** An aggregate relationship */ - accounts_aggregate: Accounts_Aggregate + accounts_aggregate: Accounts_Aggregate; /** fetch data from the table in a streaming manner: "account" */ - accounts_stream: Array + accounts_stream: Array; /** fetch data from the table: "atom" using primary key columns */ - atom?: Maybe + atom?: Maybe; /** fetch data from the table: "atom_value" using primary key columns */ - atom_value?: Maybe + atom_value?: Maybe; /** fetch data from the table: "atom_value" */ - atom_values: Array + atom_values: Array; /** fetch aggregated fields from the table: "atom_value" */ - atom_values_aggregate: Atom_Values_Aggregate + atom_values_aggregate: Atom_Values_Aggregate; /** fetch data from the table in a streaming manner: "atom_value" */ - atom_values_stream: Array + atom_values_stream: Array; /** An array relationship */ - atoms: Array + atoms: Array; /** An aggregate relationship */ - atoms_aggregate: Atoms_Aggregate + atoms_aggregate: Atoms_Aggregate; /** fetch data from the table in a streaming manner: "atom" */ - atoms_stream: Array + atoms_stream: Array; /** fetch data from the table: "book" using primary key columns */ - book?: Maybe + book?: Maybe; /** fetch data from the table: "book" */ - books: Array + books: Array; /** fetch aggregated fields from the table: "book" */ - books_aggregate: Books_Aggregate + books_aggregate: Books_Aggregate; /** fetch data from the table in a streaming manner: "book" */ - books_stream: Array + books_stream: Array; /** fetch data from the table: "byte_object" */ - byte_object: Array + byte_object: Array; /** fetch aggregated fields from the table: "byte_object" */ - byte_object_aggregate: Byte_Object_Aggregate + byte_object_aggregate: Byte_Object_Aggregate; /** fetch data from the table: "byte_object" using primary key columns */ - byte_object_by_pk?: Maybe + byte_object_by_pk?: Maybe; /** fetch data from the table in a streaming manner: "byte_object" */ - byte_object_stream: Array + byte_object_stream: Array; /** fetch data from the table: "cached_images.cached_image" */ - cached_images_cached_image: Array + cached_images_cached_image: Array; /** fetch data from the table: "cached_images.cached_image" using primary key columns */ - cached_images_cached_image_by_pk?: Maybe + cached_images_cached_image_by_pk?: Maybe; /** fetch data from the table in a streaming manner: "cached_images.cached_image" */ - cached_images_cached_image_stream: Array + cached_images_cached_image_stream: Array; /** fetch data from the table: "caip10" using primary key columns */ - caip10?: Maybe + caip10?: Maybe; /** fetch aggregated fields from the table: "caip10" */ - caip10_aggregate: Caip10_Aggregate + caip10_aggregate: Caip10_Aggregate; /** fetch data from the table in a streaming manner: "caip10" */ - caip10_stream: Array + caip10_stream: Array; /** fetch data from the table: "caip10" */ - caip10s: Array + caip10s: Array; /** fetch data from the table: "chainlink_price" using primary key columns */ - chainlink_price?: Maybe + chainlink_price?: Maybe; /** fetch data from the table: "chainlink_price" */ - chainlink_prices: Array + chainlink_prices: Array; /** fetch data from the table in a streaming manner: "chainlink_price" */ - chainlink_prices_stream: Array + chainlink_prices_stream: Array; /** fetch data from the table: "deposit" using primary key columns */ - deposit?: Maybe + deposit?: Maybe; /** An array relationship */ - deposits: Array + deposits: Array; /** An aggregate relationship */ - deposits_aggregate: Deposits_Aggregate + deposits_aggregate: Deposits_Aggregate; /** fetch data from the table in a streaming manner: "deposit" */ - deposits_stream: Array + deposits_stream: Array; /** fetch data from the table: "event" using primary key columns */ - event?: Maybe + event?: Maybe; /** fetch data from the table: "event" */ - events: Array + events: Array; /** fetch aggregated fields from the table: "event" */ - events_aggregate: Events_Aggregate + events_aggregate: Events_Aggregate; /** fetch data from the table in a streaming manner: "event" */ - events_stream: Array + events_stream: Array; /** fetch data from the table: "fee_transfer" using primary key columns */ - fee_transfer?: Maybe + fee_transfer?: Maybe; /** An array relationship */ - fee_transfers: Array + fee_transfers: Array; /** An aggregate relationship */ - fee_transfers_aggregate: Fee_Transfers_Aggregate + fee_transfers_aggregate: Fee_Transfers_Aggregate; /** fetch data from the table in a streaming manner: "fee_transfer" */ - fee_transfers_stream: Array + fee_transfers_stream: Array; /** execute function "following" which returns "account" */ - following: Array + following: Array; /** execute function "following" and query aggregates on result of table type "account" */ - following_aggregate: Accounts_Aggregate + following_aggregate: Accounts_Aggregate; /** fetch data from the table: "json_object" using primary key columns */ - json_object?: Maybe + json_object?: Maybe; /** fetch data from the table: "json_object" */ - json_objects: Array + json_objects: Array; /** fetch aggregated fields from the table: "json_object" */ - json_objects_aggregate: Json_Objects_Aggregate + json_objects_aggregate: Json_Objects_Aggregate; /** fetch data from the table in a streaming manner: "json_object" */ - json_objects_stream: Array + json_objects_stream: Array; /** fetch data from the table: "organization" using primary key columns */ - organization?: Maybe + organization?: Maybe; /** fetch data from the table: "organization" */ - organizations: Array + organizations: Array; /** fetch aggregated fields from the table: "organization" */ - organizations_aggregate: Organizations_Aggregate + organizations_aggregate: Organizations_Aggregate; /** fetch data from the table in a streaming manner: "organization" */ - organizations_stream: Array + organizations_stream: Array; /** fetch data from the table: "person" using primary key columns */ - person?: Maybe + person?: Maybe; /** fetch data from the table: "person" */ - persons: Array + persons: Array; /** fetch aggregated fields from the table: "person" */ - persons_aggregate: Persons_Aggregate + persons_aggregate: Persons_Aggregate; /** fetch data from the table in a streaming manner: "person" */ - persons_stream: Array + persons_stream: Array; /** fetch data from the table: "position" using primary key columns */ - position?: Maybe + position?: Maybe; /** An array relationship */ - positions: Array + positions: Array; /** An aggregate relationship */ - positions_aggregate: Positions_Aggregate + positions_aggregate: Positions_Aggregate; /** execute function "positions_from_following" which returns "position" */ - positions_from_following: Array + positions_from_following: Array; /** execute function "positions_from_following" and query aggregates on result of table type "position" */ - positions_from_following_aggregate: Positions_Aggregate + positions_from_following_aggregate: Positions_Aggregate; /** fetch data from the table in a streaming manner: "position" */ - positions_stream: Array + positions_stream: Array; /** fetch data from the table: "predicate_object" */ - predicate_objects: Array + predicate_objects: Array; /** fetch aggregated fields from the table: "predicate_object" */ - predicate_objects_aggregate: Predicate_Objects_Aggregate + predicate_objects_aggregate: Predicate_Objects_Aggregate; /** fetch data from the table: "predicate_object" using primary key columns */ - predicate_objects_by_pk?: Maybe + predicate_objects_by_pk?: Maybe; /** fetch data from the table in a streaming manner: "predicate_object" */ - predicate_objects_stream: Array + predicate_objects_stream: Array; /** fetch data from the table: "redemption" using primary key columns */ - redemption?: Maybe + redemption?: Maybe; /** An array relationship */ - redemptions: Array + redemptions: Array; /** An aggregate relationship */ - redemptions_aggregate: Redemptions_Aggregate + redemptions_aggregate: Redemptions_Aggregate; /** fetch data from the table in a streaming manner: "redemption" */ - redemptions_stream: Array + redemptions_stream: Array; /** execute function "search_positions_on_subject" which returns "position" */ - search_positions_on_subject: Array + search_positions_on_subject: Array; /** execute function "search_positions_on_subject" and query aggregates on result of table type "position" */ - search_positions_on_subject_aggregate: Positions_Aggregate + search_positions_on_subject_aggregate: Positions_Aggregate; /** execute function "search_term" which returns "term" */ - search_term: Array + search_term: Array; /** execute function "search_term" and query aggregates on result of table type "term" */ - search_term_aggregate: Terms_Aggregate + search_term_aggregate: Terms_Aggregate; /** execute function "search_term_from_following" which returns "term" */ - search_term_from_following: Array + search_term_from_following: Array; /** execute function "search_term_from_following" and query aggregates on result of table type "term" */ - search_term_from_following_aggregate: Terms_Aggregate + search_term_from_following_aggregate: Terms_Aggregate; /** An array relationship */ - share_price_change_stats_daily: Array + share_price_change_stats_daily: Array; /** fetch data from the table in a streaming manner: "share_price_change_stats_daily" */ - share_price_change_stats_daily_stream: Array + share_price_change_stats_daily_stream: Array; /** An array relationship */ - share_price_change_stats_hourly: Array + share_price_change_stats_hourly: Array; /** fetch data from the table in a streaming manner: "share_price_change_stats_hourly" */ - share_price_change_stats_hourly_stream: Array + share_price_change_stats_hourly_stream: Array; /** An array relationship */ - share_price_change_stats_monthly: Array + share_price_change_stats_monthly: Array; /** fetch data from the table in a streaming manner: "share_price_change_stats_monthly" */ - share_price_change_stats_monthly_stream: Array + share_price_change_stats_monthly_stream: Array; /** An array relationship */ - share_price_change_stats_weekly: Array + share_price_change_stats_weekly: Array; /** fetch data from the table in a streaming manner: "share_price_change_stats_weekly" */ - share_price_change_stats_weekly_stream: Array + share_price_change_stats_weekly_stream: Array; /** An array relationship */ - share_price_changes: Array + share_price_changes: Array; /** An aggregate relationship */ - share_price_changes_aggregate: Share_Price_Changes_Aggregate + share_price_changes_aggregate: Share_Price_Changes_Aggregate; /** fetch data from the table in a streaming manner: "share_price_change" */ - share_price_changes_stream: Array + share_price_changes_stream: Array; /** fetch data from the table: "signal_stats_daily" */ - signal_stats_daily: Array + signal_stats_daily: Array; /** fetch data from the table in a streaming manner: "signal_stats_daily" */ - signal_stats_daily_stream: Array + signal_stats_daily_stream: Array; /** fetch data from the table: "signal_stats_hourly" */ - signal_stats_hourly: Array + signal_stats_hourly: Array; /** fetch data from the table in a streaming manner: "signal_stats_hourly" */ - signal_stats_hourly_stream: Array + signal_stats_hourly_stream: Array; /** fetch data from the table: "signal_stats_monthly" */ - signal_stats_monthly: Array + signal_stats_monthly: Array; /** fetch data from the table in a streaming manner: "signal_stats_monthly" */ - signal_stats_monthly_stream: Array + signal_stats_monthly_stream: Array; /** fetch data from the table: "signal_stats_weekly" */ - signal_stats_weekly: Array + signal_stats_weekly: Array; /** fetch data from the table in a streaming manner: "signal_stats_weekly" */ - signal_stats_weekly_stream: Array + signal_stats_weekly_stream: Array; /** An array relationship */ - signals: Array + signals: Array; /** An aggregate relationship */ - signals_aggregate: Signals_Aggregate + signals_aggregate: Signals_Aggregate; /** execute function "signals_from_following" which returns "signal" */ - signals_from_following: Array + signals_from_following: Array; /** execute function "signals_from_following" and query aggregates on result of table type "signal" */ - signals_from_following_aggregate: Signals_Aggregate + signals_from_following_aggregate: Signals_Aggregate; /** fetch data from the table in a streaming manner: "signal" */ - signals_stream: Array + signals_stream: Array; /** fetch data from the table: "stats" using primary key columns */ - stat?: Maybe + stat?: Maybe; + /** fetch data from the table: "stats_hour" using primary key columns */ + statHour?: Maybe; + /** fetch data from the table: "stats_hour" */ + statHours: Array; + /** fetch data from the table in a streaming manner: "stats_hour" */ + statHours_stream: Array; /** fetch data from the table: "stats" */ - stats: Array + stats: Array; /** fetch aggregated fields from the table: "stats" */ - stats_aggregate: Stats_Aggregate + stats_aggregate: Stats_Aggregate; /** fetch data from the table in a streaming manner: "stats" */ - stats_stream: Array + stats_stream: Array; /** fetch data from the table: "term" using primary key columns */ - term?: Maybe + term?: Maybe; + /** fetch data from the table: "term_total_state_change_stats_daily" */ + term_total_state_change_stats_daily: Array; + /** fetch data from the table in a streaming manner: "term_total_state_change_stats_daily" */ + term_total_state_change_stats_daily_stream: Array; + /** fetch data from the table: "term_total_state_change_stats_hourly" */ + term_total_state_change_stats_hourly: Array; + /** fetch data from the table in a streaming manner: "term_total_state_change_stats_hourly" */ + term_total_state_change_stats_hourly_stream: Array; + /** fetch data from the table: "term_total_state_change_stats_monthly" */ + term_total_state_change_stats_monthly: Array; + /** fetch data from the table in a streaming manner: "term_total_state_change_stats_monthly" */ + term_total_state_change_stats_monthly_stream: Array; + /** fetch data from the table: "term_total_state_change_stats_weekly" */ + term_total_state_change_stats_weekly: Array; + /** fetch data from the table in a streaming manner: "term_total_state_change_stats_weekly" */ + term_total_state_change_stats_weekly_stream: Array; + /** An array relationship */ + term_total_state_changes: Array; + /** fetch data from the table in a streaming manner: "term_total_state_change" */ + term_total_state_changes_stream: Array; /** fetch data from the table: "term" */ - terms: Array + terms: Array; /** fetch aggregated fields from the table: "term" */ - terms_aggregate: Terms_Aggregate + terms_aggregate: Terms_Aggregate; /** fetch data from the table in a streaming manner: "term" */ - terms_stream: Array + terms_stream: Array; /** fetch data from the table: "text_object" using primary key columns */ - text_object?: Maybe + text_object?: Maybe; /** fetch data from the table: "text_object" */ - text_objects: Array + text_objects: Array; /** fetch aggregated fields from the table: "text_object" */ - text_objects_aggregate: Text_Objects_Aggregate + text_objects_aggregate: Text_Objects_Aggregate; /** fetch data from the table in a streaming manner: "text_object" */ - text_objects_stream: Array + text_objects_stream: Array; /** fetch data from the table: "thing" using primary key columns */ - thing?: Maybe + thing?: Maybe; /** fetch data from the table: "thing" */ - things: Array + things: Array; /** fetch aggregated fields from the table: "thing" */ - things_aggregate: Things_Aggregate + things_aggregate: Things_Aggregate; /** fetch data from the table in a streaming manner: "thing" */ - things_stream: Array + things_stream: Array; /** fetch data from the table: "triple" using primary key columns */ - triple?: Maybe + triple?: Maybe; /** fetch data from the table: "triple_term" using primary key columns */ - triple_term?: Maybe + triple_term?: Maybe; /** fetch data from the table in a streaming manner: "triple_term" */ - triple_term_stream: Array + triple_term_stream: Array; /** fetch data from the table: "triple_term" */ - triple_terms: Array + triple_terms: Array; /** fetch data from the table: "triple_vault" using primary key columns */ - triple_vault?: Maybe + triple_vault?: Maybe; /** fetch data from the table in a streaming manner: "triple_vault" */ - triple_vault_stream: Array + triple_vault_stream: Array; /** fetch data from the table: "triple_vault" */ - triple_vaults: Array + triple_vaults: Array; /** An array relationship */ - triples: Array + triples: Array; /** An aggregate relationship */ - triples_aggregate: Triples_Aggregate + triples_aggregate: Triples_Aggregate; /** fetch data from the table in a streaming manner: "triple" */ - triples_stream: Array + triples_stream: Array; /** fetch data from the table: "vault" using primary key columns */ - vault?: Maybe + vault?: Maybe; /** An array relationship */ - vaults: Array + vaults: Array; /** An aggregate relationship */ - vaults_aggregate: Vaults_Aggregate + vaults_aggregate: Vaults_Aggregate; /** fetch data from the table in a streaming manner: "vault" */ - vaults_stream: Array -} + vaults_stream: Array; +}; + export type Subscription_RootAccountArgs = { - id: Scalars['String']['input'] -} + id: Scalars['String']['input']; +}; + export type Subscription_RootAccountsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootAccounts_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootAccounts_StreamArgs = { - batch_size: Scalars['Int']['input'] - cursor: Array> - where?: InputMaybe -} + batch_size: Scalars['Int']['input']; + cursor: Array>; + where?: InputMaybe; +}; + export type Subscription_RootAtomArgs = { - term_id: Scalars['numeric']['input'] -} + term_id: Scalars['String']['input']; +}; + export type Subscription_RootAtom_ValueArgs = { - id: Scalars['numeric']['input'] -} + id: Scalars['String']['input']; +}; + export type Subscription_RootAtom_ValuesArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootAtom_Values_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootAtom_Values_StreamArgs = { - batch_size: Scalars['Int']['input'] - cursor: Array> - where?: InputMaybe -} + batch_size: Scalars['Int']['input']; + cursor: Array>; + where?: InputMaybe; +}; + export type Subscription_RootAtomsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootAtoms_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootAtoms_StreamArgs = { - batch_size: Scalars['Int']['input'] - cursor: Array> - where?: InputMaybe -} + batch_size: Scalars['Int']['input']; + cursor: Array>; + where?: InputMaybe; +}; + export type Subscription_RootBookArgs = { - id: Scalars['numeric']['input'] -} + id: Scalars['String']['input']; +}; + export type Subscription_RootBooksArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootBooks_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootBooks_StreamArgs = { - batch_size: Scalars['Int']['input'] - cursor: Array> - where?: InputMaybe -} + batch_size: Scalars['Int']['input']; + cursor: Array>; + where?: InputMaybe; +}; + export type Subscription_RootByte_ObjectArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootByte_Object_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootByte_Object_By_PkArgs = { - id: Scalars['numeric']['input'] -} + id: Scalars['String']['input']; +}; + export type Subscription_RootByte_Object_StreamArgs = { - batch_size: Scalars['Int']['input'] - cursor: Array> - where?: InputMaybe -} + batch_size: Scalars['Int']['input']; + cursor: Array>; + where?: InputMaybe; +}; + export type Subscription_RootCached_Images_Cached_ImageArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootCached_Images_Cached_Image_By_PkArgs = { - url: Scalars['String']['input'] -} + url: Scalars['String']['input']; +}; + export type Subscription_RootCached_Images_Cached_Image_StreamArgs = { - batch_size: Scalars['Int']['input'] - cursor: Array> - where?: InputMaybe -} + batch_size: Scalars['Int']['input']; + cursor: Array>; + where?: InputMaybe; +}; + export type Subscription_RootCaip10Args = { - id: Scalars['numeric']['input'] -} + id: Scalars['String']['input']; +}; + export type Subscription_RootCaip10_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootCaip10_StreamArgs = { - batch_size: Scalars['Int']['input'] - cursor: Array> - where?: InputMaybe -} + batch_size: Scalars['Int']['input']; + cursor: Array>; + where?: InputMaybe; +}; + export type Subscription_RootCaip10sArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootChainlink_PriceArgs = { - id: Scalars['numeric']['input'] -} + id: Scalars['numeric']['input']; +}; + export type Subscription_RootChainlink_PricesArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootChainlink_Prices_StreamArgs = { - batch_size: Scalars['Int']['input'] - cursor: Array> - where?: InputMaybe -} + batch_size: Scalars['Int']['input']; + cursor: Array>; + where?: InputMaybe; +}; + export type Subscription_RootDepositArgs = { - id: Scalars['String']['input'] -} + id: Scalars['String']['input']; +}; + export type Subscription_RootDepositsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootDeposits_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootDeposits_StreamArgs = { - batch_size: Scalars['Int']['input'] - cursor: Array> - where?: InputMaybe -} + batch_size: Scalars['Int']['input']; + cursor: Array>; + where?: InputMaybe; +}; + export type Subscription_RootEventArgs = { - id: Scalars['String']['input'] -} + id: Scalars['String']['input']; +}; + export type Subscription_RootEventsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootEvents_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootEvents_StreamArgs = { - batch_size: Scalars['Int']['input'] - cursor: Array> - where?: InputMaybe -} + batch_size: Scalars['Int']['input']; + cursor: Array>; + where?: InputMaybe; +}; + export type Subscription_RootFee_TransferArgs = { - id: Scalars['String']['input'] -} + id: Scalars['String']['input']; +}; + export type Subscription_RootFee_TransfersArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootFee_Transfers_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootFee_Transfers_StreamArgs = { - batch_size: Scalars['Int']['input'] - cursor: Array> - where?: InputMaybe -} + batch_size: Scalars['Int']['input']; + cursor: Array>; + where?: InputMaybe; +}; + export type Subscription_RootFollowingArgs = { - args: Following_Args - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + args: Following_Args; + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootFollowing_AggregateArgs = { - args: Following_Args - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + args: Following_Args; + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootJson_ObjectArgs = { - id: Scalars['numeric']['input'] -} + id: Scalars['String']['input']; +}; + export type Subscription_RootJson_ObjectsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootJson_Objects_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootJson_Objects_StreamArgs = { - batch_size: Scalars['Int']['input'] - cursor: Array> - where?: InputMaybe -} + batch_size: Scalars['Int']['input']; + cursor: Array>; + where?: InputMaybe; +}; + export type Subscription_RootOrganizationArgs = { - id: Scalars['numeric']['input'] -} + id: Scalars['String']['input']; +}; + export type Subscription_RootOrganizationsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootOrganizations_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootOrganizations_StreamArgs = { - batch_size: Scalars['Int']['input'] - cursor: Array> - where?: InputMaybe -} + batch_size: Scalars['Int']['input']; + cursor: Array>; + where?: InputMaybe; +}; + export type Subscription_RootPersonArgs = { - id: Scalars['numeric']['input'] -} + id: Scalars['String']['input']; +}; + export type Subscription_RootPersonsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootPersons_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootPersons_StreamArgs = { - batch_size: Scalars['Int']['input'] - cursor: Array> - where?: InputMaybe -} + batch_size: Scalars['Int']['input']; + cursor: Array>; + where?: InputMaybe; +}; + export type Subscription_RootPositionArgs = { - id: Scalars['String']['input'] -} + id: Scalars['String']['input']; +}; + export type Subscription_RootPositionsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootPositions_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootPositions_From_FollowingArgs = { - args: Positions_From_Following_Args - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + args: Positions_From_Following_Args; + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootPositions_From_Following_AggregateArgs = { - args: Positions_From_Following_Args - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + args: Positions_From_Following_Args; + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootPositions_StreamArgs = { - batch_size: Scalars['Int']['input'] - cursor: Array> - where?: InputMaybe -} + batch_size: Scalars['Int']['input']; + cursor: Array>; + where?: InputMaybe; +}; + export type Subscription_RootPredicate_ObjectsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootPredicate_Objects_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootPredicate_Objects_By_PkArgs = { - id: Scalars['String']['input'] -} + id: Scalars['String']['input']; +}; + export type Subscription_RootPredicate_Objects_StreamArgs = { - batch_size: Scalars['Int']['input'] - cursor: Array> - where?: InputMaybe -} + batch_size: Scalars['Int']['input']; + cursor: Array>; + where?: InputMaybe; +}; + export type Subscription_RootRedemptionArgs = { - id: Scalars['String']['input'] -} + id: Scalars['String']['input']; +}; + export type Subscription_RootRedemptionsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootRedemptions_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootRedemptions_StreamArgs = { - batch_size: Scalars['Int']['input'] - cursor: Array> - where?: InputMaybe -} + batch_size: Scalars['Int']['input']; + cursor: Array>; + where?: InputMaybe; +}; + export type Subscription_RootSearch_Positions_On_SubjectArgs = { - args: Search_Positions_On_Subject_Args - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + args: Search_Positions_On_Subject_Args; + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootSearch_Positions_On_Subject_AggregateArgs = { - args: Search_Positions_On_Subject_Args - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + args: Search_Positions_On_Subject_Args; + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootSearch_TermArgs = { - args: Search_Term_Args - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + args: Search_Term_Args; + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootSearch_Term_AggregateArgs = { - args: Search_Term_Args - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + args: Search_Term_Args; + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootSearch_Term_From_FollowingArgs = { - args: Search_Term_From_Following_Args - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + args: Search_Term_From_Following_Args; + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootSearch_Term_From_Following_AggregateArgs = { - args: Search_Term_From_Following_Args - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + args: Search_Term_From_Following_Args; + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootShare_Price_Change_Stats_DailyArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootShare_Price_Change_Stats_Daily_StreamArgs = { - batch_size: Scalars['Int']['input'] - cursor: Array> - where?: InputMaybe -} + batch_size: Scalars['Int']['input']; + cursor: Array>; + where?: InputMaybe; +}; + export type Subscription_RootShare_Price_Change_Stats_HourlyArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootShare_Price_Change_Stats_Hourly_StreamArgs = { - batch_size: Scalars['Int']['input'] - cursor: Array> - where?: InputMaybe -} + batch_size: Scalars['Int']['input']; + cursor: Array>; + where?: InputMaybe; +}; + export type Subscription_RootShare_Price_Change_Stats_MonthlyArgs = { - distinct_on?: InputMaybe< - Array - > - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootShare_Price_Change_Stats_Monthly_StreamArgs = { - batch_size: Scalars['Int']['input'] - cursor: Array< - InputMaybe - > - where?: InputMaybe -} + batch_size: Scalars['Int']['input']; + cursor: Array>; + where?: InputMaybe; +}; + export type Subscription_RootShare_Price_Change_Stats_WeeklyArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootShare_Price_Change_Stats_Weekly_StreamArgs = { - batch_size: Scalars['Int']['input'] - cursor: Array> - where?: InputMaybe -} + batch_size: Scalars['Int']['input']; + cursor: Array>; + where?: InputMaybe; +}; + export type Subscription_RootShare_Price_ChangesArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootShare_Price_Changes_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootShare_Price_Changes_StreamArgs = { - batch_size: Scalars['Int']['input'] - cursor: Array> - where?: InputMaybe -} + batch_size: Scalars['Int']['input']; + cursor: Array>; + where?: InputMaybe; +}; + export type Subscription_RootSignal_Stats_DailyArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootSignal_Stats_Daily_StreamArgs = { - batch_size: Scalars['Int']['input'] - cursor: Array> - where?: InputMaybe -} + batch_size: Scalars['Int']['input']; + cursor: Array>; + where?: InputMaybe; +}; + export type Subscription_RootSignal_Stats_HourlyArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootSignal_Stats_Hourly_StreamArgs = { - batch_size: Scalars['Int']['input'] - cursor: Array> - where?: InputMaybe -} + batch_size: Scalars['Int']['input']; + cursor: Array>; + where?: InputMaybe; +}; + export type Subscription_RootSignal_Stats_MonthlyArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootSignal_Stats_Monthly_StreamArgs = { - batch_size: Scalars['Int']['input'] - cursor: Array> - where?: InputMaybe -} + batch_size: Scalars['Int']['input']; + cursor: Array>; + where?: InputMaybe; +}; + export type Subscription_RootSignal_Stats_WeeklyArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootSignal_Stats_Weekly_StreamArgs = { - batch_size: Scalars['Int']['input'] - cursor: Array> - where?: InputMaybe -} + batch_size: Scalars['Int']['input']; + cursor: Array>; + where?: InputMaybe; +}; + export type Subscription_RootSignalsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootSignals_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootSignals_From_FollowingArgs = { - args: Signals_From_Following_Args - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + args: Signals_From_Following_Args; + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootSignals_From_Following_AggregateArgs = { - args: Signals_From_Following_Args - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + args: Signals_From_Following_Args; + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootSignals_StreamArgs = { - batch_size: Scalars['Int']['input'] - cursor: Array> - where?: InputMaybe -} + batch_size: Scalars['Int']['input']; + cursor: Array>; + where?: InputMaybe; +}; + export type Subscription_RootStatArgs = { - id: Scalars['Int']['input'] -} + id: Scalars['Int']['input']; +}; -export type Subscription_RootStatsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} -export type Subscription_RootStats_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} +export type Subscription_RootStatHourArgs = { + id: Scalars['Int']['input']; +}; + + +export type Subscription_RootStatHoursArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Subscription_RootStatHours_StreamArgs = { + batch_size: Scalars['Int']['input']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type Subscription_RootStatsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Subscription_RootStats_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Subscription_RootStats_StreamArgs = { + batch_size: Scalars['Int']['input']; + cursor: Array>; + where?: InputMaybe; +}; -export type Subscription_RootStats_StreamArgs = { - batch_size: Scalars['Int']['input'] - cursor: Array> - where?: InputMaybe -} export type Subscription_RootTermArgs = { - id: Scalars['numeric']['input'] -} + id: Scalars['String']['input']; +}; + + +export type Subscription_RootTerm_Total_State_Change_Stats_DailyArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Subscription_RootTerm_Total_State_Change_Stats_Daily_StreamArgs = { + batch_size: Scalars['Int']['input']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type Subscription_RootTerm_Total_State_Change_Stats_HourlyArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Subscription_RootTerm_Total_State_Change_Stats_Hourly_StreamArgs = { + batch_size: Scalars['Int']['input']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type Subscription_RootTerm_Total_State_Change_Stats_MonthlyArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Subscription_RootTerm_Total_State_Change_Stats_Monthly_StreamArgs = { + batch_size: Scalars['Int']['input']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type Subscription_RootTerm_Total_State_Change_Stats_WeeklyArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Subscription_RootTerm_Total_State_Change_Stats_Weekly_StreamArgs = { + batch_size: Scalars['Int']['input']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type Subscription_RootTerm_Total_State_ChangesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Subscription_RootTerm_Total_State_Changes_StreamArgs = { + batch_size: Scalars['Int']['input']; + cursor: Array>; + where?: InputMaybe; +}; + export type Subscription_RootTermsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootTerms_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootTerms_StreamArgs = { - batch_size: Scalars['Int']['input'] - cursor: Array> - where?: InputMaybe -} + batch_size: Scalars['Int']['input']; + cursor: Array>; + where?: InputMaybe; +}; + export type Subscription_RootText_ObjectArgs = { - id: Scalars['numeric']['input'] -} + id: Scalars['String']['input']; +}; + export type Subscription_RootText_ObjectsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootText_Objects_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootText_Objects_StreamArgs = { - batch_size: Scalars['Int']['input'] - cursor: Array> - where?: InputMaybe -} + batch_size: Scalars['Int']['input']; + cursor: Array>; + where?: InputMaybe; +}; + export type Subscription_RootThingArgs = { - id: Scalars['numeric']['input'] -} + id: Scalars['String']['input']; +}; + export type Subscription_RootThingsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootThings_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootThings_StreamArgs = { - batch_size: Scalars['Int']['input'] - cursor: Array> - where?: InputMaybe -} + batch_size: Scalars['Int']['input']; + cursor: Array>; + where?: InputMaybe; +}; + export type Subscription_RootTripleArgs = { - term_id: Scalars['numeric']['input'] -} + term_id: Scalars['String']['input']; +}; + export type Subscription_RootTriple_TermArgs = { - term_id: Scalars['numeric']['input'] -} + term_id: Scalars['String']['input']; +}; + export type Subscription_RootTriple_Term_StreamArgs = { - batch_size: Scalars['Int']['input'] - cursor: Array> - where?: InputMaybe -} + batch_size: Scalars['Int']['input']; + cursor: Array>; + where?: InputMaybe; +}; + export type Subscription_RootTriple_TermsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootTriple_VaultArgs = { - curve_id: Scalars['numeric']['input'] - term_id: Scalars['numeric']['input'] -} + curve_id: Scalars['numeric']['input']; + term_id: Scalars['String']['input']; +}; + export type Subscription_RootTriple_Vault_StreamArgs = { - batch_size: Scalars['Int']['input'] - cursor: Array> - where?: InputMaybe -} + batch_size: Scalars['Int']['input']; + cursor: Array>; + where?: InputMaybe; +}; + export type Subscription_RootTriple_VaultsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootTriplesArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootTriples_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootTriples_StreamArgs = { - batch_size: Scalars['Int']['input'] - cursor: Array> - where?: InputMaybe -} + batch_size: Scalars['Int']['input']; + cursor: Array>; + where?: InputMaybe; +}; + export type Subscription_RootVaultArgs = { - curve_id: Scalars['numeric']['input'] - term_id: Scalars['numeric']['input'] -} + curve_id: Scalars['numeric']['input']; + term_id: Scalars['String']['input']; +}; + export type Subscription_RootVaultsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootVaults_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_RootVaults_StreamArgs = { - batch_size: Scalars['Int']['input'] - cursor: Array> - where?: InputMaybe -} + batch_size: Scalars['Int']['input']; + cursor: Array>; + where?: InputMaybe; +}; + +/** columns and relationships of "term_total_state_change_stats_daily" */ +export type Term_Total_State_Change_Stats_Daily = { + __typename?: 'term_total_state_change_stats_daily'; + bucket?: Maybe; + difference?: Maybe; + first_total_market_cap?: Maybe; + last_total_market_cap?: Maybe; + term_id?: Maybe; +}; + +/** order by aggregate values of table "term_total_state_change_stats_daily" */ +export type Term_Total_State_Change_Stats_Daily_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; + +/** order by avg() on columns of table "term_total_state_change_stats_daily" */ +export type Term_Total_State_Change_Stats_Daily_Avg_Order_By = { + difference?: InputMaybe; + first_total_market_cap?: InputMaybe; + last_total_market_cap?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "term_total_state_change_stats_daily". All fields are combined with a logical 'AND'. */ +export type Term_Total_State_Change_Stats_Daily_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + bucket?: InputMaybe; + difference?: InputMaybe; + first_total_market_cap?: InputMaybe; + last_total_market_cap?: InputMaybe; + term_id?: InputMaybe; +}; + +/** order by max() on columns of table "term_total_state_change_stats_daily" */ +export type Term_Total_State_Change_Stats_Daily_Max_Order_By = { + bucket?: InputMaybe; + difference?: InputMaybe; + first_total_market_cap?: InputMaybe; + last_total_market_cap?: InputMaybe; + term_id?: InputMaybe; +}; + +/** order by min() on columns of table "term_total_state_change_stats_daily" */ +export type Term_Total_State_Change_Stats_Daily_Min_Order_By = { + bucket?: InputMaybe; + difference?: InputMaybe; + first_total_market_cap?: InputMaybe; + last_total_market_cap?: InputMaybe; + term_id?: InputMaybe; +}; + +/** Ordering options when selecting data from "term_total_state_change_stats_daily". */ +export type Term_Total_State_Change_Stats_Daily_Order_By = { + bucket?: InputMaybe; + difference?: InputMaybe; + first_total_market_cap?: InputMaybe; + last_total_market_cap?: InputMaybe; + term_id?: InputMaybe; +}; + +/** select columns of table "term_total_state_change_stats_daily" */ +export type Term_Total_State_Change_Stats_Daily_Select_Column = + /** column name */ + | 'bucket' + /** column name */ + | 'difference' + /** column name */ + | 'first_total_market_cap' + /** column name */ + | 'last_total_market_cap' + /** column name */ + | 'term_id'; + +/** order by stddev() on columns of table "term_total_state_change_stats_daily" */ +export type Term_Total_State_Change_Stats_Daily_Stddev_Order_By = { + difference?: InputMaybe; + first_total_market_cap?: InputMaybe; + last_total_market_cap?: InputMaybe; +}; + +/** order by stddev_pop() on columns of table "term_total_state_change_stats_daily" */ +export type Term_Total_State_Change_Stats_Daily_Stddev_Pop_Order_By = { + difference?: InputMaybe; + first_total_market_cap?: InputMaybe; + last_total_market_cap?: InputMaybe; +}; + +/** order by stddev_samp() on columns of table "term_total_state_change_stats_daily" */ +export type Term_Total_State_Change_Stats_Daily_Stddev_Samp_Order_By = { + difference?: InputMaybe; + first_total_market_cap?: InputMaybe; + last_total_market_cap?: InputMaybe; +}; + +/** Streaming cursor of the table "term_total_state_change_stats_daily" */ +export type Term_Total_State_Change_Stats_Daily_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Term_Total_State_Change_Stats_Daily_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Term_Total_State_Change_Stats_Daily_Stream_Cursor_Value_Input = { + bucket?: InputMaybe; + difference?: InputMaybe; + first_total_market_cap?: InputMaybe; + last_total_market_cap?: InputMaybe; + term_id?: InputMaybe; +}; + +/** order by sum() on columns of table "term_total_state_change_stats_daily" */ +export type Term_Total_State_Change_Stats_Daily_Sum_Order_By = { + difference?: InputMaybe; + first_total_market_cap?: InputMaybe; + last_total_market_cap?: InputMaybe; +}; + +/** order by var_pop() on columns of table "term_total_state_change_stats_daily" */ +export type Term_Total_State_Change_Stats_Daily_Var_Pop_Order_By = { + difference?: InputMaybe; + first_total_market_cap?: InputMaybe; + last_total_market_cap?: InputMaybe; +}; + +/** order by var_samp() on columns of table "term_total_state_change_stats_daily" */ +export type Term_Total_State_Change_Stats_Daily_Var_Samp_Order_By = { + difference?: InputMaybe; + first_total_market_cap?: InputMaybe; + last_total_market_cap?: InputMaybe; +}; + +/** order by variance() on columns of table "term_total_state_change_stats_daily" */ +export type Term_Total_State_Change_Stats_Daily_Variance_Order_By = { + difference?: InputMaybe; + first_total_market_cap?: InputMaybe; + last_total_market_cap?: InputMaybe; +}; + +/** columns and relationships of "term_total_state_change_stats_hourly" */ +export type Term_Total_State_Change_Stats_Hourly = { + __typename?: 'term_total_state_change_stats_hourly'; + bucket?: Maybe; + difference?: Maybe; + first_total_market_cap?: Maybe; + last_total_market_cap?: Maybe; + term_id?: Maybe; +}; + +/** order by aggregate values of table "term_total_state_change_stats_hourly" */ +export type Term_Total_State_Change_Stats_Hourly_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; + +/** order by avg() on columns of table "term_total_state_change_stats_hourly" */ +export type Term_Total_State_Change_Stats_Hourly_Avg_Order_By = { + difference?: InputMaybe; + first_total_market_cap?: InputMaybe; + last_total_market_cap?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "term_total_state_change_stats_hourly". All fields are combined with a logical 'AND'. */ +export type Term_Total_State_Change_Stats_Hourly_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + bucket?: InputMaybe; + difference?: InputMaybe; + first_total_market_cap?: InputMaybe; + last_total_market_cap?: InputMaybe; + term_id?: InputMaybe; +}; + +/** order by max() on columns of table "term_total_state_change_stats_hourly" */ +export type Term_Total_State_Change_Stats_Hourly_Max_Order_By = { + bucket?: InputMaybe; + difference?: InputMaybe; + first_total_market_cap?: InputMaybe; + last_total_market_cap?: InputMaybe; + term_id?: InputMaybe; +}; + +/** order by min() on columns of table "term_total_state_change_stats_hourly" */ +export type Term_Total_State_Change_Stats_Hourly_Min_Order_By = { + bucket?: InputMaybe; + difference?: InputMaybe; + first_total_market_cap?: InputMaybe; + last_total_market_cap?: InputMaybe; + term_id?: InputMaybe; +}; + +/** Ordering options when selecting data from "term_total_state_change_stats_hourly". */ +export type Term_Total_State_Change_Stats_Hourly_Order_By = { + bucket?: InputMaybe; + difference?: InputMaybe; + first_total_market_cap?: InputMaybe; + last_total_market_cap?: InputMaybe; + term_id?: InputMaybe; +}; + +/** select columns of table "term_total_state_change_stats_hourly" */ +export type Term_Total_State_Change_Stats_Hourly_Select_Column = + /** column name */ + | 'bucket' + /** column name */ + | 'difference' + /** column name */ + | 'first_total_market_cap' + /** column name */ + | 'last_total_market_cap' + /** column name */ + | 'term_id'; + +/** order by stddev() on columns of table "term_total_state_change_stats_hourly" */ +export type Term_Total_State_Change_Stats_Hourly_Stddev_Order_By = { + difference?: InputMaybe; + first_total_market_cap?: InputMaybe; + last_total_market_cap?: InputMaybe; +}; + +/** order by stddev_pop() on columns of table "term_total_state_change_stats_hourly" */ +export type Term_Total_State_Change_Stats_Hourly_Stddev_Pop_Order_By = { + difference?: InputMaybe; + first_total_market_cap?: InputMaybe; + last_total_market_cap?: InputMaybe; +}; + +/** order by stddev_samp() on columns of table "term_total_state_change_stats_hourly" */ +export type Term_Total_State_Change_Stats_Hourly_Stddev_Samp_Order_By = { + difference?: InputMaybe; + first_total_market_cap?: InputMaybe; + last_total_market_cap?: InputMaybe; +}; + +/** Streaming cursor of the table "term_total_state_change_stats_hourly" */ +export type Term_Total_State_Change_Stats_Hourly_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Term_Total_State_Change_Stats_Hourly_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Term_Total_State_Change_Stats_Hourly_Stream_Cursor_Value_Input = { + bucket?: InputMaybe; + difference?: InputMaybe; + first_total_market_cap?: InputMaybe; + last_total_market_cap?: InputMaybe; + term_id?: InputMaybe; +}; + +/** order by sum() on columns of table "term_total_state_change_stats_hourly" */ +export type Term_Total_State_Change_Stats_Hourly_Sum_Order_By = { + difference?: InputMaybe; + first_total_market_cap?: InputMaybe; + last_total_market_cap?: InputMaybe; +}; + +/** order by var_pop() on columns of table "term_total_state_change_stats_hourly" */ +export type Term_Total_State_Change_Stats_Hourly_Var_Pop_Order_By = { + difference?: InputMaybe; + first_total_market_cap?: InputMaybe; + last_total_market_cap?: InputMaybe; +}; + +/** order by var_samp() on columns of table "term_total_state_change_stats_hourly" */ +export type Term_Total_State_Change_Stats_Hourly_Var_Samp_Order_By = { + difference?: InputMaybe; + first_total_market_cap?: InputMaybe; + last_total_market_cap?: InputMaybe; +}; + +/** order by variance() on columns of table "term_total_state_change_stats_hourly" */ +export type Term_Total_State_Change_Stats_Hourly_Variance_Order_By = { + difference?: InputMaybe; + first_total_market_cap?: InputMaybe; + last_total_market_cap?: InputMaybe; +}; + +/** columns and relationships of "term_total_state_change_stats_monthly" */ +export type Term_Total_State_Change_Stats_Monthly = { + __typename?: 'term_total_state_change_stats_monthly'; + bucket?: Maybe; + difference?: Maybe; + first_total_market_cap?: Maybe; + last_total_market_cap?: Maybe; + term_id?: Maybe; +}; + +/** order by aggregate values of table "term_total_state_change_stats_monthly" */ +export type Term_Total_State_Change_Stats_Monthly_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; + +/** order by avg() on columns of table "term_total_state_change_stats_monthly" */ +export type Term_Total_State_Change_Stats_Monthly_Avg_Order_By = { + difference?: InputMaybe; + first_total_market_cap?: InputMaybe; + last_total_market_cap?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "term_total_state_change_stats_monthly". All fields are combined with a logical 'AND'. */ +export type Term_Total_State_Change_Stats_Monthly_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + bucket?: InputMaybe; + difference?: InputMaybe; + first_total_market_cap?: InputMaybe; + last_total_market_cap?: InputMaybe; + term_id?: InputMaybe; +}; + +/** order by max() on columns of table "term_total_state_change_stats_monthly" */ +export type Term_Total_State_Change_Stats_Monthly_Max_Order_By = { + bucket?: InputMaybe; + difference?: InputMaybe; + first_total_market_cap?: InputMaybe; + last_total_market_cap?: InputMaybe; + term_id?: InputMaybe; +}; + +/** order by min() on columns of table "term_total_state_change_stats_monthly" */ +export type Term_Total_State_Change_Stats_Monthly_Min_Order_By = { + bucket?: InputMaybe; + difference?: InputMaybe; + first_total_market_cap?: InputMaybe; + last_total_market_cap?: InputMaybe; + term_id?: InputMaybe; +}; + +/** Ordering options when selecting data from "term_total_state_change_stats_monthly". */ +export type Term_Total_State_Change_Stats_Monthly_Order_By = { + bucket?: InputMaybe; + difference?: InputMaybe; + first_total_market_cap?: InputMaybe; + last_total_market_cap?: InputMaybe; + term_id?: InputMaybe; +}; + +/** select columns of table "term_total_state_change_stats_monthly" */ +export type Term_Total_State_Change_Stats_Monthly_Select_Column = + /** column name */ + | 'bucket' + /** column name */ + | 'difference' + /** column name */ + | 'first_total_market_cap' + /** column name */ + | 'last_total_market_cap' + /** column name */ + | 'term_id'; + +/** order by stddev() on columns of table "term_total_state_change_stats_monthly" */ +export type Term_Total_State_Change_Stats_Monthly_Stddev_Order_By = { + difference?: InputMaybe; + first_total_market_cap?: InputMaybe; + last_total_market_cap?: InputMaybe; +}; + +/** order by stddev_pop() on columns of table "term_total_state_change_stats_monthly" */ +export type Term_Total_State_Change_Stats_Monthly_Stddev_Pop_Order_By = { + difference?: InputMaybe; + first_total_market_cap?: InputMaybe; + last_total_market_cap?: InputMaybe; +}; + +/** order by stddev_samp() on columns of table "term_total_state_change_stats_monthly" */ +export type Term_Total_State_Change_Stats_Monthly_Stddev_Samp_Order_By = { + difference?: InputMaybe; + first_total_market_cap?: InputMaybe; + last_total_market_cap?: InputMaybe; +}; + +/** Streaming cursor of the table "term_total_state_change_stats_monthly" */ +export type Term_Total_State_Change_Stats_Monthly_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Term_Total_State_Change_Stats_Monthly_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Term_Total_State_Change_Stats_Monthly_Stream_Cursor_Value_Input = { + bucket?: InputMaybe; + difference?: InputMaybe; + first_total_market_cap?: InputMaybe; + last_total_market_cap?: InputMaybe; + term_id?: InputMaybe; +}; + +/** order by sum() on columns of table "term_total_state_change_stats_monthly" */ +export type Term_Total_State_Change_Stats_Monthly_Sum_Order_By = { + difference?: InputMaybe; + first_total_market_cap?: InputMaybe; + last_total_market_cap?: InputMaybe; +}; + +/** order by var_pop() on columns of table "term_total_state_change_stats_monthly" */ +export type Term_Total_State_Change_Stats_Monthly_Var_Pop_Order_By = { + difference?: InputMaybe; + first_total_market_cap?: InputMaybe; + last_total_market_cap?: InputMaybe; +}; + +/** order by var_samp() on columns of table "term_total_state_change_stats_monthly" */ +export type Term_Total_State_Change_Stats_Monthly_Var_Samp_Order_By = { + difference?: InputMaybe; + first_total_market_cap?: InputMaybe; + last_total_market_cap?: InputMaybe; +}; + +/** order by variance() on columns of table "term_total_state_change_stats_monthly" */ +export type Term_Total_State_Change_Stats_Monthly_Variance_Order_By = { + difference?: InputMaybe; + first_total_market_cap?: InputMaybe; + last_total_market_cap?: InputMaybe; +}; + +/** columns and relationships of "term_total_state_change_stats_weekly" */ +export type Term_Total_State_Change_Stats_Weekly = { + __typename?: 'term_total_state_change_stats_weekly'; + bucket?: Maybe; + difference?: Maybe; + first_total_market_cap?: Maybe; + last_total_market_cap?: Maybe; + term_id?: Maybe; +}; + +/** order by aggregate values of table "term_total_state_change_stats_weekly" */ +export type Term_Total_State_Change_Stats_Weekly_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; + +/** order by avg() on columns of table "term_total_state_change_stats_weekly" */ +export type Term_Total_State_Change_Stats_Weekly_Avg_Order_By = { + difference?: InputMaybe; + first_total_market_cap?: InputMaybe; + last_total_market_cap?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "term_total_state_change_stats_weekly". All fields are combined with a logical 'AND'. */ +export type Term_Total_State_Change_Stats_Weekly_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + bucket?: InputMaybe; + difference?: InputMaybe; + first_total_market_cap?: InputMaybe; + last_total_market_cap?: InputMaybe; + term_id?: InputMaybe; +}; + +/** order by max() on columns of table "term_total_state_change_stats_weekly" */ +export type Term_Total_State_Change_Stats_Weekly_Max_Order_By = { + bucket?: InputMaybe; + difference?: InputMaybe; + first_total_market_cap?: InputMaybe; + last_total_market_cap?: InputMaybe; + term_id?: InputMaybe; +}; + +/** order by min() on columns of table "term_total_state_change_stats_weekly" */ +export type Term_Total_State_Change_Stats_Weekly_Min_Order_By = { + bucket?: InputMaybe; + difference?: InputMaybe; + first_total_market_cap?: InputMaybe; + last_total_market_cap?: InputMaybe; + term_id?: InputMaybe; +}; + +/** Ordering options when selecting data from "term_total_state_change_stats_weekly". */ +export type Term_Total_State_Change_Stats_Weekly_Order_By = { + bucket?: InputMaybe; + difference?: InputMaybe; + first_total_market_cap?: InputMaybe; + last_total_market_cap?: InputMaybe; + term_id?: InputMaybe; +}; + +/** select columns of table "term_total_state_change_stats_weekly" */ +export type Term_Total_State_Change_Stats_Weekly_Select_Column = + /** column name */ + | 'bucket' + /** column name */ + | 'difference' + /** column name */ + | 'first_total_market_cap' + /** column name */ + | 'last_total_market_cap' + /** column name */ + | 'term_id'; + +/** order by stddev() on columns of table "term_total_state_change_stats_weekly" */ +export type Term_Total_State_Change_Stats_Weekly_Stddev_Order_By = { + difference?: InputMaybe; + first_total_market_cap?: InputMaybe; + last_total_market_cap?: InputMaybe; +}; + +/** order by stddev_pop() on columns of table "term_total_state_change_stats_weekly" */ +export type Term_Total_State_Change_Stats_Weekly_Stddev_Pop_Order_By = { + difference?: InputMaybe; + first_total_market_cap?: InputMaybe; + last_total_market_cap?: InputMaybe; +}; + +/** order by stddev_samp() on columns of table "term_total_state_change_stats_weekly" */ +export type Term_Total_State_Change_Stats_Weekly_Stddev_Samp_Order_By = { + difference?: InputMaybe; + first_total_market_cap?: InputMaybe; + last_total_market_cap?: InputMaybe; +}; + +/** Streaming cursor of the table "term_total_state_change_stats_weekly" */ +export type Term_Total_State_Change_Stats_Weekly_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Term_Total_State_Change_Stats_Weekly_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Term_Total_State_Change_Stats_Weekly_Stream_Cursor_Value_Input = { + bucket?: InputMaybe; + difference?: InputMaybe; + first_total_market_cap?: InputMaybe; + last_total_market_cap?: InputMaybe; + term_id?: InputMaybe; +}; + +/** order by sum() on columns of table "term_total_state_change_stats_weekly" */ +export type Term_Total_State_Change_Stats_Weekly_Sum_Order_By = { + difference?: InputMaybe; + first_total_market_cap?: InputMaybe; + last_total_market_cap?: InputMaybe; +}; + +/** order by var_pop() on columns of table "term_total_state_change_stats_weekly" */ +export type Term_Total_State_Change_Stats_Weekly_Var_Pop_Order_By = { + difference?: InputMaybe; + first_total_market_cap?: InputMaybe; + last_total_market_cap?: InputMaybe; +}; + +/** order by var_samp() on columns of table "term_total_state_change_stats_weekly" */ +export type Term_Total_State_Change_Stats_Weekly_Var_Samp_Order_By = { + difference?: InputMaybe; + first_total_market_cap?: InputMaybe; + last_total_market_cap?: InputMaybe; +}; + +/** order by variance() on columns of table "term_total_state_change_stats_weekly" */ +export type Term_Total_State_Change_Stats_Weekly_Variance_Order_By = { + difference?: InputMaybe; + first_total_market_cap?: InputMaybe; + last_total_market_cap?: InputMaybe; +}; + +/** columns and relationships of "term_total_state_change" */ +export type Term_Total_State_Changes = { + __typename?: 'term_total_state_changes'; + created_at: Scalars['timestamptz']['output']; + term_id: Scalars['String']['output']; + total_assets: Scalars['numeric']['output']; + total_market_cap: Scalars['numeric']['output']; +}; + +/** order by aggregate values of table "term_total_state_change" */ +export type Term_Total_State_Changes_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; + +/** order by avg() on columns of table "term_total_state_change" */ +export type Term_Total_State_Changes_Avg_Order_By = { + total_assets?: InputMaybe; + total_market_cap?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "term_total_state_change". All fields are combined with a logical 'AND'. */ +export type Term_Total_State_Changes_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + created_at?: InputMaybe; + term_id?: InputMaybe; + total_assets?: InputMaybe; + total_market_cap?: InputMaybe; +}; + +/** order by max() on columns of table "term_total_state_change" */ +export type Term_Total_State_Changes_Max_Order_By = { + created_at?: InputMaybe; + term_id?: InputMaybe; + total_assets?: InputMaybe; + total_market_cap?: InputMaybe; +}; + +/** order by min() on columns of table "term_total_state_change" */ +export type Term_Total_State_Changes_Min_Order_By = { + created_at?: InputMaybe; + term_id?: InputMaybe; + total_assets?: InputMaybe; + total_market_cap?: InputMaybe; +}; + +/** Ordering options when selecting data from "term_total_state_change". */ +export type Term_Total_State_Changes_Order_By = { + created_at?: InputMaybe; + term_id?: InputMaybe; + total_assets?: InputMaybe; + total_market_cap?: InputMaybe; +}; + +/** select columns of table "term_total_state_change" */ +export type Term_Total_State_Changes_Select_Column = + /** column name */ + | 'created_at' + /** column name */ + | 'term_id' + /** column name */ + | 'total_assets' + /** column name */ + | 'total_market_cap'; + +/** order by stddev() on columns of table "term_total_state_change" */ +export type Term_Total_State_Changes_Stddev_Order_By = { + total_assets?: InputMaybe; + total_market_cap?: InputMaybe; +}; + +/** order by stddev_pop() on columns of table "term_total_state_change" */ +export type Term_Total_State_Changes_Stddev_Pop_Order_By = { + total_assets?: InputMaybe; + total_market_cap?: InputMaybe; +}; + +/** order by stddev_samp() on columns of table "term_total_state_change" */ +export type Term_Total_State_Changes_Stddev_Samp_Order_By = { + total_assets?: InputMaybe; + total_market_cap?: InputMaybe; +}; + +/** Streaming cursor of the table "term_total_state_changes" */ +export type Term_Total_State_Changes_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Term_Total_State_Changes_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Term_Total_State_Changes_Stream_Cursor_Value_Input = { + created_at?: InputMaybe; + term_id?: InputMaybe; + total_assets?: InputMaybe; + total_market_cap?: InputMaybe; +}; + +/** order by sum() on columns of table "term_total_state_change" */ +export type Term_Total_State_Changes_Sum_Order_By = { + total_assets?: InputMaybe; + total_market_cap?: InputMaybe; +}; + +/** order by var_pop() on columns of table "term_total_state_change" */ +export type Term_Total_State_Changes_Var_Pop_Order_By = { + total_assets?: InputMaybe; + total_market_cap?: InputMaybe; +}; + +/** order by var_samp() on columns of table "term_total_state_change" */ +export type Term_Total_State_Changes_Var_Samp_Order_By = { + total_assets?: InputMaybe; + total_market_cap?: InputMaybe; +}; + +/** order by variance() on columns of table "term_total_state_change" */ +export type Term_Total_State_Changes_Variance_Order_By = { + total_assets?: InputMaybe; + total_market_cap?: InputMaybe; +}; /** Boolean expression to compare columns of type "term_type". All fields are combined with logical 'AND'. */ export type Term_Type_Comparison_Exp = { - _eq?: InputMaybe - _gt?: InputMaybe - _gte?: InputMaybe - _in?: InputMaybe> - _is_null?: InputMaybe - _lt?: InputMaybe - _lte?: InputMaybe - _neq?: InputMaybe - _nin?: InputMaybe> -} + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; /** columns and relationships of "term" */ export type Terms = { - __typename?: 'terms' + __typename?: 'terms'; /** An object relationship */ - atom?: Maybe + atom?: Maybe; /** An object relationship */ - atomById?: Maybe - atom_id?: Maybe + atomById?: Maybe; + atom_id?: Maybe; /** An array relationship */ - deposits: Array + deposits: Array; /** An aggregate relationship */ - deposits_aggregate: Deposits_Aggregate - id: Scalars['numeric']['output'] + deposits_aggregate: Deposits_Aggregate; + id: Scalars['String']['output']; /** An array relationship */ - positions: Array + positions: Array; /** An aggregate relationship */ - positions_aggregate: Positions_Aggregate + positions_aggregate: Positions_Aggregate; /** An array relationship */ - redemptions: Array + redemptions: Array; /** An aggregate relationship */ - redemptions_aggregate: Redemptions_Aggregate + redemptions_aggregate: Redemptions_Aggregate; /** An array relationship */ - share_price_change_stats_daily: Array + share_price_change_stats_daily: Array; /** An array relationship */ - share_price_change_stats_hourly: Array + share_price_change_stats_hourly: Array; /** An array relationship */ - share_price_change_stats_monthly: Array + share_price_change_stats_monthly: Array; /** An array relationship */ - share_price_change_stats_weekly: Array + share_price_change_stats_weekly: Array; /** An array relationship */ - share_price_changes: Array + share_price_changes: Array; /** An aggregate relationship */ - share_price_changes_aggregate: Share_Price_Changes_Aggregate + share_price_changes_aggregate: Share_Price_Changes_Aggregate; /** An array relationship */ - signals: Array + signals: Array; /** An aggregate relationship */ - signals_aggregate: Signals_Aggregate - total_assets?: Maybe - total_market_cap?: Maybe + signals_aggregate: Signals_Aggregate; + /** An array relationship */ + term_total_state_change_daily: Array; + /** An array relationship */ + term_total_state_change_hourly: Array; + /** An array relationship */ + term_total_state_change_monthly: Array; + /** An array relationship */ + term_total_state_change_weekly: Array; + /** An array relationship */ + term_total_state_changes: Array; + total_assets?: Maybe; + total_market_cap?: Maybe; /** An object relationship */ - triple?: Maybe + triple?: Maybe; /** An object relationship */ - tripleById?: Maybe - triple_id?: Maybe - type: Scalars['term_type']['output'] + tripleById?: Maybe; + triple_id?: Maybe; + type: Scalars['term_type']['output']; + updated_at: Scalars['timestamptz']['output']; /** An array relationship */ - vaults: Array + vaults: Array; /** An aggregate relationship */ - vaults_aggregate: Vaults_Aggregate -} + vaults_aggregate: Vaults_Aggregate; +}; + /** columns and relationships of "term" */ export type TermsDepositsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "term" */ export type TermsDeposits_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "term" */ export type TermsPositionsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "term" */ export type TermsPositions_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "term" */ export type TermsRedemptionsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "term" */ export type TermsRedemptions_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "term" */ export type TermsShare_Price_Change_Stats_DailyArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "term" */ export type TermsShare_Price_Change_Stats_HourlyArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "term" */ export type TermsShare_Price_Change_Stats_MonthlyArgs = { - distinct_on?: InputMaybe< - Array - > - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "term" */ export type TermsShare_Price_Change_Stats_WeeklyArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "term" */ export type TermsShare_Price_ChangesArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "term" */ export type TermsShare_Price_Changes_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "term" */ export type TermsSignalsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "term" */ export type TermsSignals_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +/** columns and relationships of "term" */ +export type TermsTerm_Total_State_Change_DailyArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +/** columns and relationships of "term" */ +export type TermsTerm_Total_State_Change_HourlyArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +/** columns and relationships of "term" */ +export type TermsTerm_Total_State_Change_MonthlyArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +/** columns and relationships of "term" */ +export type TermsTerm_Total_State_Change_WeeklyArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +/** columns and relationships of "term" */ +export type TermsTerm_Total_State_ChangesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "term" */ export type TermsVaultsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "term" */ export type TermsVaults_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; export type Terms_Aggregate = { - __typename?: 'terms_aggregate' - aggregate?: Maybe - nodes: Array -} + __typename?: 'terms_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; /** aggregate fields of "term" */ export type Terms_Aggregate_Fields = { - __typename?: 'terms_aggregate_fields' - avg?: Maybe - count: Scalars['Int']['output'] - max?: Maybe - min?: Maybe - stddev?: Maybe - stddev_pop?: Maybe - stddev_samp?: Maybe - sum?: Maybe - var_pop?: Maybe - var_samp?: Maybe - variance?: Maybe -} + __typename?: 'terms_aggregate_fields'; + avg?: Maybe; + count: Scalars['Int']['output']; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + /** aggregate fields of "term" */ export type Terms_Aggregate_FieldsCountArgs = { - columns?: InputMaybe> - distinct?: InputMaybe -} + columns?: InputMaybe>; + distinct?: InputMaybe; +}; /** aggregate avg on columns */ export type Terms_Avg_Fields = { - __typename?: 'terms_avg_fields' - atom_id?: Maybe - id?: Maybe - total_assets?: Maybe - total_market_cap?: Maybe - triple_id?: Maybe -} + __typename?: 'terms_avg_fields'; + total_assets?: Maybe; + total_market_cap?: Maybe; +}; /** Boolean expression to filter rows from the table "term". All fields are combined with a logical 'AND'. */ export type Terms_Bool_Exp = { - _and?: InputMaybe> - _not?: InputMaybe - _or?: InputMaybe> - atom?: InputMaybe - atomById?: InputMaybe - atom_id?: InputMaybe - deposits?: InputMaybe - deposits_aggregate?: InputMaybe - id?: InputMaybe - positions?: InputMaybe - positions_aggregate?: InputMaybe - redemptions?: InputMaybe - redemptions_aggregate?: InputMaybe - share_price_change_stats_daily?: InputMaybe - share_price_change_stats_hourly?: InputMaybe - share_price_change_stats_monthly?: InputMaybe - share_price_change_stats_weekly?: InputMaybe - share_price_changes?: InputMaybe - share_price_changes_aggregate?: InputMaybe - signals?: InputMaybe - signals_aggregate?: InputMaybe - total_assets?: InputMaybe - total_market_cap?: InputMaybe - triple?: InputMaybe - tripleById?: InputMaybe - triple_id?: InputMaybe - type?: InputMaybe - vaults?: InputMaybe - vaults_aggregate?: InputMaybe -} + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + atom?: InputMaybe; + atomById?: InputMaybe; + atom_id?: InputMaybe; + deposits?: InputMaybe; + deposits_aggregate?: InputMaybe; + id?: InputMaybe; + positions?: InputMaybe; + positions_aggregate?: InputMaybe; + redemptions?: InputMaybe; + redemptions_aggregate?: InputMaybe; + share_price_change_stats_daily?: InputMaybe; + share_price_change_stats_hourly?: InputMaybe; + share_price_change_stats_monthly?: InputMaybe; + share_price_change_stats_weekly?: InputMaybe; + share_price_changes?: InputMaybe; + share_price_changes_aggregate?: InputMaybe; + signals?: InputMaybe; + signals_aggregate?: InputMaybe; + term_total_state_change_daily?: InputMaybe; + term_total_state_change_hourly?: InputMaybe; + term_total_state_change_monthly?: InputMaybe; + term_total_state_change_weekly?: InputMaybe; + term_total_state_changes?: InputMaybe; + total_assets?: InputMaybe; + total_market_cap?: InputMaybe; + triple?: InputMaybe; + tripleById?: InputMaybe; + triple_id?: InputMaybe; + type?: InputMaybe; + updated_at?: InputMaybe; + vaults?: InputMaybe; + vaults_aggregate?: InputMaybe; +}; /** aggregate max on columns */ export type Terms_Max_Fields = { - __typename?: 'terms_max_fields' - atom_id?: Maybe - id?: Maybe - total_assets?: Maybe - total_market_cap?: Maybe - triple_id?: Maybe - type?: Maybe -} + __typename?: 'terms_max_fields'; + atom_id?: Maybe; + id?: Maybe; + total_assets?: Maybe; + total_market_cap?: Maybe; + triple_id?: Maybe; + type?: Maybe; + updated_at?: Maybe; +}; /** aggregate min on columns */ export type Terms_Min_Fields = { - __typename?: 'terms_min_fields' - atom_id?: Maybe - id?: Maybe - total_assets?: Maybe - total_market_cap?: Maybe - triple_id?: Maybe - type?: Maybe -} + __typename?: 'terms_min_fields'; + atom_id?: Maybe; + id?: Maybe; + total_assets?: Maybe; + total_market_cap?: Maybe; + triple_id?: Maybe; + type?: Maybe; + updated_at?: Maybe; +}; /** Ordering options when selecting data from "term". */ export type Terms_Order_By = { - atom?: InputMaybe - atomById?: InputMaybe - atom_id?: InputMaybe - deposits_aggregate?: InputMaybe - id?: InputMaybe - positions_aggregate?: InputMaybe - redemptions_aggregate?: InputMaybe - share_price_change_stats_daily_aggregate?: InputMaybe - share_price_change_stats_hourly_aggregate?: InputMaybe - share_price_change_stats_monthly_aggregate?: InputMaybe - share_price_change_stats_weekly_aggregate?: InputMaybe - share_price_changes_aggregate?: InputMaybe - signals_aggregate?: InputMaybe - total_assets?: InputMaybe - total_market_cap?: InputMaybe - triple?: InputMaybe - tripleById?: InputMaybe - triple_id?: InputMaybe - type?: InputMaybe - vaults_aggregate?: InputMaybe -} + atom?: InputMaybe; + atomById?: InputMaybe; + atom_id?: InputMaybe; + deposits_aggregate?: InputMaybe; + id?: InputMaybe; + positions_aggregate?: InputMaybe; + redemptions_aggregate?: InputMaybe; + share_price_change_stats_daily_aggregate?: InputMaybe; + share_price_change_stats_hourly_aggregate?: InputMaybe; + share_price_change_stats_monthly_aggregate?: InputMaybe; + share_price_change_stats_weekly_aggregate?: InputMaybe; + share_price_changes_aggregate?: InputMaybe; + signals_aggregate?: InputMaybe; + term_total_state_change_daily_aggregate?: InputMaybe; + term_total_state_change_hourly_aggregate?: InputMaybe; + term_total_state_change_monthly_aggregate?: InputMaybe; + term_total_state_change_weekly_aggregate?: InputMaybe; + term_total_state_changes_aggregate?: InputMaybe; + total_assets?: InputMaybe; + total_market_cap?: InputMaybe; + triple?: InputMaybe; + tripleById?: InputMaybe; + triple_id?: InputMaybe; + type?: InputMaybe; + updated_at?: InputMaybe; + vaults_aggregate?: InputMaybe; +}; /** select columns of table "term" */ export type Terms_Select_Column = @@ -9123,323 +10087,237 @@ export type Terms_Select_Column = | 'triple_id' /** column name */ | 'type' + /** column name */ + | 'updated_at'; /** aggregate stddev on columns */ export type Terms_Stddev_Fields = { - __typename?: 'terms_stddev_fields' - atom_id?: Maybe - id?: Maybe - total_assets?: Maybe - total_market_cap?: Maybe - triple_id?: Maybe -} + __typename?: 'terms_stddev_fields'; + total_assets?: Maybe; + total_market_cap?: Maybe; +}; /** aggregate stddev_pop on columns */ export type Terms_Stddev_Pop_Fields = { - __typename?: 'terms_stddev_pop_fields' - atom_id?: Maybe - id?: Maybe - total_assets?: Maybe - total_market_cap?: Maybe - triple_id?: Maybe -} + __typename?: 'terms_stddev_pop_fields'; + total_assets?: Maybe; + total_market_cap?: Maybe; +}; /** aggregate stddev_samp on columns */ export type Terms_Stddev_Samp_Fields = { - __typename?: 'terms_stddev_samp_fields' - atom_id?: Maybe - id?: Maybe - total_assets?: Maybe - total_market_cap?: Maybe - triple_id?: Maybe -} + __typename?: 'terms_stddev_samp_fields'; + total_assets?: Maybe; + total_market_cap?: Maybe; +}; /** Streaming cursor of the table "terms" */ export type Terms_Stream_Cursor_Input = { /** Stream column input with initial value */ - initial_value: Terms_Stream_Cursor_Value_Input + initial_value: Terms_Stream_Cursor_Value_Input; /** cursor ordering */ - ordering?: InputMaybe -} + ordering?: InputMaybe; +}; /** Initial value of the column from where the streaming should start */ export type Terms_Stream_Cursor_Value_Input = { - atom_id?: InputMaybe - id?: InputMaybe - total_assets?: InputMaybe - total_market_cap?: InputMaybe - triple_id?: InputMaybe - type?: InputMaybe -} + atom_id?: InputMaybe; + id?: InputMaybe; + total_assets?: InputMaybe; + total_market_cap?: InputMaybe; + triple_id?: InputMaybe; + type?: InputMaybe; + updated_at?: InputMaybe; +}; /** aggregate sum on columns */ export type Terms_Sum_Fields = { - __typename?: 'terms_sum_fields' - atom_id?: Maybe - id?: Maybe - total_assets?: Maybe - total_market_cap?: Maybe - triple_id?: Maybe -} + __typename?: 'terms_sum_fields'; + total_assets?: Maybe; + total_market_cap?: Maybe; +}; /** aggregate var_pop on columns */ export type Terms_Var_Pop_Fields = { - __typename?: 'terms_var_pop_fields' - atom_id?: Maybe - id?: Maybe - total_assets?: Maybe - total_market_cap?: Maybe - triple_id?: Maybe -} + __typename?: 'terms_var_pop_fields'; + total_assets?: Maybe; + total_market_cap?: Maybe; +}; /** aggregate var_samp on columns */ export type Terms_Var_Samp_Fields = { - __typename?: 'terms_var_samp_fields' - atom_id?: Maybe - id?: Maybe - total_assets?: Maybe - total_market_cap?: Maybe - triple_id?: Maybe -} + __typename?: 'terms_var_samp_fields'; + total_assets?: Maybe; + total_market_cap?: Maybe; +}; /** aggregate variance on columns */ export type Terms_Variance_Fields = { - __typename?: 'terms_variance_fields' - atom_id?: Maybe - id?: Maybe - total_assets?: Maybe - total_market_cap?: Maybe - triple_id?: Maybe -} + __typename?: 'terms_variance_fields'; + total_assets?: Maybe; + total_market_cap?: Maybe; +}; /** columns and relationships of "text_object" */ export type Text_Objects = { - __typename?: 'text_objects' + __typename?: 'text_objects'; /** An object relationship */ - atom?: Maybe - data: Scalars['String']['output'] - id: Scalars['numeric']['output'] -} + atom?: Maybe; + data: Scalars['String']['output']; + id: Scalars['String']['output']; +}; /** aggregated selection of "text_object" */ export type Text_Objects_Aggregate = { - __typename?: 'text_objects_aggregate' - aggregate?: Maybe - nodes: Array -} + __typename?: 'text_objects_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; /** aggregate fields of "text_object" */ export type Text_Objects_Aggregate_Fields = { - __typename?: 'text_objects_aggregate_fields' - avg?: Maybe - count: Scalars['Int']['output'] - max?: Maybe - min?: Maybe - stddev?: Maybe - stddev_pop?: Maybe - stddev_samp?: Maybe - sum?: Maybe - var_pop?: Maybe - var_samp?: Maybe - variance?: Maybe -} + __typename?: 'text_objects_aggregate_fields'; + count: Scalars['Int']['output']; + max?: Maybe; + min?: Maybe; +}; + /** aggregate fields of "text_object" */ export type Text_Objects_Aggregate_FieldsCountArgs = { - columns?: InputMaybe> - distinct?: InputMaybe -} - -/** aggregate avg on columns */ -export type Text_Objects_Avg_Fields = { - __typename?: 'text_objects_avg_fields' - id?: Maybe -} + columns?: InputMaybe>; + distinct?: InputMaybe; +}; /** Boolean expression to filter rows from the table "text_object". All fields are combined with a logical 'AND'. */ export type Text_Objects_Bool_Exp = { - _and?: InputMaybe> - _not?: InputMaybe - _or?: InputMaybe> - atom?: InputMaybe - data?: InputMaybe - id?: InputMaybe -} + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + atom?: InputMaybe; + data?: InputMaybe; + id?: InputMaybe; +}; /** aggregate max on columns */ export type Text_Objects_Max_Fields = { - __typename?: 'text_objects_max_fields' - data?: Maybe - id?: Maybe -} + __typename?: 'text_objects_max_fields'; + data?: Maybe; + id?: Maybe; +}; /** aggregate min on columns */ export type Text_Objects_Min_Fields = { - __typename?: 'text_objects_min_fields' - data?: Maybe - id?: Maybe -} + __typename?: 'text_objects_min_fields'; + data?: Maybe; + id?: Maybe; +}; /** Ordering options when selecting data from "text_object". */ export type Text_Objects_Order_By = { - atom?: InputMaybe - data?: InputMaybe - id?: InputMaybe -} + atom?: InputMaybe; + data?: InputMaybe; + id?: InputMaybe; +}; /** select columns of table "text_object" */ export type Text_Objects_Select_Column = /** column name */ | 'data' /** column name */ - | 'id' - -/** aggregate stddev on columns */ -export type Text_Objects_Stddev_Fields = { - __typename?: 'text_objects_stddev_fields' - id?: Maybe -} - -/** aggregate stddev_pop on columns */ -export type Text_Objects_Stddev_Pop_Fields = { - __typename?: 'text_objects_stddev_pop_fields' - id?: Maybe -} - -/** aggregate stddev_samp on columns */ -export type Text_Objects_Stddev_Samp_Fields = { - __typename?: 'text_objects_stddev_samp_fields' - id?: Maybe -} + | 'id'; /** Streaming cursor of the table "text_objects" */ export type Text_Objects_Stream_Cursor_Input = { /** Stream column input with initial value */ - initial_value: Text_Objects_Stream_Cursor_Value_Input + initial_value: Text_Objects_Stream_Cursor_Value_Input; /** cursor ordering */ - ordering?: InputMaybe -} + ordering?: InputMaybe; +}; /** Initial value of the column from where the streaming should start */ export type Text_Objects_Stream_Cursor_Value_Input = { - data?: InputMaybe - id?: InputMaybe -} - -/** aggregate sum on columns */ -export type Text_Objects_Sum_Fields = { - __typename?: 'text_objects_sum_fields' - id?: Maybe -} - -/** aggregate var_pop on columns */ -export type Text_Objects_Var_Pop_Fields = { - __typename?: 'text_objects_var_pop_fields' - id?: Maybe -} - -/** aggregate var_samp on columns */ -export type Text_Objects_Var_Samp_Fields = { - __typename?: 'text_objects_var_samp_fields' - id?: Maybe -} - -/** aggregate variance on columns */ -export type Text_Objects_Variance_Fields = { - __typename?: 'text_objects_variance_fields' - id?: Maybe -} + data?: InputMaybe; + id?: InputMaybe; +}; /** columns and relationships of "thing" */ export type Things = { - __typename?: 'things' + __typename?: 'things'; /** An object relationship */ - atom?: Maybe - cached_image?: Maybe - description?: Maybe - id: Scalars['numeric']['output'] - image?: Maybe - name?: Maybe - url?: Maybe -} + atom?: Maybe; + cached_image?: Maybe; + description?: Maybe; + id: Scalars['String']['output']; + image?: Maybe; + name?: Maybe; + url?: Maybe; +}; /** aggregated selection of "thing" */ export type Things_Aggregate = { - __typename?: 'things_aggregate' - aggregate?: Maybe - nodes: Array -} + __typename?: 'things_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; /** aggregate fields of "thing" */ export type Things_Aggregate_Fields = { - __typename?: 'things_aggregate_fields' - avg?: Maybe - count: Scalars['Int']['output'] - max?: Maybe - min?: Maybe - stddev?: Maybe - stddev_pop?: Maybe - stddev_samp?: Maybe - sum?: Maybe - var_pop?: Maybe - var_samp?: Maybe - variance?: Maybe -} + __typename?: 'things_aggregate_fields'; + count: Scalars['Int']['output']; + max?: Maybe; + min?: Maybe; +}; + /** aggregate fields of "thing" */ export type Things_Aggregate_FieldsCountArgs = { - columns?: InputMaybe> - distinct?: InputMaybe -} - -/** aggregate avg on columns */ -export type Things_Avg_Fields = { - __typename?: 'things_avg_fields' - id?: Maybe -} + columns?: InputMaybe>; + distinct?: InputMaybe; +}; /** Boolean expression to filter rows from the table "thing". All fields are combined with a logical 'AND'. */ export type Things_Bool_Exp = { - _and?: InputMaybe> - _not?: InputMaybe - _or?: InputMaybe> - atom?: InputMaybe - description?: InputMaybe - id?: InputMaybe - image?: InputMaybe - name?: InputMaybe - url?: InputMaybe -} + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + atom?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + image?: InputMaybe; + name?: InputMaybe; + url?: InputMaybe; +}; /** aggregate max on columns */ export type Things_Max_Fields = { - __typename?: 'things_max_fields' - description?: Maybe - id?: Maybe - image?: Maybe - name?: Maybe - url?: Maybe -} + __typename?: 'things_max_fields'; + description?: Maybe; + id?: Maybe; + image?: Maybe; + name?: Maybe; + url?: Maybe; +}; /** aggregate min on columns */ export type Things_Min_Fields = { - __typename?: 'things_min_fields' - description?: Maybe - id?: Maybe - image?: Maybe - name?: Maybe - url?: Maybe -} + __typename?: 'things_min_fields'; + description?: Maybe; + id?: Maybe; + image?: Maybe; + name?: Maybe; + url?: Maybe; +}; /** Ordering options when selecting data from "thing". */ export type Things_Order_By = { - atom?: InputMaybe - description?: InputMaybe - id?: InputMaybe - image?: InputMaybe - name?: InputMaybe - url?: InputMaybe -} + atom?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + image?: InputMaybe; + name?: InputMaybe; + url?: InputMaybe; +}; /** select columns of table "thing" */ export type Things_Select_Column = @@ -9452,121 +10330,79 @@ export type Things_Select_Column = /** column name */ | 'name' /** column name */ - | 'url' - -/** aggregate stddev on columns */ -export type Things_Stddev_Fields = { - __typename?: 'things_stddev_fields' - id?: Maybe -} - -/** aggregate stddev_pop on columns */ -export type Things_Stddev_Pop_Fields = { - __typename?: 'things_stddev_pop_fields' - id?: Maybe -} - -/** aggregate stddev_samp on columns */ -export type Things_Stddev_Samp_Fields = { - __typename?: 'things_stddev_samp_fields' - id?: Maybe -} + | 'url'; /** Streaming cursor of the table "things" */ export type Things_Stream_Cursor_Input = { /** Stream column input with initial value */ - initial_value: Things_Stream_Cursor_Value_Input + initial_value: Things_Stream_Cursor_Value_Input; /** cursor ordering */ - ordering?: InputMaybe -} + ordering?: InputMaybe; +}; /** Initial value of the column from where the streaming should start */ export type Things_Stream_Cursor_Value_Input = { - description?: InputMaybe - id?: InputMaybe - image?: InputMaybe - name?: InputMaybe - url?: InputMaybe -} - -/** aggregate sum on columns */ -export type Things_Sum_Fields = { - __typename?: 'things_sum_fields' - id?: Maybe -} - -/** aggregate var_pop on columns */ -export type Things_Var_Pop_Fields = { - __typename?: 'things_var_pop_fields' - id?: Maybe -} - -/** aggregate var_samp on columns */ -export type Things_Var_Samp_Fields = { - __typename?: 'things_var_samp_fields' - id?: Maybe -} - -/** aggregate variance on columns */ -export type Things_Variance_Fields = { - __typename?: 'things_variance_fields' - id?: Maybe -} + description?: InputMaybe; + id?: InputMaybe; + image?: InputMaybe; + name?: InputMaybe; + url?: InputMaybe; +}; /** Boolean expression to compare columns of type "timestamptz". All fields are combined with logical 'AND'. */ export type Timestamptz_Comparison_Exp = { - _eq?: InputMaybe - _gt?: InputMaybe - _gte?: InputMaybe - _in?: InputMaybe> - _is_null?: InputMaybe - _lt?: InputMaybe - _lte?: InputMaybe - _neq?: InputMaybe - _nin?: InputMaybe> -} + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; /** columns and relationships of "triple_term" */ export type Triple_Term = { - __typename?: 'triple_term' + __typename?: 'triple_term'; /** An object relationship */ - counter_term: Terms - counter_term_id: Scalars['numeric']['output'] + counter_term: Terms; + counter_term_id: Scalars['String']['output']; /** An object relationship */ - term: Terms - term_id: Scalars['numeric']['output'] - total_assets: Scalars['numeric']['output'] - total_market_cap: Scalars['numeric']['output'] - total_position_count: Scalars['bigint']['output'] - updated_at: Scalars['timestamptz']['output'] -} + term: Terms; + term_id: Scalars['String']['output']; + total_assets: Scalars['numeric']['output']; + total_market_cap: Scalars['numeric']['output']; + total_position_count: Scalars['bigint']['output']; + updated_at: Scalars['timestamptz']['output']; +}; /** Boolean expression to filter rows from the table "triple_term". All fields are combined with a logical 'AND'. */ export type Triple_Term_Bool_Exp = { - _and?: InputMaybe> - _not?: InputMaybe - _or?: InputMaybe> - counter_term?: InputMaybe - counter_term_id?: InputMaybe - term?: InputMaybe - term_id?: InputMaybe - total_assets?: InputMaybe - total_market_cap?: InputMaybe - total_position_count?: InputMaybe - updated_at?: InputMaybe -} + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + counter_term?: InputMaybe; + counter_term_id?: InputMaybe; + term?: InputMaybe; + term_id?: InputMaybe; + total_assets?: InputMaybe; + total_market_cap?: InputMaybe; + total_position_count?: InputMaybe; + updated_at?: InputMaybe; +}; /** Ordering options when selecting data from "triple_term". */ export type Triple_Term_Order_By = { - counter_term?: InputMaybe - counter_term_id?: InputMaybe - term?: InputMaybe - term_id?: InputMaybe - total_assets?: InputMaybe - total_market_cap?: InputMaybe - total_position_count?: InputMaybe - updated_at?: InputMaybe -} + counter_term?: InputMaybe; + counter_term_id?: InputMaybe; + term?: InputMaybe; + term_id?: InputMaybe; + total_assets?: InputMaybe; + total_market_cap?: InputMaybe; + total_position_count?: InputMaybe; + updated_at?: InputMaybe; +}; /** select columns of table "triple_term" */ export type Triple_Term_Select_Column = @@ -9581,79 +10417,79 @@ export type Triple_Term_Select_Column = /** column name */ | 'total_position_count' /** column name */ - | 'updated_at' + | 'updated_at'; /** Streaming cursor of the table "triple_term" */ export type Triple_Term_Stream_Cursor_Input = { /** Stream column input with initial value */ - initial_value: Triple_Term_Stream_Cursor_Value_Input + initial_value: Triple_Term_Stream_Cursor_Value_Input; /** cursor ordering */ - ordering?: InputMaybe -} + ordering?: InputMaybe; +}; /** Initial value of the column from where the streaming should start */ export type Triple_Term_Stream_Cursor_Value_Input = { - counter_term_id?: InputMaybe - term_id?: InputMaybe - total_assets?: InputMaybe - total_market_cap?: InputMaybe - total_position_count?: InputMaybe - updated_at?: InputMaybe -} + counter_term_id?: InputMaybe; + term_id?: InputMaybe; + total_assets?: InputMaybe; + total_market_cap?: InputMaybe; + total_position_count?: InputMaybe; + updated_at?: InputMaybe; +}; /** columns and relationships of "triple_vault" */ export type Triple_Vault = { - __typename?: 'triple_vault' - block_number: Scalars['numeric']['output'] + __typename?: 'triple_vault'; + block_number: Scalars['numeric']['output']; /** An object relationship */ - counter_term?: Maybe - counter_term_id: Scalars['numeric']['output'] - curve_id: Scalars['numeric']['output'] - log_index: Scalars['bigint']['output'] - market_cap: Scalars['numeric']['output'] - position_count: Scalars['bigint']['output'] + counter_term?: Maybe; + counter_term_id: Scalars['String']['output']; + curve_id: Scalars['numeric']['output']; + log_index: Scalars['bigint']['output']; + market_cap: Scalars['numeric']['output']; + position_count: Scalars['bigint']['output']; /** An object relationship */ - term?: Maybe - term_id: Scalars['numeric']['output'] - total_assets: Scalars['numeric']['output'] - total_shares: Scalars['numeric']['output'] - updated_at: Scalars['timestamptz']['output'] -} + term?: Maybe; + term_id: Scalars['String']['output']; + total_assets: Scalars['numeric']['output']; + total_shares: Scalars['numeric']['output']; + updated_at: Scalars['timestamptz']['output']; +}; /** Boolean expression to filter rows from the table "triple_vault". All fields are combined with a logical 'AND'. */ export type Triple_Vault_Bool_Exp = { - _and?: InputMaybe> - _not?: InputMaybe - _or?: InputMaybe> - block_number?: InputMaybe - counter_term?: InputMaybe - counter_term_id?: InputMaybe - curve_id?: InputMaybe - log_index?: InputMaybe - market_cap?: InputMaybe - position_count?: InputMaybe - term?: InputMaybe - term_id?: InputMaybe - total_assets?: InputMaybe - total_shares?: InputMaybe - updated_at?: InputMaybe -} + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + block_number?: InputMaybe; + counter_term?: InputMaybe; + counter_term_id?: InputMaybe; + curve_id?: InputMaybe; + log_index?: InputMaybe; + market_cap?: InputMaybe; + position_count?: InputMaybe; + term?: InputMaybe; + term_id?: InputMaybe; + total_assets?: InputMaybe; + total_shares?: InputMaybe; + updated_at?: InputMaybe; +}; /** Ordering options when selecting data from "triple_vault". */ export type Triple_Vault_Order_By = { - block_number?: InputMaybe - counter_term?: InputMaybe - counter_term_id?: InputMaybe - curve_id?: InputMaybe - log_index?: InputMaybe - market_cap?: InputMaybe - position_count?: InputMaybe - term?: InputMaybe - term_id?: InputMaybe - total_assets?: InputMaybe - total_shares?: InputMaybe - updated_at?: InputMaybe -} + block_number?: InputMaybe; + counter_term?: InputMaybe; + counter_term_id?: InputMaybe; + curve_id?: InputMaybe; + log_index?: InputMaybe; + market_cap?: InputMaybe; + position_count?: InputMaybe; + term?: InputMaybe; + term_id?: InputMaybe; + total_assets?: InputMaybe; + total_shares?: InputMaybe; + updated_at?: InputMaybe; +}; /** select columns of table "triple_vault" */ export type Triple_Vault_Select_Column = @@ -9676,284 +10512,279 @@ export type Triple_Vault_Select_Column = /** column name */ | 'total_shares' /** column name */ - | 'updated_at' + | 'updated_at'; /** Streaming cursor of the table "triple_vault" */ export type Triple_Vault_Stream_Cursor_Input = { /** Stream column input with initial value */ - initial_value: Triple_Vault_Stream_Cursor_Value_Input + initial_value: Triple_Vault_Stream_Cursor_Value_Input; /** cursor ordering */ - ordering?: InputMaybe -} + ordering?: InputMaybe; +}; /** Initial value of the column from where the streaming should start */ export type Triple_Vault_Stream_Cursor_Value_Input = { - block_number?: InputMaybe - counter_term_id?: InputMaybe - curve_id?: InputMaybe - log_index?: InputMaybe - market_cap?: InputMaybe - position_count?: InputMaybe - term_id?: InputMaybe - total_assets?: InputMaybe - total_shares?: InputMaybe - updated_at?: InputMaybe -} + block_number?: InputMaybe; + counter_term_id?: InputMaybe; + curve_id?: InputMaybe; + log_index?: InputMaybe; + market_cap?: InputMaybe; + position_count?: InputMaybe; + term_id?: InputMaybe; + total_assets?: InputMaybe; + total_shares?: InputMaybe; + updated_at?: InputMaybe; +}; /** columns and relationships of "triple" */ export type Triples = { - __typename?: 'triples' - block_number: Scalars['numeric']['output'] + __typename?: 'triples'; + block_number: Scalars['numeric']['output']; /** An array relationship */ - counter_positions: Array + counter_positions: Array; /** An aggregate relationship */ - counter_positions_aggregate: Positions_Aggregate + counter_positions_aggregate: Positions_Aggregate; /** An object relationship */ - counter_term?: Maybe - counter_term_id: Scalars['numeric']['output'] - created_at: Scalars['timestamptz']['output'] + counter_term?: Maybe; + counter_term_id: Scalars['String']['output']; + created_at: Scalars['timestamptz']['output']; /** An object relationship */ - creator?: Maybe - creator_id: Scalars['String']['output'] + creator?: Maybe; + creator_id: Scalars['String']['output']; /** An object relationship */ - object: Atoms - object_id: Scalars['numeric']['output'] + object: Atoms; + object_id: Scalars['String']['output']; /** An array relationship */ - positions: Array + positions: Array; /** An aggregate relationship */ - positions_aggregate: Positions_Aggregate + positions_aggregate: Positions_Aggregate; /** An object relationship */ - predicate: Atoms - predicate_id: Scalars['numeric']['output'] + predicate: Atoms; + predicate_id: Scalars['String']['output']; /** An object relationship */ - subject: Atoms - subject_id: Scalars['numeric']['output'] + subject: Atoms; + subject_id: Scalars['String']['output']; /** An object relationship */ - term?: Maybe - term_id: Scalars['numeric']['output'] - transaction_hash: Scalars['String']['output'] + term?: Maybe; + term_id: Scalars['String']['output']; + transaction_hash: Scalars['String']['output']; /** An object relationship */ - triple_term?: Maybe + triple_term?: Maybe; /** An object relationship */ - triple_vault?: Maybe -} + triple_vault?: Maybe; +}; + /** columns and relationships of "triple" */ export type TriplesCounter_PositionsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "triple" */ export type TriplesCounter_Positions_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "triple" */ export type TriplesPositionsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "triple" */ export type TriplesPositions_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; /** aggregated selection of "triple" */ export type Triples_Aggregate = { - __typename?: 'triples_aggregate' - aggregate?: Maybe - nodes: Array -} + __typename?: 'triples_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; export type Triples_Aggregate_Bool_Exp = { - count?: InputMaybe -} + count?: InputMaybe; +}; export type Triples_Aggregate_Bool_Exp_Count = { - arguments?: InputMaybe> - distinct?: InputMaybe - filter?: InputMaybe - predicate: Int_Comparison_Exp -} + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Int_Comparison_Exp; +}; /** aggregate fields of "triple" */ export type Triples_Aggregate_Fields = { - __typename?: 'triples_aggregate_fields' - avg?: Maybe - count: Scalars['Int']['output'] - max?: Maybe - min?: Maybe - stddev?: Maybe - stddev_pop?: Maybe - stddev_samp?: Maybe - sum?: Maybe - var_pop?: Maybe - var_samp?: Maybe - variance?: Maybe -} + __typename?: 'triples_aggregate_fields'; + avg?: Maybe; + count: Scalars['Int']['output']; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + /** aggregate fields of "triple" */ export type Triples_Aggregate_FieldsCountArgs = { - columns?: InputMaybe> - distinct?: InputMaybe -} + columns?: InputMaybe>; + distinct?: InputMaybe; +}; /** order by aggregate values of table "triple" */ export type Triples_Aggregate_Order_By = { - avg?: InputMaybe - count?: InputMaybe - max?: InputMaybe - min?: InputMaybe - stddev?: InputMaybe - stddev_pop?: InputMaybe - stddev_samp?: InputMaybe - sum?: InputMaybe - var_pop?: InputMaybe - var_samp?: InputMaybe - variance?: InputMaybe -} + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; /** aggregate avg on columns */ export type Triples_Avg_Fields = { - __typename?: 'triples_avg_fields' - block_number?: Maybe - counter_term_id?: Maybe - object_id?: Maybe - predicate_id?: Maybe - subject_id?: Maybe - term_id?: Maybe -} + __typename?: 'triples_avg_fields'; + block_number?: Maybe; +}; /** order by avg() on columns of table "triple" */ export type Triples_Avg_Order_By = { - block_number?: InputMaybe - counter_term_id?: InputMaybe - object_id?: InputMaybe - predicate_id?: InputMaybe - subject_id?: InputMaybe - term_id?: InputMaybe -} + block_number?: InputMaybe; +}; /** Boolean expression to filter rows from the table "triple". All fields are combined with a logical 'AND'. */ export type Triples_Bool_Exp = { - _and?: InputMaybe> - _not?: InputMaybe - _or?: InputMaybe> - block_number?: InputMaybe - counter_positions?: InputMaybe - counter_positions_aggregate?: InputMaybe - counter_term?: InputMaybe - counter_term_id?: InputMaybe - created_at?: InputMaybe - creator?: InputMaybe - creator_id?: InputMaybe - object?: InputMaybe - object_id?: InputMaybe - positions?: InputMaybe - positions_aggregate?: InputMaybe - predicate?: InputMaybe - predicate_id?: InputMaybe - subject?: InputMaybe - subject_id?: InputMaybe - term?: InputMaybe - term_id?: InputMaybe - transaction_hash?: InputMaybe - triple_term?: InputMaybe - triple_vault?: InputMaybe -} + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + block_number?: InputMaybe; + counter_positions?: InputMaybe; + counter_positions_aggregate?: InputMaybe; + counter_term?: InputMaybe; + counter_term_id?: InputMaybe; + created_at?: InputMaybe; + creator?: InputMaybe; + creator_id?: InputMaybe; + object?: InputMaybe; + object_id?: InputMaybe; + positions?: InputMaybe; + positions_aggregate?: InputMaybe; + predicate?: InputMaybe; + predicate_id?: InputMaybe; + subject?: InputMaybe; + subject_id?: InputMaybe; + term?: InputMaybe; + term_id?: InputMaybe; + transaction_hash?: InputMaybe; + triple_term?: InputMaybe; + triple_vault?: InputMaybe; +}; /** aggregate max on columns */ export type Triples_Max_Fields = { - __typename?: 'triples_max_fields' - block_number?: Maybe - counter_term_id?: Maybe - created_at?: Maybe - creator_id?: Maybe - object_id?: Maybe - predicate_id?: Maybe - subject_id?: Maybe - term_id?: Maybe - transaction_hash?: Maybe -} + __typename?: 'triples_max_fields'; + block_number?: Maybe; + counter_term_id?: Maybe; + created_at?: Maybe; + creator_id?: Maybe; + object_id?: Maybe; + predicate_id?: Maybe; + subject_id?: Maybe; + term_id?: Maybe; + transaction_hash?: Maybe; +}; /** order by max() on columns of table "triple" */ export type Triples_Max_Order_By = { - block_number?: InputMaybe - counter_term_id?: InputMaybe - created_at?: InputMaybe - creator_id?: InputMaybe - object_id?: InputMaybe - predicate_id?: InputMaybe - subject_id?: InputMaybe - term_id?: InputMaybe - transaction_hash?: InputMaybe -} + block_number?: InputMaybe; + counter_term_id?: InputMaybe; + created_at?: InputMaybe; + creator_id?: InputMaybe; + object_id?: InputMaybe; + predicate_id?: InputMaybe; + subject_id?: InputMaybe; + term_id?: InputMaybe; + transaction_hash?: InputMaybe; +}; /** aggregate min on columns */ export type Triples_Min_Fields = { - __typename?: 'triples_min_fields' - block_number?: Maybe - counter_term_id?: Maybe - created_at?: Maybe - creator_id?: Maybe - object_id?: Maybe - predicate_id?: Maybe - subject_id?: Maybe - term_id?: Maybe - transaction_hash?: Maybe -} + __typename?: 'triples_min_fields'; + block_number?: Maybe; + counter_term_id?: Maybe; + created_at?: Maybe; + creator_id?: Maybe; + object_id?: Maybe; + predicate_id?: Maybe; + subject_id?: Maybe; + term_id?: Maybe; + transaction_hash?: Maybe; +}; /** order by min() on columns of table "triple" */ export type Triples_Min_Order_By = { - block_number?: InputMaybe - counter_term_id?: InputMaybe - created_at?: InputMaybe - creator_id?: InputMaybe - object_id?: InputMaybe - predicate_id?: InputMaybe - subject_id?: InputMaybe - term_id?: InputMaybe - transaction_hash?: InputMaybe -} + block_number?: InputMaybe; + counter_term_id?: InputMaybe; + created_at?: InputMaybe; + creator_id?: InputMaybe; + object_id?: InputMaybe; + predicate_id?: InputMaybe; + subject_id?: InputMaybe; + term_id?: InputMaybe; + transaction_hash?: InputMaybe; +}; /** Ordering options when selecting data from "triple". */ export type Triples_Order_By = { - block_number?: InputMaybe - counter_positions_aggregate?: InputMaybe - counter_term?: InputMaybe - counter_term_id?: InputMaybe - created_at?: InputMaybe - creator?: InputMaybe - creator_id?: InputMaybe - object?: InputMaybe - object_id?: InputMaybe - positions_aggregate?: InputMaybe - predicate?: InputMaybe - predicate_id?: InputMaybe - subject?: InputMaybe - subject_id?: InputMaybe - term?: InputMaybe - term_id?: InputMaybe - transaction_hash?: InputMaybe - triple_term?: InputMaybe - triple_vault?: InputMaybe -} + block_number?: InputMaybe; + counter_positions_aggregate?: InputMaybe; + counter_term?: InputMaybe; + counter_term_id?: InputMaybe; + created_at?: InputMaybe; + creator?: InputMaybe; + creator_id?: InputMaybe; + object?: InputMaybe; + object_id?: InputMaybe; + positions_aggregate?: InputMaybe; + predicate?: InputMaybe; + predicate_id?: InputMaybe; + subject?: InputMaybe; + subject_id?: InputMaybe; + term?: InputMaybe; + term_id?: InputMaybe; + transaction_hash?: InputMaybe; + triple_term?: InputMaybe; + triple_vault?: InputMaybe; +}; /** select columns of table "triple" */ export type Triples_Select_Column = @@ -9974,536 +10805,517 @@ export type Triples_Select_Column = /** column name */ | 'term_id' /** column name */ - | 'transaction_hash' + | 'transaction_hash'; /** aggregate stddev on columns */ export type Triples_Stddev_Fields = { - __typename?: 'triples_stddev_fields' - block_number?: Maybe - counter_term_id?: Maybe - object_id?: Maybe - predicate_id?: Maybe - subject_id?: Maybe - term_id?: Maybe -} + __typename?: 'triples_stddev_fields'; + block_number?: Maybe; +}; /** order by stddev() on columns of table "triple" */ export type Triples_Stddev_Order_By = { - block_number?: InputMaybe - counter_term_id?: InputMaybe - object_id?: InputMaybe - predicate_id?: InputMaybe - subject_id?: InputMaybe - term_id?: InputMaybe -} + block_number?: InputMaybe; +}; /** aggregate stddev_pop on columns */ export type Triples_Stddev_Pop_Fields = { - __typename?: 'triples_stddev_pop_fields' - block_number?: Maybe - counter_term_id?: Maybe - object_id?: Maybe - predicate_id?: Maybe - subject_id?: Maybe - term_id?: Maybe -} + __typename?: 'triples_stddev_pop_fields'; + block_number?: Maybe; +}; /** order by stddev_pop() on columns of table "triple" */ export type Triples_Stddev_Pop_Order_By = { - block_number?: InputMaybe - counter_term_id?: InputMaybe - object_id?: InputMaybe - predicate_id?: InputMaybe - subject_id?: InputMaybe - term_id?: InputMaybe -} + block_number?: InputMaybe; +}; /** aggregate stddev_samp on columns */ export type Triples_Stddev_Samp_Fields = { - __typename?: 'triples_stddev_samp_fields' - block_number?: Maybe - counter_term_id?: Maybe - object_id?: Maybe - predicate_id?: Maybe - subject_id?: Maybe - term_id?: Maybe -} + __typename?: 'triples_stddev_samp_fields'; + block_number?: Maybe; +}; /** order by stddev_samp() on columns of table "triple" */ export type Triples_Stddev_Samp_Order_By = { - block_number?: InputMaybe - counter_term_id?: InputMaybe - object_id?: InputMaybe - predicate_id?: InputMaybe - subject_id?: InputMaybe - term_id?: InputMaybe -} + block_number?: InputMaybe; +}; /** Streaming cursor of the table "triples" */ export type Triples_Stream_Cursor_Input = { /** Stream column input with initial value */ - initial_value: Triples_Stream_Cursor_Value_Input + initial_value: Triples_Stream_Cursor_Value_Input; /** cursor ordering */ - ordering?: InputMaybe -} + ordering?: InputMaybe; +}; /** Initial value of the column from where the streaming should start */ export type Triples_Stream_Cursor_Value_Input = { - block_number?: InputMaybe - counter_term_id?: InputMaybe - created_at?: InputMaybe - creator_id?: InputMaybe - object_id?: InputMaybe - predicate_id?: InputMaybe - subject_id?: InputMaybe - term_id?: InputMaybe - transaction_hash?: InputMaybe -} + block_number?: InputMaybe; + counter_term_id?: InputMaybe; + created_at?: InputMaybe; + creator_id?: InputMaybe; + object_id?: InputMaybe; + predicate_id?: InputMaybe; + subject_id?: InputMaybe; + term_id?: InputMaybe; + transaction_hash?: InputMaybe; +}; /** aggregate sum on columns */ export type Triples_Sum_Fields = { - __typename?: 'triples_sum_fields' - block_number?: Maybe - counter_term_id?: Maybe - object_id?: Maybe - predicate_id?: Maybe - subject_id?: Maybe - term_id?: Maybe -} + __typename?: 'triples_sum_fields'; + block_number?: Maybe; +}; /** order by sum() on columns of table "triple" */ export type Triples_Sum_Order_By = { - block_number?: InputMaybe - counter_term_id?: InputMaybe - object_id?: InputMaybe - predicate_id?: InputMaybe - subject_id?: InputMaybe - term_id?: InputMaybe -} + block_number?: InputMaybe; +}; /** aggregate var_pop on columns */ export type Triples_Var_Pop_Fields = { - __typename?: 'triples_var_pop_fields' - block_number?: Maybe - counter_term_id?: Maybe - object_id?: Maybe - predicate_id?: Maybe - subject_id?: Maybe - term_id?: Maybe -} + __typename?: 'triples_var_pop_fields'; + block_number?: Maybe; +}; /** order by var_pop() on columns of table "triple" */ export type Triples_Var_Pop_Order_By = { - block_number?: InputMaybe - counter_term_id?: InputMaybe - object_id?: InputMaybe - predicate_id?: InputMaybe - subject_id?: InputMaybe - term_id?: InputMaybe -} + block_number?: InputMaybe; +}; /** aggregate var_samp on columns */ export type Triples_Var_Samp_Fields = { - __typename?: 'triples_var_samp_fields' - block_number?: Maybe - counter_term_id?: Maybe - object_id?: Maybe - predicate_id?: Maybe - subject_id?: Maybe - term_id?: Maybe -} + __typename?: 'triples_var_samp_fields'; + block_number?: Maybe; +}; /** order by var_samp() on columns of table "triple" */ export type Triples_Var_Samp_Order_By = { - block_number?: InputMaybe - counter_term_id?: InputMaybe - object_id?: InputMaybe - predicate_id?: InputMaybe - subject_id?: InputMaybe - term_id?: InputMaybe -} + block_number?: InputMaybe; +}; /** aggregate variance on columns */ export type Triples_Variance_Fields = { - __typename?: 'triples_variance_fields' - block_number?: Maybe - counter_term_id?: Maybe - object_id?: Maybe - predicate_id?: Maybe - subject_id?: Maybe - term_id?: Maybe -} + __typename?: 'triples_variance_fields'; + block_number?: Maybe; +}; /** order by variance() on columns of table "triple" */ export type Triples_Variance_Order_By = { - block_number?: InputMaybe - counter_term_id?: InputMaybe - object_id?: InputMaybe - predicate_id?: InputMaybe - subject_id?: InputMaybe - term_id?: InputMaybe -} + block_number?: InputMaybe; +}; + +/** Boolean expression to compare columns of type "vault_type". All fields are combined with logical 'AND'. */ +export type Vault_Type_Comparison_Exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; /** columns and relationships of "vault" */ export type Vaults = { - __typename?: 'vaults' - created_at: Scalars['timestamptz']['output'] - current_share_price: Scalars['numeric']['output'] - curve_id: Scalars['numeric']['output'] + __typename?: 'vaults'; + block_number: Scalars['bigint']['output']; + created_at: Scalars['timestamptz']['output']; + current_share_price: Scalars['numeric']['output']; + curve_id: Scalars['numeric']['output']; /** An array relationship */ - deposits: Array + deposits: Array; /** An aggregate relationship */ - deposits_aggregate: Deposits_Aggregate - market_cap: Scalars['numeric']['output'] - position_count: Scalars['Int']['output'] + deposits_aggregate: Deposits_Aggregate; + log_index: Scalars['bigint']['output']; + market_cap: Scalars['numeric']['output']; + position_count: Scalars['Int']['output']; /** An array relationship */ - positions: Array + positions: Array; /** An aggregate relationship */ - positions_aggregate: Positions_Aggregate + positions_aggregate: Positions_Aggregate; /** An array relationship */ - redemptions: Array + redemptions: Array; /** An aggregate relationship */ - redemptions_aggregate: Redemptions_Aggregate + redemptions_aggregate: Redemptions_Aggregate; /** An array relationship */ - share_price_change_stats_daily: Array + share_price_change_stats_daily: Array; /** An array relationship */ - share_price_change_stats_hourly: Array + share_price_change_stats_hourly: Array; /** An array relationship */ - share_price_change_stats_monthly: Array + share_price_change_stats_monthly: Array; /** An array relationship */ - share_price_change_stats_weekly: Array + share_price_change_stats_weekly: Array; /** An array relationship */ - share_price_changes: Array + share_price_changes: Array; /** An aggregate relationship */ - share_price_changes_aggregate: Share_Price_Changes_Aggregate + share_price_changes_aggregate: Share_Price_Changes_Aggregate; /** An array relationship */ - signals: Array + signals: Array; /** An aggregate relationship */ - signals_aggregate: Signals_Aggregate + signals_aggregate: Signals_Aggregate; /** An object relationship */ - term: Terms - term_id: Scalars['numeric']['output'] - total_assets: Scalars['numeric']['output'] - total_shares: Scalars['numeric']['output'] - updated_at: Scalars['timestamptz']['output'] -} + term: Terms; + term_id: Scalars['String']['output']; + total_assets: Scalars['numeric']['output']; + total_shares: Scalars['numeric']['output']; + transaction_hash: Scalars['String']['output']; + updated_at: Scalars['timestamptz']['output']; +}; + /** columns and relationships of "vault" */ export type VaultsDepositsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "vault" */ export type VaultsDeposits_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "vault" */ export type VaultsPositionsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "vault" */ export type VaultsPositions_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "vault" */ export type VaultsRedemptionsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "vault" */ export type VaultsRedemptions_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "vault" */ export type VaultsShare_Price_Change_Stats_DailyArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "vault" */ export type VaultsShare_Price_Change_Stats_HourlyArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "vault" */ export type VaultsShare_Price_Change_Stats_MonthlyArgs = { - distinct_on?: InputMaybe< - Array - > - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "vault" */ export type VaultsShare_Price_Change_Stats_WeeklyArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "vault" */ export type VaultsShare_Price_ChangesArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "vault" */ export type VaultsShare_Price_Changes_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "vault" */ export type VaultsSignalsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "vault" */ export type VaultsSignals_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; /** aggregated selection of "vault" */ export type Vaults_Aggregate = { - __typename?: 'vaults_aggregate' - aggregate?: Maybe - nodes: Array -} + __typename?: 'vaults_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; export type Vaults_Aggregate_Bool_Exp = { - count?: InputMaybe -} + count?: InputMaybe; +}; export type Vaults_Aggregate_Bool_Exp_Count = { - arguments?: InputMaybe> - distinct?: InputMaybe - filter?: InputMaybe - predicate: Int_Comparison_Exp -} + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Int_Comparison_Exp; +}; /** aggregate fields of "vault" */ export type Vaults_Aggregate_Fields = { - __typename?: 'vaults_aggregate_fields' - avg?: Maybe - count: Scalars['Int']['output'] - max?: Maybe - min?: Maybe - stddev?: Maybe - stddev_pop?: Maybe - stddev_samp?: Maybe - sum?: Maybe - var_pop?: Maybe - var_samp?: Maybe - variance?: Maybe -} + __typename?: 'vaults_aggregate_fields'; + avg?: Maybe; + count: Scalars['Int']['output']; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + /** aggregate fields of "vault" */ export type Vaults_Aggregate_FieldsCountArgs = { - columns?: InputMaybe> - distinct?: InputMaybe -} + columns?: InputMaybe>; + distinct?: InputMaybe; +}; /** order by aggregate values of table "vault" */ export type Vaults_Aggregate_Order_By = { - avg?: InputMaybe - count?: InputMaybe - max?: InputMaybe - min?: InputMaybe - stddev?: InputMaybe - stddev_pop?: InputMaybe - stddev_samp?: InputMaybe - sum?: InputMaybe - var_pop?: InputMaybe - var_samp?: InputMaybe - variance?: InputMaybe -} + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; /** aggregate avg on columns */ export type Vaults_Avg_Fields = { - __typename?: 'vaults_avg_fields' - current_share_price?: Maybe - curve_id?: Maybe - market_cap?: Maybe - position_count?: Maybe - term_id?: Maybe - total_assets?: Maybe - total_shares?: Maybe -} + __typename?: 'vaults_avg_fields'; + block_number?: Maybe; + current_share_price?: Maybe; + curve_id?: Maybe; + log_index?: Maybe; + market_cap?: Maybe; + position_count?: Maybe; + total_assets?: Maybe; + total_shares?: Maybe; +}; /** order by avg() on columns of table "vault" */ export type Vaults_Avg_Order_By = { - current_share_price?: InputMaybe - curve_id?: InputMaybe - market_cap?: InputMaybe - position_count?: InputMaybe - term_id?: InputMaybe - total_assets?: InputMaybe - total_shares?: InputMaybe -} + block_number?: InputMaybe; + current_share_price?: InputMaybe; + curve_id?: InputMaybe; + log_index?: InputMaybe; + market_cap?: InputMaybe; + position_count?: InputMaybe; + total_assets?: InputMaybe; + total_shares?: InputMaybe; +}; /** Boolean expression to filter rows from the table "vault". All fields are combined with a logical 'AND'. */ export type Vaults_Bool_Exp = { - _and?: InputMaybe> - _not?: InputMaybe - _or?: InputMaybe> - created_at?: InputMaybe - current_share_price?: InputMaybe - curve_id?: InputMaybe - deposits?: InputMaybe - deposits_aggregate?: InputMaybe - market_cap?: InputMaybe - position_count?: InputMaybe - positions?: InputMaybe - positions_aggregate?: InputMaybe - redemptions?: InputMaybe - redemptions_aggregate?: InputMaybe - share_price_change_stats_daily?: InputMaybe - share_price_change_stats_hourly?: InputMaybe - share_price_change_stats_monthly?: InputMaybe - share_price_change_stats_weekly?: InputMaybe - share_price_changes?: InputMaybe - share_price_changes_aggregate?: InputMaybe - signals?: InputMaybe - signals_aggregate?: InputMaybe - term?: InputMaybe - term_id?: InputMaybe - total_assets?: InputMaybe - total_shares?: InputMaybe - updated_at?: InputMaybe -} + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + block_number?: InputMaybe; + created_at?: InputMaybe; + current_share_price?: InputMaybe; + curve_id?: InputMaybe; + deposits?: InputMaybe; + deposits_aggregate?: InputMaybe; + log_index?: InputMaybe; + market_cap?: InputMaybe; + position_count?: InputMaybe; + positions?: InputMaybe; + positions_aggregate?: InputMaybe; + redemptions?: InputMaybe; + redemptions_aggregate?: InputMaybe; + share_price_change_stats_daily?: InputMaybe; + share_price_change_stats_hourly?: InputMaybe; + share_price_change_stats_monthly?: InputMaybe; + share_price_change_stats_weekly?: InputMaybe; + share_price_changes?: InputMaybe; + share_price_changes_aggregate?: InputMaybe; + signals?: InputMaybe; + signals_aggregate?: InputMaybe; + term?: InputMaybe; + term_id?: InputMaybe; + total_assets?: InputMaybe; + total_shares?: InputMaybe; + transaction_hash?: InputMaybe; + updated_at?: InputMaybe; +}; /** aggregate max on columns */ export type Vaults_Max_Fields = { - __typename?: 'vaults_max_fields' - created_at?: Maybe - current_share_price?: Maybe - curve_id?: Maybe - market_cap?: Maybe - position_count?: Maybe - term_id?: Maybe - total_assets?: Maybe - total_shares?: Maybe - updated_at?: Maybe -} + __typename?: 'vaults_max_fields'; + block_number?: Maybe; + created_at?: Maybe; + current_share_price?: Maybe; + curve_id?: Maybe; + log_index?: Maybe; + market_cap?: Maybe; + position_count?: Maybe; + term_id?: Maybe; + total_assets?: Maybe; + total_shares?: Maybe; + transaction_hash?: Maybe; + updated_at?: Maybe; +}; /** order by max() on columns of table "vault" */ export type Vaults_Max_Order_By = { - created_at?: InputMaybe - current_share_price?: InputMaybe - curve_id?: InputMaybe - market_cap?: InputMaybe - position_count?: InputMaybe - term_id?: InputMaybe - total_assets?: InputMaybe - total_shares?: InputMaybe - updated_at?: InputMaybe -} + block_number?: InputMaybe; + created_at?: InputMaybe; + current_share_price?: InputMaybe; + curve_id?: InputMaybe; + log_index?: InputMaybe; + market_cap?: InputMaybe; + position_count?: InputMaybe; + term_id?: InputMaybe; + total_assets?: InputMaybe; + total_shares?: InputMaybe; + transaction_hash?: InputMaybe; + updated_at?: InputMaybe; +}; /** aggregate min on columns */ export type Vaults_Min_Fields = { - __typename?: 'vaults_min_fields' - created_at?: Maybe - current_share_price?: Maybe - curve_id?: Maybe - market_cap?: Maybe - position_count?: Maybe - term_id?: Maybe - total_assets?: Maybe - total_shares?: Maybe - updated_at?: Maybe -} + __typename?: 'vaults_min_fields'; + block_number?: Maybe; + created_at?: Maybe; + current_share_price?: Maybe; + curve_id?: Maybe; + log_index?: Maybe; + market_cap?: Maybe; + position_count?: Maybe; + term_id?: Maybe; + total_assets?: Maybe; + total_shares?: Maybe; + transaction_hash?: Maybe; + updated_at?: Maybe; +}; /** order by min() on columns of table "vault" */ export type Vaults_Min_Order_By = { - created_at?: InputMaybe - current_share_price?: InputMaybe - curve_id?: InputMaybe - market_cap?: InputMaybe - position_count?: InputMaybe - term_id?: InputMaybe - total_assets?: InputMaybe - total_shares?: InputMaybe - updated_at?: InputMaybe -} + block_number?: InputMaybe; + created_at?: InputMaybe; + current_share_price?: InputMaybe; + curve_id?: InputMaybe; + log_index?: InputMaybe; + market_cap?: InputMaybe; + position_count?: InputMaybe; + term_id?: InputMaybe; + total_assets?: InputMaybe; + total_shares?: InputMaybe; + transaction_hash?: InputMaybe; + updated_at?: InputMaybe; +}; /** Ordering options when selecting data from "vault". */ export type Vaults_Order_By = { - created_at?: InputMaybe - current_share_price?: InputMaybe - curve_id?: InputMaybe - deposits_aggregate?: InputMaybe - market_cap?: InputMaybe - position_count?: InputMaybe - positions_aggregate?: InputMaybe - redemptions_aggregate?: InputMaybe - share_price_change_stats_daily_aggregate?: InputMaybe - share_price_change_stats_hourly_aggregate?: InputMaybe - share_price_change_stats_monthly_aggregate?: InputMaybe - share_price_change_stats_weekly_aggregate?: InputMaybe - share_price_changes_aggregate?: InputMaybe - signals_aggregate?: InputMaybe - term?: InputMaybe - term_id?: InputMaybe - total_assets?: InputMaybe - total_shares?: InputMaybe - updated_at?: InputMaybe -} + block_number?: InputMaybe; + created_at?: InputMaybe; + current_share_price?: InputMaybe; + curve_id?: InputMaybe; + deposits_aggregate?: InputMaybe; + log_index?: InputMaybe; + market_cap?: InputMaybe; + position_count?: InputMaybe; + positions_aggregate?: InputMaybe; + redemptions_aggregate?: InputMaybe; + share_price_change_stats_daily_aggregate?: InputMaybe; + share_price_change_stats_hourly_aggregate?: InputMaybe; + share_price_change_stats_monthly_aggregate?: InputMaybe; + share_price_change_stats_weekly_aggregate?: InputMaybe; + share_price_changes_aggregate?: InputMaybe; + signals_aggregate?: InputMaybe; + term?: InputMaybe; + term_id?: InputMaybe; + total_assets?: InputMaybe; + total_shares?: InputMaybe; + transaction_hash?: InputMaybe; + updated_at?: InputMaybe; +}; /** select columns of table "vault" */ export type Vaults_Select_Column = + /** column name */ + | 'block_number' /** column name */ | 'created_at' /** column name */ @@ -10511,6 +11323,8 @@ export type Vaults_Select_Column = /** column name */ | 'curve_id' /** column name */ + | 'log_index' + /** column name */ | 'market_cap' /** column name */ | 'position_count' @@ -10521,14515 +11335,615 @@ export type Vaults_Select_Column = /** column name */ | 'total_shares' /** column name */ - | 'updated_at' + | 'transaction_hash' + /** column name */ + | 'updated_at'; /** aggregate stddev on columns */ export type Vaults_Stddev_Fields = { - __typename?: 'vaults_stddev_fields' - current_share_price?: Maybe - curve_id?: Maybe - market_cap?: Maybe - position_count?: Maybe - term_id?: Maybe - total_assets?: Maybe - total_shares?: Maybe -} + __typename?: 'vaults_stddev_fields'; + block_number?: Maybe; + current_share_price?: Maybe; + curve_id?: Maybe; + log_index?: Maybe; + market_cap?: Maybe; + position_count?: Maybe; + total_assets?: Maybe; + total_shares?: Maybe; +}; /** order by stddev() on columns of table "vault" */ export type Vaults_Stddev_Order_By = { - current_share_price?: InputMaybe - curve_id?: InputMaybe - market_cap?: InputMaybe - position_count?: InputMaybe - term_id?: InputMaybe - total_assets?: InputMaybe - total_shares?: InputMaybe -} + block_number?: InputMaybe; + current_share_price?: InputMaybe; + curve_id?: InputMaybe; + log_index?: InputMaybe; + market_cap?: InputMaybe; + position_count?: InputMaybe; + total_assets?: InputMaybe; + total_shares?: InputMaybe; +}; /** aggregate stddev_pop on columns */ export type Vaults_Stddev_Pop_Fields = { - __typename?: 'vaults_stddev_pop_fields' - current_share_price?: Maybe - curve_id?: Maybe - market_cap?: Maybe - position_count?: Maybe - term_id?: Maybe - total_assets?: Maybe - total_shares?: Maybe -} + __typename?: 'vaults_stddev_pop_fields'; + block_number?: Maybe; + current_share_price?: Maybe; + curve_id?: Maybe; + log_index?: Maybe; + market_cap?: Maybe; + position_count?: Maybe; + total_assets?: Maybe; + total_shares?: Maybe; +}; /** order by stddev_pop() on columns of table "vault" */ export type Vaults_Stddev_Pop_Order_By = { - current_share_price?: InputMaybe - curve_id?: InputMaybe - market_cap?: InputMaybe - position_count?: InputMaybe - term_id?: InputMaybe - total_assets?: InputMaybe - total_shares?: InputMaybe -} + block_number?: InputMaybe; + current_share_price?: InputMaybe; + curve_id?: InputMaybe; + log_index?: InputMaybe; + market_cap?: InputMaybe; + position_count?: InputMaybe; + total_assets?: InputMaybe; + total_shares?: InputMaybe; +}; /** aggregate stddev_samp on columns */ export type Vaults_Stddev_Samp_Fields = { - __typename?: 'vaults_stddev_samp_fields' - current_share_price?: Maybe - curve_id?: Maybe - market_cap?: Maybe - position_count?: Maybe - term_id?: Maybe - total_assets?: Maybe - total_shares?: Maybe -} + __typename?: 'vaults_stddev_samp_fields'; + block_number?: Maybe; + current_share_price?: Maybe; + curve_id?: Maybe; + log_index?: Maybe; + market_cap?: Maybe; + position_count?: Maybe; + total_assets?: Maybe; + total_shares?: Maybe; +}; /** order by stddev_samp() on columns of table "vault" */ export type Vaults_Stddev_Samp_Order_By = { - current_share_price?: InputMaybe - curve_id?: InputMaybe - market_cap?: InputMaybe - position_count?: InputMaybe - term_id?: InputMaybe - total_assets?: InputMaybe - total_shares?: InputMaybe -} + block_number?: InputMaybe; + current_share_price?: InputMaybe; + curve_id?: InputMaybe; + log_index?: InputMaybe; + market_cap?: InputMaybe; + position_count?: InputMaybe; + total_assets?: InputMaybe; + total_shares?: InputMaybe; +}; /** Streaming cursor of the table "vaults" */ export type Vaults_Stream_Cursor_Input = { /** Stream column input with initial value */ - initial_value: Vaults_Stream_Cursor_Value_Input + initial_value: Vaults_Stream_Cursor_Value_Input; /** cursor ordering */ - ordering?: InputMaybe -} + ordering?: InputMaybe; +}; /** Initial value of the column from where the streaming should start */ export type Vaults_Stream_Cursor_Value_Input = { - created_at?: InputMaybe - current_share_price?: InputMaybe - curve_id?: InputMaybe - market_cap?: InputMaybe - position_count?: InputMaybe - term_id?: InputMaybe - total_assets?: InputMaybe - total_shares?: InputMaybe - updated_at?: InputMaybe -} + block_number?: InputMaybe; + created_at?: InputMaybe; + current_share_price?: InputMaybe; + curve_id?: InputMaybe; + log_index?: InputMaybe; + market_cap?: InputMaybe; + position_count?: InputMaybe; + term_id?: InputMaybe; + total_assets?: InputMaybe; + total_shares?: InputMaybe; + transaction_hash?: InputMaybe; + updated_at?: InputMaybe; +}; /** aggregate sum on columns */ export type Vaults_Sum_Fields = { - __typename?: 'vaults_sum_fields' - current_share_price?: Maybe - curve_id?: Maybe - market_cap?: Maybe - position_count?: Maybe - term_id?: Maybe - total_assets?: Maybe - total_shares?: Maybe -} + __typename?: 'vaults_sum_fields'; + block_number?: Maybe; + current_share_price?: Maybe; + curve_id?: Maybe; + log_index?: Maybe; + market_cap?: Maybe; + position_count?: Maybe; + total_assets?: Maybe; + total_shares?: Maybe; +}; /** order by sum() on columns of table "vault" */ export type Vaults_Sum_Order_By = { - current_share_price?: InputMaybe - curve_id?: InputMaybe - market_cap?: InputMaybe - position_count?: InputMaybe - term_id?: InputMaybe - total_assets?: InputMaybe - total_shares?: InputMaybe -} + block_number?: InputMaybe; + current_share_price?: InputMaybe; + curve_id?: InputMaybe; + log_index?: InputMaybe; + market_cap?: InputMaybe; + position_count?: InputMaybe; + total_assets?: InputMaybe; + total_shares?: InputMaybe; +}; /** aggregate var_pop on columns */ export type Vaults_Var_Pop_Fields = { - __typename?: 'vaults_var_pop_fields' - current_share_price?: Maybe - curve_id?: Maybe - market_cap?: Maybe - position_count?: Maybe - term_id?: Maybe - total_assets?: Maybe - total_shares?: Maybe -} + __typename?: 'vaults_var_pop_fields'; + block_number?: Maybe; + current_share_price?: Maybe; + curve_id?: Maybe; + log_index?: Maybe; + market_cap?: Maybe; + position_count?: Maybe; + total_assets?: Maybe; + total_shares?: Maybe; +}; /** order by var_pop() on columns of table "vault" */ export type Vaults_Var_Pop_Order_By = { - current_share_price?: InputMaybe - curve_id?: InputMaybe - market_cap?: InputMaybe - position_count?: InputMaybe - term_id?: InputMaybe - total_assets?: InputMaybe - total_shares?: InputMaybe -} + block_number?: InputMaybe; + current_share_price?: InputMaybe; + curve_id?: InputMaybe; + log_index?: InputMaybe; + market_cap?: InputMaybe; + position_count?: InputMaybe; + total_assets?: InputMaybe; + total_shares?: InputMaybe; +}; /** aggregate var_samp on columns */ export type Vaults_Var_Samp_Fields = { - __typename?: 'vaults_var_samp_fields' - current_share_price?: Maybe - curve_id?: Maybe - market_cap?: Maybe - position_count?: Maybe - term_id?: Maybe - total_assets?: Maybe - total_shares?: Maybe -} + __typename?: 'vaults_var_samp_fields'; + block_number?: Maybe; + current_share_price?: Maybe; + curve_id?: Maybe; + log_index?: Maybe; + market_cap?: Maybe; + position_count?: Maybe; + total_assets?: Maybe; + total_shares?: Maybe; +}; /** order by var_samp() on columns of table "vault" */ export type Vaults_Var_Samp_Order_By = { - current_share_price?: InputMaybe - curve_id?: InputMaybe - market_cap?: InputMaybe - position_count?: InputMaybe - term_id?: InputMaybe - total_assets?: InputMaybe - total_shares?: InputMaybe -} + block_number?: InputMaybe; + current_share_price?: InputMaybe; + curve_id?: InputMaybe; + log_index?: InputMaybe; + market_cap?: InputMaybe; + position_count?: InputMaybe; + total_assets?: InputMaybe; + total_shares?: InputMaybe; +}; /** aggregate variance on columns */ export type Vaults_Variance_Fields = { - __typename?: 'vaults_variance_fields' - current_share_price?: Maybe - curve_id?: Maybe - market_cap?: Maybe - position_count?: Maybe - term_id?: Maybe - total_assets?: Maybe - total_shares?: Maybe -} + __typename?: 'vaults_variance_fields'; + block_number?: Maybe; + current_share_price?: Maybe; + curve_id?: Maybe; + log_index?: Maybe; + market_cap?: Maybe; + position_count?: Maybe; + total_assets?: Maybe; + total_shares?: Maybe; +}; /** order by variance() on columns of table "vault" */ export type Vaults_Variance_Order_By = { - current_share_price?: InputMaybe - curve_id?: InputMaybe - market_cap?: InputMaybe - position_count?: InputMaybe - term_id?: InputMaybe - total_assets?: InputMaybe - total_shares?: InputMaybe -} + block_number?: InputMaybe; + current_share_price?: InputMaybe; + curve_id?: InputMaybe; + log_index?: InputMaybe; + market_cap?: InputMaybe; + position_count?: InputMaybe; + total_assets?: InputMaybe; + total_shares?: InputMaybe; +}; -export type AccountMetadataFragment = { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any -} +export type AccountMetadataFragment = { __typename?: 'accounts', label: string, image?: string | null, id: string, atom_id?: string | null, type: any }; -export type AccountPositionsAggregateFragment = { - __typename?: 'accounts' - positions_aggregate: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - count: number - } | null - nodes: Array<{ - __typename?: 'positions' - id: string - shares: any - vault?: { - __typename?: 'vaults' - term_id: any - total_shares: any - current_share_price: any - term: { - __typename?: 'terms' - atom?: { - __typename?: 'atoms' - term_id: any - label?: string | null - } | null - triple?: { __typename?: 'triples'; term_id: any } | null - } - } | null - }> - } -} +export type AccountPositionsAggregateFragment = { __typename?: 'accounts', positions_aggregate: { __typename?: 'positions_aggregate', aggregate?: { __typename?: 'positions_aggregate_fields', count: number } | null, nodes: Array<{ __typename?: 'positions', id: string, shares: any, vault?: { __typename?: 'vaults', term_id: string, total_shares: any, current_share_price: any, term: { __typename?: 'terms', atom?: { __typename?: 'atoms', term_id: string, label?: string | null } | null, triple?: { __typename?: 'triples', term_id: string } | null } } | null }> } }; -export type AccountPositionsFragment = { - __typename?: 'accounts' - positions: Array<{ - __typename?: 'positions' - id: string - shares: any - vault?: { - __typename?: 'vaults' - term_id: any - total_shares: any - current_share_price: any - term: { - __typename?: 'terms' - atom?: { - __typename?: 'atoms' - term_id: any - label?: string | null - } | null - triple?: { __typename?: 'triples'; term_id: any } | null - } - } | null - }> -} +export type AccountPositionsFragment = { __typename?: 'accounts', positions: Array<{ __typename?: 'positions', id: string, shares: any, vault?: { __typename?: 'vaults', term_id: string, total_shares: any, current_share_price: any, term: { __typename?: 'terms', atom?: { __typename?: 'atoms', term_id: string, label?: string | null } | null, triple?: { __typename?: 'triples', term_id: string } | null } } | null }> }; -export type AccountAtomsFragment = { - __typename?: 'accounts' - atoms: Array<{ - __typename?: 'atoms' - term_id: any - label?: string | null - data?: string | null - term: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - total_shares: any - positions_aggregate: { - __typename?: 'positions_aggregate' - nodes: Array<{ - __typename?: 'positions' - shares: any - account?: { __typename?: 'accounts'; id: string } | null - }> - } - }> - } - }> -} +export type AccountAtomsFragment = { __typename?: 'accounts', atoms: Array<{ __typename?: 'atoms', term_id: string, label?: string | null, data?: string | null, term: { __typename?: 'terms', vaults: Array<{ __typename?: 'vaults', total_shares: any, positions_aggregate: { __typename?: 'positions_aggregate', nodes: Array<{ __typename?: 'positions', shares: any, account?: { __typename?: 'accounts', id: string } | null }> } }> } }> }; -export type AccountAtomsAggregateFragment = { - __typename?: 'accounts' - atoms_aggregate: { - __typename?: 'atoms_aggregate' - aggregate?: { - __typename?: 'atoms_aggregate_fields' - count: number - sum?: { __typename?: 'atoms_sum_fields'; term_id?: any | null } | null - } | null - nodes: Array<{ - __typename?: 'atoms' - term_id: any - label?: string | null - data?: string | null - term: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - total_shares: any - positions_aggregate: { - __typename?: 'positions_aggregate' - nodes: Array<{ - __typename?: 'positions' - shares: any - account?: { __typename?: 'accounts'; id: string } | null - }> - } - }> - } - }> - } -} +export type AccountAtomsAggregateFragment = { __typename?: 'accounts', atoms_aggregate: { __typename?: 'atoms_aggregate', aggregate?: { __typename?: 'atoms_aggregate_fields', count: number } | null, nodes: Array<{ __typename?: 'atoms', term_id: string, label?: string | null, data?: string | null, term: { __typename?: 'terms', vaults: Array<{ __typename?: 'vaults', total_shares: any, positions_aggregate: { __typename?: 'positions_aggregate', nodes: Array<{ __typename?: 'positions', shares: any, account?: { __typename?: 'accounts', id: string } | null }> } }> } }> } }; -export type AccountTriplesFragment = { - __typename?: 'accounts' - triples_aggregate: { - __typename?: 'triples_aggregate' - aggregate?: { - __typename?: 'triples_aggregate_fields' - count: number - } | null - nodes: Array<{ - __typename?: 'triples' - term_id: any - subject: { __typename?: 'atoms'; term_id: any; label?: string | null } - predicate: { __typename?: 'atoms'; term_id: any; label?: string | null } - object: { __typename?: 'atoms'; term_id: any; label?: string | null } - }> - } -} +export type AccountTriplesFragment = { __typename?: 'accounts', triples_aggregate: { __typename?: 'triples_aggregate', aggregate?: { __typename?: 'triples_aggregate_fields', count: number } | null, nodes: Array<{ __typename?: 'triples', term_id: string, subject: { __typename?: 'atoms', term_id: string, label?: string | null }, predicate: { __typename?: 'atoms', term_id: string, label?: string | null }, object: { __typename?: 'atoms', term_id: string, label?: string | null } }> } }; -export type AccountTriplesAggregateFragment = { - __typename?: 'accounts' - triples_aggregate: { - __typename?: 'triples_aggregate' - aggregate?: { - __typename?: 'triples_aggregate_fields' - count: number - } | null - nodes: Array<{ - __typename?: 'triples' - term_id: any - subject: { __typename?: 'atoms'; term_id: any; label?: string | null } - predicate: { __typename?: 'atoms'; term_id: any; label?: string | null } - object: { __typename?: 'atoms'; term_id: any; label?: string | null } - }> - } -} +export type AccountTriplesAggregateFragment = { __typename?: 'accounts', triples_aggregate: { __typename?: 'triples_aggregate', aggregate?: { __typename?: 'triples_aggregate_fields', count: number } | null, nodes: Array<{ __typename?: 'triples', term_id: string, subject: { __typename?: 'atoms', term_id: string, label?: string | null }, predicate: { __typename?: 'atoms', term_id: string, label?: string | null }, object: { __typename?: 'atoms', term_id: string, label?: string | null } }> } }; -export type AtomValueFragment = { - __typename?: 'atoms' - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null -} +export type AtomValueFragment = { __typename?: 'atoms', value?: { __typename?: 'atom_values', person?: { __typename?: 'persons', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, thing?: { __typename?: 'things', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, organization?: { __typename?: 'organizations', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, account?: { __typename?: 'accounts', id: string, label: string, image?: string | null } | null } | null }; -export type AtomMetadataFragment = { - __typename?: 'atoms' - term_id: any - data?: string | null - image?: string | null - label?: string | null - emoji?: string | null - type: any - wallet_id: string - creator: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null -} +export type AtomMetadataFragment = { __typename?: 'atoms', term_id: string, data?: string | null, image?: string | null, label?: string | null, emoji?: string | null, type: any, wallet_id: string, creator: { __typename?: 'accounts', id: string, label: string, image?: string | null }, value?: { __typename?: 'atom_values', person?: { __typename?: 'persons', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, thing?: { __typename?: 'things', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, organization?: { __typename?: 'organizations', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, account?: { __typename?: 'accounts', id: string, label: string, image?: string | null } | null } | null }; -export type AtomTxnFragment = { - __typename?: 'atoms' - block_number: any - created_at: any - transaction_hash: string - creator_id: string -} +export type AtomTxnFragment = { __typename?: 'atoms', block_number: any, created_at: any, transaction_hash: string, creator_id: string }; -export type AtomVaultDetailsFragment = { - __typename?: 'atoms' - term_id: any - wallet_id: string - term: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - position_count: number - total_shares: any - current_share_price: any - positions_aggregate: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - count: number - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - positions: Array<{ - __typename?: 'positions' - id: string - shares: any - account?: { __typename?: 'accounts'; label: string; id: string } | null - }> - }> - } -} +export type AtomVaultDetailsFragment = { __typename?: 'atoms', term_id: string, wallet_id: string, term: { __typename?: 'terms', vaults: Array<{ __typename?: 'vaults', position_count: number, total_shares: any, current_share_price: any, positions_aggregate: { __typename?: 'positions_aggregate', aggregate?: { __typename?: 'positions_aggregate_fields', count: number, sum?: { __typename?: 'positions_sum_fields', shares?: any | null } | null } | null }, positions: Array<{ __typename?: 'positions', id: string, shares: any, account?: { __typename?: 'accounts', label: string, id: string } | null }> }> } }; -export type AtomTripleFragment = { - __typename?: 'atoms' - as_subject_triples: Array<{ - __typename?: 'triples' - term_id: any - object: { - __typename?: 'atoms' - data?: string | null - term_id: any - image?: string | null - label?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - } - predicate: { - __typename?: 'atoms' - data?: string | null - term_id: any - image?: string | null - label?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - } - }> - as_predicate_triples: Array<{ - __typename?: 'triples' - term_id: any - subject: { - __typename?: 'atoms' - data?: string | null - term_id: any - image?: string | null - label?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - } - object: { - __typename?: 'atoms' - data?: string | null - term_id: any - image?: string | null - label?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - } - }> - as_object_triples: Array<{ - __typename?: 'triples' - term_id: any - subject: { - __typename?: 'atoms' - data?: string | null - term_id: any - image?: string | null - label?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - } - predicate: { - __typename?: 'atoms' - data?: string | null - term_id: any - image?: string | null - label?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - } - }> -} +export type AtomTripleFragment = { __typename?: 'atoms', as_subject_triples: Array<{ __typename?: 'triples', term_id: string, object: { __typename?: 'atoms', data?: string | null, term_id: string, image?: string | null, label?: string | null, emoji?: string | null, type: any, creator: { __typename?: 'accounts', label: string, image?: string | null, id: string, atom_id?: string | null, type: any } }, predicate: { __typename?: 'atoms', data?: string | null, term_id: string, image?: string | null, label?: string | null, emoji?: string | null, type: any, creator: { __typename?: 'accounts', label: string, image?: string | null, id: string, atom_id?: string | null, type: any } } }>, as_predicate_triples: Array<{ __typename?: 'triples', term_id: string, subject: { __typename?: 'atoms', data?: string | null, term_id: string, image?: string | null, label?: string | null, emoji?: string | null, type: any, creator: { __typename?: 'accounts', label: string, image?: string | null, id: string, atom_id?: string | null, type: any } }, object: { __typename?: 'atoms', data?: string | null, term_id: string, image?: string | null, label?: string | null, emoji?: string | null, type: any, creator: { __typename?: 'accounts', label: string, image?: string | null, id: string, atom_id?: string | null, type: any } } }>, as_object_triples: Array<{ __typename?: 'triples', term_id: string, subject: { __typename?: 'atoms', data?: string | null, term_id: string, image?: string | null, label?: string | null, emoji?: string | null, type: any, creator: { __typename?: 'accounts', label: string, image?: string | null, id: string, atom_id?: string | null, type: any } }, predicate: { __typename?: 'atoms', data?: string | null, term_id: string, image?: string | null, label?: string | null, emoji?: string | null, type: any, creator: { __typename?: 'accounts', label: string, image?: string | null, id: string, atom_id?: string | null, type: any } } }> }; -export type AtomVaultDetailsWithPositionsFragment = { - __typename?: 'atoms' - term: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - total_shares: any - current_share_price: any - positions_aggregate: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - nodes: Array<{ - __typename?: 'positions' - shares: any - account?: { __typename?: 'accounts'; id: string } | null - }> - } - }> - } -} +export type AtomVaultDetailsWithPositionsFragment = { __typename?: 'atoms', term: { __typename?: 'terms', vaults: Array<{ __typename?: 'vaults', total_shares: any, current_share_price: any, positions_aggregate: { __typename?: 'positions_aggregate', aggregate?: { __typename?: 'positions_aggregate_fields', sum?: { __typename?: 'positions_sum_fields', shares?: any | null } | null } | null, nodes: Array<{ __typename?: 'positions', shares: any, account?: { __typename?: 'accounts', id: string } | null }> } }> } }; -export type DepositEventFragmentFragment = { - __typename?: 'events' - deposit?: { - __typename?: 'deposits' - term_id: any - curve_id: any - sender_assets_after_total_fees: any - shares_for_receiver: any - receiver: { __typename?: 'accounts'; id: string } - sender?: { __typename?: 'accounts'; id: string } | null - } | null -} +export type DepositEventFragmentFragment = { __typename?: 'events', deposit?: { __typename?: 'deposits', term_id: string, curve_id: any, shares: any, receiver: { __typename?: 'accounts', id: string }, sender?: { __typename?: 'accounts', id: string } | null } | null }; -export type EventDetailsFragment = { - __typename?: 'events' - block_number: any - created_at: any - type: any - transaction_hash: string - atom_id?: any | null - triple_id?: any | null - deposit_id?: string | null - redemption_id?: string | null - atom?: { - __typename?: 'atoms' - term_id: any - data?: string | null - image?: string | null - label?: string | null - emoji?: string | null - type: any - wallet_id: string - term: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - total_shares: any - position_count: number - positions: Array<{ - __typename?: 'positions' - account_id: string - shares: any - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - }> - }> - } - creator: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } | null - triple?: { - __typename?: 'triples' - term_id: any - subject_id: any - predicate_id: any - object_id: any - term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - total_shares: any - position_count: number - current_share_price: any - positions: Array<{ - __typename?: 'positions' - account_id: string - shares: any - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - vault?: { - __typename?: 'vaults' - term_id: any - total_shares: any - current_share_price: any - } | null - }> - allPositions: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - count: number - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - }> - } | null - counter_term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - total_shares: any - position_count: number - current_share_price: any - positions: Array<{ - __typename?: 'positions' - account_id: string - shares: any - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - vault?: { - __typename?: 'vaults' - term_id: any - total_shares: any - current_share_price: any - } | null - }> - allPositions: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - count: number - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - }> - } | null - subject: { - __typename?: 'atoms' - data?: string | null - term_id: any - image?: string | null - label?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - predicate: { - __typename?: 'atoms' - data?: string | null - term_id: any - image?: string | null - label?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - object: { - __typename?: 'atoms' - data?: string | null - term_id: any - image?: string | null - label?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - } | null - deposit?: { - __typename?: 'deposits' - term_id: any - curve_id: any - sender_assets_after_total_fees: any - shares_for_receiver: any - receiver: { __typename?: 'accounts'; id: string } - sender?: { __typename?: 'accounts'; id: string } | null - } | null - redemption?: { - __typename?: 'redemptions' - term_id: any - curve_id: any - receiver_id: string - shares_redeemed_by_sender: any - assets_for_receiver: any - } | null -} +export type EventDetailsFragment = { __typename?: 'events', block_number: any, created_at: any, type: any, transaction_hash: string, atom_id?: string | null, triple_id?: string | null, deposit_id?: string | null, redemption_id?: string | null, atom?: { __typename?: 'atoms', term_id: string, data?: string | null, image?: string | null, label?: string | null, emoji?: string | null, type: any, wallet_id: string, term: { __typename?: 'terms', vaults: Array<{ __typename?: 'vaults', total_shares: any, position_count: number, positions: Array<{ __typename?: 'positions', account_id: string, shares: any, account?: { __typename?: 'accounts', id: string, label: string, image?: string | null } | null }> }> }, creator: { __typename?: 'accounts', id: string, label: string, image?: string | null }, value?: { __typename?: 'atom_values', person?: { __typename?: 'persons', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, thing?: { __typename?: 'things', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, organization?: { __typename?: 'organizations', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, account?: { __typename?: 'accounts', id: string, label: string, image?: string | null } | null } | null } | null, triple?: { __typename?: 'triples', term_id: string, subject_id: string, predicate_id: string, object_id: string, term?: { __typename?: 'terms', vaults: Array<{ __typename?: 'vaults', total_shares: any, position_count: number, current_share_price: any, positions: Array<{ __typename?: 'positions', account_id: string, shares: any, account?: { __typename?: 'accounts', id: string, label: string, image?: string | null } | null, vault?: { __typename?: 'vaults', term_id: string, total_shares: any, current_share_price: any } | null }>, allPositions: { __typename?: 'positions_aggregate', aggregate?: { __typename?: 'positions_aggregate_fields', count: number, sum?: { __typename?: 'positions_sum_fields', shares?: any | null } | null } | null } }> } | null, counter_term?: { __typename?: 'terms', vaults: Array<{ __typename?: 'vaults', total_shares: any, position_count: number, current_share_price: any, positions: Array<{ __typename?: 'positions', account_id: string, shares: any, account?: { __typename?: 'accounts', id: string, label: string, image?: string | null } | null, vault?: { __typename?: 'vaults', term_id: string, total_shares: any, current_share_price: any } | null }>, allPositions: { __typename?: 'positions_aggregate', aggregate?: { __typename?: 'positions_aggregate_fields', count: number, sum?: { __typename?: 'positions_sum_fields', shares?: any | null } | null } | null } }> } | null, subject: { __typename?: 'atoms', data?: string | null, term_id: string, image?: string | null, label?: string | null, emoji?: string | null, type: any, creator: { __typename?: 'accounts', label: string, image?: string | null, id: string, atom_id?: string | null, type: any }, value?: { __typename?: 'atom_values', person?: { __typename?: 'persons', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, thing?: { __typename?: 'things', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, organization?: { __typename?: 'organizations', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, account?: { __typename?: 'accounts', id: string, label: string, image?: string | null } | null } | null }, predicate: { __typename?: 'atoms', data?: string | null, term_id: string, image?: string | null, label?: string | null, emoji?: string | null, type: any, creator: { __typename?: 'accounts', label: string, image?: string | null, id: string, atom_id?: string | null, type: any }, value?: { __typename?: 'atom_values', person?: { __typename?: 'persons', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, thing?: { __typename?: 'things', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, organization?: { __typename?: 'organizations', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, account?: { __typename?: 'accounts', id: string, label: string, image?: string | null } | null } | null }, object: { __typename?: 'atoms', data?: string | null, term_id: string, image?: string | null, label?: string | null, emoji?: string | null, type: any, creator: { __typename?: 'accounts', label: string, image?: string | null, id: string, atom_id?: string | null, type: any }, value?: { __typename?: 'atom_values', person?: { __typename?: 'persons', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, thing?: { __typename?: 'things', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, organization?: { __typename?: 'organizations', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, account?: { __typename?: 'accounts', id: string, label: string, image?: string | null } | null } | null } } | null, deposit?: { __typename?: 'deposits', term_id: string, curve_id: any, shares: any, receiver: { __typename?: 'accounts', id: string }, sender?: { __typename?: 'accounts', id: string } | null } | null, redemption?: { __typename?: 'redemptions', term_id: string, curve_id: any, receiver_id: string, shares: any } | null }; -export type FollowMetadataFragment = { - __typename?: 'triples' - term_id: any - subject: { __typename?: 'atoms'; term_id: any; label?: string | null } - predicate: { __typename?: 'atoms'; term_id: any; label?: string | null } - object: { __typename?: 'atoms'; term_id: any; label?: string | null } - term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - term_id: any - total_shares: any - current_share_price: any - positions_aggregate: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - count: number - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - positions: Array<{ - __typename?: 'positions' - shares: any - account?: { __typename?: 'accounts'; id: string; label: string } | null - }> - }> - } | null -} +export type FollowMetadataFragment = { __typename?: 'triples', term_id: string, subject: { __typename?: 'atoms', term_id: string, label?: string | null }, predicate: { __typename?: 'atoms', term_id: string, label?: string | null }, object: { __typename?: 'atoms', term_id: string, label?: string | null }, term?: { __typename?: 'terms', vaults: Array<{ __typename?: 'vaults', term_id: string, total_shares: any, current_share_price: any, positions_aggregate: { __typename?: 'positions_aggregate', aggregate?: { __typename?: 'positions_aggregate_fields', count: number, sum?: { __typename?: 'positions_sum_fields', shares?: any | null } | null } | null }, positions: Array<{ __typename?: 'positions', shares: any, account?: { __typename?: 'accounts', id: string, label: string } | null }> }> } | null }; -export type FollowAggregateFragment = { - __typename?: 'triples_aggregate' - aggregate?: { __typename?: 'triples_aggregate_fields'; count: number } | null -} +export type FollowAggregateFragment = { __typename?: 'triples_aggregate', aggregate?: { __typename?: 'triples_aggregate_fields', count: number } | null }; -export type PositionDetailsFragment = { - __typename?: 'positions' - id: string - shares: any - term_id: any - curve_id: any - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - vault?: { - __typename?: 'vaults' - term_id: any - term: { - __typename?: 'terms' - atom?: { - __typename?: 'atoms' - term_id: any - label?: string | null - image?: string | null - } | null - triple?: { - __typename?: 'triples' - term_id: any - term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - term_id: any - position_count: number - positions_aggregate: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - }> - } | null - counter_term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - term_id: any - position_count: number - positions_aggregate: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - }> - } | null - subject: { - __typename?: 'atoms' - data?: string | null - term_id: any - label?: string | null - image?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - predicate: { - __typename?: 'atoms' - data?: string | null - term_id: any - label?: string | null - image?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - object: { - __typename?: 'atoms' - data?: string | null - term_id: any - label?: string | null - image?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - } | null - } - } | null -} +export type PositionDetailsFragment = { __typename?: 'positions', id: string, shares: any, term_id: string, curve_id: any, account?: { __typename?: 'accounts', id: string, label: string, image?: string | null } | null, vault?: { __typename?: 'vaults', term_id: string, term: { __typename?: 'terms', atom?: { __typename?: 'atoms', term_id: string, label?: string | null, image?: string | null } | null, triple?: { __typename?: 'triples', term_id: string, term?: { __typename?: 'terms', vaults: Array<{ __typename?: 'vaults', term_id: string, position_count: number, positions_aggregate: { __typename?: 'positions_aggregate', aggregate?: { __typename?: 'positions_aggregate_fields', sum?: { __typename?: 'positions_sum_fields', shares?: any | null } | null } | null } }> } | null, counter_term?: { __typename?: 'terms', vaults: Array<{ __typename?: 'vaults', term_id: string, position_count: number, positions_aggregate: { __typename?: 'positions_aggregate', aggregate?: { __typename?: 'positions_aggregate_fields', sum?: { __typename?: 'positions_sum_fields', shares?: any | null } | null } | null } }> } | null, subject: { __typename?: 'atoms', data?: string | null, term_id: string, label?: string | null, image?: string | null, emoji?: string | null, type: any, creator: { __typename?: 'accounts', label: string, image?: string | null, id: string, atom_id?: string | null, type: any }, value?: { __typename?: 'atom_values', person?: { __typename?: 'persons', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, thing?: { __typename?: 'things', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, organization?: { __typename?: 'organizations', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, account?: { __typename?: 'accounts', id: string, label: string, image?: string | null } | null } | null }, predicate: { __typename?: 'atoms', data?: string | null, term_id: string, label?: string | null, image?: string | null, emoji?: string | null, type: any, creator: { __typename?: 'accounts', label: string, image?: string | null, id: string, atom_id?: string | null, type: any }, value?: { __typename?: 'atom_values', person?: { __typename?: 'persons', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, thing?: { __typename?: 'things', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, organization?: { __typename?: 'organizations', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, account?: { __typename?: 'accounts', id: string, label: string, image?: string | null } | null } | null }, object: { __typename?: 'atoms', data?: string | null, term_id: string, label?: string | null, image?: string | null, emoji?: string | null, type: any, creator: { __typename?: 'accounts', label: string, image?: string | null, id: string, atom_id?: string | null, type: any }, value?: { __typename?: 'atom_values', person?: { __typename?: 'persons', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, thing?: { __typename?: 'things', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, organization?: { __typename?: 'organizations', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, account?: { __typename?: 'accounts', id: string, label: string, image?: string | null } | null } | null } } | null } } | null }; -export type PositionFieldsFragment = { - __typename?: 'positions' - shares: any - account?: { __typename?: 'accounts'; id: string; label: string } | null - vault?: { - __typename?: 'vaults' - term_id: any - total_shares: any - current_share_price: any - } | null -} +export type PositionFieldsFragment = { __typename?: 'positions', shares: any, account?: { __typename?: 'accounts', id: string, label: string } | null, vault?: { __typename?: 'vaults', term_id: string, total_shares: any, current_share_price: any } | null }; -export type PositionAggregateFieldsFragment = { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - count: number - sum?: { __typename?: 'positions_sum_fields'; shares?: any | null } | null - } | null -} +export type PositionAggregateFieldsFragment = { __typename?: 'positions_aggregate', aggregate?: { __typename?: 'positions_aggregate_fields', count: number, sum?: { __typename?: 'positions_sum_fields', shares?: any | null } | null } | null }; -export type RedemptionEventFragmentFragment = { - __typename?: 'events' - redemption?: { - __typename?: 'redemptions' - term_id: any - curve_id: any - receiver_id: string - shares_redeemed_by_sender: any - assets_for_receiver: any - } | null -} +export type RedemptionEventFragmentFragment = { __typename?: 'events', redemption?: { __typename?: 'redemptions', term_id: string, curve_id: any, receiver_id: string, shares: any } | null }; -export type StatDetailsFragment = { - __typename?: 'stats' - contract_balance?: any | null - total_accounts?: number | null - total_fees?: any | null - total_atoms?: number | null - total_triples?: number | null - total_positions?: number | null - total_signals?: number | null -} +export type StatDetailsFragment = { __typename?: 'stats', contract_balance?: any | null, total_accounts?: number | null, total_fees?: any | null, total_atoms?: number | null, total_triples?: number | null, total_positions?: number | null, total_signals?: number | null }; -export type TripleMetadataFragment = { - __typename?: 'triples' - term_id: any - subject_id: any - predicate_id: any - object_id: any - subject: { - __typename?: 'atoms' - data?: string | null - term_id: any - image?: string | null - label?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - predicate: { - __typename?: 'atoms' - data?: string | null - term_id: any - image?: string | null - label?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - object: { - __typename?: 'atoms' - data?: string | null - term_id: any - image?: string | null - label?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - total_shares: any - current_share_price: any - allPositions: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - count: number - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - positions: Array<{ - __typename?: 'positions' - shares: any - account?: { __typename?: 'accounts'; id: string; label: string } | null - vault?: { - __typename?: 'vaults' - term_id: any - total_shares: any - current_share_price: any - } | null - }> - }> - } | null - counter_term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - total_shares: any - current_share_price: any - allPositions: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - count: number - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - positions: Array<{ - __typename?: 'positions' - shares: any - account?: { __typename?: 'accounts'; id: string; label: string } | null - vault?: { - __typename?: 'vaults' - term_id: any - total_shares: any - current_share_price: any - } | null - }> - }> - } | null -} +export type TripleMetadataFragment = { __typename?: 'triples', term_id: string, subject_id: string, predicate_id: string, object_id: string, subject: { __typename?: 'atoms', data?: string | null, term_id: string, image?: string | null, label?: string | null, emoji?: string | null, type: any, creator: { __typename?: 'accounts', label: string, image?: string | null, id: string, atom_id?: string | null, type: any }, value?: { __typename?: 'atom_values', person?: { __typename?: 'persons', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, thing?: { __typename?: 'things', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, organization?: { __typename?: 'organizations', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, account?: { __typename?: 'accounts', id: string, label: string, image?: string | null } | null } | null }, predicate: { __typename?: 'atoms', data?: string | null, term_id: string, image?: string | null, label?: string | null, emoji?: string | null, type: any, creator: { __typename?: 'accounts', label: string, image?: string | null, id: string, atom_id?: string | null, type: any }, value?: { __typename?: 'atom_values', person?: { __typename?: 'persons', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, thing?: { __typename?: 'things', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, organization?: { __typename?: 'organizations', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, account?: { __typename?: 'accounts', id: string, label: string, image?: string | null } | null } | null }, object: { __typename?: 'atoms', data?: string | null, term_id: string, image?: string | null, label?: string | null, emoji?: string | null, type: any, creator: { __typename?: 'accounts', label: string, image?: string | null, id: string, atom_id?: string | null, type: any }, value?: { __typename?: 'atom_values', person?: { __typename?: 'persons', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, thing?: { __typename?: 'things', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, organization?: { __typename?: 'organizations', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, account?: { __typename?: 'accounts', id: string, label: string, image?: string | null } | null } | null }, term?: { __typename?: 'terms', vaults: Array<{ __typename?: 'vaults', total_shares: any, current_share_price: any, allPositions: { __typename?: 'positions_aggregate', aggregate?: { __typename?: 'positions_aggregate_fields', count: number, sum?: { __typename?: 'positions_sum_fields', shares?: any | null } | null } | null }, positions: Array<{ __typename?: 'positions', shares: any, account?: { __typename?: 'accounts', id: string, label: string } | null, vault?: { __typename?: 'vaults', term_id: string, total_shares: any, current_share_price: any } | null }> }> } | null, counter_term?: { __typename?: 'terms', vaults: Array<{ __typename?: 'vaults', total_shares: any, current_share_price: any, allPositions: { __typename?: 'positions_aggregate', aggregate?: { __typename?: 'positions_aggregate_fields', count: number, sum?: { __typename?: 'positions_sum_fields', shares?: any | null } | null } | null }, positions: Array<{ __typename?: 'positions', shares: any, account?: { __typename?: 'accounts', id: string, label: string } | null, vault?: { __typename?: 'vaults', term_id: string, total_shares: any, current_share_price: any } | null }> }> } | null }; -export type TripleTxnFragment = { - __typename?: 'triples' - block_number: any - created_at: any - transaction_hash: string - creator_id: string -} +export type TripleTxnFragment = { __typename?: 'triples', block_number: any, created_at: any, transaction_hash: string, creator_id: string }; -export type TripleVaultDetailsFragment = { - __typename?: 'triples' - term_id: any - counter_term_id: any - term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - positions: Array<{ - __typename?: 'positions' - id: string - shares: any - term_id: any - curve_id: any - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - vault?: { - __typename?: 'vaults' - term_id: any - term: { - __typename?: 'terms' - atom?: { - __typename?: 'atoms' - term_id: any - label?: string | null - image?: string | null - } | null - triple?: { - __typename?: 'triples' - term_id: any - term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - term_id: any - position_count: number - positions_aggregate: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - }> - } | null - counter_term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - term_id: any - position_count: number - positions_aggregate: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - }> - } | null - subject: { - __typename?: 'atoms' - data?: string | null - term_id: any - label?: string | null - image?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - predicate: { - __typename?: 'atoms' - data?: string | null - term_id: any - label?: string | null - image?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - object: { - __typename?: 'atoms' - data?: string | null - term_id: any - label?: string | null - image?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - } | null - } - } | null - }> - }> - } | null - counter_term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - positions: Array<{ - __typename?: 'positions' - id: string - shares: any - term_id: any - curve_id: any - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - vault?: { - __typename?: 'vaults' - term_id: any - term: { - __typename?: 'terms' - atom?: { - __typename?: 'atoms' - term_id: any - label?: string | null - image?: string | null - } | null - triple?: { - __typename?: 'triples' - term_id: any - term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - term_id: any - position_count: number - positions_aggregate: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - }> - } | null - counter_term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - term_id: any - position_count: number - positions_aggregate: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - }> - } | null - subject: { - __typename?: 'atoms' - data?: string | null - term_id: any - label?: string | null - image?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - predicate: { - __typename?: 'atoms' - data?: string | null - term_id: any - label?: string | null - image?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - object: { - __typename?: 'atoms' - data?: string | null - term_id: any - label?: string | null - image?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - } | null - } - } | null - }> - }> - } | null -} +export type TripleVaultDetailsFragment = { __typename?: 'triples', term_id: string, counter_term_id: string, term?: { __typename?: 'terms', vaults: Array<{ __typename?: 'vaults', positions: Array<{ __typename?: 'positions', id: string, shares: any, term_id: string, curve_id: any, account?: { __typename?: 'accounts', id: string, label: string, image?: string | null } | null, vault?: { __typename?: 'vaults', term_id: string, term: { __typename?: 'terms', atom?: { __typename?: 'atoms', term_id: string, label?: string | null, image?: string | null } | null, triple?: { __typename?: 'triples', term_id: string, term?: { __typename?: 'terms', vaults: Array<{ __typename?: 'vaults', term_id: string, position_count: number, positions_aggregate: { __typename?: 'positions_aggregate', aggregate?: { __typename?: 'positions_aggregate_fields', sum?: { __typename?: 'positions_sum_fields', shares?: any | null } | null } | null } }> } | null, counter_term?: { __typename?: 'terms', vaults: Array<{ __typename?: 'vaults', term_id: string, position_count: number, positions_aggregate: { __typename?: 'positions_aggregate', aggregate?: { __typename?: 'positions_aggregate_fields', sum?: { __typename?: 'positions_sum_fields', shares?: any | null } | null } | null } }> } | null, subject: { __typename?: 'atoms', data?: string | null, term_id: string, label?: string | null, image?: string | null, emoji?: string | null, type: any, creator: { __typename?: 'accounts', label: string, image?: string | null, id: string, atom_id?: string | null, type: any }, value?: { __typename?: 'atom_values', person?: { __typename?: 'persons', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, thing?: { __typename?: 'things', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, organization?: { __typename?: 'organizations', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, account?: { __typename?: 'accounts', id: string, label: string, image?: string | null } | null } | null }, predicate: { __typename?: 'atoms', data?: string | null, term_id: string, label?: string | null, image?: string | null, emoji?: string | null, type: any, creator: { __typename?: 'accounts', label: string, image?: string | null, id: string, atom_id?: string | null, type: any }, value?: { __typename?: 'atom_values', person?: { __typename?: 'persons', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, thing?: { __typename?: 'things', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, organization?: { __typename?: 'organizations', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, account?: { __typename?: 'accounts', id: string, label: string, image?: string | null } | null } | null }, object: { __typename?: 'atoms', data?: string | null, term_id: string, label?: string | null, image?: string | null, emoji?: string | null, type: any, creator: { __typename?: 'accounts', label: string, image?: string | null, id: string, atom_id?: string | null, type: any }, value?: { __typename?: 'atom_values', person?: { __typename?: 'persons', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, thing?: { __typename?: 'things', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, organization?: { __typename?: 'organizations', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, account?: { __typename?: 'accounts', id: string, label: string, image?: string | null } | null } | null } } | null } } | null }> }> } | null, counter_term?: { __typename?: 'terms', vaults: Array<{ __typename?: 'vaults', positions: Array<{ __typename?: 'positions', id: string, shares: any, term_id: string, curve_id: any, account?: { __typename?: 'accounts', id: string, label: string, image?: string | null } | null, vault?: { __typename?: 'vaults', term_id: string, term: { __typename?: 'terms', atom?: { __typename?: 'atoms', term_id: string, label?: string | null, image?: string | null } | null, triple?: { __typename?: 'triples', term_id: string, term?: { __typename?: 'terms', vaults: Array<{ __typename?: 'vaults', term_id: string, position_count: number, positions_aggregate: { __typename?: 'positions_aggregate', aggregate?: { __typename?: 'positions_aggregate_fields', sum?: { __typename?: 'positions_sum_fields', shares?: any | null } | null } | null } }> } | null, counter_term?: { __typename?: 'terms', vaults: Array<{ __typename?: 'vaults', term_id: string, position_count: number, positions_aggregate: { __typename?: 'positions_aggregate', aggregate?: { __typename?: 'positions_aggregate_fields', sum?: { __typename?: 'positions_sum_fields', shares?: any | null } | null } | null } }> } | null, subject: { __typename?: 'atoms', data?: string | null, term_id: string, label?: string | null, image?: string | null, emoji?: string | null, type: any, creator: { __typename?: 'accounts', label: string, image?: string | null, id: string, atom_id?: string | null, type: any }, value?: { __typename?: 'atom_values', person?: { __typename?: 'persons', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, thing?: { __typename?: 'things', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, organization?: { __typename?: 'organizations', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, account?: { __typename?: 'accounts', id: string, label: string, image?: string | null } | null } | null }, predicate: { __typename?: 'atoms', data?: string | null, term_id: string, label?: string | null, image?: string | null, emoji?: string | null, type: any, creator: { __typename?: 'accounts', label: string, image?: string | null, id: string, atom_id?: string | null, type: any }, value?: { __typename?: 'atom_values', person?: { __typename?: 'persons', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, thing?: { __typename?: 'things', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, organization?: { __typename?: 'organizations', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, account?: { __typename?: 'accounts', id: string, label: string, image?: string | null } | null } | null }, object: { __typename?: 'atoms', data?: string | null, term_id: string, label?: string | null, image?: string | null, emoji?: string | null, type: any, creator: { __typename?: 'accounts', label: string, image?: string | null, id: string, atom_id?: string | null, type: any }, value?: { __typename?: 'atom_values', person?: { __typename?: 'persons', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, thing?: { __typename?: 'things', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, organization?: { __typename?: 'organizations', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, account?: { __typename?: 'accounts', id: string, label: string, image?: string | null } | null } | null } } | null } } | null }> }> } | null }; -export type TripleVaultCouterVaultDetailsWithPositionsFragment = { - __typename?: 'triples' - term_id: any - counter_term_id: any - term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - term_id: any - curve_id: any - current_share_price: any - total_shares: any - term: { - __typename?: 'terms' - atom?: { - __typename?: 'atoms' - term_id: any - label?: string | null - } | null - triple?: { - __typename?: 'triples' - term_id: any - subject: { __typename?: 'atoms'; term_id: any; label?: string | null } - predicate: { - __typename?: 'atoms' - term_id: any - label?: string | null - } - object: { __typename?: 'atoms'; term_id: any; label?: string | null } - } | null - } - positions: Array<{ - __typename?: 'positions' - shares: any - account?: { __typename?: 'accounts'; id: string; label: string } | null - vault?: { - __typename?: 'vaults' - term_id: any - total_shares: any - current_share_price: any - } | null - }> - }> - } | null - counter_term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - term_id: any - curve_id: any - current_share_price: any - total_shares: any - term: { - __typename?: 'terms' - atom?: { - __typename?: 'atoms' - term_id: any - label?: string | null - } | null - triple?: { - __typename?: 'triples' - term_id: any - subject: { __typename?: 'atoms'; term_id: any; label?: string | null } - predicate: { - __typename?: 'atoms' - term_id: any - label?: string | null - } - object: { __typename?: 'atoms'; term_id: any; label?: string | null } - } | null - } - positions: Array<{ - __typename?: 'positions' - shares: any - account?: { __typename?: 'accounts'; id: string; label: string } | null - vault?: { - __typename?: 'vaults' - term_id: any - total_shares: any - current_share_price: any - } | null - }> - }> - } | null -} +export type TripleVaultCouterVaultDetailsWithPositionsFragment = { __typename?: 'triples', term_id: string, counter_term_id: string, term?: { __typename?: 'terms', vaults: Array<{ __typename?: 'vaults', term_id: string, curve_id: any, current_share_price: any, total_shares: any, term: { __typename?: 'terms', atom?: { __typename?: 'atoms', term_id: string, label?: string | null } | null, triple?: { __typename?: 'triples', term_id: string, subject: { __typename?: 'atoms', term_id: string, label?: string | null }, predicate: { __typename?: 'atoms', term_id: string, label?: string | null }, object: { __typename?: 'atoms', term_id: string, label?: string | null } } | null }, positions: Array<{ __typename?: 'positions', shares: any, account?: { __typename?: 'accounts', id: string, label: string } | null, vault?: { __typename?: 'vaults', term_id: string, total_shares: any, current_share_price: any } | null }> }> } | null, counter_term?: { __typename?: 'terms', vaults: Array<{ __typename?: 'vaults', term_id: string, curve_id: any, current_share_price: any, total_shares: any, term: { __typename?: 'terms', atom?: { __typename?: 'atoms', term_id: string, label?: string | null } | null, triple?: { __typename?: 'triples', term_id: string, subject: { __typename?: 'atoms', term_id: string, label?: string | null }, predicate: { __typename?: 'atoms', term_id: string, label?: string | null }, object: { __typename?: 'atoms', term_id: string, label?: string | null } } | null }, positions: Array<{ __typename?: 'positions', shares: any, account?: { __typename?: 'accounts', id: string, label: string } | null, vault?: { __typename?: 'vaults', term_id: string, total_shares: any, current_share_price: any } | null }> }> } | null }; -export type VaultBasicDetailsFragment = { - __typename?: 'vaults' - term_id: any - curve_id: any - current_share_price: any - total_shares: any - term: { - __typename?: 'terms' - atom?: { __typename?: 'atoms'; term_id: any; label?: string | null } | null - triple?: { - __typename?: 'triples' - term_id: any - subject: { __typename?: 'atoms'; term_id: any; label?: string | null } - predicate: { __typename?: 'atoms'; term_id: any; label?: string | null } - object: { __typename?: 'atoms'; term_id: any; label?: string | null } - } | null - } -} +export type VaultBasicDetailsFragment = { __typename?: 'vaults', term_id: string, curve_id: any, current_share_price: any, total_shares: any, term: { __typename?: 'terms', atom?: { __typename?: 'atoms', term_id: string, label?: string | null } | null, triple?: { __typename?: 'triples', term_id: string, subject: { __typename?: 'atoms', term_id: string, label?: string | null }, predicate: { __typename?: 'atoms', term_id: string, label?: string | null }, object: { __typename?: 'atoms', term_id: string, label?: string | null } } | null } }; -export type VaultPositionsAggregateFragment = { - __typename?: 'vaults' - positions_aggregate: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - count: number - sum?: { __typename?: 'positions_sum_fields'; shares?: any | null } | null - } | null - } -} +export type VaultPositionsAggregateFragment = { __typename?: 'vaults', positions_aggregate: { __typename?: 'positions_aggregate', aggregate?: { __typename?: 'positions_aggregate_fields', count: number, sum?: { __typename?: 'positions_sum_fields', shares?: any | null } | null } | null } }; -export type VaultFilteredPositionsFragment = { - __typename?: 'vaults' - positions: Array<{ - __typename?: 'positions' - shares: any - account?: { __typename?: 'accounts'; id: string; label: string } | null - vault?: { - __typename?: 'vaults' - term_id: any - total_shares: any - current_share_price: any - } | null - }> -} +export type VaultFilteredPositionsFragment = { __typename?: 'vaults', positions: Array<{ __typename?: 'positions', shares: any, account?: { __typename?: 'accounts', id: string, label: string } | null, vault?: { __typename?: 'vaults', term_id: string, total_shares: any, current_share_price: any } | null }> }; -export type VaultUnfilteredPositionsFragment = { - __typename?: 'vaults' - positions: Array<{ - __typename?: 'positions' - shares: any - account?: { __typename?: 'accounts'; id: string; label: string } | null - vault?: { - __typename?: 'vaults' - term_id: any - total_shares: any - current_share_price: any - } | null - }> -} +export type VaultUnfilteredPositionsFragment = { __typename?: 'vaults', positions: Array<{ __typename?: 'positions', shares: any, account?: { __typename?: 'accounts', id: string, label: string } | null, vault?: { __typename?: 'vaults', term_id: string, total_shares: any, current_share_price: any } | null }> }; -export type VaultDetailsFragment = { - __typename?: 'vaults' - term_id: any - curve_id: any - current_share_price: any - total_shares: any - term: { - __typename?: 'terms' - atom?: { __typename?: 'atoms'; term_id: any; label?: string | null } | null - triple?: { - __typename?: 'triples' - term_id: any - subject: { __typename?: 'atoms'; term_id: any; label?: string | null } - predicate: { __typename?: 'atoms'; term_id: any; label?: string | null } - object: { __typename?: 'atoms'; term_id: any; label?: string | null } - } | null - } -} +export type VaultDetailsFragment = { __typename?: 'vaults', term_id: string, curve_id: any, current_share_price: any, total_shares: any, term: { __typename?: 'terms', atom?: { __typename?: 'atoms', term_id: string, label?: string | null } | null, triple?: { __typename?: 'triples', term_id: string, subject: { __typename?: 'atoms', term_id: string, label?: string | null }, predicate: { __typename?: 'atoms', term_id: string, label?: string | null }, object: { __typename?: 'atoms', term_id: string, label?: string | null } } | null } }; -export type VaultDetailsWithFilteredPositionsFragment = { - __typename?: 'vaults' - term_id: any - curve_id: any - current_share_price: any - total_shares: any - term: { - __typename?: 'terms' - atom?: { __typename?: 'atoms'; term_id: any; label?: string | null } | null - triple?: { - __typename?: 'triples' - term_id: any - subject: { __typename?: 'atoms'; term_id: any; label?: string | null } - predicate: { __typename?: 'atoms'; term_id: any; label?: string | null } - object: { __typename?: 'atoms'; term_id: any; label?: string | null } - } | null - } - positions: Array<{ - __typename?: 'positions' - shares: any - account?: { __typename?: 'accounts'; id: string; label: string } | null - vault?: { - __typename?: 'vaults' - term_id: any - total_shares: any - current_share_price: any - } | null - }> -} +export type VaultDetailsWithFilteredPositionsFragment = { __typename?: 'vaults', term_id: string, curve_id: any, current_share_price: any, total_shares: any, term: { __typename?: 'terms', atom?: { __typename?: 'atoms', term_id: string, label?: string | null } | null, triple?: { __typename?: 'triples', term_id: string, subject: { __typename?: 'atoms', term_id: string, label?: string | null }, predicate: { __typename?: 'atoms', term_id: string, label?: string | null }, object: { __typename?: 'atoms', term_id: string, label?: string | null } } | null }, positions: Array<{ __typename?: 'positions', shares: any, account?: { __typename?: 'accounts', id: string, label: string } | null, vault?: { __typename?: 'vaults', term_id: string, total_shares: any, current_share_price: any } | null }> }; -export type VaultFieldsForTripleFragment = { - __typename?: 'vaults' - total_shares: any - current_share_price: any - positions_aggregate: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - count: number - sum?: { __typename?: 'positions_sum_fields'; shares?: any | null } | null - } | null - } - positions: Array<{ - __typename?: 'positions' - shares: any - account?: { __typename?: 'accounts'; id: string; label: string } | null - vault?: { - __typename?: 'vaults' - term_id: any - total_shares: any - current_share_price: any - } | null - }> -} +export type VaultFieldsForTripleFragment = { __typename?: 'vaults', total_shares: any, current_share_price: any, positions_aggregate: { __typename?: 'positions_aggregate', aggregate?: { __typename?: 'positions_aggregate_fields', count: number, sum?: { __typename?: 'positions_sum_fields', shares?: any | null } | null } | null }, positions: Array<{ __typename?: 'positions', shares: any, account?: { __typename?: 'accounts', id: string, label: string } | null, vault?: { __typename?: 'vaults', term_id: string, total_shares: any, current_share_price: any } | null }> }; export type PinThingMutationVariables = Exact<{ - name: Scalars['String']['input'] - description?: InputMaybe - image?: InputMaybe - url?: InputMaybe -}> - -export type PinThingMutation = { - __typename?: 'mutation_root' - pinThing?: { __typename?: 'PinOutput'; uri?: string | null } | null -} + name: Scalars['String']['input']; + description?: InputMaybe; + image?: InputMaybe; + url?: InputMaybe; +}>; -export type GetAccountsQueryVariables = Exact<{ - limit?: InputMaybe - offset?: InputMaybe - orderBy?: InputMaybe | Accounts_Order_By> - where?: InputMaybe - positionsLimit?: InputMaybe - positionsOffset?: InputMaybe - positionsWhere?: InputMaybe -}> - -export type GetAccountsQuery = { - __typename?: 'query_root' - accounts: Array<{ - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - atom?: { - __typename?: 'atoms' - term_id: any - wallet_id: string - term: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - position_count: number - total_shares: any - positions_aggregate: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - count: number - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - positions: Array<{ - __typename?: 'positions' - id: string - shares: any - account?: { - __typename?: 'accounts' - label: string - id: string - } | null - }> - }> - } - } | null - positions: Array<{ - __typename?: 'positions' - id: string - shares: any - vault?: { - __typename?: 'vaults' - term_id: any - total_shares: any - current_share_price: any - term: { - __typename?: 'terms' - atom?: { - __typename?: 'atoms' - term_id: any - label?: string | null - } | null - triple?: { __typename?: 'triples'; term_id: any } | null - } - } | null - }> - }> -} -export type GetAccountsWithAggregatesQueryVariables = Exact<{ - limit?: InputMaybe - offset?: InputMaybe - orderBy?: InputMaybe | Accounts_Order_By> - where?: InputMaybe - positionsLimit?: InputMaybe - positionsOffset?: InputMaybe - positionsWhere?: InputMaybe - atomsWhere?: InputMaybe - atomsOrderBy?: InputMaybe | Atoms_Order_By> - atomsLimit?: InputMaybe - atomsOffset?: InputMaybe -}> - -export type GetAccountsWithAggregatesQuery = { - __typename?: 'query_root' - accounts_aggregate: { - __typename?: 'accounts_aggregate' - aggregate?: { - __typename?: 'accounts_aggregate_fields' - count: number - } | null - nodes: Array<{ - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - positions: Array<{ - __typename?: 'positions' - id: string - shares: any - vault?: { - __typename?: 'vaults' - term_id: any - total_shares: any - current_share_price: any - term: { - __typename?: 'terms' - atom?: { - __typename?: 'atoms' - term_id: any - label?: string | null - } | null - triple?: { __typename?: 'triples'; term_id: any } | null - } - } | null - }> - }> - } -} +export type PinThingMutation = { __typename?: 'mutation_root', pinThing?: { __typename?: 'PinOutput', uri?: string | null } | null }; -export type GetAccountsCountQueryVariables = Exact<{ - where?: InputMaybe -}> - -export type GetAccountsCountQuery = { - __typename?: 'query_root' - accounts_aggregate: { - __typename?: 'accounts_aggregate' - aggregate?: { - __typename?: 'accounts_aggregate_fields' - count: number - } | null - } -} +export type GetAtomByCanonicalDataQueryVariables = Exact<{ + uri: Scalars['String']['input']; +}>; -export type GetAccountQueryVariables = Exact<{ - address: Scalars['String']['input'] - positionsLimit?: InputMaybe - positionsOffset?: InputMaybe - positionsWhere?: InputMaybe - atomsWhere?: InputMaybe - atomsOrderBy?: InputMaybe | Atoms_Order_By> - atomsLimit?: InputMaybe - atomsOffset?: InputMaybe - triplesWhere?: InputMaybe - triplesOrderBy?: InputMaybe | Triples_Order_By> - triplesLimit?: InputMaybe - triplesOffset?: InputMaybe -}> - -export type GetAccountQuery = { - __typename?: 'query_root' - account?: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - atom?: { - __typename?: 'atoms' - term_id: any - data?: string | null - image?: string | null - label?: string | null - emoji?: string | null - type: any - wallet_id: string - creator: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } - term: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - position_count: number - total_shares: any - current_share_price: any - positions_aggregate: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - count: number - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null + +export type GetAtomByCanonicalDataQuery = { __typename?: 'query_root', atoms: Array<{ __typename?: 'atoms', term_id: string, data?: string | null, raw_data: string, label?: string | null, type: any }> }; + +export type GetTrustedListingTripleAggregatesQueryVariables = Exact<{ + subjectId: Scalars['String']['input']; + listedOnId: Scalars['String']['input']; + trustswapId: Scalars['String']['input']; + curveId: Scalars['numeric']['input']; + accountIdLower: Scalars['String']['input']; +}>; + + +export type GetTrustedListingTripleAggregatesQuery = { __typename?: 'query_root', triples: Array<{ __typename?: 'triples', term_id: string, counter_term_id: string, subject: { __typename?: 'atoms', term_id: string, label?: string | null, image?: string | null }, predicate: { __typename?: 'atoms', term_id: string, label?: string | null, image?: string | null }, object: { __typename?: 'atoms', term_id: string, label?: string | null, image?: string | null }, term?: { __typename?: 'terms', vaults: Array<{ __typename?: 'vaults', positions_aggregate: { __typename?: 'positions_aggregate', aggregate?: { __typename?: 'positions_aggregate_fields', count: number, sum?: { __typename?: 'positions_sum_fields', shares?: any | null } | null } | null }, positions: Array<{ __typename?: 'positions', shares: any }> }> } | null, counter_term?: { __typename?: 'terms', vaults: Array<{ __typename?: 'vaults', positions_aggregate: { __typename?: 'positions_aggregate', aggregate?: { __typename?: 'positions_aggregate_fields', count: number, sum?: { __typename?: 'positions_sum_fields', shares?: any | null } | null } | null }, positions: Array<{ __typename?: 'positions', shares: any }> }> } | null }> }; + + +export const AccountPositionsAggregateFragmentDoc = ` + fragment AccountPositionsAggregate on accounts { + positions_aggregate(order_by: {shares: desc}) { + aggregate { + count + } + nodes { + id + shares + vault { + term_id + total_shares + current_share_price + term { + atom { + term_id + label } - positions: Array<{ - __typename?: 'positions' - id: string - shares: any - account?: { - __typename?: 'accounts' - label: string - id: string - } | null - }> - }> - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } | null - positions: Array<{ - __typename?: 'positions' - id: string - shares: any - vault?: { - __typename?: 'vaults' - term_id: any - total_shares: any - current_share_price: any - term: { - __typename?: 'terms' - atom?: { - __typename?: 'atoms' - term_id: any - label?: string | null - } | null - triple?: { __typename?: 'triples'; term_id: any } | null - } - } | null - }> - atoms: Array<{ - __typename?: 'atoms' - term_id: any - label?: string | null - data?: string | null - term: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - total_shares: any - positions_aggregate: { - __typename?: 'positions_aggregate' - nodes: Array<{ - __typename?: 'positions' - shares: any - account?: { __typename?: 'accounts'; id: string } | null - }> + triple { + term_id } - }> + } } - }> - triples_aggregate: { - __typename?: 'triples_aggregate' - aggregate?: { - __typename?: 'triples_aggregate_fields' - count: number - } | null - nodes: Array<{ - __typename?: 'triples' - term_id: any - subject: { __typename?: 'atoms'; term_id: any; label?: string | null } - predicate: { __typename?: 'atoms'; term_id: any; label?: string | null } - object: { __typename?: 'atoms'; term_id: any; label?: string | null } - }> } - } | null - chainlink_prices: Array<{ __typename?: 'chainlink_prices'; usd?: any | null }> + } } - -export type GetAccountWithPaginatedRelationsQueryVariables = Exact<{ - address: Scalars['String']['input'] - positionsLimit?: InputMaybe - positionsOffset?: InputMaybe - positionsWhere?: InputMaybe - atomsLimit?: InputMaybe - atomsOffset?: InputMaybe - atomsWhere?: InputMaybe - atomsOrderBy?: InputMaybe | Atoms_Order_By> - triplesLimit?: InputMaybe - triplesOffset?: InputMaybe - triplesWhere?: InputMaybe - triplesOrderBy?: InputMaybe | Triples_Order_By> -}> - -export type GetAccountWithPaginatedRelationsQuery = { - __typename?: 'query_root' - account?: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - positions: Array<{ - __typename?: 'positions' - id: string - shares: any - vault?: { - __typename?: 'vaults' - term_id: any - total_shares: any - current_share_price: any - term: { - __typename?: 'terms' - atom?: { - __typename?: 'atoms' - term_id: any - label?: string | null - } | null - triple?: { __typename?: 'triples'; term_id: any } | null + `; +export const AccountPositionsFragmentDoc = ` + fragment AccountPositions on accounts { + positions( + order_by: {shares: desc} + limit: $positionsLimit + offset: $positionsOffset + where: $positionsWhere + ) { + id + shares + vault { + term_id + total_shares + current_share_price + term { + atom { + term_id + label + } + triple { + term_id } - } | null - }> - atoms: Array<{ - __typename?: 'atoms' - term_id: any - label?: string | null - data?: string | null - term: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - total_shares: any - positions_aggregate: { - __typename?: 'positions_aggregate' - nodes: Array<{ - __typename?: 'positions' - shares: any - account?: { __typename?: 'accounts'; id: string } | null - }> - } - }> } - }> - triples_aggregate: { - __typename?: 'triples_aggregate' - aggregate?: { - __typename?: 'triples_aggregate_fields' - count: number - } | null - nodes: Array<{ - __typename?: 'triples' - term_id: any - subject: { __typename?: 'atoms'; term_id: any; label?: string | null } - predicate: { __typename?: 'atoms'; term_id: any; label?: string | null } - object: { __typename?: 'atoms'; term_id: any; label?: string | null } - }> } - } | null + } } - -export type GetAccountWithAggregatesQueryVariables = Exact<{ - address: Scalars['String']['input'] - positionsLimit?: InputMaybe - positionsOffset?: InputMaybe - positionsWhere?: InputMaybe - atomsWhere?: InputMaybe - atomsOrderBy?: InputMaybe | Atoms_Order_By> - atomsLimit?: InputMaybe - atomsOffset?: InputMaybe - triplesWhere?: InputMaybe - triplesOrderBy?: InputMaybe | Triples_Order_By> - triplesLimit?: InputMaybe - triplesOffset?: InputMaybe -}> - -export type GetAccountWithAggregatesQuery = { - __typename?: 'query_root' - account?: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - positions_aggregate: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - count: number - } | null - nodes: Array<{ - __typename?: 'positions' - id: string - shares: any - vault?: { - __typename?: 'vaults' - term_id: any - total_shares: any - current_share_price: any - term: { - __typename?: 'terms' - atom?: { - __typename?: 'atoms' - term_id: any - label?: string | null - } | null - triple?: { __typename?: 'triples'; term_id: any } | null - } - } | null - }> - } - atoms_aggregate: { - __typename?: 'atoms_aggregate' - aggregate?: { - __typename?: 'atoms_aggregate_fields' - count: number - sum?: { __typename?: 'atoms_sum_fields'; term_id?: any | null } | null - } | null - nodes: Array<{ - __typename?: 'atoms' - term_id: any - label?: string | null - data?: string | null - term: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - total_shares: any - positions_aggregate: { - __typename?: 'positions_aggregate' - nodes: Array<{ - __typename?: 'positions' - shares: any - account?: { __typename?: 'accounts'; id: string } | null - }> + `; +export const AccountAtomsFragmentDoc = ` + fragment AccountAtoms on accounts { + atoms( + where: $atomsWhere + order_by: $atomsOrderBy + limit: $atomsLimit + offset: $atomsOffset + ) { + term_id + label + data + term { + vaults(where: {curve_id: {_eq: "1"}}) { + total_shares + positions_aggregate(where: {account_id: {_eq: $address}}) { + nodes { + account { + id } - }> + shares + } } - }> - } - triples_aggregate: { - __typename?: 'triples_aggregate' - aggregate?: { - __typename?: 'triples_aggregate_fields' - count: number - } | null - nodes: Array<{ - __typename?: 'triples' - term_id: any - subject: { __typename?: 'atoms'; term_id: any; label?: string | null } - predicate: { __typename?: 'atoms'; term_id: any; label?: string | null } - object: { __typename?: 'atoms'; term_id: any; label?: string | null } - }> - } - } | null -} - -export type GetAccountMetadataQueryVariables = Exact<{ - address: Scalars['String']['input'] -}> - -export type GetAccountMetadataQuery = { - __typename?: 'query_root' - account?: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - atom?: { - __typename?: 'atoms' - term_id: any - data?: string | null - image?: string | null - label?: string | null - emoji?: string | null - type: any - wallet_id: string - creator: { - __typename?: 'accounts' - id: string - label: string - image?: string | null } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } | null - } | null -} - -export type GetAtomsQueryVariables = Exact<{ - limit?: InputMaybe - offset?: InputMaybe - orderBy?: InputMaybe | Atoms_Order_By> - where?: InputMaybe -}> - -export type GetAtomsQuery = { - __typename?: 'query_root' - total: { - __typename?: 'atoms_aggregate' - aggregate?: { __typename?: 'atoms_aggregate_fields'; count: number } | null - } - atoms: Array<{ - __typename?: 'atoms' - term_id: any - data?: string | null - image?: string | null - label?: string | null - emoji?: string | null - type: any - wallet_id: string - block_number: any - created_at: any - transaction_hash: string - creator_id: string - creator: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - atom_id?: any | null - type: any - } - term: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - position_count: number - total_shares: any - current_share_price: any - positions_aggregate: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - count: number - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - positions: Array<{ - __typename?: 'positions' - id: string - shares: any - account?: { - __typename?: 'accounts' - label: string - id: string - } | null - }> - }> } - as_subject_triples: Array<{ - __typename?: 'triples' - term_id: any - object: { - __typename?: 'atoms' - data?: string | null - term_id: any - image?: string | null - label?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - } - predicate: { - __typename?: 'atoms' - data?: string | null - term_id: any - image?: string | null - label?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - } - }> - as_predicate_triples: Array<{ - __typename?: 'triples' - term_id: any - subject: { - __typename?: 'atoms' - data?: string | null - term_id: any - image?: string | null - label?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - } - object: { - __typename?: 'atoms' - data?: string | null - term_id: any - image?: string | null - label?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - } - }> - as_object_triples: Array<{ - __typename?: 'triples' - term_id: any - subject: { - __typename?: 'atoms' - data?: string | null - term_id: any - image?: string | null - label?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - } - predicate: { - __typename?: 'atoms' - data?: string | null - term_id: any - image?: string | null - label?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - } - }> - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - }> -} - -export type GetAtomsWithPositionsQueryVariables = Exact<{ - limit?: InputMaybe - offset?: InputMaybe - orderBy?: InputMaybe | Atoms_Order_By> - where?: InputMaybe - address?: InputMaybe -}> - -export type GetAtomsWithPositionsQuery = { - __typename?: 'query_root' - total: { - __typename?: 'atoms_aggregate' - aggregate?: { __typename?: 'atoms_aggregate_fields'; count: number } | null } - atoms: Array<{ - __typename?: 'atoms' - term_id: any - data?: string | null - image?: string | null - label?: string | null - emoji?: string | null - type: any - wallet_id: string - block_number: any - created_at: any - transaction_hash: string - creator_id: string - term: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - position_count: number - total_shares: any - current_share_price: any - total: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - count: number - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - positions: Array<{ - __typename?: 'positions' - id: string - shares: any - account?: { - __typename?: 'accounts' - label: string - id: string - } | null - }> - }> - } - creator: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - }> } - -export type GetAtomsWithAggregatesQueryVariables = Exact<{ - limit?: InputMaybe - offset?: InputMaybe - orderBy?: InputMaybe | Atoms_Order_By> - where?: InputMaybe -}> - -export type GetAtomsWithAggregatesQuery = { - __typename?: 'query_root' - atoms_aggregate: { - __typename?: 'atoms_aggregate' - aggregate?: { __typename?: 'atoms_aggregate_fields'; count: number } | null - nodes: Array<{ - __typename?: 'atoms' - term_id: any - data?: string | null - image?: string | null - label?: string | null - emoji?: string | null - type: any - wallet_id: string - block_number: any - created_at: any - transaction_hash: string - creator_id: string - creator: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - atom_id?: any | null - type: any - } - term: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - position_count: number - total_shares: any - current_share_price: any - positions_aggregate: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - count: number - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null + `; +export const AccountAtomsAggregateFragmentDoc = ` + fragment AccountAtomsAggregate on accounts { + atoms_aggregate( + where: $atomsWhere + order_by: $atomsOrderBy + limit: $atomsLimit + offset: $atomsOffset + ) { + aggregate { + count + } + nodes { + term_id + label + data + term { + vaults(where: {curve_id: {_eq: "1"}}) { + total_shares + positions_aggregate(where: {account_id: {_eq: $address}}) { + nodes { + account { + id + } + shares + } } - positions: Array<{ - __typename?: 'positions' - id: string - shares: any - account?: { - __typename?: 'accounts' - label: string - id: string - } | null - }> - }> + } } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - }> - } -} - -export type GetAtomsCountQueryVariables = Exact<{ - where?: InputMaybe -}> - -export type GetAtomsCountQuery = { - __typename?: 'query_root' - atoms_aggregate: { - __typename?: 'atoms_aggregate' - aggregate?: { __typename?: 'atoms_aggregate_fields'; count: number } | null + } } } - -export type GetAtomQueryVariables = Exact<{ - id: Scalars['numeric']['input'] -}> - -export type GetAtomQuery = { - __typename?: 'query_root' - atom?: { - __typename?: 'atoms' - term_id: any - data?: string | null - image?: string | null - label?: string | null - emoji?: string | null - type: any - wallet_id: string - block_number: any - created_at: any - transaction_hash: string - creator_id: string - creator: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - atom_id?: any | null - type: any - } - term: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - position_count: number - total_shares: any - current_share_price: any - positions_aggregate: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - count: number - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - positions: Array<{ - __typename?: 'positions' - id: string - shares: any - account?: { - __typename?: 'accounts' - label: string - id: string - } | null - }> - }> + `; +export const AccountTriplesFragmentDoc = ` + fragment AccountTriples on accounts { + triples_aggregate( + where: $triplesWhere + order_by: $triplesOrderBy + limit: $triplesLimit + offset: $triplesOffset + ) { + aggregate { + count } - as_subject_triples: Array<{ - __typename?: 'triples' - term_id: any - object: { - __typename?: 'atoms' - data?: string | null - term_id: any - image?: string | null - label?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - } - predicate: { - __typename?: 'atoms' - data?: string | null - term_id: any - image?: string | null - label?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - } - }> - as_predicate_triples: Array<{ - __typename?: 'triples' - term_id: any - subject: { - __typename?: 'atoms' - data?: string | null - term_id: any - image?: string | null - label?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - } - object: { - __typename?: 'atoms' - data?: string | null - term_id: any - image?: string | null - label?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } + nodes { + term_id + subject { + term_id + label } - }> - as_object_triples: Array<{ - __typename?: 'triples' - term_id: any - subject: { - __typename?: 'atoms' - data?: string | null - term_id: any - image?: string | null - label?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } + predicate { + term_id + label } - predicate: { - __typename?: 'atoms' - data?: string | null - term_id: any - image?: string | null - label?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } + object { + term_id + label } - }> - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } | null -} - -export type GetAtomByDataQueryVariables = Exact<{ - data: Scalars['String']['input'] -}> - -export type GetAtomByDataQuery = { - __typename?: 'query_root' - atoms: Array<{ - __typename?: 'atoms' - term_id: any - data?: string | null - image?: string | null - label?: string | null - emoji?: string | null - type: any - wallet_id: string - block_number: any - created_at: any - transaction_hash: string - creator_id: string - creator: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - atom_id?: any | null - type: any } - term: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - position_count: number - total_shares: any - current_share_price: any - positions_aggregate: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - count: number - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - positions: Array<{ - __typename?: 'positions' - id: string - shares: any - account?: { - __typename?: 'accounts' - label: string - id: string - } | null - }> - }> + } +} + `; +export const AccountTriplesAggregateFragmentDoc = ` + fragment AccountTriplesAggregate on accounts { + triples_aggregate( + where: $triplesWhere + order_by: $triplesOrderBy + limit: $triplesLimit + offset: $triplesOffset + ) { + aggregate { + count } - as_subject_triples: Array<{ - __typename?: 'triples' - term_id: any - object: { - __typename?: 'atoms' - data?: string | null - term_id: any - image?: string | null - label?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - } - predicate: { - __typename?: 'atoms' - data?: string | null - term_id: any - image?: string | null - label?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - } - }> - as_predicate_triples: Array<{ - __typename?: 'triples' - term_id: any - subject: { - __typename?: 'atoms' - data?: string | null - term_id: any - image?: string | null - label?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - } - object: { - __typename?: 'atoms' - data?: string | null - term_id: any - image?: string | null - label?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } + nodes { + term_id + subject { + term_id + label } - }> - as_object_triples: Array<{ - __typename?: 'triples' - term_id: any - subject: { - __typename?: 'atoms' - data?: string | null - term_id: any - image?: string | null - label?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } + predicate { + term_id + label } - predicate: { - __typename?: 'atoms' - data?: string | null - term_id: any - image?: string | null - label?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } + object { + term_id + label } - }> - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - }> -} - -export type GetVerifiedAtomDetailsQueryVariables = Exact<{ - id: Scalars['numeric']['input'] - userPositionAddress: Scalars['String']['input'] -}> - -export type GetVerifiedAtomDetailsQuery = { - __typename?: 'query_root' - atom?: { - __typename?: 'atoms' - term_id: any - label?: string | null - wallet_id: string - image?: string | null - type: any - created_at: any - data?: string | null - creator: { __typename?: 'accounts'; id: string } - value?: { - __typename?: 'atom_values' - thing?: { - __typename?: 'things' - name?: string | null - description?: string | null - url?: string | null - } | null - } | null - term: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - current_share_price: any - total_shares: any - position_count: number - userPosition: Array<{ - __typename?: 'positions' - shares: any - account_id: string - }> - }> } - tags: { - __typename?: 'triples_aggregate' - nodes: Array<{ - __typename?: 'triples' - predicate_id: any - object: { - __typename?: 'atoms' - label?: string | null - term: { - __typename?: 'terms' - vaults: Array<{ __typename?: 'vaults'; term_id: any }> - } - } - }> - aggregate?: { - __typename?: 'triples_aggregate_fields' - count: number - } | null - } - verificationTriple: { - __typename?: 'triples_aggregate' - nodes: Array<{ - __typename?: 'triples' - term_id: any - predicate_id: any - object_id: any - term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - term_id: any - positions: Array<{ - __typename?: 'positions' - id: string - shares: any - account_id: string - account?: { __typename?: 'accounts'; id: string } | null - }> - }> - } | null - }> - } - } | null + } } - -export type GetAtomDetailsQueryVariables = Exact<{ - id: Scalars['numeric']['input'] - userPositionAddress: Scalars['String']['input'] -}> - -export type GetAtomDetailsQuery = { - __typename?: 'query_root' - atom?: { - __typename?: 'atoms' - term_id: any - label?: string | null - wallet_id: string - image?: string | null - type: any - created_at: any - data?: string | null - creator: { __typename?: 'accounts'; id: string } - value?: { - __typename?: 'atom_values' - thing?: { - __typename?: 'things' - name?: string | null - description?: string | null - url?: string | null - } | null - } | null - term: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - current_share_price: any - total_shares: any - position_count: number - userPosition: Array<{ - __typename?: 'positions' - shares: any - account_id: string - }> - }> - } - tags: { - __typename?: 'triples_aggregate' - nodes: Array<{ - __typename?: 'triples' - predicate_id: any - object: { - __typename?: 'atoms' - label?: string | null - term: { - __typename?: 'terms' - vaults: Array<{ __typename?: 'vaults'; term_id: any }> - } - } - }> - aggregate?: { - __typename?: 'triples_aggregate_fields' - count: number - } | null - } - } | null + `; +export const AtomTxnFragmentDoc = ` + fragment AtomTxn on atoms { + block_number + created_at + transaction_hash + creator_id } - -export type FindAtomIdsQueryVariables = Exact<{ - where?: InputMaybe -}> - -export type FindAtomIdsQuery = { - __typename?: 'query_root' - atoms: Array<{ __typename?: 'atoms'; term_id: any; data?: string | null }> -} - -export type GetEventsQueryVariables = Exact<{ - limit?: InputMaybe - offset?: InputMaybe - orderBy?: InputMaybe | Events_Order_By> - where?: InputMaybe - addresses?: InputMaybe< - Array | Scalars['String']['input'] - > -}> - -export type GetEventsQuery = { - __typename?: 'query_root' - total: { - __typename?: 'events_aggregate' - aggregate?: { __typename?: 'events_aggregate_fields'; count: number } | null - } - events: Array<{ - __typename?: 'events' - id: string - block_number: any - created_at: any - type: any - transaction_hash: string - atom_id?: any | null - triple_id?: any | null - deposit_id?: string | null - redemption_id?: string | null - atom?: { - __typename?: 'atoms' - term_id: any - data?: string | null - image?: string | null - label?: string | null - emoji?: string | null - type: any - wallet_id: string - term: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - total_shares: any - position_count: number - positions: Array<{ - __typename?: 'positions' - account_id: string - shares: any - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - }> - }> - } - creator: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } | null - triple?: { - __typename?: 'triples' - term_id: any - creator?: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } | null - subject: { - __typename?: 'atoms' - data?: string | null - term_id: any - image?: string | null - label?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - predicate: { - __typename?: 'atoms' - data?: string | null - term_id: any - image?: string | null - label?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - object: { - __typename?: 'atoms' - data?: string | null - term_id: any - image?: string | null - label?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - total_shares: any - position_count: number - positions: Array<{ - __typename?: 'positions' - account_id: string - shares: any - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - }> - }> - } | null - counter_term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - total_shares: any - position_count: number - positions: Array<{ - __typename?: 'positions' - account_id: string - shares: any - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - }> - }> - } | null - } | null - deposit?: { - __typename?: 'deposits' - sender_id: string - shares_for_receiver: any - sender_assets_after_total_fees: any - sender?: { __typename?: 'accounts'; id: string } | null - vault?: { - __typename?: 'vaults' - total_shares: any - position_count: number - positions: Array<{ - __typename?: 'positions' - account_id: string - shares: any - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - }> - } | null - } | null - redemption?: { - __typename?: 'redemptions' - sender_id: string - sender?: { __typename?: 'accounts'; id: string } | null - } | null - }> -} - -export type GetEventsWithAggregatesQueryVariables = Exact<{ - limit?: InputMaybe - offset?: InputMaybe - orderBy?: InputMaybe | Events_Order_By> - where?: InputMaybe - addresses?: InputMaybe< - Array | Scalars['String']['input'] - > -}> - -export type GetEventsWithAggregatesQuery = { - __typename?: 'query_root' - events_aggregate: { - __typename?: 'events_aggregate' - aggregate?: { - __typename?: 'events_aggregate_fields' - count: number - max?: { - __typename?: 'events_max_fields' - created_at?: any | null - block_number?: any | null - } | null - min?: { - __typename?: 'events_min_fields' - created_at?: any | null - block_number?: any | null - } | null - } | null - nodes: Array<{ - __typename?: 'events' - block_number: any - created_at: any - type: any - transaction_hash: string - atom_id?: any | null - triple_id?: any | null - deposit_id?: string | null - redemption_id?: string | null - atom?: { - __typename?: 'atoms' - term_id: any - data?: string | null - image?: string | null - label?: string | null - emoji?: string | null - type: any - wallet_id: string - term: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - total_shares: any - position_count: number - positions: Array<{ - __typename?: 'positions' - account_id: string - shares: any - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - }> - }> - } - creator: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } | null - triple?: { - __typename?: 'triples' - term_id: any - subject_id: any - predicate_id: any - object_id: any - term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - total_shares: any - position_count: number - current_share_price: any - positions: Array<{ - __typename?: 'positions' - account_id: string - shares: any - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - vault?: { - __typename?: 'vaults' - term_id: any - total_shares: any - current_share_price: any - } | null - }> - allPositions: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - count: number - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - }> - } | null - counter_term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - total_shares: any - position_count: number - current_share_price: any - positions: Array<{ - __typename?: 'positions' - account_id: string - shares: any - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - vault?: { - __typename?: 'vaults' - term_id: any - total_shares: any - current_share_price: any - } | null - }> - allPositions: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - count: number - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - }> - } | null - subject: { - __typename?: 'atoms' - data?: string | null - term_id: any - image?: string | null - label?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - predicate: { - __typename?: 'atoms' - data?: string | null - term_id: any - image?: string | null - label?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - object: { - __typename?: 'atoms' - data?: string | null - term_id: any - image?: string | null - label?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - } | null - deposit?: { - __typename?: 'deposits' - term_id: any - curve_id: any - sender_assets_after_total_fees: any - shares_for_receiver: any - receiver: { __typename?: 'accounts'; id: string } - sender?: { __typename?: 'accounts'; id: string } | null - } | null - redemption?: { - __typename?: 'redemptions' - term_id: any - curve_id: any - receiver_id: string - shares_redeemed_by_sender: any - assets_for_receiver: any - } | null - }> - } -} - -export type GetEventsCountQueryVariables = Exact<{ - where?: InputMaybe -}> - -export type GetEventsCountQuery = { - __typename?: 'query_root' - events_aggregate: { - __typename?: 'events_aggregate' - aggregate?: { __typename?: 'events_aggregate_fields'; count: number } | null - } -} - -export type GetEventsDataQueryVariables = Exact<{ - where?: InputMaybe -}> - -export type GetEventsDataQuery = { - __typename?: 'query_root' - events_aggregate: { - __typename?: 'events_aggregate' - aggregate?: { - __typename?: 'events_aggregate_fields' - count: number - max?: { - __typename?: 'events_max_fields' - created_at?: any | null - block_number?: any | null - } | null - min?: { - __typename?: 'events_min_fields' - created_at?: any | null - block_number?: any | null - } | null - avg?: { - __typename?: 'events_avg_fields' - block_number?: number | null - } | null - } | null - } -} - -export type GetDebugEventsQueryVariables = Exact<{ - addresses?: InputMaybe< - Array | Scalars['String']['input'] - > -}> - -export type GetDebugEventsQuery = { - __typename?: 'query_root' - debug_events: Array<{ - __typename?: 'events' - id: string - atom?: { - __typename?: 'atoms' - term: { - __typename?: 'terms' - positions: Array<{ - __typename?: 'positions' - account_id: string - shares: any - }> - } - } | null - }> -} - -export type GetTransactionEventsQueryVariables = Exact<{ - hash: Scalars['String']['input'] -}> - -export type GetTransactionEventsQuery = { - __typename?: 'query_root' - events: Array<{ __typename?: 'events'; transaction_hash: string }> -} - -export type GetFollowingPositionsQueryVariables = Exact<{ - subjectId: Scalars['numeric']['input'] - predicateId: Scalars['numeric']['input'] - address: Scalars['String']['input'] - limit?: InputMaybe - offset?: InputMaybe - positionsOrderBy?: InputMaybe | Positions_Order_By> -}> - -export type GetFollowingPositionsQuery = { - __typename?: 'query_root' - triples_aggregate: { - __typename?: 'triples_aggregate' - aggregate?: { - __typename?: 'triples_aggregate_fields' - count: number - } | null - } - triples: Array<{ - __typename?: 'triples' - term_id: any - subject: { - __typename?: 'atoms' - term_id: any - data?: string | null - image?: string | null - label?: string | null - emoji?: string | null - type: any - wallet_id: string - creator: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - predicate: { - __typename?: 'atoms' - term_id: any - data?: string | null - image?: string | null - label?: string | null - emoji?: string | null - type: any - wallet_id: string - creator: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - object: { - __typename?: 'atoms' - term_id: any - data?: string | null - image?: string | null - label?: string | null - emoji?: string | null - type: any - wallet_id: string - creator: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - total_shares: any - current_share_price: any - positions_aggregate: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - count: number - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - positions: Array<{ - __typename?: 'positions' - account_id: string - shares: any - account?: { - __typename?: 'accounts' - id: string - label: string - } | null - }> - }> - } | null - }> -} - -export type GetFollowerPositionsQueryVariables = Exact<{ - subjectId: Scalars['numeric']['input'] - predicateId: Scalars['numeric']['input'] - objectId: Scalars['numeric']['input'] - positionsLimit?: InputMaybe - positionsOffset?: InputMaybe - positionsOrderBy?: InputMaybe | Positions_Order_By> - positionsWhere?: InputMaybe -}> - -export type GetFollowerPositionsQuery = { - __typename?: 'query_root' - triples: Array<{ - __typename?: 'triples' - term_id: any - subject: { - __typename?: 'atoms' - term_id: any - data?: string | null - image?: string | null - label?: string | null - emoji?: string | null - type: any - wallet_id: string - creator: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - predicate: { - __typename?: 'atoms' - term_id: any - data?: string | null - image?: string | null - label?: string | null - emoji?: string | null - type: any - wallet_id: string - creator: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - object: { - __typename?: 'atoms' - term_id: any - data?: string | null - image?: string | null - label?: string | null - emoji?: string | null - type: any - wallet_id: string - creator: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - total_shares: any - current_share_price: any - positions_aggregate: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - count: number - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - positions: Array<{ - __typename?: 'positions' - shares: any - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - }> - }> - } | null - }> -} - -export type GetConnectionsQueryVariables = Exact<{ - subjectId: Scalars['numeric']['input'] - predicateId: Scalars['numeric']['input'] - objectId: Scalars['numeric']['input'] - addresses?: InputMaybe< - Array | Scalars['String']['input'] - > - positionsLimit?: InputMaybe - positionsOffset?: InputMaybe - positionsOrderBy?: InputMaybe | Positions_Order_By> - positionsWhere?: InputMaybe -}> - -export type GetConnectionsQuery = { - __typename?: 'query_root' - following_count: { - __typename?: 'triples_aggregate' - aggregate?: { - __typename?: 'triples_aggregate_fields' - count: number - } | null - } - following: Array<{ - __typename?: 'triples' - term_id: any - subject: { __typename?: 'atoms'; term_id: any; label?: string | null } - predicate: { __typename?: 'atoms'; term_id: any; label?: string | null } - object: { __typename?: 'atoms'; term_id: any; label?: string | null } - term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - term_id: any - total_shares: any - current_share_price: any - positions_aggregate: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - count: number - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - positions: Array<{ - __typename?: 'positions' - shares: any - account?: { - __typename?: 'accounts' - id: string - label: string - } | null - }> - }> - } | null - }> - followers_count: { - __typename?: 'triples_aggregate' - aggregate?: { - __typename?: 'triples_aggregate_fields' - count: number - } | null - } - followers: Array<{ - __typename?: 'triples' - term_id: any - subject: { __typename?: 'atoms'; term_id: any; label?: string | null } - predicate: { __typename?: 'atoms'; term_id: any; label?: string | null } - object: { __typename?: 'atoms'; term_id: any; label?: string | null } - term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - term_id: any - total_shares: any - current_share_price: any - positions_aggregate: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - count: number - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - positions: Array<{ - __typename?: 'positions' - shares: any - account?: { - __typename?: 'accounts' - id: string - label: string - } | null - }> - }> - } | null - }> -} - -export type GetConnectionsCountQueryVariables = Exact<{ - subjectId: Scalars['numeric']['input'] - predicateId: Scalars['numeric']['input'] - objectId: Scalars['numeric']['input'] - address: Scalars['String']['input'] -}> - -export type GetConnectionsCountQuery = { - __typename?: 'query_root' - following_count: { - __typename?: 'triples_aggregate' - aggregate?: { - __typename?: 'triples_aggregate_fields' - count: number - } | null - } - followers_count: Array<{ - __typename?: 'triples' - term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - positions_aggregate: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - count: number - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - }> - } | null - }> -} - -export type GetListsQueryVariables = Exact<{ - where?: InputMaybe -}> - -export type GetListsQuery = { - __typename?: 'query_root' - predicate_objects_aggregate: { - __typename?: 'predicate_objects_aggregate' - aggregate?: { - __typename?: 'predicate_objects_aggregate_fields' - count: number - } | null - } - predicate_objects: Array<{ - __typename?: 'predicate_objects' - id: string - triple_count: number - object: { - __typename?: 'atoms' - term_id: any - label?: string | null - image?: string | null - } - }> -} - -export type GetListItemsQueryVariables = Exact<{ - predicateId?: InputMaybe - objectId?: InputMaybe -}> - -export type GetListItemsQuery = { - __typename?: 'query_root' - triples_aggregate: { - __typename?: 'triples_aggregate' - aggregate?: { - __typename?: 'triples_aggregate_fields' - count: number - } | null - nodes: Array<{ - __typename?: 'triples' - term_id: any - counter_term_id: any - term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - positions: Array<{ - __typename?: 'positions' - id: string - shares: any - term_id: any - curve_id: any - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - vault?: { - __typename?: 'vaults' - term_id: any - term: { - __typename?: 'terms' - atom?: { - __typename?: 'atoms' - term_id: any - label?: string | null - image?: string | null - } | null - triple?: { - __typename?: 'triples' - term_id: any - term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - term_id: any - position_count: number - positions_aggregate: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - }> - } | null - counter_term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - term_id: any - position_count: number - positions_aggregate: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - }> - } | null - subject: { - __typename?: 'atoms' - data?: string | null - term_id: any - label?: string | null - image?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - predicate: { - __typename?: 'atoms' - data?: string | null - term_id: any - label?: string | null - image?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - object: { - __typename?: 'atoms' - data?: string | null - term_id: any - label?: string | null - image?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - } | null - } - } | null - }> - }> - } | null - counter_term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - positions: Array<{ - __typename?: 'positions' - id: string - shares: any - term_id: any - curve_id: any - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - vault?: { - __typename?: 'vaults' - term_id: any - term: { - __typename?: 'terms' - atom?: { - __typename?: 'atoms' - term_id: any - label?: string | null - image?: string | null - } | null - triple?: { - __typename?: 'triples' - term_id: any - term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - term_id: any - position_count: number - positions_aggregate: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - }> - } | null - counter_term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - term_id: any - position_count: number - positions_aggregate: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - }> - } | null - subject: { - __typename?: 'atoms' - data?: string | null - term_id: any - label?: string | null - image?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - predicate: { - __typename?: 'atoms' - data?: string | null - term_id: any - label?: string | null - image?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - object: { - __typename?: 'atoms' - data?: string | null - term_id: any - label?: string | null - image?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - } | null - } - } | null - }> - }> - } | null - }> - } -} - -export type GetListDetailsQueryVariables = Exact<{ - globalWhere?: InputMaybe - tagPredicateId?: InputMaybe - limit?: InputMaybe - offset?: InputMaybe - orderBy?: InputMaybe | Triples_Order_By> -}> - -export type GetListDetailsQuery = { - __typename?: 'query_root' - globalTriplesAggregate: { - __typename?: 'triples_aggregate' - aggregate?: { - __typename?: 'triples_aggregate_fields' - count: number - } | null - } - globalTriples: Array<{ - __typename?: 'triples' - term_id: any - counter_term_id: any - subject: { - __typename?: 'atoms' - term_id: any - label?: string | null - wallet_id: string - image?: string | null - type: any - term: { - __typename?: 'terms' - vaults: Array<{ __typename?: 'vaults'; position_count: number }> - } - tags: { - __typename?: 'triples_aggregate' - nodes: Array<{ - __typename?: 'triples' - object: { - __typename?: 'atoms' - label?: string | null - term_id: any - taggedIdentities: { - __typename?: 'triples_aggregate' - nodes: Array<{ - __typename?: 'triples' - term_id: any - subject: { - __typename?: 'atoms' - label?: string | null - term_id: any - } - }> - aggregate?: { - __typename?: 'triples_aggregate_fields' - count: number - } | null - } - } - }> - aggregate?: { - __typename?: 'triples_aggregate_fields' - count: number - } | null - } - } - object: { - __typename?: 'atoms' - term_id: any - label?: string | null - wallet_id: string - image?: string | null - type: any - } - predicate: { - __typename?: 'atoms' - term_id: any - label?: string | null - wallet_id: string - image?: string | null - type: any - } - term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - current_share_price: any - position_count: number - total_shares: any - }> - } | null - counter_term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - current_share_price: any - position_count: number - total_shares: any - }> - } | null - }> -} - -export type GetListDetailsWithPositionQueryVariables = Exact<{ - globalWhere?: InputMaybe - tagPredicateId?: InputMaybe - address?: InputMaybe - limit?: InputMaybe - offset?: InputMaybe - orderBy?: InputMaybe | Triples_Order_By> -}> - -export type GetListDetailsWithPositionQuery = { - __typename?: 'query_root' - globalTriplesAggregate: { - __typename?: 'triples_aggregate' - aggregate?: { - __typename?: 'triples_aggregate_fields' - count: number - } | null - } - globalTriples: Array<{ - __typename?: 'triples' - term_id: any - counter_term_id: any - subject: { - __typename?: 'atoms' - term_id: any - label?: string | null - wallet_id: string - image?: string | null - type: any - tags: { - __typename?: 'triples_aggregate' - nodes: Array<{ - __typename?: 'triples' - object: { - __typename?: 'atoms' - label?: string | null - term_id: any - taggedIdentities: { - __typename?: 'triples_aggregate' - nodes: Array<{ - __typename?: 'triples' - term_id: any - subject: { - __typename?: 'atoms' - label?: string | null - term_id: any - } - }> - aggregate?: { - __typename?: 'triples_aggregate_fields' - count: number - } | null - } - } - }> - aggregate?: { - __typename?: 'triples_aggregate_fields' - count: number - } | null - } - } - object: { - __typename?: 'atoms' - term_id: any - label?: string | null - wallet_id: string - image?: string | null - type: any - } - predicate: { - __typename?: 'atoms' - term_id: any - label?: string | null - wallet_id: string - image?: string | null - type: any - } - term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - current_share_price: any - position_count: number - total_shares: any - }> - positions: Array<{ - __typename?: 'positions' - shares: any - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - }> - } | null - counter_term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - current_share_price: any - position_count: number - total_shares: any - }> - positions: Array<{ - __typename?: 'positions' - shares: any - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - }> - } | null - }> -} - -export type GetListDetailsWithUserQueryVariables = Exact<{ - globalWhere?: InputMaybe - userWhere?: InputMaybe - tagPredicateId?: InputMaybe - address?: InputMaybe - limit?: InputMaybe - offset?: InputMaybe - orderBy?: InputMaybe | Triples_Order_By> -}> - -export type GetListDetailsWithUserQuery = { - __typename?: 'query_root' - globalTriplesAggregate: { - __typename?: 'triples_aggregate' - aggregate?: { - __typename?: 'triples_aggregate_fields' - count: number - } | null - } - globalTriples: Array<{ - __typename?: 'triples' - term_id: any - counter_term_id: any - subject: { - __typename?: 'atoms' - term_id: any - label?: string | null - wallet_id: string - image?: string | null - type: any - tags: { - __typename?: 'triples_aggregate' - nodes: Array<{ - __typename?: 'triples' - object: { - __typename?: 'atoms' - label?: string | null - term_id: any - taggedIdentities: { - __typename?: 'triples_aggregate' - nodes: Array<{ - __typename?: 'triples' - term_id: any - subject: { - __typename?: 'atoms' - label?: string | null - term_id: any - } - }> - aggregate?: { - __typename?: 'triples_aggregate_fields' - count: number - } | null - } - } - }> - aggregate?: { - __typename?: 'triples_aggregate_fields' - count: number - } | null - } - } - object: { - __typename?: 'atoms' - term_id: any - label?: string | null - wallet_id: string - image?: string | null - type: any - } - predicate: { - __typename?: 'atoms' - term_id: any - label?: string | null - wallet_id: string - image?: string | null - type: any - } - term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - current_share_price: any - position_count: number - total_shares: any - }> - positions: Array<{ - __typename?: 'positions' - shares: any - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - }> - } | null - counter_term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - current_share_price: any - position_count: number - total_shares: any - }> - positions: Array<{ - __typename?: 'positions' - shares: any - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - }> - } | null - }> - userTriplesAggregate: { - __typename?: 'triples_aggregate' - aggregate?: { - __typename?: 'triples_aggregate_fields' - count: number - } | null - } - userTriples: Array<{ - __typename?: 'triples' - term_id: any - counter_term_id: any - subject: { - __typename?: 'atoms' - term_id: any - label?: string | null - wallet_id: string - image?: string | null - type: any - tags: { - __typename?: 'triples_aggregate' - nodes: Array<{ - __typename?: 'triples' - object: { - __typename?: 'atoms' - label?: string | null - term_id: any - taggedIdentities: { - __typename?: 'triples_aggregate' - nodes: Array<{ - __typename?: 'triples' - term_id: any - subject: { - __typename?: 'atoms' - label?: string | null - term_id: any - } - }> - aggregate?: { - __typename?: 'triples_aggregate_fields' - count: number - } | null - } - } - }> - aggregate?: { - __typename?: 'triples_aggregate_fields' - count: number - } | null - } - } - object: { - __typename?: 'atoms' - term_id: any - label?: string | null - wallet_id: string - image?: string | null - type: any - } - predicate: { - __typename?: 'atoms' - term_id: any - label?: string | null - wallet_id: string - image?: string | null - type: any - } - term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - current_share_price: any - position_count: number - total_shares: any - }> - positions: Array<{ - __typename?: 'positions' - shares: any - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - }> - } | null - counter_term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - current_share_price: any - position_count: number - total_shares: any - }> - positions: Array<{ - __typename?: 'positions' - shares: any - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - }> - } | null - }> -} - -export type GetListDetailsSimplifiedQueryVariables = Exact<{ - globalWhere?: InputMaybe - address?: InputMaybe - limit?: InputMaybe - offset?: InputMaybe - orderBy?: InputMaybe | Triples_Order_By> -}> - -export type GetListDetailsSimplifiedQuery = { - __typename?: 'query_root' - globalTriplesAggregate: { - __typename?: 'triples_aggregate' - aggregate?: { - __typename?: 'triples_aggregate_fields' - count: number - } | null - } - globalTriples: Array<{ - __typename?: 'triples' - term_id: any - counter_term_id: any - subject: { - __typename?: 'atoms' - term_id: any - label?: string | null - wallet_id: string - image?: string | null - type: any - term: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - current_share_price: any - position_count: number - total_shares: any - }> - } - } - object: { - __typename?: 'atoms' - term_id: any - label?: string | null - wallet_id: string - image?: string | null - type: any - } - predicate: { - __typename?: 'atoms' - term_id: any - label?: string | null - wallet_id: string - image?: string | null - type: any - } - term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - current_share_price: any - position_count: number - total_shares: any - positions: Array<{ - __typename?: 'positions' - shares: any - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - }> - }> - } | null - counter_term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - current_share_price: any - position_count: number - total_shares: any - positions: Array<{ - __typename?: 'positions' - shares: any - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - }> - }> - } | null - }> -} - -export type GetFeeTransfersQueryVariables = Exact<{ - address: Scalars['String']['input'] - cutoff_timestamp?: InputMaybe -}> - -export type GetFeeTransfersQuery = { - __typename?: 'query_root' - before_cutoff: { - __typename?: 'fee_transfers_aggregate' - aggregate?: { - __typename?: 'fee_transfers_aggregate_fields' - sum?: { - __typename?: 'fee_transfers_sum_fields' - amount?: any | null - } | null - } | null - } - after_cutoff: { - __typename?: 'fee_transfers_aggregate' - aggregate?: { - __typename?: 'fee_transfers_aggregate_fields' - sum?: { - __typename?: 'fee_transfers_sum_fields' - amount?: any | null - } | null - } | null - } -} - -export type GetPositionsQueryVariables = Exact<{ - limit?: InputMaybe - offset?: InputMaybe - orderBy?: InputMaybe | Positions_Order_By> - where?: InputMaybe -}> - -export type GetPositionsQuery = { - __typename?: 'query_root' - total: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - count: number - sum?: { __typename?: 'positions_sum_fields'; shares?: any | null } | null - } | null - } - positions: Array<{ - __typename?: 'positions' - id: string - shares: any - term_id: any - curve_id: any - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - vault?: { - __typename?: 'vaults' - term_id: any - term: { - __typename?: 'terms' - atom?: { - __typename?: 'atoms' - term_id: any - label?: string | null - image?: string | null - } | null - triple?: { - __typename?: 'triples' - term_id: any - term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - term_id: any - position_count: number - positions_aggregate: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - }> - } | null - counter_term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - term_id: any - position_count: number - positions_aggregate: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - }> - } | null - subject: { - __typename?: 'atoms' - data?: string | null - term_id: any - label?: string | null - image?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - predicate: { - __typename?: 'atoms' - data?: string | null - term_id: any - label?: string | null - image?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - object: { - __typename?: 'atoms' - data?: string | null - term_id: any - label?: string | null - image?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - } | null - } - } | null - }> -} - -export type GetTriplePositionsByAddressQueryVariables = Exact<{ - limit?: InputMaybe - offset?: InputMaybe - orderBy?: InputMaybe | Positions_Order_By> - where?: InputMaybe - address: Scalars['String']['input'] -}> - -export type GetTriplePositionsByAddressQuery = { - __typename?: 'query_root' - total: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - count: number - sum?: { __typename?: 'positions_sum_fields'; shares?: any | null } | null - } | null - } - positions: Array<{ - __typename?: 'positions' - id: string - shares: any - term_id: any - curve_id: any - vault?: { - __typename?: 'vaults' - term_id: any - term: { - __typename?: 'terms' - triple?: { - __typename?: 'triples' - term_id: any - term?: { - __typename?: 'terms' - positions: Array<{ - __typename?: 'positions' - shares: any - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - }> - vaults: Array<{ - __typename?: 'vaults' - term_id: any - position_count: number - positions_aggregate: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - }> - } | null - counter_term?: { - __typename?: 'terms' - positions: Array<{ - __typename?: 'positions' - shares: any - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - }> - vaults: Array<{ - __typename?: 'vaults' - term_id: any - position_count: number - positions_aggregate: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - }> - } | null - subject: { - __typename?: 'atoms' - data?: string | null - term_id: any - label?: string | null - image?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - predicate: { - __typename?: 'atoms' - data?: string | null - term_id: any - label?: string | null - image?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - object: { - __typename?: 'atoms' - data?: string | null - term_id: any - label?: string | null - image?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - } | null - atom?: { - __typename?: 'atoms' - term_id: any - label?: string | null - image?: string | null - } | null - } - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - }> -} - -export type GetPositionsWithAggregatesQueryVariables = Exact<{ - limit?: InputMaybe - offset?: InputMaybe - orderBy?: InputMaybe | Positions_Order_By> - where?: InputMaybe -}> - -export type GetPositionsWithAggregatesQuery = { - __typename?: 'query_root' - positions_aggregate: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - count: number - } | null - nodes: Array<{ - __typename?: 'positions' - id: string - shares: any - term_id: any - curve_id: any - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - vault?: { - __typename?: 'vaults' - term_id: any - term: { - __typename?: 'terms' - atom?: { - __typename?: 'atoms' - term_id: any - label?: string | null - image?: string | null - } | null - triple?: { - __typename?: 'triples' - term_id: any - term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - term_id: any - position_count: number - positions_aggregate: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - }> - } | null - counter_term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - term_id: any - position_count: number - positions_aggregate: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - }> - } | null - subject: { - __typename?: 'atoms' - data?: string | null - term_id: any - label?: string | null - image?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - predicate: { - __typename?: 'atoms' - data?: string | null - term_id: any - label?: string | null - image?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - object: { - __typename?: 'atoms' - data?: string | null - term_id: any - label?: string | null - image?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - } | null - } - } | null - }> - } -} - -export type GetPositionsCountQueryVariables = Exact<{ - where?: InputMaybe -}> - -export type GetPositionsCountQuery = { - __typename?: 'query_root' - positions_aggregate: { - __typename?: 'positions_aggregate' - total?: { - __typename?: 'positions_aggregate_fields' - count: number - sum?: { __typename?: 'positions_sum_fields'; shares?: any | null } | null - } | null - } -} - -export type GetPositionQueryVariables = Exact<{ - positionId: Scalars['String']['input'] -}> - -export type GetPositionQuery = { - __typename?: 'query_root' - position?: { - __typename?: 'positions' - id: string - shares: any - term_id: any - curve_id: any - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - vault?: { - __typename?: 'vaults' - term_id: any - term: { - __typename?: 'terms' - atom?: { - __typename?: 'atoms' - term_id: any - label?: string | null - image?: string | null - } | null - triple?: { - __typename?: 'triples' - term_id: any - term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - term_id: any - position_count: number - positions_aggregate: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - }> - } | null - counter_term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - term_id: any - position_count: number - positions_aggregate: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - }> - } | null - subject: { - __typename?: 'atoms' - data?: string | null - term_id: any - label?: string | null - image?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - predicate: { - __typename?: 'atoms' - data?: string | null - term_id: any - label?: string | null - image?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - object: { - __typename?: 'atoms' - data?: string | null - term_id: any - label?: string | null - image?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - } | null - } - } | null - } | null -} - -export type GetPositionsCountByTypeQueryVariables = Exact<{ - where?: InputMaybe -}> - -export type GetPositionsCountByTypeQuery = { - __typename?: 'query_root' - positions_aggregate: { - __typename?: 'positions_aggregate' - total?: { - __typename?: 'positions_aggregate_fields' - count: number - sum?: { __typename?: 'positions_sum_fields'; shares?: any | null } | null - } | null - } - positions: Array<{ - __typename?: 'positions' - vault?: { __typename?: 'vaults'; term_id: any } | null - }> -} - -export type SearchPositionsQueryVariables = Exact<{ - addresses?: InputMaybe - search_fields?: InputMaybe -}> - -export type SearchPositionsQuery = { - __typename?: 'query_root' - positions: Array<{ - __typename?: 'positions' - term: { - __typename?: 'terms' - triple?: { - __typename?: 'triples' - subject: { __typename?: 'atoms'; data?: string | null } - predicate: { __typename?: 'atoms'; data?: string | null } - object: { __typename?: 'atoms'; data?: string | null } - } | null - } - }> -} - -export type GetSignalsQueryVariables = Exact<{ - limit?: InputMaybe - offset?: InputMaybe - orderBy?: InputMaybe | Signals_Order_By> - addresses?: InputMaybe< - Array | Scalars['String']['input'] - > -}> - -export type GetSignalsQuery = { - __typename?: 'query_root' - total: { - __typename?: 'events_aggregate' - aggregate?: { __typename?: 'events_aggregate_fields'; count: number } | null - } - signals: Array<{ - __typename?: 'signals' - id: string - block_number: any - created_at: any - transaction_hash: string - atom_id?: any | null - triple_id?: any | null - deposit_id?: string | null - redemption_id?: string | null - term: { - __typename?: 'terms' - atom?: { - __typename?: 'atoms' - term_id: any - data?: string | null - image?: string | null - label?: string | null - emoji?: string | null - type: any - wallet_id: string - term: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - total_shares: any - position_count: number - positions: Array<{ - __typename?: 'positions' - account_id: string - shares: any - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - }> - }> - } - creator: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } | null - triple?: { - __typename?: 'triples' - term_id: any - creator?: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } | null - subject: { - __typename?: 'atoms' - data?: string | null - term_id: any - image?: string | null - label?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - predicate: { - __typename?: 'atoms' - data?: string | null - term_id: any - image?: string | null - label?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - object: { - __typename?: 'atoms' - data?: string | null - term_id: any - image?: string | null - label?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - total_shares: any - position_count: number - positions: Array<{ - __typename?: 'positions' - account_id: string - shares: any - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - }> - }> - } | null - counter_term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - total_shares: any - position_count: number - positions: Array<{ - __typename?: 'positions' - account_id: string - shares: any - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - }> - }> - } | null - } | null - } - deposit?: { - __typename?: 'deposits' - sender_id: string - receiver_id: string - shares_for_receiver: any - sender_assets_after_total_fees: any - sender?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - receiver: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } - vault?: { - __typename?: 'vaults' - total_shares: any - position_count: number - positions: Array<{ - __typename?: 'positions' - account_id: string - shares: any - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - }> - } | null - } | null - redemption?: { - __typename?: 'redemptions' - sender_id: string - receiver_id: string - assets_for_receiver: any - shares_redeemed_by_sender: any - sender?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - receiver: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } - } | null - }> -} - -export type AtomMetadataMaybedeletethisFragment = { - __typename?: 'atoms' - term_id: any - data?: string | null - image?: string | null - label?: string | null - emoji?: string | null - type: any - wallet_id: string - creator: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null -} - -export type GetStatsQueryVariables = Exact<{ [key: string]: never }> - -export type GetStatsQuery = { - __typename?: 'query_root' - stats: Array<{ - __typename?: 'stats' - contract_balance?: any | null - total_accounts?: number | null - total_fees?: any | null - total_atoms?: number | null - total_triples?: number | null - total_positions?: number | null - total_signals?: number | null - }> -} - -export type GetTagsQueryVariables = Exact<{ - subjectId: Scalars['numeric']['input'] - predicateId: Scalars['numeric']['input'] -}> - -export type GetTagsQuery = { - __typename?: 'query_root' - triples: Array<{ - __typename?: 'triples' - term_id: any - subject_id: any - predicate_id: any - object_id: any - subject: { - __typename?: 'atoms' - data?: string | null - term_id: any - image?: string | null - label?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - predicate: { - __typename?: 'atoms' - data?: string | null - term_id: any - image?: string | null - label?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - object: { - __typename?: 'atoms' - data?: string | null - term_id: any - image?: string | null - label?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - total_shares: any - current_share_price: any - allPositions: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - count: number - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - positions: Array<{ - __typename?: 'positions' - shares: any - account?: { - __typename?: 'accounts' - id: string - label: string - } | null - vault?: { - __typename?: 'vaults' - term_id: any - total_shares: any - current_share_price: any - } | null - }> - }> - } | null - counter_term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - total_shares: any - current_share_price: any - allPositions: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - count: number - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - positions: Array<{ - __typename?: 'positions' - shares: any - account?: { - __typename?: 'accounts' - id: string - label: string - } | null - vault?: { - __typename?: 'vaults' - term_id: any - total_shares: any - current_share_price: any - } | null - }> - }> - } | null - }> -} - -export type GetTagsCustomQueryVariables = Exact<{ - where?: InputMaybe -}> - -export type GetTagsCustomQuery = { - __typename?: 'query_root' - triples: Array<{ - __typename?: 'triples' - term_id: any - subject_id: any - predicate_id: any - object_id: any - subject: { - __typename?: 'atoms' - data?: string | null - term_id: any - image?: string | null - label?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - predicate: { - __typename?: 'atoms' - data?: string | null - term_id: any - image?: string | null - label?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - object: { - __typename?: 'atoms' - data?: string | null - term_id: any - image?: string | null - label?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - total_shares: any - current_share_price: any - allPositions: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - count: number - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - positions: Array<{ - __typename?: 'positions' - shares: any - account?: { - __typename?: 'accounts' - id: string - label: string - } | null - vault?: { - __typename?: 'vaults' - term_id: any - total_shares: any - current_share_price: any - } | null - }> - }> - } | null - counter_term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - total_shares: any - current_share_price: any - allPositions: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - count: number - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - positions: Array<{ - __typename?: 'positions' - shares: any - account?: { - __typename?: 'accounts' - id: string - label: string - } | null - vault?: { - __typename?: 'vaults' - term_id: any - total_shares: any - current_share_price: any - } | null - }> - }> - } | null - }> -} - -export type GetTriplesQueryVariables = Exact<{ - limit?: InputMaybe - offset?: InputMaybe - orderBy?: InputMaybe | Triples_Order_By> - where?: InputMaybe -}> - -export type GetTriplesQuery = { - __typename?: 'query_root' - total: { - __typename?: 'triples_aggregate' - aggregate?: { - __typename?: 'triples_aggregate_fields' - count: number - } | null - } - triples: Array<{ - __typename?: 'triples' - term_id: any - subject_id: any - predicate_id: any - object_id: any - block_number: any - created_at: any - transaction_hash: string - creator_id: string - counter_term_id: any - creator?: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } | null - subject: { - __typename?: 'atoms' - data?: string | null - term_id: any - image?: string | null - label?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - predicate: { - __typename?: 'atoms' - data?: string | null - term_id: any - image?: string | null - label?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - object: { - __typename?: 'atoms' - data?: string | null - term_id: any - image?: string | null - label?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - total_shares: any - current_share_price: any - allPositions: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - count: number - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - positions: Array<{ - __typename?: 'positions' - shares: any - id: string - term_id: any - curve_id: any - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - vault?: { - __typename?: 'vaults' - term_id: any - total_shares: any - current_share_price: any - term: { - __typename?: 'terms' - atom?: { - __typename?: 'atoms' - term_id: any - label?: string | null - image?: string | null - } | null - triple?: { - __typename?: 'triples' - term_id: any - term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - term_id: any - position_count: number - positions_aggregate: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - }> - } | null - counter_term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - term_id: any - position_count: number - positions_aggregate: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - }> - } | null - subject: { - __typename?: 'atoms' - data?: string | null - term_id: any - label?: string | null - image?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - predicate: { - __typename?: 'atoms' - data?: string | null - term_id: any - label?: string | null - image?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - object: { - __typename?: 'atoms' - data?: string | null - term_id: any - label?: string | null - image?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - } | null - } - } | null - }> - }> - } | null - counter_term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - total_shares: any - current_share_price: any - allPositions: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - count: number - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - positions: Array<{ - __typename?: 'positions' - shares: any - id: string - term_id: any - curve_id: any - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - vault?: { - __typename?: 'vaults' - term_id: any - total_shares: any - current_share_price: any - term: { - __typename?: 'terms' - atom?: { - __typename?: 'atoms' - term_id: any - label?: string | null - image?: string | null - } | null - triple?: { - __typename?: 'triples' - term_id: any - term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - term_id: any - position_count: number - positions_aggregate: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - }> - } | null - counter_term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - term_id: any - position_count: number - positions_aggregate: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - }> - } | null - subject: { - __typename?: 'atoms' - data?: string | null - term_id: any - label?: string | null - image?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - predicate: { - __typename?: 'atoms' - data?: string | null - term_id: any - label?: string | null - image?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - object: { - __typename?: 'atoms' - data?: string | null - term_id: any - label?: string | null - image?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - } | null - } - } | null - }> - }> - } | null - }> -} - -export type GetTriplesWithAggregatesQueryVariables = Exact<{ - limit?: InputMaybe - offset?: InputMaybe - orderBy?: InputMaybe | Triples_Order_By> - where?: InputMaybe -}> - -export type GetTriplesWithAggregatesQuery = { - __typename?: 'query_root' - triples_aggregate: { - __typename?: 'triples_aggregate' - aggregate?: { - __typename?: 'triples_aggregate_fields' - count: number - } | null - nodes: Array<{ - __typename?: 'triples' - term_id: any - subject_id: any - predicate_id: any - object_id: any - block_number: any - created_at: any - transaction_hash: string - creator_id: string - counter_term_id: any - creator?: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } | null - subject: { - __typename?: 'atoms' - data?: string | null - term_id: any - image?: string | null - label?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - predicate: { - __typename?: 'atoms' - data?: string | null - term_id: any - image?: string | null - label?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - object: { - __typename?: 'atoms' - data?: string | null - term_id: any - image?: string | null - label?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - total_shares: any - current_share_price: any - allPositions: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - count: number - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - positions: Array<{ - __typename?: 'positions' - shares: any - id: string - term_id: any - curve_id: any - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - vault?: { - __typename?: 'vaults' - term_id: any - total_shares: any - current_share_price: any - term: { - __typename?: 'terms' - atom?: { - __typename?: 'atoms' - term_id: any - label?: string | null - image?: string | null - } | null - triple?: { - __typename?: 'triples' - term_id: any - term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - term_id: any - position_count: number - positions_aggregate: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - }> - } | null - counter_term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - term_id: any - position_count: number - positions_aggregate: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - }> - } | null - subject: { - __typename?: 'atoms' - data?: string | null - term_id: any - label?: string | null - image?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - predicate: { - __typename?: 'atoms' - data?: string | null - term_id: any - label?: string | null - image?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - object: { - __typename?: 'atoms' - data?: string | null - term_id: any - label?: string | null - image?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - } | null - } - } | null - }> - }> - } | null - counter_term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - total_shares: any - current_share_price: any - allPositions: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - count: number - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - positions: Array<{ - __typename?: 'positions' - shares: any - id: string - term_id: any - curve_id: any - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - vault?: { - __typename?: 'vaults' - term_id: any - total_shares: any - current_share_price: any - term: { - __typename?: 'terms' - atom?: { - __typename?: 'atoms' - term_id: any - label?: string | null - image?: string | null - } | null - triple?: { - __typename?: 'triples' - term_id: any - term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - term_id: any - position_count: number - positions_aggregate: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - }> - } | null - counter_term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - term_id: any - position_count: number - positions_aggregate: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - }> - } | null - subject: { - __typename?: 'atoms' - data?: string | null - term_id: any - label?: string | null - image?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - predicate: { - __typename?: 'atoms' - data?: string | null - term_id: any - label?: string | null - image?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - object: { - __typename?: 'atoms' - data?: string | null - term_id: any - label?: string | null - image?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - } | null - } - } | null - }> - }> - } | null - }> - } -} - -export type GetTriplesCountQueryVariables = Exact<{ - where?: InputMaybe -}> - -export type GetTriplesCountQuery = { - __typename?: 'query_root' - triples_aggregate: { - __typename?: 'triples_aggregate' - total?: { __typename?: 'triples_aggregate_fields'; count: number } | null - } -} - -export type GetTripleQueryVariables = Exact<{ - tripleId: Scalars['numeric']['input'] -}> - -export type GetTripleQuery = { - __typename?: 'query_root' - triple?: { - __typename?: 'triples' - term_id: any - subject_id: any - predicate_id: any - object_id: any - block_number: any - created_at: any - transaction_hash: string - creator_id: string - counter_term_id: any - creator?: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } | null - subject: { - __typename?: 'atoms' - data?: string | null - term_id: any - image?: string | null - label?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - predicate: { - __typename?: 'atoms' - data?: string | null - term_id: any - image?: string | null - label?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - object: { - __typename?: 'atoms' - data?: string | null - term_id: any - image?: string | null - label?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - total_shares: any - current_share_price: any - allPositions: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - count: number - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - positions: Array<{ - __typename?: 'positions' - shares: any - id: string - term_id: any - curve_id: any - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - vault?: { - __typename?: 'vaults' - term_id: any - total_shares: any - current_share_price: any - term: { - __typename?: 'terms' - atom?: { - __typename?: 'atoms' - term_id: any - label?: string | null - image?: string | null - } | null - triple?: { - __typename?: 'triples' - term_id: any - term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - term_id: any - position_count: number - positions_aggregate: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - }> - } | null - counter_term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - term_id: any - position_count: number - positions_aggregate: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - }> - } | null - subject: { - __typename?: 'atoms' - data?: string | null - term_id: any - label?: string | null - image?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - predicate: { - __typename?: 'atoms' - data?: string | null - term_id: any - label?: string | null - image?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - object: { - __typename?: 'atoms' - data?: string | null - term_id: any - label?: string | null - image?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - } | null - } - } | null - }> - }> - } | null - counter_term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - total_shares: any - current_share_price: any - allPositions: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - count: number - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - positions: Array<{ - __typename?: 'positions' - shares: any - id: string - term_id: any - curve_id: any - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - vault?: { - __typename?: 'vaults' - term_id: any - total_shares: any - current_share_price: any - term: { - __typename?: 'terms' - atom?: { - __typename?: 'atoms' - term_id: any - label?: string | null - image?: string | null - } | null - triple?: { - __typename?: 'triples' - term_id: any - term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - term_id: any - position_count: number - positions_aggregate: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - }> - } | null - counter_term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - term_id: any - position_count: number - positions_aggregate: { - __typename?: 'positions_aggregate' - aggregate?: { - __typename?: 'positions_aggregate_fields' - sum?: { - __typename?: 'positions_sum_fields' - shares?: any | null - } | null - } | null - } - }> - } | null - subject: { - __typename?: 'atoms' - data?: string | null - term_id: any - label?: string | null - image?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - predicate: { - __typename?: 'atoms' - data?: string | null - term_id: any - label?: string | null - image?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - object: { - __typename?: 'atoms' - data?: string | null - term_id: any - label?: string | null - image?: string | null - emoji?: string | null - type: any - creator: { - __typename?: 'accounts' - label: string - image?: string | null - id: string - atom_id?: any | null - type: any - } - value?: { - __typename?: 'atom_values' - person?: { - __typename?: 'persons' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - thing?: { - __typename?: 'things' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - organization?: { - __typename?: 'organizations' - name?: string | null - image?: string | null - description?: string | null - url?: string | null - } | null - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - } | null - } - } | null - } - } | null - }> - }> - } | null - } | null -} - -export type GetAtomTriplesWithPositionsQueryVariables = Exact<{ - where?: InputMaybe -}> - -export type GetAtomTriplesWithPositionsQuery = { - __typename?: 'query_root' - triples_aggregate: { - __typename?: 'triples_aggregate' - aggregate?: { - __typename?: 'triples_aggregate_fields' - count: number - } | null - } -} - -export type GetTriplesWithPositionsQueryVariables = Exact<{ - limit?: InputMaybe - offset?: InputMaybe - orderBy?: InputMaybe | Triples_Order_By> - where?: InputMaybe - address?: InputMaybe -}> - -export type GetTriplesWithPositionsQuery = { - __typename?: 'query_root' - total: { - __typename?: 'triples_aggregate' - aggregate?: { - __typename?: 'triples_aggregate_fields' - count: number - } | null - } - triples: Array<{ - __typename?: 'triples' - term_id: any - counter_term_id: any - subject: { - __typename?: 'atoms' - term_id: any - label?: string | null - image?: string | null - } - predicate: { - __typename?: 'atoms' - term_id: any - label?: string | null - image?: string | null - } - object: { - __typename?: 'atoms' - term_id: any - label?: string | null - image?: string | null - } - term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - total_shares: any - position_count: number - positions: Array<{ - __typename?: 'positions' - shares: any - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - }> - }> - } | null - counter_term?: { - __typename?: 'terms' - vaults: Array<{ - __typename?: 'vaults' - total_shares: any - position_count: number - positions: Array<{ - __typename?: 'positions' - shares: any - account?: { - __typename?: 'accounts' - id: string - label: string - image?: string | null - } | null - }> - }> - } | null - }> -} - -export type FindTriplesQueryVariables = Exact<{ - where?: InputMaybe - address: Scalars['String']['input'] -}> - -export type FindTriplesQuery = { - __typename?: 'query_root' - triples: Array<{ - __typename?: 'triples' - term_id: any - subject_id: any - predicate_id: any - object_id: any - positions: Array<{ __typename?: 'positions'; shares: any }> - }> -} - -export type GetVaultsQueryVariables = Exact<{ - limit?: InputMaybe - offset?: InputMaybe - orderBy?: InputMaybe | Vaults_Order_By> - where?: InputMaybe -}> - -export type GetVaultsQuery = { - __typename?: 'query_root' - vaults_aggregate: { - __typename?: 'vaults_aggregate' - aggregate?: { __typename?: 'vaults_aggregate_fields'; count: number } | null - nodes: Array<{ - __typename?: 'vaults' - term_id: any - current_share_price: any - total_shares: any - term: { - __typename?: 'terms' - atom?: { - __typename?: 'atoms' - term_id: any - label?: string | null - } | null - triple?: { - __typename?: 'triples' - term_id: any - subject: { __typename?: 'atoms'; term_id: any; label?: string | null } - predicate: { - __typename?: 'atoms' - term_id: any - label?: string | null - } - object: { __typename?: 'atoms'; term_id: any; label?: string | null } - } | null - } - positions_aggregate: { - __typename?: 'positions_aggregate' - nodes: Array<{ - __typename?: 'positions' - shares: any - account?: { - __typename?: 'accounts' - atom_id?: any | null - label: string - } | null - }> - } - }> - } -} - -export type GetVaultQueryVariables = Exact<{ - termId: Scalars['numeric']['input'] - curveId: Scalars['numeric']['input'] -}> - -export type GetVaultQuery = { - __typename?: 'query_root' - vault?: { - __typename?: 'vaults' - term_id: any - curve_id: any - current_share_price: any - total_shares: any - term: { - __typename?: 'terms' - atom?: { - __typename?: 'atoms' - term_id: any - label?: string | null - } | null - triple?: { - __typename?: 'triples' - term_id: any - subject: { __typename?: 'atoms'; term_id: any; label?: string | null } - predicate: { __typename?: 'atoms'; term_id: any; label?: string | null } - object: { __typename?: 'atoms'; term_id: any; label?: string | null } - } | null - } - } | null -} - -export const AccountPositionsAggregateFragmentDoc = ` - fragment AccountPositionsAggregate on accounts { - positions_aggregate(order_by: {shares: desc}) { - aggregate { - count - } - nodes { - id - shares - vault { - term_id - total_shares - current_share_price - term { - atom { - term_id - label - } - triple { - term_id - } - } - } - } - } -} - ` -export const AccountPositionsFragmentDoc = ` - fragment AccountPositions on accounts { - positions( - order_by: {shares: desc} - limit: $positionsLimit - offset: $positionsOffset - where: $positionsWhere - ) { - id - shares - vault { - term_id - total_shares - current_share_price - term { - atom { - term_id - label - } - triple { - term_id - } - } - } - } -} - ` -export const AccountAtomsFragmentDoc = ` - fragment AccountAtoms on accounts { - atoms( - where: $atomsWhere - order_by: $atomsOrderBy - limit: $atomsLimit - offset: $atomsOffset - ) { - term_id - label - data - term { - vaults(where: {curve_id: {_eq: "1"}}) { - total_shares - positions_aggregate(where: {account_id: {_eq: $address}}) { - nodes { - account { - id - } - shares - } - } - } - } - } -} - ` -export const AccountAtomsAggregateFragmentDoc = ` - fragment AccountAtomsAggregate on accounts { - atoms_aggregate( - where: $atomsWhere - order_by: $atomsOrderBy - limit: $atomsLimit - offset: $atomsOffset - ) { - aggregate { - count - sum { - term_id - } - } - nodes { - term_id - label - data - term { - vaults(where: {curve_id: {_eq: "1"}}) { - total_shares - positions_aggregate(where: {account_id: {_eq: $address}}) { - nodes { - account { - id - } - shares - } - } - } - } - } - } -} - ` -export const AccountTriplesFragmentDoc = ` - fragment AccountTriples on accounts { - triples_aggregate( - where: $triplesWhere - order_by: $triplesOrderBy - limit: $triplesLimit - offset: $triplesOffset - ) { - aggregate { - count - } - nodes { - term_id - subject { - term_id - label - } - predicate { - term_id - label - } - object { - term_id - label - } - } - } -} - ` -export const AccountTriplesAggregateFragmentDoc = ` - fragment AccountTriplesAggregate on accounts { - triples_aggregate( - where: $triplesWhere - order_by: $triplesOrderBy - limit: $triplesLimit - offset: $triplesOffset - ) { - aggregate { - count - } - nodes { - term_id - subject { - term_id - label - } - predicate { - term_id - label - } - object { - term_id - label - } - } - } -} - ` -export const AtomTxnFragmentDoc = ` - fragment AtomTxn on atoms { - block_number - created_at - transaction_hash - creator_id -} - ` -export const AtomVaultDetailsFragmentDoc = ` - fragment AtomVaultDetails on atoms { - term_id - wallet_id - term { - vaults(where: {curve_id: {_eq: "1"}}) { - position_count - total_shares - current_share_price - positions_aggregate { - aggregate { - count - sum { - shares - } - } - } - positions { - id - account { - label - id - } - shares - } - } - } -} - ` -export const AccountMetadataFragmentDoc = ` - fragment AccountMetadata on accounts { - label - image - id - atom_id - type -} - ` -export const AtomTripleFragmentDoc = ` - fragment AtomTriple on atoms { - as_subject_triples { - term_id - object { - data - term_id - image - label - emoji - type - creator { - ...AccountMetadata - } - } - predicate { - data - term_id - image - label - emoji - type - creator { - ...AccountMetadata - } - } - } - as_predicate_triples { - term_id - subject { - data - term_id - image - label - emoji - type - creator { - ...AccountMetadata - } - } - object { - data - term_id - image - label - emoji - type - creator { - ...AccountMetadata - } - } - } - as_object_triples { - term_id - subject { - data - term_id - image - label - emoji - type - creator { - ...AccountMetadata - } - } - predicate { - data - term_id - image - label - emoji - type - creator { - ...AccountMetadata - } - } - } -} - ` -export const AtomVaultDetailsWithPositionsFragmentDoc = ` - fragment AtomVaultDetailsWithPositions on atoms { - term { - vaults(where: {curve_id: {_eq: "1"}}) { - total_shares - current_share_price - positions_aggregate(where: {account_id: {_in: $addresses}}) { - aggregate { - sum { - shares - } - } - nodes { - account { - id - } - shares - } - } - } - } -} - ` -export const DepositEventFragmentFragmentDoc = ` - fragment DepositEventFragment on events { - deposit { - term_id - curve_id - sender_assets_after_total_fees - shares_for_receiver - receiver { - id - } - sender { - id - } - } -} - ` -export const RedemptionEventFragmentFragmentDoc = ` - fragment RedemptionEventFragment on events { - redemption { - term_id - curve_id - receiver_id - shares_redeemed_by_sender - assets_for_receiver - } -} - ` -export const AtomValueFragmentDoc = ` - fragment AtomValue on atoms { - value { - person { - name - image - description - url - } - thing { - name - image - description - url - } - organization { - name - image - description - url - } - account { - id - label - image - } - } -} - ` -export const AtomMetadataFragmentDoc = ` - fragment AtomMetadata on atoms { - term_id - data - image - label - emoji - type - wallet_id - creator { - id - label - image - } - ...AtomValue -} - ` -export const PositionAggregateFieldsFragmentDoc = ` - fragment PositionAggregateFields on positions_aggregate { - aggregate { - count - sum { - shares - } - } -} - ` -export const PositionFieldsFragmentDoc = ` - fragment PositionFields on positions { - account { - id - label - } - shares - vault { - term_id - total_shares - current_share_price - } -} - ` -export const TripleMetadataFragmentDoc = ` - fragment TripleMetadata on triples { - term_id - subject_id - predicate_id - object_id - subject { - data - term_id - image - label - emoji - type - ...AtomValue - creator { - ...AccountMetadata - } - } - predicate { - data - term_id - image - label - emoji - type - ...AtomValue - creator { - ...AccountMetadata - } - } - object { - data - term_id - image - label - emoji - type - ...AtomValue - creator { - ...AccountMetadata - } - } - term { - vaults(where: {curve_id: {_eq: "1"}}) { - total_shares - current_share_price - allPositions: positions_aggregate { - ...PositionAggregateFields - } - positions { - ...PositionFields - } - } - } - counter_term { - vaults(where: {curve_id: {_eq: "1"}}) { - total_shares - current_share_price - allPositions: positions_aggregate { - ...PositionAggregateFields - } - positions { - ...PositionFields - } - } - } -} - ` -export const EventDetailsFragmentDoc = ` - fragment EventDetails on events { - block_number - created_at - type - transaction_hash - atom_id - triple_id - deposit_id - redemption_id - ...DepositEventFragment - ...RedemptionEventFragment - atom { - ...AtomMetadata - term { - vaults(where: {curve_id: {_eq: "1"}}) { - total_shares - position_count - positions { - account_id - shares - account { - id - label - image - } - } - } - } - } - triple { - ...TripleMetadata - term { - vaults(where: {curve_id: {_eq: "1"}}) { - total_shares - position_count - positions { - account_id - shares - account { - id - label - image - } - } - } - } - counter_term { - vaults(where: {curve_id: {_eq: "1"}}) { - total_shares - position_count - positions { - account_id - shares - account { - id - label - image - } - } - } - } - } -} - ` -export const FollowMetadataFragmentDoc = ` - fragment FollowMetadata on triples { - term_id - subject { - term_id - label - } - predicate { - term_id - label - } - object { - term_id - label - } - term { - vaults(where: {curve_id: {_eq: "1"}}) { - term_id - total_shares - current_share_price - positions_aggregate(where: $positionsWhere) { - aggregate { - count - sum { - shares - } - } - } - positions( - limit: $positionsLimit - offset: $positionsOffset - order_by: $positionsOrderBy - where: $positionsWhere - ) { - account { - id - label - } - shares - } - } - } -} - ` -export const FollowAggregateFragmentDoc = ` - fragment FollowAggregate on triples_aggregate { - aggregate { - count - } -} - ` -export const StatDetailsFragmentDoc = ` - fragment StatDetails on stats { - contract_balance - total_accounts - total_fees - total_atoms - total_triples - total_positions - total_signals -} - ` -export const TripleTxnFragmentDoc = ` - fragment TripleTxn on triples { - block_number - created_at - transaction_hash - creator_id -} - ` -export const PositionDetailsFragmentDoc = ` - fragment PositionDetails on positions { - id - account { - id - label - image - } - vault { - term_id - term { - atom { - term_id - label - image - } - triple { - term_id - term { - vaults(where: {curve_id: {_eq: "1"}}) { - term_id - position_count - positions_aggregate { - aggregate { - sum { - shares - } - } - } - } - } - counter_term { - vaults(where: {curve_id: {_eq: "1"}}) { - term_id - position_count - positions_aggregate { - aggregate { - sum { - shares - } - } - } - } - } - subject { - data - term_id - label - image - emoji - type - ...AtomValue - creator { - ...AccountMetadata - } - } - predicate { - data - term_id - label - image - emoji - type - ...AtomValue - creator { - ...AccountMetadata - } - } - object { - data - term_id - label - image - emoji - type - ...AtomValue - creator { - ...AccountMetadata - } - } - } - } - } - shares - term_id - curve_id -} - ` -export const TripleVaultDetailsFragmentDoc = ` - fragment TripleVaultDetails on triples { - term_id - counter_term_id - term { - vaults(where: {curve_id: {_eq: "1"}}) { - positions { - ...PositionDetails - } - } - } - counter_term { - vaults(where: {curve_id: {_eq: "1"}}) { - positions { - ...PositionDetails - } - } - } -} - ` -export const VaultBasicDetailsFragmentDoc = ` - fragment VaultBasicDetails on vaults { - term_id - curve_id - term { - atom { - term_id - label - } - triple { - term_id - subject { - term_id - label - } - predicate { - term_id - label - } - object { - term_id - label - } - } - } - current_share_price - total_shares -} - ` -export const VaultFilteredPositionsFragmentDoc = ` - fragment VaultFilteredPositions on vaults { - positions(where: {account_id: {_in: $addresses}}) { - ...PositionFields - } -} - ` -export const VaultDetailsWithFilteredPositionsFragmentDoc = ` - fragment VaultDetailsWithFilteredPositions on vaults { - ...VaultBasicDetails - ...VaultFilteredPositions -} - ` -export const TripleVaultCouterVaultDetailsWithPositionsFragmentDoc = ` - fragment TripleVaultCouterVaultDetailsWithPositions on triples { - term_id - counter_term_id - term { - vaults(where: {curve_id: {_eq: "1"}}) { - ...VaultDetailsWithFilteredPositions - } - } - counter_term { - vaults(where: {curve_id: {_eq: "1"}}) { - ...VaultDetailsWithFilteredPositions - } - } -} - ` -export const VaultUnfilteredPositionsFragmentDoc = ` - fragment VaultUnfilteredPositions on vaults { - positions { - ...PositionFields - } -} - ` -export const VaultDetailsFragmentDoc = ` - fragment VaultDetails on vaults { - ...VaultBasicDetails -} - ` -export const VaultPositionsAggregateFragmentDoc = ` - fragment VaultPositionsAggregate on vaults { - positions_aggregate { - ...PositionAggregateFields - } -} - ` -export const VaultFieldsForTripleFragmentDoc = ` - fragment VaultFieldsForTriple on vaults { - total_shares - current_share_price - ...VaultPositionsAggregate - ...VaultFilteredPositions -} - ` -export const AtomMetadataMaybedeletethisFragmentDoc = ` - fragment AtomMetadataMAYBEDELETETHIS on atoms { - term_id - data - image - label - emoji - type - wallet_id - creator { - id - label - image - } - ...AtomValue -} - ` -export const PinThingDocument = ` - mutation pinThing($name: String!, $description: String, $image: String, $url: String) { - pinThing( - thing: {description: $description, image: $image, name: $name, url: $url} - ) { - uri - } -} - ` - -export const usePinThingMutation = ( - options?: UseMutationOptions< - PinThingMutation, - TError, - PinThingMutationVariables, - TContext - >, -) => { - return useMutation< - PinThingMutation, - TError, - PinThingMutationVariables, - TContext - >({ - mutationKey: ['pinThing'], - mutationFn: (variables?: PinThingMutationVariables) => - fetcher( - PinThingDocument, - variables, - )(), - ...options, - }) -} - -usePinThingMutation.getKey = () => ['pinThing'] - -usePinThingMutation.fetcher = ( - variables: PinThingMutationVariables, - options?: RequestInit['headers'], -) => - fetcher( - PinThingDocument, - variables, - options, - ) - -export const GetAccountsDocument = ` - query GetAccounts($limit: Int, $offset: Int, $orderBy: [accounts_order_by!], $where: accounts_bool_exp, $positionsLimit: Int, $positionsOffset: Int, $positionsWhere: positions_bool_exp) { - accounts(limit: $limit, offset: $offset, order_by: $orderBy, where: $where) { - ...AccountMetadata - ...AccountPositions - atom { - term_id - wallet_id - term { - vaults(where: {curve_id: {_eq: "1"}}) { - position_count - total_shares - positions_aggregate { - aggregate { - count - sum { - shares - } - } - } - positions { - id - account { - label - id - } - shares - } - } - } - } - } -} - ${AccountMetadataFragmentDoc} -${AccountPositionsFragmentDoc}` - -export const useGetAccountsQuery = ( - variables?: GetAccountsQueryVariables, - options?: Omit< - UseQueryOptions, - 'queryKey' - > & { - queryKey?: UseQueryOptions['queryKey'] - }, -) => { - return useQuery({ - queryKey: - variables === undefined ? ['GetAccounts'] : ['GetAccounts', variables], - queryFn: fetcher( - GetAccountsDocument, - variables, - ), - ...options, - }) -} - -useGetAccountsQuery.document = GetAccountsDocument - -useGetAccountsQuery.getKey = (variables?: GetAccountsQueryVariables) => - variables === undefined ? ['GetAccounts'] : ['GetAccounts', variables] - -export const useInfiniteGetAccountsQuery = < - TData = InfiniteData, - TError = unknown, ->( - variables: GetAccountsQueryVariables, - options: Omit< - UseInfiniteQueryOptions, - 'queryKey' - > & { - queryKey?: UseInfiniteQueryOptions< - GetAccountsQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useInfiniteQuery( - (() => { - const { queryKey: optionsQueryKey, ...restOptions } = options - return { - queryKey: - optionsQueryKey ?? variables === undefined - ? ['GetAccounts.infinite'] - : ['GetAccounts.infinite', variables], - queryFn: (metaData) => - fetcher( - GetAccountsDocument, - { ...variables, ...(metaData.pageParam ?? {}) }, - )(), - ...restOptions, - } - })(), - ) -} - -useInfiniteGetAccountsQuery.getKey = (variables?: GetAccountsQueryVariables) => - variables === undefined - ? ['GetAccounts.infinite'] - : ['GetAccounts.infinite', variables] - -useGetAccountsQuery.fetcher = ( - variables?: GetAccountsQueryVariables, - options?: RequestInit['headers'], -) => - fetcher( - GetAccountsDocument, - variables, - options, - ) - -export const GetAccountsWithAggregatesDocument = ` - query GetAccountsWithAggregates($limit: Int, $offset: Int, $orderBy: [accounts_order_by!], $where: accounts_bool_exp, $positionsLimit: Int, $positionsOffset: Int, $positionsWhere: positions_bool_exp, $atomsWhere: atoms_bool_exp, $atomsOrderBy: [atoms_order_by!], $atomsLimit: Int, $atomsOffset: Int) { - accounts_aggregate( - limit: $limit - offset: $offset - order_by: $orderBy - where: $where - ) { - aggregate { - count - } - nodes { - ...AccountMetadata - ...AccountPositions - } - } -} - ${AccountMetadataFragmentDoc} -${AccountPositionsFragmentDoc}` - -export const useGetAccountsWithAggregatesQuery = < - TData = GetAccountsWithAggregatesQuery, - TError = unknown, ->( - variables?: GetAccountsWithAggregatesQueryVariables, - options?: Omit< - UseQueryOptions, - 'queryKey' - > & { - queryKey?: UseQueryOptions< - GetAccountsWithAggregatesQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useQuery({ - queryKey: - variables === undefined - ? ['GetAccountsWithAggregates'] - : ['GetAccountsWithAggregates', variables], - queryFn: fetcher< - GetAccountsWithAggregatesQuery, - GetAccountsWithAggregatesQueryVariables - >(GetAccountsWithAggregatesDocument, variables), - ...options, - }) -} - -useGetAccountsWithAggregatesQuery.document = GetAccountsWithAggregatesDocument - -useGetAccountsWithAggregatesQuery.getKey = ( - variables?: GetAccountsWithAggregatesQueryVariables, -) => - variables === undefined - ? ['GetAccountsWithAggregates'] - : ['GetAccountsWithAggregates', variables] - -export const useInfiniteGetAccountsWithAggregatesQuery = < - TData = InfiniteData, - TError = unknown, ->( - variables: GetAccountsWithAggregatesQueryVariables, - options: Omit< - UseInfiniteQueryOptions, - 'queryKey' - > & { - queryKey?: UseInfiniteQueryOptions< - GetAccountsWithAggregatesQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useInfiniteQuery( - (() => { - const { queryKey: optionsQueryKey, ...restOptions } = options - return { - queryKey: - optionsQueryKey ?? variables === undefined - ? ['GetAccountsWithAggregates.infinite'] - : ['GetAccountsWithAggregates.infinite', variables], - queryFn: (metaData) => - fetcher< - GetAccountsWithAggregatesQuery, - GetAccountsWithAggregatesQueryVariables - >(GetAccountsWithAggregatesDocument, { - ...variables, - ...(metaData.pageParam ?? {}), - })(), - ...restOptions, - } - })(), - ) -} - -useInfiniteGetAccountsWithAggregatesQuery.getKey = ( - variables?: GetAccountsWithAggregatesQueryVariables, -) => - variables === undefined - ? ['GetAccountsWithAggregates.infinite'] - : ['GetAccountsWithAggregates.infinite', variables] - -useGetAccountsWithAggregatesQuery.fetcher = ( - variables?: GetAccountsWithAggregatesQueryVariables, - options?: RequestInit['headers'], -) => - fetcher< - GetAccountsWithAggregatesQuery, - GetAccountsWithAggregatesQueryVariables - >(GetAccountsWithAggregatesDocument, variables, options) - -export const GetAccountsCountDocument = ` - query GetAccountsCount($where: accounts_bool_exp) { - accounts_aggregate(where: $where) { - aggregate { - count - } - } -} - ` - -export const useGetAccountsCountQuery = < - TData = GetAccountsCountQuery, - TError = unknown, ->( - variables?: GetAccountsCountQueryVariables, - options?: Omit< - UseQueryOptions, - 'queryKey' - > & { - queryKey?: UseQueryOptions['queryKey'] - }, -) => { - return useQuery({ - queryKey: - variables === undefined - ? ['GetAccountsCount'] - : ['GetAccountsCount', variables], - queryFn: fetcher( - GetAccountsCountDocument, - variables, - ), - ...options, - }) -} - -useGetAccountsCountQuery.document = GetAccountsCountDocument - -useGetAccountsCountQuery.getKey = ( - variables?: GetAccountsCountQueryVariables, -) => - variables === undefined - ? ['GetAccountsCount'] - : ['GetAccountsCount', variables] - -export const useInfiniteGetAccountsCountQuery = < - TData = InfiniteData, - TError = unknown, ->( - variables: GetAccountsCountQueryVariables, - options: Omit< - UseInfiniteQueryOptions, - 'queryKey' - > & { - queryKey?: UseInfiniteQueryOptions< - GetAccountsCountQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useInfiniteQuery( - (() => { - const { queryKey: optionsQueryKey, ...restOptions } = options - return { - queryKey: - optionsQueryKey ?? variables === undefined - ? ['GetAccountsCount.infinite'] - : ['GetAccountsCount.infinite', variables], - queryFn: (metaData) => - fetcher( - GetAccountsCountDocument, - { ...variables, ...(metaData.pageParam ?? {}) }, - )(), - ...restOptions, - } - })(), - ) -} - -useInfiniteGetAccountsCountQuery.getKey = ( - variables?: GetAccountsCountQueryVariables, -) => - variables === undefined - ? ['GetAccountsCount.infinite'] - : ['GetAccountsCount.infinite', variables] - -useGetAccountsCountQuery.fetcher = ( - variables?: GetAccountsCountQueryVariables, - options?: RequestInit['headers'], -) => - fetcher( - GetAccountsCountDocument, - variables, - options, - ) - -export const GetAccountDocument = ` - query GetAccount($address: String!, $positionsLimit: Int, $positionsOffset: Int, $positionsWhere: positions_bool_exp, $atomsWhere: atoms_bool_exp, $atomsOrderBy: [atoms_order_by!], $atomsLimit: Int, $atomsOffset: Int, $triplesWhere: triples_bool_exp, $triplesOrderBy: [triples_order_by!], $triplesLimit: Int, $triplesOffset: Int) { - account(id: $address) { - ...AccountMetadata - atom { - ...AtomMetadata - ...AtomVaultDetails - } - ...AccountPositions - ...AccountAtoms - ...AccountTriples - } - chainlink_prices(limit: 1, order_by: {id: desc}) { - usd - } -} - ${AccountMetadataFragmentDoc} -${AtomMetadataFragmentDoc} -${AtomValueFragmentDoc} -${AtomVaultDetailsFragmentDoc} -${AccountPositionsFragmentDoc} -${AccountAtomsFragmentDoc} -${AccountTriplesFragmentDoc}` - -export const useGetAccountQuery = ( - variables: GetAccountQueryVariables, - options?: Omit< - UseQueryOptions, - 'queryKey' - > & { - queryKey?: UseQueryOptions['queryKey'] - }, -) => { - return useQuery({ - queryKey: ['GetAccount', variables], - queryFn: fetcher( - GetAccountDocument, - variables, - ), - ...options, - }) -} - -useGetAccountQuery.document = GetAccountDocument - -useGetAccountQuery.getKey = (variables: GetAccountQueryVariables) => [ - 'GetAccount', - variables, -] - -export const useInfiniteGetAccountQuery = < - TData = InfiniteData, - TError = unknown, ->( - variables: GetAccountQueryVariables, - options: Omit< - UseInfiniteQueryOptions, - 'queryKey' - > & { - queryKey?: UseInfiniteQueryOptions< - GetAccountQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useInfiniteQuery( - (() => { - const { queryKey: optionsQueryKey, ...restOptions } = options - return { - queryKey: optionsQueryKey ?? ['GetAccount.infinite', variables], - queryFn: (metaData) => - fetcher( - GetAccountDocument, - { ...variables, ...(metaData.pageParam ?? {}) }, - )(), - ...restOptions, - } - })(), - ) -} - -useInfiniteGetAccountQuery.getKey = (variables: GetAccountQueryVariables) => [ - 'GetAccount.infinite', - variables, -] - -useGetAccountQuery.fetcher = ( - variables: GetAccountQueryVariables, - options?: RequestInit['headers'], -) => - fetcher( - GetAccountDocument, - variables, - options, - ) - -export const GetAccountWithPaginatedRelationsDocument = ` - query GetAccountWithPaginatedRelations($address: String!, $positionsLimit: Int, $positionsOffset: Int, $positionsWhere: positions_bool_exp, $atomsLimit: Int, $atomsOffset: Int, $atomsWhere: atoms_bool_exp, $atomsOrderBy: [atoms_order_by!], $triplesLimit: Int, $triplesOffset: Int, $triplesWhere: triples_bool_exp, $triplesOrderBy: [triples_order_by!]) { - account(id: $address) { - ...AccountMetadata - ...AccountPositions - ...AccountAtoms - ...AccountTriples - } -} - ${AccountMetadataFragmentDoc} -${AccountPositionsFragmentDoc} -${AccountAtomsFragmentDoc} -${AccountTriplesFragmentDoc}` - -export const useGetAccountWithPaginatedRelationsQuery = < - TData = GetAccountWithPaginatedRelationsQuery, - TError = unknown, ->( - variables: GetAccountWithPaginatedRelationsQueryVariables, - options?: Omit< - UseQueryOptions, - 'queryKey' - > & { - queryKey?: UseQueryOptions< - GetAccountWithPaginatedRelationsQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useQuery({ - queryKey: ['GetAccountWithPaginatedRelations', variables], - queryFn: fetcher< - GetAccountWithPaginatedRelationsQuery, - GetAccountWithPaginatedRelationsQueryVariables - >(GetAccountWithPaginatedRelationsDocument, variables), - ...options, - }) -} - -useGetAccountWithPaginatedRelationsQuery.document = - GetAccountWithPaginatedRelationsDocument - -useGetAccountWithPaginatedRelationsQuery.getKey = ( - variables: GetAccountWithPaginatedRelationsQueryVariables, -) => ['GetAccountWithPaginatedRelations', variables] - -export const useInfiniteGetAccountWithPaginatedRelationsQuery = < - TData = InfiniteData, - TError = unknown, ->( - variables: GetAccountWithPaginatedRelationsQueryVariables, - options: Omit< - UseInfiniteQueryOptions< - GetAccountWithPaginatedRelationsQuery, - TError, - TData - >, - 'queryKey' - > & { - queryKey?: UseInfiniteQueryOptions< - GetAccountWithPaginatedRelationsQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useInfiniteQuery( - (() => { - const { queryKey: optionsQueryKey, ...restOptions } = options - return { - queryKey: optionsQueryKey ?? [ - 'GetAccountWithPaginatedRelations.infinite', - variables, - ], - queryFn: (metaData) => - fetcher< - GetAccountWithPaginatedRelationsQuery, - GetAccountWithPaginatedRelationsQueryVariables - >(GetAccountWithPaginatedRelationsDocument, { - ...variables, - ...(metaData.pageParam ?? {}), - })(), - ...restOptions, - } - })(), - ) -} - -useInfiniteGetAccountWithPaginatedRelationsQuery.getKey = ( - variables: GetAccountWithPaginatedRelationsQueryVariables, -) => ['GetAccountWithPaginatedRelations.infinite', variables] - -useGetAccountWithPaginatedRelationsQuery.fetcher = ( - variables: GetAccountWithPaginatedRelationsQueryVariables, - options?: RequestInit['headers'], -) => - fetcher< - GetAccountWithPaginatedRelationsQuery, - GetAccountWithPaginatedRelationsQueryVariables - >(GetAccountWithPaginatedRelationsDocument, variables, options) - -export const GetAccountWithAggregatesDocument = ` - query GetAccountWithAggregates($address: String!, $positionsLimit: Int, $positionsOffset: Int, $positionsWhere: positions_bool_exp, $atomsWhere: atoms_bool_exp, $atomsOrderBy: [atoms_order_by!], $atomsLimit: Int, $atomsOffset: Int, $triplesWhere: triples_bool_exp, $triplesOrderBy: [triples_order_by!], $triplesLimit: Int, $triplesOffset: Int) { - account(id: $address) { - ...AccountMetadata - ...AccountPositionsAggregate - ...AccountAtomsAggregate - ...AccountTriplesAggregate - } -} - ${AccountMetadataFragmentDoc} -${AccountPositionsAggregateFragmentDoc} -${AccountAtomsAggregateFragmentDoc} -${AccountTriplesAggregateFragmentDoc}` - -export const useGetAccountWithAggregatesQuery = < - TData = GetAccountWithAggregatesQuery, - TError = unknown, ->( - variables: GetAccountWithAggregatesQueryVariables, - options?: Omit< - UseQueryOptions, - 'queryKey' - > & { - queryKey?: UseQueryOptions< - GetAccountWithAggregatesQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useQuery({ - queryKey: ['GetAccountWithAggregates', variables], - queryFn: fetcher< - GetAccountWithAggregatesQuery, - GetAccountWithAggregatesQueryVariables - >(GetAccountWithAggregatesDocument, variables), - ...options, - }) -} - -useGetAccountWithAggregatesQuery.document = GetAccountWithAggregatesDocument - -useGetAccountWithAggregatesQuery.getKey = ( - variables: GetAccountWithAggregatesQueryVariables, -) => ['GetAccountWithAggregates', variables] - -export const useInfiniteGetAccountWithAggregatesQuery = < - TData = InfiniteData, - TError = unknown, ->( - variables: GetAccountWithAggregatesQueryVariables, - options: Omit< - UseInfiniteQueryOptions, - 'queryKey' - > & { - queryKey?: UseInfiniteQueryOptions< - GetAccountWithAggregatesQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useInfiniteQuery( - (() => { - const { queryKey: optionsQueryKey, ...restOptions } = options - return { - queryKey: optionsQueryKey ?? [ - 'GetAccountWithAggregates.infinite', - variables, - ], - queryFn: (metaData) => - fetcher< - GetAccountWithAggregatesQuery, - GetAccountWithAggregatesQueryVariables - >(GetAccountWithAggregatesDocument, { - ...variables, - ...(metaData.pageParam ?? {}), - })(), - ...restOptions, - } - })(), - ) -} - -useInfiniteGetAccountWithAggregatesQuery.getKey = ( - variables: GetAccountWithAggregatesQueryVariables, -) => ['GetAccountWithAggregates.infinite', variables] - -useGetAccountWithAggregatesQuery.fetcher = ( - variables: GetAccountWithAggregatesQueryVariables, - options?: RequestInit['headers'], -) => - fetcher< - GetAccountWithAggregatesQuery, - GetAccountWithAggregatesQueryVariables - >(GetAccountWithAggregatesDocument, variables, options) - -export const GetAccountMetadataDocument = ` - query GetAccountMetadata($address: String!) { - account(id: $address) { - ...AccountMetadata - atom { - ...AtomMetadata - } - } -} - ${AccountMetadataFragmentDoc} -${AtomMetadataFragmentDoc} -${AtomValueFragmentDoc}` - -export const useGetAccountMetadataQuery = < - TData = GetAccountMetadataQuery, - TError = unknown, ->( - variables: GetAccountMetadataQueryVariables, - options?: Omit< - UseQueryOptions, - 'queryKey' - > & { - queryKey?: UseQueryOptions< - GetAccountMetadataQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useQuery({ - queryKey: ['GetAccountMetadata', variables], - queryFn: fetcher( - GetAccountMetadataDocument, - variables, - ), - ...options, - }) -} - -useGetAccountMetadataQuery.document = GetAccountMetadataDocument - -useGetAccountMetadataQuery.getKey = ( - variables: GetAccountMetadataQueryVariables, -) => ['GetAccountMetadata', variables] - -export const useInfiniteGetAccountMetadataQuery = < - TData = InfiniteData, - TError = unknown, ->( - variables: GetAccountMetadataQueryVariables, - options: Omit< - UseInfiniteQueryOptions, - 'queryKey' - > & { - queryKey?: UseInfiniteQueryOptions< - GetAccountMetadataQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useInfiniteQuery( - (() => { - const { queryKey: optionsQueryKey, ...restOptions } = options - return { - queryKey: optionsQueryKey ?? ['GetAccountMetadata.infinite', variables], - queryFn: (metaData) => - fetcher( - GetAccountMetadataDocument, - { ...variables, ...(metaData.pageParam ?? {}) }, - )(), - ...restOptions, - } - })(), - ) -} - -useInfiniteGetAccountMetadataQuery.getKey = ( - variables: GetAccountMetadataQueryVariables, -) => ['GetAccountMetadata.infinite', variables] - -useGetAccountMetadataQuery.fetcher = ( - variables: GetAccountMetadataQueryVariables, - options?: RequestInit['headers'], -) => - fetcher( - GetAccountMetadataDocument, - variables, - options, - ) - -export const GetAtomsDocument = ` - query GetAtoms($limit: Int, $offset: Int, $orderBy: [atoms_order_by!], $where: atoms_bool_exp) { - total: atoms_aggregate(where: $where) { - aggregate { - count - } - } - atoms(limit: $limit, offset: $offset, order_by: $orderBy, where: $where) { - ...AtomMetadata - ...AtomTxn - ...AtomVaultDetails - ...AtomTriple - creator { - ...AccountMetadata - } - } -} - ${AtomMetadataFragmentDoc} -${AtomValueFragmentDoc} -${AtomTxnFragmentDoc} -${AtomVaultDetailsFragmentDoc} -${AtomTripleFragmentDoc} -${AccountMetadataFragmentDoc}` - -export const useGetAtomsQuery = ( - variables?: GetAtomsQueryVariables, - options?: Omit, 'queryKey'> & { - queryKey?: UseQueryOptions['queryKey'] - }, -) => { - return useQuery({ - queryKey: variables === undefined ? ['GetAtoms'] : ['GetAtoms', variables], - queryFn: fetcher( - GetAtomsDocument, - variables, - ), - ...options, - }) -} - -useGetAtomsQuery.document = GetAtomsDocument - -useGetAtomsQuery.getKey = (variables?: GetAtomsQueryVariables) => - variables === undefined ? ['GetAtoms'] : ['GetAtoms', variables] - -export const useInfiniteGetAtomsQuery = < - TData = InfiniteData, - TError = unknown, ->( - variables: GetAtomsQueryVariables, - options: Omit< - UseInfiniteQueryOptions, - 'queryKey' - > & { - queryKey?: UseInfiniteQueryOptions['queryKey'] - }, -) => { - return useInfiniteQuery( - (() => { - const { queryKey: optionsQueryKey, ...restOptions } = options - return { - queryKey: - optionsQueryKey ?? variables === undefined - ? ['GetAtoms.infinite'] - : ['GetAtoms.infinite', variables], - queryFn: (metaData) => - fetcher(GetAtomsDocument, { - ...variables, - ...(metaData.pageParam ?? {}), - })(), - ...restOptions, - } - })(), - ) -} - -useInfiniteGetAtomsQuery.getKey = (variables?: GetAtomsQueryVariables) => - variables === undefined - ? ['GetAtoms.infinite'] - : ['GetAtoms.infinite', variables] - -useGetAtomsQuery.fetcher = ( - variables?: GetAtomsQueryVariables, - options?: RequestInit['headers'], -) => - fetcher( - GetAtomsDocument, - variables, - options, - ) - -export const GetAtomsWithPositionsDocument = ` - query GetAtomsWithPositions($limit: Int, $offset: Int, $orderBy: [atoms_order_by!], $where: atoms_bool_exp, $address: String) { - total: atoms_aggregate(where: $where) { - aggregate { - count - } - } - atoms(limit: $limit, offset: $offset, order_by: $orderBy, where: $where) { - ...AtomMetadata - ...AtomTxn - term { - vaults(where: {curve_id: {_eq: "1"}}) { - position_count - total_shares - current_share_price - total: positions_aggregate { - aggregate { - count - sum { - shares - } - } - } - positions(where: {account_id: {_ilike: $address}}) { - id - account { - label - id - } - shares - } - } - } - creator { - ...AccountMetadata - } - } -} - ${AtomMetadataFragmentDoc} -${AtomValueFragmentDoc} -${AtomTxnFragmentDoc} -${AccountMetadataFragmentDoc}` - -export const useGetAtomsWithPositionsQuery = < - TData = GetAtomsWithPositionsQuery, - TError = unknown, ->( - variables?: GetAtomsWithPositionsQueryVariables, - options?: Omit< - UseQueryOptions, - 'queryKey' - > & { - queryKey?: UseQueryOptions< - GetAtomsWithPositionsQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useQuery({ - queryKey: - variables === undefined - ? ['GetAtomsWithPositions'] - : ['GetAtomsWithPositions', variables], - queryFn: fetcher< - GetAtomsWithPositionsQuery, - GetAtomsWithPositionsQueryVariables - >(GetAtomsWithPositionsDocument, variables), - ...options, - }) -} - -useGetAtomsWithPositionsQuery.document = GetAtomsWithPositionsDocument - -useGetAtomsWithPositionsQuery.getKey = ( - variables?: GetAtomsWithPositionsQueryVariables, -) => - variables === undefined - ? ['GetAtomsWithPositions'] - : ['GetAtomsWithPositions', variables] - -export const useInfiniteGetAtomsWithPositionsQuery = < - TData = InfiniteData, - TError = unknown, ->( - variables: GetAtomsWithPositionsQueryVariables, - options: Omit< - UseInfiniteQueryOptions, - 'queryKey' - > & { - queryKey?: UseInfiniteQueryOptions< - GetAtomsWithPositionsQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useInfiniteQuery( - (() => { - const { queryKey: optionsQueryKey, ...restOptions } = options - return { - queryKey: - optionsQueryKey ?? variables === undefined - ? ['GetAtomsWithPositions.infinite'] - : ['GetAtomsWithPositions.infinite', variables], - queryFn: (metaData) => - fetcher< - GetAtomsWithPositionsQuery, - GetAtomsWithPositionsQueryVariables - >(GetAtomsWithPositionsDocument, { - ...variables, - ...(metaData.pageParam ?? {}), - })(), - ...restOptions, - } - })(), - ) -} - -useInfiniteGetAtomsWithPositionsQuery.getKey = ( - variables?: GetAtomsWithPositionsQueryVariables, -) => - variables === undefined - ? ['GetAtomsWithPositions.infinite'] - : ['GetAtomsWithPositions.infinite', variables] - -useGetAtomsWithPositionsQuery.fetcher = ( - variables?: GetAtomsWithPositionsQueryVariables, - options?: RequestInit['headers'], -) => - fetcher( - GetAtomsWithPositionsDocument, - variables, - options, - ) - -export const GetAtomsWithAggregatesDocument = ` - query GetAtomsWithAggregates($limit: Int, $offset: Int, $orderBy: [atoms_order_by!], $where: atoms_bool_exp) { - atoms_aggregate( - limit: $limit - offset: $offset - order_by: $orderBy - where: $where - ) { - aggregate { - count - } - nodes { - ...AtomMetadata - ...AtomTxn - ...AtomVaultDetails - creator { - ...AccountMetadata - } - } - } -} - ${AtomMetadataFragmentDoc} -${AtomValueFragmentDoc} -${AtomTxnFragmentDoc} -${AtomVaultDetailsFragmentDoc} -${AccountMetadataFragmentDoc}` - -export const useGetAtomsWithAggregatesQuery = < - TData = GetAtomsWithAggregatesQuery, - TError = unknown, ->( - variables?: GetAtomsWithAggregatesQueryVariables, - options?: Omit< - UseQueryOptions, - 'queryKey' - > & { - queryKey?: UseQueryOptions< - GetAtomsWithAggregatesQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useQuery({ - queryKey: - variables === undefined - ? ['GetAtomsWithAggregates'] - : ['GetAtomsWithAggregates', variables], - queryFn: fetcher< - GetAtomsWithAggregatesQuery, - GetAtomsWithAggregatesQueryVariables - >(GetAtomsWithAggregatesDocument, variables), - ...options, - }) -} - -useGetAtomsWithAggregatesQuery.document = GetAtomsWithAggregatesDocument - -useGetAtomsWithAggregatesQuery.getKey = ( - variables?: GetAtomsWithAggregatesQueryVariables, -) => - variables === undefined - ? ['GetAtomsWithAggregates'] - : ['GetAtomsWithAggregates', variables] - -export const useInfiniteGetAtomsWithAggregatesQuery = < - TData = InfiniteData, - TError = unknown, ->( - variables: GetAtomsWithAggregatesQueryVariables, - options: Omit< - UseInfiniteQueryOptions, - 'queryKey' - > & { - queryKey?: UseInfiniteQueryOptions< - GetAtomsWithAggregatesQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useInfiniteQuery( - (() => { - const { queryKey: optionsQueryKey, ...restOptions } = options - return { - queryKey: - optionsQueryKey ?? variables === undefined - ? ['GetAtomsWithAggregates.infinite'] - : ['GetAtomsWithAggregates.infinite', variables], - queryFn: (metaData) => - fetcher< - GetAtomsWithAggregatesQuery, - GetAtomsWithAggregatesQueryVariables - >(GetAtomsWithAggregatesDocument, { - ...variables, - ...(metaData.pageParam ?? {}), - })(), - ...restOptions, - } - })(), - ) -} - -useInfiniteGetAtomsWithAggregatesQuery.getKey = ( - variables?: GetAtomsWithAggregatesQueryVariables, -) => - variables === undefined - ? ['GetAtomsWithAggregates.infinite'] - : ['GetAtomsWithAggregates.infinite', variables] - -useGetAtomsWithAggregatesQuery.fetcher = ( - variables?: GetAtomsWithAggregatesQueryVariables, - options?: RequestInit['headers'], -) => - fetcher( - GetAtomsWithAggregatesDocument, - variables, - options, - ) - -export const GetAtomsCountDocument = ` - query GetAtomsCount($where: atoms_bool_exp) { - atoms_aggregate(where: $where) { - aggregate { - count - } - } -} - ` - -export const useGetAtomsCountQuery = < - TData = GetAtomsCountQuery, - TError = unknown, ->( - variables?: GetAtomsCountQueryVariables, - options?: Omit< - UseQueryOptions, - 'queryKey' - > & { - queryKey?: UseQueryOptions['queryKey'] - }, -) => { - return useQuery({ - queryKey: - variables === undefined - ? ['GetAtomsCount'] - : ['GetAtomsCount', variables], - queryFn: fetcher( - GetAtomsCountDocument, - variables, - ), - ...options, - }) -} - -useGetAtomsCountQuery.document = GetAtomsCountDocument - -useGetAtomsCountQuery.getKey = (variables?: GetAtomsCountQueryVariables) => - variables === undefined ? ['GetAtomsCount'] : ['GetAtomsCount', variables] - -export const useInfiniteGetAtomsCountQuery = < - TData = InfiniteData, - TError = unknown, ->( - variables: GetAtomsCountQueryVariables, - options: Omit< - UseInfiniteQueryOptions, - 'queryKey' - > & { - queryKey?: UseInfiniteQueryOptions< - GetAtomsCountQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useInfiniteQuery( - (() => { - const { queryKey: optionsQueryKey, ...restOptions } = options - return { - queryKey: - optionsQueryKey ?? variables === undefined - ? ['GetAtomsCount.infinite'] - : ['GetAtomsCount.infinite', variables], - queryFn: (metaData) => - fetcher( - GetAtomsCountDocument, - { ...variables, ...(metaData.pageParam ?? {}) }, - )(), - ...restOptions, - } - })(), - ) -} - -useInfiniteGetAtomsCountQuery.getKey = ( - variables?: GetAtomsCountQueryVariables, -) => - variables === undefined - ? ['GetAtomsCount.infinite'] - : ['GetAtomsCount.infinite', variables] - -useGetAtomsCountQuery.fetcher = ( - variables?: GetAtomsCountQueryVariables, - options?: RequestInit['headers'], -) => - fetcher( - GetAtomsCountDocument, - variables, - options, - ) - -export const GetAtomDocument = ` - query GetAtom($id: numeric!) { - atom(term_id: $id) { - ...AtomMetadata - ...AtomTxn - ...AtomVaultDetails - creator { - ...AccountMetadata - } - ...AtomTriple - } -} - ${AtomMetadataFragmentDoc} -${AtomValueFragmentDoc} -${AtomTxnFragmentDoc} -${AtomVaultDetailsFragmentDoc} -${AccountMetadataFragmentDoc} -${AtomTripleFragmentDoc}` - -export const useGetAtomQuery = ( - variables: GetAtomQueryVariables, - options?: Omit, 'queryKey'> & { - queryKey?: UseQueryOptions['queryKey'] - }, -) => { - return useQuery({ - queryKey: ['GetAtom', variables], - queryFn: fetcher( - GetAtomDocument, - variables, - ), - ...options, - }) -} - -useGetAtomQuery.document = GetAtomDocument - -useGetAtomQuery.getKey = (variables: GetAtomQueryVariables) => [ - 'GetAtom', - variables, -] - -export const useInfiniteGetAtomQuery = < - TData = InfiniteData, - TError = unknown, ->( - variables: GetAtomQueryVariables, - options: Omit< - UseInfiniteQueryOptions, - 'queryKey' - > & { - queryKey?: UseInfiniteQueryOptions['queryKey'] - }, -) => { - return useInfiniteQuery( - (() => { - const { queryKey: optionsQueryKey, ...restOptions } = options - return { - queryKey: optionsQueryKey ?? ['GetAtom.infinite', variables], - queryFn: (metaData) => - fetcher(GetAtomDocument, { - ...variables, - ...(metaData.pageParam ?? {}), - })(), - ...restOptions, - } - })(), - ) -} - -useInfiniteGetAtomQuery.getKey = (variables: GetAtomQueryVariables) => [ - 'GetAtom.infinite', - variables, -] - -useGetAtomQuery.fetcher = ( - variables: GetAtomQueryVariables, - options?: RequestInit['headers'], -) => - fetcher( - GetAtomDocument, - variables, - options, - ) - -export const GetAtomByDataDocument = ` - query GetAtomByData($data: String!) { - atoms(where: {data: {_eq: $data}}) { - ...AtomMetadata - ...AtomTxn - ...AtomVaultDetails - creator { - ...AccountMetadata - } - ...AtomTriple - } -} - ${AtomMetadataFragmentDoc} -${AtomValueFragmentDoc} -${AtomTxnFragmentDoc} -${AtomVaultDetailsFragmentDoc} -${AccountMetadataFragmentDoc} -${AtomTripleFragmentDoc}` - -export const useGetAtomByDataQuery = < - TData = GetAtomByDataQuery, - TError = unknown, ->( - variables: GetAtomByDataQueryVariables, - options?: Omit< - UseQueryOptions, - 'queryKey' - > & { - queryKey?: UseQueryOptions['queryKey'] - }, -) => { - return useQuery({ - queryKey: ['GetAtomByData', variables], - queryFn: fetcher( - GetAtomByDataDocument, - variables, - ), - ...options, - }) -} - -useGetAtomByDataQuery.document = GetAtomByDataDocument - -useGetAtomByDataQuery.getKey = (variables: GetAtomByDataQueryVariables) => [ - 'GetAtomByData', - variables, -] - -export const useInfiniteGetAtomByDataQuery = < - TData = InfiniteData, - TError = unknown, ->( - variables: GetAtomByDataQueryVariables, - options: Omit< - UseInfiniteQueryOptions, - 'queryKey' - > & { - queryKey?: UseInfiniteQueryOptions< - GetAtomByDataQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useInfiniteQuery( - (() => { - const { queryKey: optionsQueryKey, ...restOptions } = options - return { - queryKey: optionsQueryKey ?? ['GetAtomByData.infinite', variables], - queryFn: (metaData) => - fetcher( - GetAtomByDataDocument, - { ...variables, ...(metaData.pageParam ?? {}) }, - )(), - ...restOptions, - } - })(), - ) -} - -useInfiniteGetAtomByDataQuery.getKey = ( - variables: GetAtomByDataQueryVariables, -) => ['GetAtomByData.infinite', variables] - -useGetAtomByDataQuery.fetcher = ( - variables: GetAtomByDataQueryVariables, - options?: RequestInit['headers'], -) => - fetcher( - GetAtomByDataDocument, - variables, - options, - ) - -export const GetVerifiedAtomDetailsDocument = ` - query GetVerifiedAtomDetails($id: numeric!, $userPositionAddress: String!) { - atom(term_id: $id) { - term_id - label - wallet_id - image - type - created_at - data - creator { - id - } - value { - thing { - name - description - url - } - } - term { - vaults(where: {curve_id: {_eq: "1"}, term_id: {_eq: $id}}) { - current_share_price - total_shares - position_count - userPosition: positions( - limit: 1 - where: {account_id: {_ilike: $userPositionAddress}} - ) { - shares - account_id - } - } - } - tags: as_subject_triples_aggregate(where: {predicate_id: {_in: [3]}}) { - nodes { - object { - label - term { - vaults(where: {curve_id: {_eq: "1"}, term_id: {_eq: $id}}) { - term_id - } - } - } - predicate_id - } - aggregate { - count - } - } - verificationTriple: as_subject_triples_aggregate( - where: {predicate_id: {_eq: "4"}, object_id: {_eq: "126451"}} - ) { - nodes { - term_id - predicate_id - object_id - term { - vaults(where: {curve_id: {_eq: "1"}}) { - term_id - positions( - where: {account_id: {_in: ["0xD99811847E634d33f0DAcE483c52949bEc76300F", "0xBb285b543C96C927FC320Fb28524899C2C90806C", "0x0b162525C5dc8c18F771E60fD296913030Bfe42c", "0xbd2DE08aF9470c87C4475117Fb912B8f1d588D9c", "0xB95ca3D3144e9d1DAFF0EE3d35a4488A4A5C9Fc5"]}} - ) { - id - shares - account_id - account { - id - } - } - } - } - } - } - } -} - ` - -export const useGetVerifiedAtomDetailsQuery = < - TData = GetVerifiedAtomDetailsQuery, - TError = unknown, ->( - variables: GetVerifiedAtomDetailsQueryVariables, - options?: Omit< - UseQueryOptions, - 'queryKey' - > & { - queryKey?: UseQueryOptions< - GetVerifiedAtomDetailsQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useQuery({ - queryKey: ['GetVerifiedAtomDetails', variables], - queryFn: fetcher< - GetVerifiedAtomDetailsQuery, - GetVerifiedAtomDetailsQueryVariables - >(GetVerifiedAtomDetailsDocument, variables), - ...options, - }) -} - -useGetVerifiedAtomDetailsQuery.document = GetVerifiedAtomDetailsDocument - -useGetVerifiedAtomDetailsQuery.getKey = ( - variables: GetVerifiedAtomDetailsQueryVariables, -) => ['GetVerifiedAtomDetails', variables] - -export const useInfiniteGetVerifiedAtomDetailsQuery = < - TData = InfiniteData, - TError = unknown, ->( - variables: GetVerifiedAtomDetailsQueryVariables, - options: Omit< - UseInfiniteQueryOptions, - 'queryKey' - > & { - queryKey?: UseInfiniteQueryOptions< - GetVerifiedAtomDetailsQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useInfiniteQuery( - (() => { - const { queryKey: optionsQueryKey, ...restOptions } = options - return { - queryKey: optionsQueryKey ?? [ - 'GetVerifiedAtomDetails.infinite', - variables, - ], - queryFn: (metaData) => - fetcher< - GetVerifiedAtomDetailsQuery, - GetVerifiedAtomDetailsQueryVariables - >(GetVerifiedAtomDetailsDocument, { - ...variables, - ...(metaData.pageParam ?? {}), - })(), - ...restOptions, - } - })(), - ) -} - -useInfiniteGetVerifiedAtomDetailsQuery.getKey = ( - variables: GetVerifiedAtomDetailsQueryVariables, -) => ['GetVerifiedAtomDetails.infinite', variables] - -useGetVerifiedAtomDetailsQuery.fetcher = ( - variables: GetVerifiedAtomDetailsQueryVariables, - options?: RequestInit['headers'], -) => - fetcher( - GetVerifiedAtomDetailsDocument, - variables, - options, - ) - -export const GetAtomDetailsDocument = ` - query GetAtomDetails($id: numeric!, $userPositionAddress: String!) { - atom(term_id: $id) { - term_id - label - wallet_id - image - type - created_at - data - creator { - id - } - value { - thing { - name - description - url - } - } - term { - vaults(where: {curve_id: {_eq: "1"}, term_id: {_eq: $id}}) { - current_share_price - total_shares - position_count - userPosition: positions( - limit: 1 - where: {account_id: {_eq: $userPositionAddress}} - ) { - shares - account_id - } - } - } - tags: as_subject_triples_aggregate(where: {predicate_id: {_in: [3]}}) { - nodes { - object { - label - term { - vaults(where: {curve_id: {_eq: "1"}, term_id: {_eq: $id}}) { - term_id - } - } - } - predicate_id - } - aggregate { - count - } - } - } -} - ` - -export const useGetAtomDetailsQuery = < - TData = GetAtomDetailsQuery, - TError = unknown, ->( - variables: GetAtomDetailsQueryVariables, - options?: Omit< - UseQueryOptions, - 'queryKey' - > & { - queryKey?: UseQueryOptions['queryKey'] - }, -) => { - return useQuery({ - queryKey: ['GetAtomDetails', variables], - queryFn: fetcher( - GetAtomDetailsDocument, - variables, - ), - ...options, - }) -} - -useGetAtomDetailsQuery.document = GetAtomDetailsDocument - -useGetAtomDetailsQuery.getKey = (variables: GetAtomDetailsQueryVariables) => [ - 'GetAtomDetails', - variables, -] - -export const useInfiniteGetAtomDetailsQuery = < - TData = InfiniteData, - TError = unknown, ->( - variables: GetAtomDetailsQueryVariables, - options: Omit< - UseInfiniteQueryOptions, - 'queryKey' - > & { - queryKey?: UseInfiniteQueryOptions< - GetAtomDetailsQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useInfiniteQuery( - (() => { - const { queryKey: optionsQueryKey, ...restOptions } = options - return { - queryKey: optionsQueryKey ?? ['GetAtomDetails.infinite', variables], - queryFn: (metaData) => - fetcher( - GetAtomDetailsDocument, - { ...variables, ...(metaData.pageParam ?? {}) }, - )(), - ...restOptions, - } - })(), - ) -} - -useInfiniteGetAtomDetailsQuery.getKey = ( - variables: GetAtomDetailsQueryVariables, -) => ['GetAtomDetails.infinite', variables] - -useGetAtomDetailsQuery.fetcher = ( - variables: GetAtomDetailsQueryVariables, - options?: RequestInit['headers'], -) => - fetcher( - GetAtomDetailsDocument, - variables, - options, - ) - -export const FindAtomIdsDocument = ` - query FindAtomIds($where: atoms_bool_exp = {}) { - atoms(where: $where) { - term_id - data - } -} - ` - -export const useFindAtomIdsQuery = ( - variables?: FindAtomIdsQueryVariables, - options?: Omit< - UseQueryOptions, - 'queryKey' - > & { - queryKey?: UseQueryOptions['queryKey'] - }, -) => { - return useQuery({ - queryKey: - variables === undefined ? ['FindAtomIds'] : ['FindAtomIds', variables], - queryFn: fetcher( - FindAtomIdsDocument, - variables, - ), - ...options, - }) -} - -useFindAtomIdsQuery.document = FindAtomIdsDocument - -useFindAtomIdsQuery.getKey = (variables?: FindAtomIdsQueryVariables) => - variables === undefined ? ['FindAtomIds'] : ['FindAtomIds', variables] - -export const useInfiniteFindAtomIdsQuery = < - TData = InfiniteData, - TError = unknown, ->( - variables: FindAtomIdsQueryVariables, - options: Omit< - UseInfiniteQueryOptions, - 'queryKey' - > & { - queryKey?: UseInfiniteQueryOptions< - FindAtomIdsQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useInfiniteQuery( - (() => { - const { queryKey: optionsQueryKey, ...restOptions } = options - return { - queryKey: - optionsQueryKey ?? variables === undefined - ? ['FindAtomIds.infinite'] - : ['FindAtomIds.infinite', variables], - queryFn: (metaData) => - fetcher( - FindAtomIdsDocument, - { ...variables, ...(metaData.pageParam ?? {}) }, - )(), - ...restOptions, - } - })(), - ) -} - -useInfiniteFindAtomIdsQuery.getKey = (variables?: FindAtomIdsQueryVariables) => - variables === undefined - ? ['FindAtomIds.infinite'] - : ['FindAtomIds.infinite', variables] - -useFindAtomIdsQuery.fetcher = ( - variables?: FindAtomIdsQueryVariables, - options?: RequestInit['headers'], -) => - fetcher( - FindAtomIdsDocument, - variables, - options, - ) - -export const GetEventsDocument = ` - query GetEvents($limit: Int, $offset: Int, $orderBy: [events_order_by!], $where: events_bool_exp, $addresses: [String!]) { - total: events_aggregate(where: $where) { - aggregate { - count - } - } - events(limit: $limit, offset: $offset, order_by: $orderBy, where: $where) { - id - block_number - created_at - type - transaction_hash - atom_id - triple_id - deposit_id - redemption_id - atom { - ...AtomMetadata - term { - vaults(where: {curve_id: {_eq: "1"}}) { - total_shares - position_count - positions(where: {account: {id: {_in: $addresses}}}) { - account_id - shares - account { - id - label - image - } - } - } - } - } - triple { - term_id - creator { - ...AccountMetadata - } - subject { - data - term_id - image - label - emoji - type - ...AtomValue - creator { - ...AccountMetadata - } - } - predicate { - data - term_id - image - label - emoji - type - ...AtomValue - creator { - ...AccountMetadata - } - } - object { - data - term_id - image - label - emoji - type - ...AtomValue - creator { - ...AccountMetadata - } - } - term { - vaults(where: {curve_id: {_eq: "1"}}) { - total_shares - position_count - positions(where: {account: {id: {_in: $addresses}}}) { - account_id - shares - account { - id - label - image - } - } - } - } - counter_term { - vaults(where: {curve_id: {_eq: "1"}}) { - total_shares - position_count - positions(where: {account: {id: {_in: $addresses}}}) { - account_id - shares - account { - id - label - image - } - } - } - } - } - deposit { - sender_id - sender { - id - } - shares_for_receiver - sender_assets_after_total_fees - vault { - total_shares - position_count - positions(where: {account: {id: {_in: $addresses}}}) { - account_id - shares - account { - id - label - image - } - } - } - } - redemption { - sender_id - sender { - id - } - } - } -} - ${AtomMetadataFragmentDoc} -${AtomValueFragmentDoc} -${AccountMetadataFragmentDoc}` - -export const useGetEventsQuery = ( - variables?: GetEventsQueryVariables, - options?: Omit, 'queryKey'> & { - queryKey?: UseQueryOptions['queryKey'] - }, -) => { - return useQuery({ - queryKey: - variables === undefined ? ['GetEvents'] : ['GetEvents', variables], - queryFn: fetcher( - GetEventsDocument, - variables, - ), - ...options, - }) -} - -useGetEventsQuery.document = GetEventsDocument - -useGetEventsQuery.getKey = (variables?: GetEventsQueryVariables) => - variables === undefined ? ['GetEvents'] : ['GetEvents', variables] - -export const useInfiniteGetEventsQuery = < - TData = InfiniteData, - TError = unknown, ->( - variables: GetEventsQueryVariables, - options: Omit< - UseInfiniteQueryOptions, - 'queryKey' - > & { - queryKey?: UseInfiniteQueryOptions< - GetEventsQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useInfiniteQuery( - (() => { - const { queryKey: optionsQueryKey, ...restOptions } = options - return { - queryKey: - optionsQueryKey ?? variables === undefined - ? ['GetEvents.infinite'] - : ['GetEvents.infinite', variables], - queryFn: (metaData) => - fetcher(GetEventsDocument, { - ...variables, - ...(metaData.pageParam ?? {}), - })(), - ...restOptions, - } - })(), - ) -} - -useInfiniteGetEventsQuery.getKey = (variables?: GetEventsQueryVariables) => - variables === undefined - ? ['GetEvents.infinite'] - : ['GetEvents.infinite', variables] - -useGetEventsQuery.fetcher = ( - variables?: GetEventsQueryVariables, - options?: RequestInit['headers'], -) => - fetcher( - GetEventsDocument, - variables, - options, - ) - -export const GetEventsWithAggregatesDocument = ` - query GetEventsWithAggregates($limit: Int, $offset: Int, $orderBy: [events_order_by!], $where: events_bool_exp, $addresses: [String!]) { - events_aggregate( - where: $where - limit: $limit - offset: $offset - order_by: $orderBy - ) { - aggregate { - count - max { - created_at - block_number - } - min { - created_at - block_number - } - } - nodes { - ...EventDetails - } - } -} - ${EventDetailsFragmentDoc} -${DepositEventFragmentFragmentDoc} -${RedemptionEventFragmentFragmentDoc} -${AtomMetadataFragmentDoc} -${AtomValueFragmentDoc} -${TripleMetadataFragmentDoc} -${AccountMetadataFragmentDoc} -${PositionAggregateFieldsFragmentDoc} -${PositionFieldsFragmentDoc}` - -export const useGetEventsWithAggregatesQuery = < - TData = GetEventsWithAggregatesQuery, - TError = unknown, ->( - variables?: GetEventsWithAggregatesQueryVariables, - options?: Omit< - UseQueryOptions, - 'queryKey' - > & { - queryKey?: UseQueryOptions< - GetEventsWithAggregatesQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useQuery({ - queryKey: - variables === undefined - ? ['GetEventsWithAggregates'] - : ['GetEventsWithAggregates', variables], - queryFn: fetcher< - GetEventsWithAggregatesQuery, - GetEventsWithAggregatesQueryVariables - >(GetEventsWithAggregatesDocument, variables), - ...options, - }) -} - -useGetEventsWithAggregatesQuery.document = GetEventsWithAggregatesDocument - -useGetEventsWithAggregatesQuery.getKey = ( - variables?: GetEventsWithAggregatesQueryVariables, -) => - variables === undefined - ? ['GetEventsWithAggregates'] - : ['GetEventsWithAggregates', variables] - -export const useInfiniteGetEventsWithAggregatesQuery = < - TData = InfiniteData, - TError = unknown, ->( - variables: GetEventsWithAggregatesQueryVariables, - options: Omit< - UseInfiniteQueryOptions, - 'queryKey' - > & { - queryKey?: UseInfiniteQueryOptions< - GetEventsWithAggregatesQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useInfiniteQuery( - (() => { - const { queryKey: optionsQueryKey, ...restOptions } = options - return { - queryKey: - optionsQueryKey ?? variables === undefined - ? ['GetEventsWithAggregates.infinite'] - : ['GetEventsWithAggregates.infinite', variables], - queryFn: (metaData) => - fetcher< - GetEventsWithAggregatesQuery, - GetEventsWithAggregatesQueryVariables - >(GetEventsWithAggregatesDocument, { - ...variables, - ...(metaData.pageParam ?? {}), - })(), - ...restOptions, - } - })(), - ) -} - -useInfiniteGetEventsWithAggregatesQuery.getKey = ( - variables?: GetEventsWithAggregatesQueryVariables, -) => - variables === undefined - ? ['GetEventsWithAggregates.infinite'] - : ['GetEventsWithAggregates.infinite', variables] - -useGetEventsWithAggregatesQuery.fetcher = ( - variables?: GetEventsWithAggregatesQueryVariables, - options?: RequestInit['headers'], -) => - fetcher( - GetEventsWithAggregatesDocument, - variables, - options, - ) - -export const GetEventsCountDocument = ` - query GetEventsCount($where: events_bool_exp) { - events_aggregate(where: $where) { - aggregate { - count - } - } -} - ` - -export const useGetEventsCountQuery = < - TData = GetEventsCountQuery, - TError = unknown, ->( - variables?: GetEventsCountQueryVariables, - options?: Omit< - UseQueryOptions, - 'queryKey' - > & { - queryKey?: UseQueryOptions['queryKey'] - }, -) => { - return useQuery({ - queryKey: - variables === undefined - ? ['GetEventsCount'] - : ['GetEventsCount', variables], - queryFn: fetcher( - GetEventsCountDocument, - variables, - ), - ...options, - }) -} - -useGetEventsCountQuery.document = GetEventsCountDocument - -useGetEventsCountQuery.getKey = (variables?: GetEventsCountQueryVariables) => - variables === undefined ? ['GetEventsCount'] : ['GetEventsCount', variables] - -export const useInfiniteGetEventsCountQuery = < - TData = InfiniteData, - TError = unknown, ->( - variables: GetEventsCountQueryVariables, - options: Omit< - UseInfiniteQueryOptions, - 'queryKey' - > & { - queryKey?: UseInfiniteQueryOptions< - GetEventsCountQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useInfiniteQuery( - (() => { - const { queryKey: optionsQueryKey, ...restOptions } = options - return { - queryKey: - optionsQueryKey ?? variables === undefined - ? ['GetEventsCount.infinite'] - : ['GetEventsCount.infinite', variables], - queryFn: (metaData) => - fetcher( - GetEventsCountDocument, - { ...variables, ...(metaData.pageParam ?? {}) }, - )(), - ...restOptions, - } - })(), - ) -} - -useInfiniteGetEventsCountQuery.getKey = ( - variables?: GetEventsCountQueryVariables, -) => - variables === undefined - ? ['GetEventsCount.infinite'] - : ['GetEventsCount.infinite', variables] - -useGetEventsCountQuery.fetcher = ( - variables?: GetEventsCountQueryVariables, - options?: RequestInit['headers'], -) => - fetcher( - GetEventsCountDocument, - variables, - options, - ) - -export const GetEventsDataDocument = ` - query GetEventsData($where: events_bool_exp) { - events_aggregate(where: $where) { - aggregate { - count - max { - created_at - block_number - } - min { - created_at - block_number - } - avg { - block_number - } - } - } -} - ` - -export const useGetEventsDataQuery = < - TData = GetEventsDataQuery, - TError = unknown, ->( - variables?: GetEventsDataQueryVariables, - options?: Omit< - UseQueryOptions, - 'queryKey' - > & { - queryKey?: UseQueryOptions['queryKey'] - }, -) => { - return useQuery({ - queryKey: - variables === undefined - ? ['GetEventsData'] - : ['GetEventsData', variables], - queryFn: fetcher( - GetEventsDataDocument, - variables, - ), - ...options, - }) -} - -useGetEventsDataQuery.document = GetEventsDataDocument - -useGetEventsDataQuery.getKey = (variables?: GetEventsDataQueryVariables) => - variables === undefined ? ['GetEventsData'] : ['GetEventsData', variables] - -export const useInfiniteGetEventsDataQuery = < - TData = InfiniteData, - TError = unknown, ->( - variables: GetEventsDataQueryVariables, - options: Omit< - UseInfiniteQueryOptions, - 'queryKey' - > & { - queryKey?: UseInfiniteQueryOptions< - GetEventsDataQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useInfiniteQuery( - (() => { - const { queryKey: optionsQueryKey, ...restOptions } = options - return { - queryKey: - optionsQueryKey ?? variables === undefined - ? ['GetEventsData.infinite'] - : ['GetEventsData.infinite', variables], - queryFn: (metaData) => - fetcher( - GetEventsDataDocument, - { ...variables, ...(metaData.pageParam ?? {}) }, - )(), - ...restOptions, - } - })(), - ) -} - -useInfiniteGetEventsDataQuery.getKey = ( - variables?: GetEventsDataQueryVariables, -) => - variables === undefined - ? ['GetEventsData.infinite'] - : ['GetEventsData.infinite', variables] - -useGetEventsDataQuery.fetcher = ( - variables?: GetEventsDataQueryVariables, - options?: RequestInit['headers'], -) => - fetcher( - GetEventsDataDocument, - variables, - options, - ) - -export const GetDebugEventsDocument = ` - query GetDebugEvents($addresses: [String!]) { - debug_events: events { - id - atom { - term { - positions(where: {account_id: {_in: $addresses}}) { - account_id - shares - } - } - } - } -} - ` - -export const useGetDebugEventsQuery = < - TData = GetDebugEventsQuery, - TError = unknown, ->( - variables?: GetDebugEventsQueryVariables, - options?: Omit< - UseQueryOptions, - 'queryKey' - > & { - queryKey?: UseQueryOptions['queryKey'] - }, -) => { - return useQuery({ - queryKey: - variables === undefined - ? ['GetDebugEvents'] - : ['GetDebugEvents', variables], - queryFn: fetcher( - GetDebugEventsDocument, - variables, - ), - ...options, - }) -} - -useGetDebugEventsQuery.document = GetDebugEventsDocument - -useGetDebugEventsQuery.getKey = (variables?: GetDebugEventsQueryVariables) => - variables === undefined ? ['GetDebugEvents'] : ['GetDebugEvents', variables] - -export const useInfiniteGetDebugEventsQuery = < - TData = InfiniteData, - TError = unknown, ->( - variables: GetDebugEventsQueryVariables, - options: Omit< - UseInfiniteQueryOptions, - 'queryKey' - > & { - queryKey?: UseInfiniteQueryOptions< - GetDebugEventsQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useInfiniteQuery( - (() => { - const { queryKey: optionsQueryKey, ...restOptions } = options - return { - queryKey: - optionsQueryKey ?? variables === undefined - ? ['GetDebugEvents.infinite'] - : ['GetDebugEvents.infinite', variables], - queryFn: (metaData) => - fetcher( - GetDebugEventsDocument, - { ...variables, ...(metaData.pageParam ?? {}) }, - )(), - ...restOptions, - } - })(), - ) -} - -useInfiniteGetDebugEventsQuery.getKey = ( - variables?: GetDebugEventsQueryVariables, -) => - variables === undefined - ? ['GetDebugEvents.infinite'] - : ['GetDebugEvents.infinite', variables] - -useGetDebugEventsQuery.fetcher = ( - variables?: GetDebugEventsQueryVariables, - options?: RequestInit['headers'], -) => - fetcher( - GetDebugEventsDocument, - variables, - options, - ) - -export const GetTransactionEventsDocument = ` - query GetTransactionEvents($hash: String!) { - events(where: {transaction_hash: {_eq: $hash}}) { - transaction_hash - } -} - ` - -export const useGetTransactionEventsQuery = < - TData = GetTransactionEventsQuery, - TError = unknown, ->( - variables: GetTransactionEventsQueryVariables, - options?: Omit< - UseQueryOptions, - 'queryKey' - > & { - queryKey?: UseQueryOptions< - GetTransactionEventsQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useQuery({ - queryKey: ['GetTransactionEvents', variables], - queryFn: fetcher< - GetTransactionEventsQuery, - GetTransactionEventsQueryVariables - >(GetTransactionEventsDocument, variables), - ...options, - }) -} - -useGetTransactionEventsQuery.document = GetTransactionEventsDocument - -useGetTransactionEventsQuery.getKey = ( - variables: GetTransactionEventsQueryVariables, -) => ['GetTransactionEvents', variables] - -export const useInfiniteGetTransactionEventsQuery = < - TData = InfiniteData, - TError = unknown, ->( - variables: GetTransactionEventsQueryVariables, - options: Omit< - UseInfiniteQueryOptions, - 'queryKey' - > & { - queryKey?: UseInfiniteQueryOptions< - GetTransactionEventsQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useInfiniteQuery( - (() => { - const { queryKey: optionsQueryKey, ...restOptions } = options - return { - queryKey: optionsQueryKey ?? [ - 'GetTransactionEvents.infinite', - variables, - ], - queryFn: (metaData) => - fetcher< - GetTransactionEventsQuery, - GetTransactionEventsQueryVariables - >(GetTransactionEventsDocument, { - ...variables, - ...(metaData.pageParam ?? {}), - })(), - ...restOptions, - } - })(), - ) -} - -useInfiniteGetTransactionEventsQuery.getKey = ( - variables: GetTransactionEventsQueryVariables, -) => ['GetTransactionEvents.infinite', variables] - -useGetTransactionEventsQuery.fetcher = ( - variables: GetTransactionEventsQueryVariables, - options?: RequestInit['headers'], -) => - fetcher( - GetTransactionEventsDocument, - variables, - options, - ) - -export const GetFollowingPositionsDocument = ` - query GetFollowingPositions($subjectId: numeric!, $predicateId: numeric!, $address: String!, $limit: Int, $offset: Int, $positionsOrderBy: [positions_order_by!]) { - triples_aggregate( - where: {_and: [{subject_id: {_eq: $subjectId}}, {predicate_id: {_eq: $predicateId}}, {positions: {account_id: {_ilike: $address}}}]} - ) { - aggregate { - count - } - } - triples( - limit: $limit - offset: $offset - where: {_and: [{subject_id: {_eq: $subjectId}}, {predicate_id: {_eq: $predicateId}}, {positions: {account_id: {_ilike: $address}}}]} - ) { - term_id - subject { - ...AtomMetadata - } - predicate { - ...AtomMetadata - } - object { - ...AtomMetadata - } - term { - vaults(where: {curve_id: {_eq: "1"}}) { - total_shares - current_share_price - positions_aggregate { - aggregate { - count - sum { - shares - } - } - } - positions(where: {account_id: {_ilike: $address}}, order_by: $positionsOrderBy) { - account_id - account { - id - label - } - shares - } - } - } - } -} - ${AtomMetadataFragmentDoc} -${AtomValueFragmentDoc}` - -export const useGetFollowingPositionsQuery = < - TData = GetFollowingPositionsQuery, - TError = unknown, ->( - variables: GetFollowingPositionsQueryVariables, - options?: Omit< - UseQueryOptions, - 'queryKey' - > & { - queryKey?: UseQueryOptions< - GetFollowingPositionsQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useQuery({ - queryKey: ['GetFollowingPositions', variables], - queryFn: fetcher< - GetFollowingPositionsQuery, - GetFollowingPositionsQueryVariables - >(GetFollowingPositionsDocument, variables), - ...options, - }) -} - -useGetFollowingPositionsQuery.document = GetFollowingPositionsDocument - -useGetFollowingPositionsQuery.getKey = ( - variables: GetFollowingPositionsQueryVariables, -) => ['GetFollowingPositions', variables] - -export const useInfiniteGetFollowingPositionsQuery = < - TData = InfiniteData, - TError = unknown, ->( - variables: GetFollowingPositionsQueryVariables, - options: Omit< - UseInfiniteQueryOptions, - 'queryKey' - > & { - queryKey?: UseInfiniteQueryOptions< - GetFollowingPositionsQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useInfiniteQuery( - (() => { - const { queryKey: optionsQueryKey, ...restOptions } = options - return { - queryKey: optionsQueryKey ?? [ - 'GetFollowingPositions.infinite', - variables, - ], - queryFn: (metaData) => - fetcher< - GetFollowingPositionsQuery, - GetFollowingPositionsQueryVariables - >(GetFollowingPositionsDocument, { - ...variables, - ...(metaData.pageParam ?? {}), - })(), - ...restOptions, - } - })(), - ) -} - -useInfiniteGetFollowingPositionsQuery.getKey = ( - variables: GetFollowingPositionsQueryVariables, -) => ['GetFollowingPositions.infinite', variables] - -useGetFollowingPositionsQuery.fetcher = ( - variables: GetFollowingPositionsQueryVariables, - options?: RequestInit['headers'], -) => - fetcher( - GetFollowingPositionsDocument, - variables, - options, - ) - -export const GetFollowerPositionsDocument = ` - query GetFollowerPositions($subjectId: numeric!, $predicateId: numeric!, $objectId: numeric!, $positionsLimit: Int, $positionsOffset: Int, $positionsOrderBy: [positions_order_by!], $positionsWhere: positions_bool_exp) { - triples( - where: {_and: [{subject_id: {_eq: $subjectId}}, {predicate_id: {_eq: $predicateId}}, {object_id: {_eq: $objectId}}]} - ) { - term_id - subject { - ...AtomMetadata - } - predicate { - ...AtomMetadata - } - object { - ...AtomMetadata - } - term { - vaults(where: {curve_id: {_eq: "1"}}) { - total_shares - current_share_price - positions_aggregate { - aggregate { - count - sum { - shares - } - } - } - positions( - limit: $positionsLimit - offset: $positionsOffset - order_by: $positionsOrderBy - where: $positionsWhere - ) { - account { - id - label - image - } - shares - } - } - } - } -} - ${AtomMetadataFragmentDoc} -${AtomValueFragmentDoc}` - -export const useGetFollowerPositionsQuery = < - TData = GetFollowerPositionsQuery, - TError = unknown, ->( - variables: GetFollowerPositionsQueryVariables, - options?: Omit< - UseQueryOptions, - 'queryKey' - > & { - queryKey?: UseQueryOptions< - GetFollowerPositionsQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useQuery({ - queryKey: ['GetFollowerPositions', variables], - queryFn: fetcher< - GetFollowerPositionsQuery, - GetFollowerPositionsQueryVariables - >(GetFollowerPositionsDocument, variables), - ...options, - }) -} - -useGetFollowerPositionsQuery.document = GetFollowerPositionsDocument - -useGetFollowerPositionsQuery.getKey = ( - variables: GetFollowerPositionsQueryVariables, -) => ['GetFollowerPositions', variables] - -export const useInfiniteGetFollowerPositionsQuery = < - TData = InfiniteData, - TError = unknown, ->( - variables: GetFollowerPositionsQueryVariables, - options: Omit< - UseInfiniteQueryOptions, - 'queryKey' - > & { - queryKey?: UseInfiniteQueryOptions< - GetFollowerPositionsQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useInfiniteQuery( - (() => { - const { queryKey: optionsQueryKey, ...restOptions } = options - return { - queryKey: optionsQueryKey ?? [ - 'GetFollowerPositions.infinite', - variables, - ], - queryFn: (metaData) => - fetcher< - GetFollowerPositionsQuery, - GetFollowerPositionsQueryVariables - >(GetFollowerPositionsDocument, { - ...variables, - ...(metaData.pageParam ?? {}), - })(), - ...restOptions, - } - })(), - ) -} - -useInfiniteGetFollowerPositionsQuery.getKey = ( - variables: GetFollowerPositionsQueryVariables, -) => ['GetFollowerPositions.infinite', variables] - -useGetFollowerPositionsQuery.fetcher = ( - variables: GetFollowerPositionsQueryVariables, - options?: RequestInit['headers'], -) => - fetcher( - GetFollowerPositionsDocument, - variables, - options, - ) - -export const GetConnectionsDocument = ` - query GetConnections($subjectId: numeric!, $predicateId: numeric!, $objectId: numeric!, $addresses: [String!], $positionsLimit: Int, $positionsOffset: Int, $positionsOrderBy: [positions_order_by!], $positionsWhere: positions_bool_exp) { - following_count: triples_aggregate( - where: {_and: [{subject_id: {_eq: $subjectId}}, {predicate_id: {_eq: $predicateId}}, {object_id: {_eq: $objectId}}]} - ) { - aggregate { - count - } - } - following: triples( - where: {_and: [{subject_id: {_eq: $subjectId}}, {predicate_id: {_eq: $predicateId}}, {object_id: {_eq: $objectId}}]} - ) { - ...FollowMetadata - } - followers_count: triples_aggregate( - where: {_and: [{subject_id: {_eq: $subjectId}}, {predicate_id: {_eq: $predicateId}}, {positions: {account_id: {_in: $addresses}}}]} - ) { - aggregate { - count - } - } - followers: triples( - where: {_and: [{subject_id: {_eq: $subjectId}}, {predicate_id: {_eq: $predicateId}}, {positions: {account_id: {_in: $addresses}}}]} - ) { - ...FollowMetadata - } -} - ${FollowMetadataFragmentDoc}` - -export const useGetConnectionsQuery = < - TData = GetConnectionsQuery, - TError = unknown, ->( - variables: GetConnectionsQueryVariables, - options?: Omit< - UseQueryOptions, - 'queryKey' - > & { - queryKey?: UseQueryOptions['queryKey'] - }, -) => { - return useQuery({ - queryKey: ['GetConnections', variables], - queryFn: fetcher( - GetConnectionsDocument, - variables, - ), - ...options, - }) -} - -useGetConnectionsQuery.document = GetConnectionsDocument - -useGetConnectionsQuery.getKey = (variables: GetConnectionsQueryVariables) => [ - 'GetConnections', - variables, -] - -export const useInfiniteGetConnectionsQuery = < - TData = InfiniteData, - TError = unknown, ->( - variables: GetConnectionsQueryVariables, - options: Omit< - UseInfiniteQueryOptions, - 'queryKey' - > & { - queryKey?: UseInfiniteQueryOptions< - GetConnectionsQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useInfiniteQuery( - (() => { - const { queryKey: optionsQueryKey, ...restOptions } = options - return { - queryKey: optionsQueryKey ?? ['GetConnections.infinite', variables], - queryFn: (metaData) => - fetcher( - GetConnectionsDocument, - { ...variables, ...(metaData.pageParam ?? {}) }, - )(), - ...restOptions, - } - })(), - ) -} - -useInfiniteGetConnectionsQuery.getKey = ( - variables: GetConnectionsQueryVariables, -) => ['GetConnections.infinite', variables] - -useGetConnectionsQuery.fetcher = ( - variables: GetConnectionsQueryVariables, - options?: RequestInit['headers'], -) => - fetcher( - GetConnectionsDocument, - variables, - options, - ) - -export const GetConnectionsCountDocument = ` - query GetConnectionsCount($subjectId: numeric!, $predicateId: numeric!, $objectId: numeric!, $address: String!) { - following_count: triples_aggregate( - where: {_and: [{subject_id: {_eq: $subjectId}}, {predicate_id: {_eq: $predicateId}}, {positions: {account_id: {_ilike: $address}}}]} - ) { - aggregate { - count - } - } - followers_count: triples( - where: {_and: [{subject_id: {_eq: $subjectId}}, {predicate_id: {_eq: $predicateId}}, {object_id: {_eq: $objectId}}]} - ) { - term { - vaults(where: {curve_id: {_eq: "1"}}) { - positions_aggregate { - aggregate { - count - sum { - shares - } - } - } - } - } - } -} - ` - -export const useGetConnectionsCountQuery = < - TData = GetConnectionsCountQuery, - TError = unknown, ->( - variables: GetConnectionsCountQueryVariables, - options?: Omit< - UseQueryOptions, - 'queryKey' - > & { - queryKey?: UseQueryOptions< - GetConnectionsCountQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useQuery({ - queryKey: ['GetConnectionsCount', variables], - queryFn: fetcher< - GetConnectionsCountQuery, - GetConnectionsCountQueryVariables - >(GetConnectionsCountDocument, variables), - ...options, - }) -} - -useGetConnectionsCountQuery.document = GetConnectionsCountDocument - -useGetConnectionsCountQuery.getKey = ( - variables: GetConnectionsCountQueryVariables, -) => ['GetConnectionsCount', variables] - -export const useInfiniteGetConnectionsCountQuery = < - TData = InfiniteData, - TError = unknown, ->( - variables: GetConnectionsCountQueryVariables, - options: Omit< - UseInfiniteQueryOptions, - 'queryKey' - > & { - queryKey?: UseInfiniteQueryOptions< - GetConnectionsCountQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useInfiniteQuery( - (() => { - const { queryKey: optionsQueryKey, ...restOptions } = options - return { - queryKey: optionsQueryKey ?? [ - 'GetConnectionsCount.infinite', - variables, - ], - queryFn: (metaData) => - fetcher( - GetConnectionsCountDocument, - { ...variables, ...(metaData.pageParam ?? {}) }, - )(), - ...restOptions, - } - })(), - ) -} - -useInfiniteGetConnectionsCountQuery.getKey = ( - variables: GetConnectionsCountQueryVariables, -) => ['GetConnectionsCount.infinite', variables] - -useGetConnectionsCountQuery.fetcher = ( - variables: GetConnectionsCountQueryVariables, - options?: RequestInit['headers'], -) => - fetcher( - GetConnectionsCountDocument, - variables, - options, - ) - -export const GetListsDocument = ` - query GetLists($where: predicate_objects_bool_exp) { - predicate_objects_aggregate(where: $where) { - aggregate { - count - } - } - predicate_objects(where: $where, order_by: [{triple_count: desc}]) { - id - triple_count - object { - term_id - label - image - } - } -} - ` - -export const useGetListsQuery = ( - variables?: GetListsQueryVariables, - options?: Omit, 'queryKey'> & { - queryKey?: UseQueryOptions['queryKey'] - }, -) => { - return useQuery({ - queryKey: variables === undefined ? ['GetLists'] : ['GetLists', variables], - queryFn: fetcher( - GetListsDocument, - variables, - ), - ...options, - }) -} - -useGetListsQuery.document = GetListsDocument - -useGetListsQuery.getKey = (variables?: GetListsQueryVariables) => - variables === undefined ? ['GetLists'] : ['GetLists', variables] - -export const useInfiniteGetListsQuery = < - TData = InfiniteData, - TError = unknown, ->( - variables: GetListsQueryVariables, - options: Omit< - UseInfiniteQueryOptions, - 'queryKey' - > & { - queryKey?: UseInfiniteQueryOptions['queryKey'] - }, -) => { - return useInfiniteQuery( - (() => { - const { queryKey: optionsQueryKey, ...restOptions } = options - return { - queryKey: - optionsQueryKey ?? variables === undefined - ? ['GetLists.infinite'] - : ['GetLists.infinite', variables], - queryFn: (metaData) => - fetcher(GetListsDocument, { - ...variables, - ...(metaData.pageParam ?? {}), - })(), - ...restOptions, - } - })(), - ) -} - -useInfiniteGetListsQuery.getKey = (variables?: GetListsQueryVariables) => - variables === undefined - ? ['GetLists.infinite'] - : ['GetLists.infinite', variables] - -useGetListsQuery.fetcher = ( - variables?: GetListsQueryVariables, - options?: RequestInit['headers'], -) => - fetcher( - GetListsDocument, - variables, - options, - ) - -export const GetListItemsDocument = ` - query GetListItems($predicateId: numeric, $objectId: numeric) { - triples_aggregate( - where: {predicate_id: {_eq: predicateId}, object_id: {_eq: $objectId}} - order_by: [{term: {positions_aggregate: {count: desc}}, counter_term: {positions_aggregate: {count: desc}}}] - ) { - aggregate { - count - } - nodes { - ...TripleVaultDetails - } - } -} - ${TripleVaultDetailsFragmentDoc} -${PositionDetailsFragmentDoc} -${AtomValueFragmentDoc} -${AccountMetadataFragmentDoc}` - -export const useGetListItemsQuery = < - TData = GetListItemsQuery, - TError = unknown, ->( - variables?: GetListItemsQueryVariables, - options?: Omit< - UseQueryOptions, - 'queryKey' - > & { - queryKey?: UseQueryOptions['queryKey'] - }, -) => { - return useQuery({ - queryKey: - variables === undefined ? ['GetListItems'] : ['GetListItems', variables], - queryFn: fetcher( - GetListItemsDocument, - variables, - ), - ...options, - }) -} - -useGetListItemsQuery.document = GetListItemsDocument - -useGetListItemsQuery.getKey = (variables?: GetListItemsQueryVariables) => - variables === undefined ? ['GetListItems'] : ['GetListItems', variables] - -export const useInfiniteGetListItemsQuery = < - TData = InfiniteData, - TError = unknown, ->( - variables: GetListItemsQueryVariables, - options: Omit< - UseInfiniteQueryOptions, - 'queryKey' - > & { - queryKey?: UseInfiniteQueryOptions< - GetListItemsQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useInfiniteQuery( - (() => { - const { queryKey: optionsQueryKey, ...restOptions } = options - return { - queryKey: - optionsQueryKey ?? variables === undefined - ? ['GetListItems.infinite'] - : ['GetListItems.infinite', variables], - queryFn: (metaData) => - fetcher( - GetListItemsDocument, - { ...variables, ...(metaData.pageParam ?? {}) }, - )(), - ...restOptions, - } - })(), - ) -} - -useInfiniteGetListItemsQuery.getKey = ( - variables?: GetListItemsQueryVariables, -) => - variables === undefined - ? ['GetListItems.infinite'] - : ['GetListItems.infinite', variables] - -useGetListItemsQuery.fetcher = ( - variables?: GetListItemsQueryVariables, - options?: RequestInit['headers'], -) => - fetcher( - GetListItemsDocument, - variables, - options, - ) - -export const GetListDetailsDocument = ` - query GetListDetails($globalWhere: triples_bool_exp, $tagPredicateId: numeric, $limit: Int, $offset: Int, $orderBy: [triples_order_by!]) { - globalTriplesAggregate: triples_aggregate(where: $globalWhere) { - aggregate { - count - } - } - globalTriples: triples( - where: $globalWhere - limit: $limit - offset: $offset - order_by: $orderBy - ) { - term_id - counter_term_id - subject { - term_id - label - wallet_id - image - type - term { - vaults { - position_count - } - } - tags: as_subject_triples_aggregate( - where: {predicate_id: {_eq: $tagPredicateId}} - ) { - nodes { - object { - label - term_id - taggedIdentities: as_object_triples_aggregate { - nodes { - subject { - label - term_id - } - term_id - } - aggregate { - count - } - } - } - } + `; +export const AtomVaultDetailsFragmentDoc = ` + fragment AtomVaultDetails on atoms { + term_id + wallet_id + term { + vaults(where: {curve_id: {_eq: "1"}}) { + position_count + total_shares + current_share_price + positions_aggregate { aggregate { count - } - } - } - object { - term_id - label - wallet_id - image - type - } - predicate { - term_id - label - wallet_id - image - type - } - term { - vaults(where: {curve_id: {_eq: "1"}}) { - current_share_price - position_count - total_shares - } - } - counter_term { - vaults(where: {curve_id: {_eq: "1"}}) { - current_share_price - position_count - total_shares - } - } - } -} - ` - -export const useGetListDetailsQuery = < - TData = GetListDetailsQuery, - TError = unknown, ->( - variables?: GetListDetailsQueryVariables, - options?: Omit< - UseQueryOptions, - 'queryKey' - > & { - queryKey?: UseQueryOptions['queryKey'] - }, -) => { - return useQuery({ - queryKey: - variables === undefined - ? ['GetListDetails'] - : ['GetListDetails', variables], - queryFn: fetcher( - GetListDetailsDocument, - variables, - ), - ...options, - }) -} - -useGetListDetailsQuery.document = GetListDetailsDocument - -useGetListDetailsQuery.getKey = (variables?: GetListDetailsQueryVariables) => - variables === undefined ? ['GetListDetails'] : ['GetListDetails', variables] - -export const useInfiniteGetListDetailsQuery = < - TData = InfiniteData, - TError = unknown, ->( - variables: GetListDetailsQueryVariables, - options: Omit< - UseInfiniteQueryOptions, - 'queryKey' - > & { - queryKey?: UseInfiniteQueryOptions< - GetListDetailsQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useInfiniteQuery( - (() => { - const { queryKey: optionsQueryKey, ...restOptions } = options - return { - queryKey: - optionsQueryKey ?? variables === undefined - ? ['GetListDetails.infinite'] - : ['GetListDetails.infinite', variables], - queryFn: (metaData) => - fetcher( - GetListDetailsDocument, - { ...variables, ...(metaData.pageParam ?? {}) }, - )(), - ...restOptions, - } - })(), - ) -} - -useInfiniteGetListDetailsQuery.getKey = ( - variables?: GetListDetailsQueryVariables, -) => - variables === undefined - ? ['GetListDetails.infinite'] - : ['GetListDetails.infinite', variables] - -useGetListDetailsQuery.fetcher = ( - variables?: GetListDetailsQueryVariables, - options?: RequestInit['headers'], -) => - fetcher( - GetListDetailsDocument, - variables, - options, - ) - -export const GetListDetailsWithPositionDocument = ` - query GetListDetailsWithPosition($globalWhere: triples_bool_exp, $tagPredicateId: numeric, $address: String, $limit: Int, $offset: Int, $orderBy: [triples_order_by!]) { - globalTriplesAggregate: triples_aggregate(where: $globalWhere) { - aggregate { - count - } - } - globalTriples: triples( - where: $globalWhere - limit: $limit - offset: $offset - order_by: $orderBy - ) { - term_id - counter_term_id - subject { - term_id - label - wallet_id - image - type - tags: as_subject_triples_aggregate( - where: {predicate_id: {_eq: $tagPredicateId}} - ) { - nodes { - object { - label - term_id - taggedIdentities: as_object_triples_aggregate { - nodes { - subject { - label - term_id - } - term_id - } - aggregate { - count - } - } + sum { + shares } } - aggregate { - count - } - } - } - object { - term_id - label - wallet_id - image - type - } - predicate { - term_id - label - wallet_id - image - type - } - term { - vaults { - current_share_price - position_count - total_shares } - positions(where: {account_id: {_ilike: $address}}) { + positions { + id account { - id label - image - } - shares - } - } - counter_term { - vaults { - current_share_price - position_count - total_shares - } - positions(where: {account_id: {_ilike: $address}}) { - account { id - label - image } shares } } } } - ` - -export const useGetListDetailsWithPositionQuery = < - TData = GetListDetailsWithPositionQuery, - TError = unknown, ->( - variables?: GetListDetailsWithPositionQueryVariables, - options?: Omit< - UseQueryOptions, - 'queryKey' - > & { - queryKey?: UseQueryOptions< - GetListDetailsWithPositionQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useQuery({ - queryKey: - variables === undefined - ? ['GetListDetailsWithPosition'] - : ['GetListDetailsWithPosition', variables], - queryFn: fetcher< - GetListDetailsWithPositionQuery, - GetListDetailsWithPositionQueryVariables - >(GetListDetailsWithPositionDocument, variables), - ...options, - }) -} - -useGetListDetailsWithPositionQuery.document = GetListDetailsWithPositionDocument - -useGetListDetailsWithPositionQuery.getKey = ( - variables?: GetListDetailsWithPositionQueryVariables, -) => - variables === undefined - ? ['GetListDetailsWithPosition'] - : ['GetListDetailsWithPosition', variables] - -export const useInfiniteGetListDetailsWithPositionQuery = < - TData = InfiniteData, - TError = unknown, ->( - variables: GetListDetailsWithPositionQueryVariables, - options: Omit< - UseInfiniteQueryOptions, - 'queryKey' - > & { - queryKey?: UseInfiniteQueryOptions< - GetListDetailsWithPositionQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useInfiniteQuery( - (() => { - const { queryKey: optionsQueryKey, ...restOptions } = options - return { - queryKey: - optionsQueryKey ?? variables === undefined - ? ['GetListDetailsWithPosition.infinite'] - : ['GetListDetailsWithPosition.infinite', variables], - queryFn: (metaData) => - fetcher< - GetListDetailsWithPositionQuery, - GetListDetailsWithPositionQueryVariables - >(GetListDetailsWithPositionDocument, { - ...variables, - ...(metaData.pageParam ?? {}), - })(), - ...restOptions, - } - })(), - ) + `; +export const AccountMetadataFragmentDoc = ` + fragment AccountMetadata on accounts { + label + image + id + atom_id + type } - -useInfiniteGetListDetailsWithPositionQuery.getKey = ( - variables?: GetListDetailsWithPositionQueryVariables, -) => - variables === undefined - ? ['GetListDetailsWithPosition.infinite'] - : ['GetListDetailsWithPosition.infinite', variables] - -useGetListDetailsWithPositionQuery.fetcher = ( - variables?: GetListDetailsWithPositionQueryVariables, - options?: RequestInit['headers'], -) => - fetcher< - GetListDetailsWithPositionQuery, - GetListDetailsWithPositionQueryVariables - >(GetListDetailsWithPositionDocument, variables, options) - -export const GetListDetailsWithUserDocument = ` - query GetListDetailsWithUser($globalWhere: triples_bool_exp, $userWhere: triples_bool_exp, $tagPredicateId: numeric, $address: String, $limit: Int, $offset: Int, $orderBy: [triples_order_by!]) { - globalTriplesAggregate: triples_aggregate(where: $globalWhere) { - aggregate { - count - } - } - globalTriples: triples( - where: $globalWhere - limit: $limit - offset: $offset - order_by: $orderBy - ) { + `; +export const AtomTripleFragmentDoc = ` + fragment AtomTriple on atoms { + as_subject_triples { term_id - counter_term_id - subject { - term_id - label - wallet_id - image - type - tags: as_subject_triples_aggregate( - where: {predicate_id: {_eq: $tagPredicateId}} - ) { - nodes { - object { - label - term_id - taggedIdentities: as_object_triples_aggregate { - nodes { - subject { - label - term_id - } - term_id - } - aggregate { - count - } - } - } - } - aggregate { - count - } - } - } object { + data term_id - label - wallet_id - image - type - } - predicate { - term_id - label - wallet_id image - type - } - term { - vaults { - current_share_price - position_count - total_shares - } - positions(where: {account_id: {_ilike: $address}}) { - account { - id - label - image - } - shares - } - } - counter_term { - vaults { - current_share_price - position_count - total_shares - } - positions(where: {account_id: {_ilike: $address}}) { - account { - id - label - image - } - shares - } - } - } - userTriplesAggregate: triples_aggregate(where: $userWhere) { - aggregate { - count - } - } - userTriples: triples(where: $userWhere) { - term_id - counter_term_id - subject { - term_id label - wallet_id - image + emoji type - tags: as_subject_triples_aggregate( - where: {predicate_id: {_eq: $tagPredicateId}} - ) { - nodes { - object { - label - term_id - taggedIdentities: as_object_triples_aggregate { - nodes { - subject { - label - term_id - } - term_id - } - aggregate { - count - } - } - } - } - aggregate { - count - } + creator { + ...AccountMetadata } } - object { - term_id - label - wallet_id - image - type - } predicate { + data term_id - label - wallet_id image + label + emoji type - } - term { - vaults { - current_share_price - position_count - total_shares - } - positions(where: {account_id: {_ilike: $address}}) { - account { - id - label - image - } - shares - } - } - counter_term { - vaults { - current_share_price - position_count - total_shares - } - positions(where: {account_id: {_ilike: $address}}) { - account { - id - label - image - } - shares - } - } - } -} - ` - -export const useGetListDetailsWithUserQuery = < - TData = GetListDetailsWithUserQuery, - TError = unknown, ->( - variables?: GetListDetailsWithUserQueryVariables, - options?: Omit< - UseQueryOptions, - 'queryKey' - > & { - queryKey?: UseQueryOptions< - GetListDetailsWithUserQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useQuery({ - queryKey: - variables === undefined - ? ['GetListDetailsWithUser'] - : ['GetListDetailsWithUser', variables], - queryFn: fetcher< - GetListDetailsWithUserQuery, - GetListDetailsWithUserQueryVariables - >(GetListDetailsWithUserDocument, variables), - ...options, - }) -} - -useGetListDetailsWithUserQuery.document = GetListDetailsWithUserDocument - -useGetListDetailsWithUserQuery.getKey = ( - variables?: GetListDetailsWithUserQueryVariables, -) => - variables === undefined - ? ['GetListDetailsWithUser'] - : ['GetListDetailsWithUser', variables] - -export const useInfiniteGetListDetailsWithUserQuery = < - TData = InfiniteData, - TError = unknown, ->( - variables: GetListDetailsWithUserQueryVariables, - options: Omit< - UseInfiniteQueryOptions, - 'queryKey' - > & { - queryKey?: UseInfiniteQueryOptions< - GetListDetailsWithUserQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useInfiniteQuery( - (() => { - const { queryKey: optionsQueryKey, ...restOptions } = options - return { - queryKey: - optionsQueryKey ?? variables === undefined - ? ['GetListDetailsWithUser.infinite'] - : ['GetListDetailsWithUser.infinite', variables], - queryFn: (metaData) => - fetcher< - GetListDetailsWithUserQuery, - GetListDetailsWithUserQueryVariables - >(GetListDetailsWithUserDocument, { - ...variables, - ...(metaData.pageParam ?? {}), - })(), - ...restOptions, + creator { + ...AccountMetadata } - })(), - ) -} - -useInfiniteGetListDetailsWithUserQuery.getKey = ( - variables?: GetListDetailsWithUserQueryVariables, -) => - variables === undefined - ? ['GetListDetailsWithUser.infinite'] - : ['GetListDetailsWithUser.infinite', variables] - -useGetListDetailsWithUserQuery.fetcher = ( - variables?: GetListDetailsWithUserQueryVariables, - options?: RequestInit['headers'], -) => - fetcher( - GetListDetailsWithUserDocument, - variables, - options, - ) - -export const GetListDetailsSimplifiedDocument = ` - query GetListDetailsSimplified($globalWhere: triples_bool_exp, $address: String, $limit: Int, $offset: Int, $orderBy: [triples_order_by!]) { - globalTriplesAggregate: triples_aggregate(where: $globalWhere) { - aggregate { - count } } - globalTriples: triples( - where: $globalWhere - limit: $limit - offset: $offset - order_by: $orderBy - ) { + as_predicate_triples { term_id - counter_term_id subject { + data term_id - label - wallet_id image + label + emoji type - term { - vaults(where: {curve_id: {_eq: "1"}}) { - current_share_price - position_count - total_shares - } + creator { + ...AccountMetadata } } object { + data term_id + image label - wallet_id + emoji + type + creator { + ...AccountMetadata + } + } + } + as_object_triples { + term_id + subject { + data + term_id image + label + emoji type + creator { + ...AccountMetadata + } } predicate { + data term_id - label - wallet_id image + label + emoji type + creator { + ...AccountMetadata + } } - term { - vaults(where: {curve_id: {_eq: "1"}}) { - current_share_price - position_count - total_shares - positions(where: {account_id: {_ilike: $address}}) { - account { - id - label - image + } +} + `; +export const AtomVaultDetailsWithPositionsFragmentDoc = ` + fragment AtomVaultDetailsWithPositions on atoms { + term { + vaults(where: {curve_id: {_eq: "1"}}) { + total_shares + current_share_price + positions_aggregate(where: {account_id: {_in: $addresses}}) { + aggregate { + sum { + shares } - shares } - } - } - counter_term { - vaults(where: {curve_id: {_eq: "1"}}) { - current_share_price - position_count - total_shares - positions(where: {account_id: {_ilike: $address}}) { + nodes { account { id - label - image } shares } @@ -25037,983 +11951,354 @@ export const GetListDetailsSimplifiedDocument = ` } } } - ` - -export const useGetListDetailsSimplifiedQuery = < - TData = GetListDetailsSimplifiedQuery, - TError = unknown, ->( - variables?: GetListDetailsSimplifiedQueryVariables, - options?: Omit< - UseQueryOptions, - 'queryKey' - > & { - queryKey?: UseQueryOptions< - GetListDetailsSimplifiedQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useQuery({ - queryKey: - variables === undefined - ? ['GetListDetailsSimplified'] - : ['GetListDetailsSimplified', variables], - queryFn: fetcher< - GetListDetailsSimplifiedQuery, - GetListDetailsSimplifiedQueryVariables - >(GetListDetailsSimplifiedDocument, variables), - ...options, - }) + `; +export const DepositEventFragmentFragmentDoc = ` + fragment DepositEventFragment on events { + deposit { + term_id + curve_id + shares + receiver { + id + } + sender { + id + } + } } - -useGetListDetailsSimplifiedQuery.document = GetListDetailsSimplifiedDocument - -useGetListDetailsSimplifiedQuery.getKey = ( - variables?: GetListDetailsSimplifiedQueryVariables, -) => - variables === undefined - ? ['GetListDetailsSimplified'] - : ['GetListDetailsSimplified', variables] - -export const useInfiniteGetListDetailsSimplifiedQuery = < - TData = InfiniteData, - TError = unknown, ->( - variables: GetListDetailsSimplifiedQueryVariables, - options: Omit< - UseInfiniteQueryOptions, - 'queryKey' - > & { - queryKey?: UseInfiniteQueryOptions< - GetListDetailsSimplifiedQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useInfiniteQuery( - (() => { - const { queryKey: optionsQueryKey, ...restOptions } = options - return { - queryKey: - optionsQueryKey ?? variables === undefined - ? ['GetListDetailsSimplified.infinite'] - : ['GetListDetailsSimplified.infinite', variables], - queryFn: (metaData) => - fetcher< - GetListDetailsSimplifiedQuery, - GetListDetailsSimplifiedQueryVariables - >(GetListDetailsSimplifiedDocument, { - ...variables, - ...(metaData.pageParam ?? {}), - })(), - ...restOptions, - } - })(), - ) + `; +export const RedemptionEventFragmentFragmentDoc = ` + fragment RedemptionEventFragment on events { + redemption { + term_id + curve_id + receiver_id + shares + } } - -useInfiniteGetListDetailsSimplifiedQuery.getKey = ( - variables?: GetListDetailsSimplifiedQueryVariables, -) => - variables === undefined - ? ['GetListDetailsSimplified.infinite'] - : ['GetListDetailsSimplified.infinite', variables] - -useGetListDetailsSimplifiedQuery.fetcher = ( - variables?: GetListDetailsSimplifiedQueryVariables, - options?: RequestInit['headers'], -) => - fetcher< - GetListDetailsSimplifiedQuery, - GetListDetailsSimplifiedQueryVariables - >(GetListDetailsSimplifiedDocument, variables, options) - -export const GetFeeTransfersDocument = ` - query GetFeeTransfers($address: String!, $cutoff_timestamp: timestamptz) { - before_cutoff: fee_transfers_aggregate( - where: {created_at: {_lte: $cutoff_timestamp}, sender_id: {_ilike: $address}} - ) { - aggregate { - sum { - amount - } + `; +export const AtomValueFragmentDoc = ` + fragment AtomValue on atoms { + value { + person { + name + image + description + url + } + thing { + name + image + description + url + } + organization { + name + image + description + url + } + account { + id + label + image } } - after_cutoff: fee_transfers_aggregate( - where: {created_at: {_gt: $cutoff_timestamp}, sender_id: {_ilike: $address}} - ) { - aggregate { - sum { - amount - } +} + `; +export const AtomMetadataFragmentDoc = ` + fragment AtomMetadata on atoms { + term_id + data + image + label + emoji + type + wallet_id + creator { + id + label + image + } + ...AtomValue +} + `; +export const PositionAggregateFieldsFragmentDoc = ` + fragment PositionAggregateFields on positions_aggregate { + aggregate { + count + sum { + shares } } } - ` - -export const useGetFeeTransfersQuery = < - TData = GetFeeTransfersQuery, - TError = unknown, ->( - variables: GetFeeTransfersQueryVariables, - options?: Omit< - UseQueryOptions, - 'queryKey' - > & { - queryKey?: UseQueryOptions['queryKey'] - }, -) => { - return useQuery({ - queryKey: ['GetFeeTransfers', variables], - queryFn: fetcher( - GetFeeTransfersDocument, - variables, - ), - ...options, - }) + `; +export const PositionFieldsFragmentDoc = ` + fragment PositionFields on positions { + account { + id + label + } + shares + vault { + term_id + total_shares + current_share_price + } } - -useGetFeeTransfersQuery.document = GetFeeTransfersDocument - -useGetFeeTransfersQuery.getKey = (variables: GetFeeTransfersQueryVariables) => [ - 'GetFeeTransfers', - variables, -] - -export const useInfiniteGetFeeTransfersQuery = < - TData = InfiniteData, - TError = unknown, ->( - variables: GetFeeTransfersQueryVariables, - options: Omit< - UseInfiniteQueryOptions, - 'queryKey' - > & { - queryKey?: UseInfiniteQueryOptions< - GetFeeTransfersQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useInfiniteQuery( - (() => { - const { queryKey: optionsQueryKey, ...restOptions } = options - return { - queryKey: optionsQueryKey ?? ['GetFeeTransfers.infinite', variables], - queryFn: (metaData) => - fetcher( - GetFeeTransfersDocument, - { ...variables, ...(metaData.pageParam ?? {}) }, - )(), - ...restOptions, + `; +export const TripleMetadataFragmentDoc = ` + fragment TripleMetadata on triples { + term_id + subject_id + predicate_id + object_id + subject { + data + term_id + image + label + emoji + type + ...AtomValue + creator { + ...AccountMetadata + } + } + predicate { + data + term_id + image + label + emoji + type + ...AtomValue + creator { + ...AccountMetadata + } + } + object { + data + term_id + image + label + emoji + type + ...AtomValue + creator { + ...AccountMetadata + } + } + term { + vaults(where: {curve_id: {_eq: "1"}}) { + total_shares + current_share_price + allPositions: positions_aggregate { + ...PositionAggregateFields + } + positions { + ...PositionFields + } + } + } + counter_term { + vaults(where: {curve_id: {_eq: "1"}}) { + total_shares + current_share_price + allPositions: positions_aggregate { + ...PositionAggregateFields + } + positions { + ...PositionFields } - })(), - ) + } + } } - -useInfiniteGetFeeTransfersQuery.getKey = ( - variables: GetFeeTransfersQueryVariables, -) => ['GetFeeTransfers.infinite', variables] - -useGetFeeTransfersQuery.fetcher = ( - variables: GetFeeTransfersQueryVariables, - options?: RequestInit['headers'], -) => - fetcher( - GetFeeTransfersDocument, - variables, - options, - ) - -export const GetPositionsDocument = ` - query GetPositions($limit: Int, $offset: Int, $orderBy: [positions_order_by!], $where: positions_bool_exp) { - total: positions_aggregate(where: $where) { - aggregate { - count - sum { - shares + `; +export const EventDetailsFragmentDoc = ` + fragment EventDetails on events { + block_number + created_at + type + transaction_hash + atom_id + triple_id + deposit_id + redemption_id + ...DepositEventFragment + ...RedemptionEventFragment + atom { + ...AtomMetadata + term { + vaults(where: {curve_id: {_eq: "1"}}) { + total_shares + position_count + positions { + account_id + shares + account { + id + label + image + } + } } } } - positions(limit: $limit, offset: $offset, order_by: $orderBy, where: $where) { - ...PositionDetails - } -} - ${PositionDetailsFragmentDoc} -${AtomValueFragmentDoc} -${AccountMetadataFragmentDoc}` - -export const useGetPositionsQuery = < - TData = GetPositionsQuery, - TError = unknown, ->( - variables?: GetPositionsQueryVariables, - options?: Omit< - UseQueryOptions, - 'queryKey' - > & { - queryKey?: UseQueryOptions['queryKey'] - }, -) => { - return useQuery({ - queryKey: - variables === undefined ? ['GetPositions'] : ['GetPositions', variables], - queryFn: fetcher( - GetPositionsDocument, - variables, - ), - ...options, - }) -} - -useGetPositionsQuery.document = GetPositionsDocument - -useGetPositionsQuery.getKey = (variables?: GetPositionsQueryVariables) => - variables === undefined ? ['GetPositions'] : ['GetPositions', variables] - -export const useInfiniteGetPositionsQuery = < - TData = InfiniteData, - TError = unknown, ->( - variables: GetPositionsQueryVariables, - options: Omit< - UseInfiniteQueryOptions, - 'queryKey' - > & { - queryKey?: UseInfiniteQueryOptions< - GetPositionsQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useInfiniteQuery( - (() => { - const { queryKey: optionsQueryKey, ...restOptions } = options - return { - queryKey: - optionsQueryKey ?? variables === undefined - ? ['GetPositions.infinite'] - : ['GetPositions.infinite', variables], - queryFn: (metaData) => - fetcher( - GetPositionsDocument, - { ...variables, ...(metaData.pageParam ?? {}) }, - )(), - ...restOptions, - } - })(), - ) -} - -useInfiniteGetPositionsQuery.getKey = ( - variables?: GetPositionsQueryVariables, -) => - variables === undefined - ? ['GetPositions.infinite'] - : ['GetPositions.infinite', variables] - -useGetPositionsQuery.fetcher = ( - variables?: GetPositionsQueryVariables, - options?: RequestInit['headers'], -) => - fetcher( - GetPositionsDocument, - variables, - options, - ) - -export const GetTriplePositionsByAddressDocument = ` - query GetTriplePositionsByAddress($limit: Int, $offset: Int, $orderBy: [positions_order_by!], $where: positions_bool_exp, $address: String!) { - total: positions_aggregate(where: $where) { - aggregate { - count - sum { - shares + triple { + ...TripleMetadata + term { + vaults(where: {curve_id: {_eq: "1"}}) { + total_shares + position_count + positions { + account_id + shares + account { + id + label + image + } + } } } - } - positions(limit: $limit, offset: $offset, order_by: $orderBy, where: $where) { - ...PositionDetails - vault { - term_id - term { - triple { - term { - positions(where: {account_id: {_ilike: $address}}) { - account { - id - label - image - } - shares - } - } - counter_term { - positions(where: {account_id: {_ilike: $address}}) { - account { - id - label - image - } - shares - } + counter_term { + vaults(where: {curve_id: {_eq: "1"}}) { + total_shares + position_count + positions { + account_id + shares + account { + id + label + image } } } } } } - ${PositionDetailsFragmentDoc} -${AtomValueFragmentDoc} -${AccountMetadataFragmentDoc}` - -export const useGetTriplePositionsByAddressQuery = < - TData = GetTriplePositionsByAddressQuery, - TError = unknown, ->( - variables: GetTriplePositionsByAddressQueryVariables, - options?: Omit< - UseQueryOptions, - 'queryKey' - > & { - queryKey?: UseQueryOptions< - GetTriplePositionsByAddressQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useQuery({ - queryKey: ['GetTriplePositionsByAddress', variables], - queryFn: fetcher< - GetTriplePositionsByAddressQuery, - GetTriplePositionsByAddressQueryVariables - >(GetTriplePositionsByAddressDocument, variables), - ...options, - }) -} - -useGetTriplePositionsByAddressQuery.document = - GetTriplePositionsByAddressDocument - -useGetTriplePositionsByAddressQuery.getKey = ( - variables: GetTriplePositionsByAddressQueryVariables, -) => ['GetTriplePositionsByAddress', variables] - -export const useInfiniteGetTriplePositionsByAddressQuery = < - TData = InfiniteData, - TError = unknown, ->( - variables: GetTriplePositionsByAddressQueryVariables, - options: Omit< - UseInfiniteQueryOptions, - 'queryKey' - > & { - queryKey?: UseInfiniteQueryOptions< - GetTriplePositionsByAddressQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useInfiniteQuery( - (() => { - const { queryKey: optionsQueryKey, ...restOptions } = options - return { - queryKey: optionsQueryKey ?? [ - 'GetTriplePositionsByAddress.infinite', - variables, - ], - queryFn: (metaData) => - fetcher< - GetTriplePositionsByAddressQuery, - GetTriplePositionsByAddressQueryVariables - >(GetTriplePositionsByAddressDocument, { - ...variables, - ...(metaData.pageParam ?? {}), - })(), - ...restOptions, - } - })(), - ) -} - -useInfiniteGetTriplePositionsByAddressQuery.getKey = ( - variables: GetTriplePositionsByAddressQueryVariables, -) => ['GetTriplePositionsByAddress.infinite', variables] - -useGetTriplePositionsByAddressQuery.fetcher = ( - variables: GetTriplePositionsByAddressQueryVariables, - options?: RequestInit['headers'], -) => - fetcher< - GetTriplePositionsByAddressQuery, - GetTriplePositionsByAddressQueryVariables - >(GetTriplePositionsByAddressDocument, variables, options) - -export const GetPositionsWithAggregatesDocument = ` - query GetPositionsWithAggregates($limit: Int, $offset: Int, $orderBy: [positions_order_by!], $where: positions_bool_exp) { - positions_aggregate( - limit: $limit - offset: $offset - order_by: $orderBy - where: $where - ) { - aggregate { - count - } - nodes { - ...PositionDetails - } + `; +export const FollowMetadataFragmentDoc = ` + fragment FollowMetadata on triples { + term_id + subject { + term_id + label } -} - ${PositionDetailsFragmentDoc} -${AtomValueFragmentDoc} -${AccountMetadataFragmentDoc}` - -export const useGetPositionsWithAggregatesQuery = < - TData = GetPositionsWithAggregatesQuery, - TError = unknown, ->( - variables?: GetPositionsWithAggregatesQueryVariables, - options?: Omit< - UseQueryOptions, - 'queryKey' - > & { - queryKey?: UseQueryOptions< - GetPositionsWithAggregatesQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useQuery({ - queryKey: - variables === undefined - ? ['GetPositionsWithAggregates'] - : ['GetPositionsWithAggregates', variables], - queryFn: fetcher< - GetPositionsWithAggregatesQuery, - GetPositionsWithAggregatesQueryVariables - >(GetPositionsWithAggregatesDocument, variables), - ...options, - }) -} - -useGetPositionsWithAggregatesQuery.document = GetPositionsWithAggregatesDocument - -useGetPositionsWithAggregatesQuery.getKey = ( - variables?: GetPositionsWithAggregatesQueryVariables, -) => - variables === undefined - ? ['GetPositionsWithAggregates'] - : ['GetPositionsWithAggregates', variables] - -export const useInfiniteGetPositionsWithAggregatesQuery = < - TData = InfiniteData, - TError = unknown, ->( - variables: GetPositionsWithAggregatesQueryVariables, - options: Omit< - UseInfiniteQueryOptions, - 'queryKey' - > & { - queryKey?: UseInfiniteQueryOptions< - GetPositionsWithAggregatesQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useInfiniteQuery( - (() => { - const { queryKey: optionsQueryKey, ...restOptions } = options - return { - queryKey: - optionsQueryKey ?? variables === undefined - ? ['GetPositionsWithAggregates.infinite'] - : ['GetPositionsWithAggregates.infinite', variables], - queryFn: (metaData) => - fetcher< - GetPositionsWithAggregatesQuery, - GetPositionsWithAggregatesQueryVariables - >(GetPositionsWithAggregatesDocument, { - ...variables, - ...(metaData.pageParam ?? {}), - })(), - ...restOptions, - } - })(), - ) -} - -useInfiniteGetPositionsWithAggregatesQuery.getKey = ( - variables?: GetPositionsWithAggregatesQueryVariables, -) => - variables === undefined - ? ['GetPositionsWithAggregates.infinite'] - : ['GetPositionsWithAggregates.infinite', variables] - -useGetPositionsWithAggregatesQuery.fetcher = ( - variables?: GetPositionsWithAggregatesQueryVariables, - options?: RequestInit['headers'], -) => - fetcher< - GetPositionsWithAggregatesQuery, - GetPositionsWithAggregatesQueryVariables - >(GetPositionsWithAggregatesDocument, variables, options) - -export const GetPositionsCountDocument = ` - query GetPositionsCount($where: positions_bool_exp) { - positions_aggregate(where: $where) { - total: aggregate { - count - sum { - shares - } - } + predicate { + term_id + label } -} - ` - -export const useGetPositionsCountQuery = < - TData = GetPositionsCountQuery, - TError = unknown, ->( - variables?: GetPositionsCountQueryVariables, - options?: Omit< - UseQueryOptions, - 'queryKey' - > & { - queryKey?: UseQueryOptions< - GetPositionsCountQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useQuery({ - queryKey: - variables === undefined - ? ['GetPositionsCount'] - : ['GetPositionsCount', variables], - queryFn: fetcher( - GetPositionsCountDocument, - variables, - ), - ...options, - }) -} - -useGetPositionsCountQuery.document = GetPositionsCountDocument - -useGetPositionsCountQuery.getKey = ( - variables?: GetPositionsCountQueryVariables, -) => - variables === undefined - ? ['GetPositionsCount'] - : ['GetPositionsCount', variables] - -export const useInfiniteGetPositionsCountQuery = < - TData = InfiniteData, - TError = unknown, ->( - variables: GetPositionsCountQueryVariables, - options: Omit< - UseInfiniteQueryOptions, - 'queryKey' - > & { - queryKey?: UseInfiniteQueryOptions< - GetPositionsCountQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useInfiniteQuery( - (() => { - const { queryKey: optionsQueryKey, ...restOptions } = options - return { - queryKey: - optionsQueryKey ?? variables === undefined - ? ['GetPositionsCount.infinite'] - : ['GetPositionsCount.infinite', variables], - queryFn: (metaData) => - fetcher( - GetPositionsCountDocument, - { ...variables, ...(metaData.pageParam ?? {}) }, - )(), - ...restOptions, - } - })(), - ) -} - -useInfiniteGetPositionsCountQuery.getKey = ( - variables?: GetPositionsCountQueryVariables, -) => - variables === undefined - ? ['GetPositionsCount.infinite'] - : ['GetPositionsCount.infinite', variables] - -useGetPositionsCountQuery.fetcher = ( - variables?: GetPositionsCountQueryVariables, - options?: RequestInit['headers'], -) => - fetcher( - GetPositionsCountDocument, - variables, - options, - ) - -export const GetPositionDocument = ` - query GetPosition($positionId: String!) { - position(id: $positionId) { - ...PositionDetails + object { + term_id + label } -} - ${PositionDetailsFragmentDoc} -${AtomValueFragmentDoc} -${AccountMetadataFragmentDoc}` - -export const useGetPositionQuery = ( - variables: GetPositionQueryVariables, - options?: Omit< - UseQueryOptions, - 'queryKey' - > & { - queryKey?: UseQueryOptions['queryKey'] - }, -) => { - return useQuery({ - queryKey: ['GetPosition', variables], - queryFn: fetcher( - GetPositionDocument, - variables, - ), - ...options, - }) -} - -useGetPositionQuery.document = GetPositionDocument - -useGetPositionQuery.getKey = (variables: GetPositionQueryVariables) => [ - 'GetPosition', - variables, -] - -export const useInfiniteGetPositionQuery = < - TData = InfiniteData, - TError = unknown, ->( - variables: GetPositionQueryVariables, - options: Omit< - UseInfiniteQueryOptions, - 'queryKey' - > & { - queryKey?: UseInfiniteQueryOptions< - GetPositionQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useInfiniteQuery( - (() => { - const { queryKey: optionsQueryKey, ...restOptions } = options - return { - queryKey: optionsQueryKey ?? ['GetPosition.infinite', variables], - queryFn: (metaData) => - fetcher( - GetPositionDocument, - { ...variables, ...(metaData.pageParam ?? {}) }, - )(), - ...restOptions, + term { + vaults(where: {curve_id: {_eq: "1"}}) { + term_id + total_shares + current_share_price + positions_aggregate(where: $positionsWhere) { + aggregate { + count + sum { + shares + } + } } - })(), - ) -} - -useInfiniteGetPositionQuery.getKey = (variables: GetPositionQueryVariables) => [ - 'GetPosition.infinite', - variables, -] - -useGetPositionQuery.fetcher = ( - variables: GetPositionQueryVariables, - options?: RequestInit['headers'], -) => - fetcher( - GetPositionDocument, - variables, - options, - ) - -export const GetPositionsCountByTypeDocument = ` - query GetPositionsCountByType($where: positions_bool_exp) { - positions_aggregate(where: $where) { - total: aggregate { - count - sum { + positions( + limit: $positionsLimit + offset: $positionsOffset + order_by: $positionsOrderBy + where: $positionsWhere + ) { + account { + id + label + } shares } } } - positions { - vault { - term_id - } - } -} - ` - -export const useGetPositionsCountByTypeQuery = < - TData = GetPositionsCountByTypeQuery, - TError = unknown, ->( - variables?: GetPositionsCountByTypeQueryVariables, - options?: Omit< - UseQueryOptions, - 'queryKey' - > & { - queryKey?: UseQueryOptions< - GetPositionsCountByTypeQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useQuery({ - queryKey: - variables === undefined - ? ['GetPositionsCountByType'] - : ['GetPositionsCountByType', variables], - queryFn: fetcher< - GetPositionsCountByTypeQuery, - GetPositionsCountByTypeQueryVariables - >(GetPositionsCountByTypeDocument, variables), - ...options, - }) -} - -useGetPositionsCountByTypeQuery.document = GetPositionsCountByTypeDocument - -useGetPositionsCountByTypeQuery.getKey = ( - variables?: GetPositionsCountByTypeQueryVariables, -) => - variables === undefined - ? ['GetPositionsCountByType'] - : ['GetPositionsCountByType', variables] - -export const useInfiniteGetPositionsCountByTypeQuery = < - TData = InfiniteData, - TError = unknown, ->( - variables: GetPositionsCountByTypeQueryVariables, - options: Omit< - UseInfiniteQueryOptions, - 'queryKey' - > & { - queryKey?: UseInfiniteQueryOptions< - GetPositionsCountByTypeQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useInfiniteQuery( - (() => { - const { queryKey: optionsQueryKey, ...restOptions } = options - return { - queryKey: - optionsQueryKey ?? variables === undefined - ? ['GetPositionsCountByType.infinite'] - : ['GetPositionsCountByType.infinite', variables], - queryFn: (metaData) => - fetcher< - GetPositionsCountByTypeQuery, - GetPositionsCountByTypeQueryVariables - >(GetPositionsCountByTypeDocument, { - ...variables, - ...(metaData.pageParam ?? {}), - })(), - ...restOptions, - } - })(), - ) } - -useInfiniteGetPositionsCountByTypeQuery.getKey = ( - variables?: GetPositionsCountByTypeQueryVariables, -) => - variables === undefined - ? ['GetPositionsCountByType.infinite'] - : ['GetPositionsCountByType.infinite', variables] - -useGetPositionsCountByTypeQuery.fetcher = ( - variables?: GetPositionsCountByTypeQueryVariables, - options?: RequestInit['headers'], -) => - fetcher( - GetPositionsCountByTypeDocument, - variables, - options, - ) - -export const SearchPositionsDocument = ` - query SearchPositions($addresses: _text, $search_fields: jsonb) { - positions: search_positions_on_subject( - args: {addresses: $addresses, search_fields: $search_fields} - ) { - term { - triple { - subject { - data - } - predicate { - data - } - object { - data - } - } - } + `; +export const FollowAggregateFragmentDoc = ` + fragment FollowAggregate on triples_aggregate { + aggregate { + count } } - ` - -export const useSearchPositionsQuery = < - TData = SearchPositionsQuery, - TError = unknown, ->( - variables?: SearchPositionsQueryVariables, - options?: Omit< - UseQueryOptions, - 'queryKey' - > & { - queryKey?: UseQueryOptions['queryKey'] - }, -) => { - return useQuery({ - queryKey: - variables === undefined - ? ['SearchPositions'] - : ['SearchPositions', variables], - queryFn: fetcher( - SearchPositionsDocument, - variables, - ), - ...options, - }) + `; +export const StatDetailsFragmentDoc = ` + fragment StatDetails on stats { + contract_balance + total_accounts + total_fees + total_atoms + total_triples + total_positions + total_signals } - -useSearchPositionsQuery.document = SearchPositionsDocument - -useSearchPositionsQuery.getKey = (variables?: SearchPositionsQueryVariables) => - variables === undefined ? ['SearchPositions'] : ['SearchPositions', variables] - -export const useInfiniteSearchPositionsQuery = < - TData = InfiniteData, - TError = unknown, ->( - variables: SearchPositionsQueryVariables, - options: Omit< - UseInfiniteQueryOptions, - 'queryKey' - > & { - queryKey?: UseInfiniteQueryOptions< - SearchPositionsQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useInfiniteQuery( - (() => { - const { queryKey: optionsQueryKey, ...restOptions } = options - return { - queryKey: - optionsQueryKey ?? variables === undefined - ? ['SearchPositions.infinite'] - : ['SearchPositions.infinite', variables], - queryFn: (metaData) => - fetcher( - SearchPositionsDocument, - { ...variables, ...(metaData.pageParam ?? {}) }, - )(), - ...restOptions, - } - })(), - ) + `; +export const TripleTxnFragmentDoc = ` + fragment TripleTxn on triples { + block_number + created_at + transaction_hash + creator_id } - -useInfiniteSearchPositionsQuery.getKey = ( - variables?: SearchPositionsQueryVariables, -) => - variables === undefined - ? ['SearchPositions.infinite'] - : ['SearchPositions.infinite', variables] - -useSearchPositionsQuery.fetcher = ( - variables?: SearchPositionsQueryVariables, - options?: RequestInit['headers'], -) => - fetcher( - SearchPositionsDocument, - variables, - options, - ) - -export const GetSignalsDocument = ` - query GetSignals($limit: Int, $offset: Int, $orderBy: [signals_order_by!], $addresses: [String!]) { - total: events_aggregate { - aggregate { - count - } - } - signals(limit: $limit, offset: $offset, order_by: $orderBy) { + `; +export const PositionDetailsFragmentDoc = ` + fragment PositionDetails on positions { + id + account { id - block_number - created_at - transaction_hash - atom_id - triple_id - deposit_id - redemption_id + label + image + } + vault { + term_id term { atom { - ...AtomMetadata + term_id + label + image + } + triple { + term_id term { - vaults { - total_shares + vaults(where: {curve_id: {_eq: "1"}}) { + term_id position_count - positions(where: {account: {id: {_in: $addresses}}}) { - account_id - shares - account { - id - label - image + positions_aggregate { + aggregate { + sum { + shares + } } } } } - } - triple { - term_id - creator { - ...AccountMetadata + counter_term { + vaults(where: {curve_id: {_eq: "1"}}) { + term_id + position_count + positions_aggregate { + aggregate { + sum { + shares + } + } + } + } } subject { data term_id - image label + image emoji type ...AtomValue @@ -26024,8 +12309,8 @@ export const GetSignalsDocument = ` predicate { data term_id - image label + image emoji type ...AtomValue @@ -26036,8 +12321,8 @@ export const GetSignalsDocument = ` object { data term_id - image label + image emoji type ...AtomValue @@ -26045,928 +12330,209 @@ export const GetSignalsDocument = ` ...AccountMetadata } } - term { - vaults { - total_shares - position_count - positions(where: {account: {id: {_in: $addresses}}}) { - account_id - shares - account { - id - label - image - } - } - } - } - counter_term { - vaults { - total_shares - position_count - positions(where: {account: {id: {_in: $addresses}}}) { - account_id - shares - account { - id - label - image - } - } - } - } } } - deposit { - sender_id - sender { - id - label - image - } - receiver_id - receiver { - id + } + shares + term_id + curve_id +} + `; +export const TripleVaultDetailsFragmentDoc = ` + fragment TripleVaultDetails on triples { + term_id + counter_term_id + term { + vaults(where: {curve_id: {_eq: "1"}}) { + positions { + ...PositionDetails + } + } + } + counter_term { + vaults(where: {curve_id: {_eq: "1"}}) { + positions { + ...PositionDetails + } + } + } +} + `; +export const VaultBasicDetailsFragmentDoc = ` + fragment VaultBasicDetails on vaults { + term_id + curve_id + term { + atom { + term_id + label + } + triple { + term_id + subject { + term_id label - image - } - shares_for_receiver - sender_assets_after_total_fees - vault { - total_shares - position_count - positions(where: {account: {id: {_in: $addresses}}}) { - account_id - shares - account { - id - label - image - } - } } - } - redemption { - sender_id - sender { - id + predicate { + term_id label - image } - receiver_id - receiver { - id + object { + term_id label - image } - assets_for_receiver - shares_redeemed_by_sender } } + current_share_price + total_shares } - ${AtomMetadataFragmentDoc} -${AtomValueFragmentDoc} -${AccountMetadataFragmentDoc}` - -export const useGetSignalsQuery = ( - variables?: GetSignalsQueryVariables, - options?: Omit< - UseQueryOptions, - 'queryKey' - > & { - queryKey?: UseQueryOptions['queryKey'] - }, -) => { - return useQuery({ - queryKey: - variables === undefined ? ['GetSignals'] : ['GetSignals', variables], - queryFn: fetcher( - GetSignalsDocument, - variables, - ), - ...options, - }) + `; +export const VaultFilteredPositionsFragmentDoc = ` + fragment VaultFilteredPositions on vaults { + positions(where: {account_id: {_in: $addresses}}) { + ...PositionFields + } } - -useGetSignalsQuery.document = GetSignalsDocument - -useGetSignalsQuery.getKey = (variables?: GetSignalsQueryVariables) => - variables === undefined ? ['GetSignals'] : ['GetSignals', variables] - -export const useInfiniteGetSignalsQuery = < - TData = InfiniteData, - TError = unknown, ->( - variables: GetSignalsQueryVariables, - options: Omit< - UseInfiniteQueryOptions, - 'queryKey' - > & { - queryKey?: UseInfiniteQueryOptions< - GetSignalsQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useInfiniteQuery( - (() => { - const { queryKey: optionsQueryKey, ...restOptions } = options - return { - queryKey: - optionsQueryKey ?? variables === undefined - ? ['GetSignals.infinite'] - : ['GetSignals.infinite', variables], - queryFn: (metaData) => - fetcher( - GetSignalsDocument, - { ...variables, ...(metaData.pageParam ?? {}) }, - )(), - ...restOptions, - } - })(), - ) + `; +export const VaultDetailsWithFilteredPositionsFragmentDoc = ` + fragment VaultDetailsWithFilteredPositions on vaults { + ...VaultBasicDetails + ...VaultFilteredPositions } - -useInfiniteGetSignalsQuery.getKey = (variables?: GetSignalsQueryVariables) => - variables === undefined - ? ['GetSignals.infinite'] - : ['GetSignals.infinite', variables] - -useGetSignalsQuery.fetcher = ( - variables?: GetSignalsQueryVariables, - options?: RequestInit['headers'], -) => - fetcher( - GetSignalsDocument, - variables, - options, - ) - -export const GetStatsDocument = ` - query GetStats { - stats { - ...StatDetails + `; +export const TripleVaultCouterVaultDetailsWithPositionsFragmentDoc = ` + fragment TripleVaultCouterVaultDetailsWithPositions on triples { + term_id + counter_term_id + term { + vaults(where: {curve_id: {_eq: "1"}}) { + ...VaultDetailsWithFilteredPositions + } + } + counter_term { + vaults(where: {curve_id: {_eq: "1"}}) { + ...VaultDetailsWithFilteredPositions + } } } - ${StatDetailsFragmentDoc}` - -export const useGetStatsQuery = ( - variables?: GetStatsQueryVariables, - options?: Omit, 'queryKey'> & { - queryKey?: UseQueryOptions['queryKey'] - }, -) => { - return useQuery({ - queryKey: variables === undefined ? ['GetStats'] : ['GetStats', variables], - queryFn: fetcher( - GetStatsDocument, - variables, - ), - ...options, - }) + `; +export const VaultUnfilteredPositionsFragmentDoc = ` + fragment VaultUnfilteredPositions on vaults { + positions { + ...PositionFields + } } - -useGetStatsQuery.document = GetStatsDocument - -useGetStatsQuery.getKey = (variables?: GetStatsQueryVariables) => - variables === undefined ? ['GetStats'] : ['GetStats', variables] - -export const useInfiniteGetStatsQuery = < - TData = InfiniteData, - TError = unknown, ->( - variables: GetStatsQueryVariables, - options: Omit< - UseInfiniteQueryOptions, - 'queryKey' - > & { - queryKey?: UseInfiniteQueryOptions['queryKey'] - }, -) => { - return useInfiniteQuery( - (() => { - const { queryKey: optionsQueryKey, ...restOptions } = options - return { - queryKey: - optionsQueryKey ?? variables === undefined - ? ['GetStats.infinite'] - : ['GetStats.infinite', variables], - queryFn: (metaData) => - fetcher(GetStatsDocument, { - ...variables, - ...(metaData.pageParam ?? {}), - })(), - ...restOptions, - } - })(), - ) + `; +export const VaultDetailsFragmentDoc = ` + fragment VaultDetails on vaults { + ...VaultBasicDetails } - -useInfiniteGetStatsQuery.getKey = (variables?: GetStatsQueryVariables) => - variables === undefined - ? ['GetStats.infinite'] - : ['GetStats.infinite', variables] - -useGetStatsQuery.fetcher = ( - variables?: GetStatsQueryVariables, - options?: RequestInit['headers'], -) => - fetcher( - GetStatsDocument, - variables, - options, - ) - -export const GetTagsDocument = ` - query GetTags($subjectId: numeric!, $predicateId: numeric!) { - triples( - where: {_and: [{subject_id: {_eq: $subjectId}}, {predicate_id: {_eq: $predicateId}}]} - ) { - ...TripleMetadata + `; +export const VaultPositionsAggregateFragmentDoc = ` + fragment VaultPositionsAggregate on vaults { + positions_aggregate { + ...PositionAggregateFields } } - ${TripleMetadataFragmentDoc} -${AtomValueFragmentDoc} -${AccountMetadataFragmentDoc} -${PositionAggregateFieldsFragmentDoc} -${PositionFieldsFragmentDoc}` - -export const useGetTagsQuery = ( - variables: GetTagsQueryVariables, - options?: Omit, 'queryKey'> & { - queryKey?: UseQueryOptions['queryKey'] - }, -) => { - return useQuery({ - queryKey: ['GetTags', variables], - queryFn: fetcher( - GetTagsDocument, - variables, - ), - ...options, - }) + `; +export const VaultFieldsForTripleFragmentDoc = ` + fragment VaultFieldsForTriple on vaults { + total_shares + current_share_price + ...VaultPositionsAggregate + ...VaultFilteredPositions } - -useGetTagsQuery.document = GetTagsDocument - -useGetTagsQuery.getKey = (variables: GetTagsQueryVariables) => [ - 'GetTags', - variables, -] - -export const useInfiniteGetTagsQuery = < - TData = InfiniteData, - TError = unknown, ->( - variables: GetTagsQueryVariables, - options: Omit< - UseInfiniteQueryOptions, - 'queryKey' - > & { - queryKey?: UseInfiniteQueryOptions['queryKey'] - }, -) => { - return useInfiniteQuery( - (() => { - const { queryKey: optionsQueryKey, ...restOptions } = options - return { - queryKey: optionsQueryKey ?? ['GetTags.infinite', variables], - queryFn: (metaData) => - fetcher(GetTagsDocument, { - ...variables, - ...(metaData.pageParam ?? {}), - })(), - ...restOptions, - } - })(), - ) + `; +export const PinThingDocument = ` + mutation pinThing($name: String!, $description: String, $image: String, $url: String) { + pinThing( + thing: {description: $description, image: $image, name: $name, url: $url} + ) { + uri + } } + `; -useInfiniteGetTagsQuery.getKey = (variables: GetTagsQueryVariables) => [ - 'GetTags.infinite', - variables, -] - -useGetTagsQuery.fetcher = ( - variables: GetTagsQueryVariables, - options?: RequestInit['headers'], -) => - fetcher( - GetTagsDocument, - variables, - options, - ) - -export const GetTagsCustomDocument = ` - query GetTagsCustom($where: triples_bool_exp) { - triples(where: $where) { - ...TripleMetadata +export const usePinThingMutation = < + TError = unknown, + TContext = unknown + >(options?: UseMutationOptions) => { + + return useMutation( + { + mutationKey: ['pinThing'], + mutationFn: (variables?: PinThingMutationVariables) => fetcher(PinThingDocument, variables)(), + ...options } -} - ${TripleMetadataFragmentDoc} -${AtomValueFragmentDoc} -${AccountMetadataFragmentDoc} -${PositionAggregateFieldsFragmentDoc} -${PositionFieldsFragmentDoc}` - -export const useGetTagsCustomQuery = < - TData = GetTagsCustomQuery, - TError = unknown, ->( - variables?: GetTagsCustomQueryVariables, - options?: Omit< - UseQueryOptions, - 'queryKey' - > & { - queryKey?: UseQueryOptions['queryKey'] - }, -) => { - return useQuery({ - queryKey: - variables === undefined - ? ['GetTagsCustom'] - : ['GetTagsCustom', variables], - queryFn: fetcher( - GetTagsCustomDocument, - variables, - ), - ...options, - }) -} + )}; -useGetTagsCustomQuery.document = GetTagsCustomDocument - -useGetTagsCustomQuery.getKey = (variables?: GetTagsCustomQueryVariables) => - variables === undefined ? ['GetTagsCustom'] : ['GetTagsCustom', variables] - -export const useInfiniteGetTagsCustomQuery = < - TData = InfiniteData, - TError = unknown, ->( - variables: GetTagsCustomQueryVariables, - options: Omit< - UseInfiniteQueryOptions, - 'queryKey' - > & { - queryKey?: UseInfiniteQueryOptions< - GetTagsCustomQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useInfiniteQuery( - (() => { - const { queryKey: optionsQueryKey, ...restOptions } = options - return { - queryKey: - optionsQueryKey ?? variables === undefined - ? ['GetTagsCustom.infinite'] - : ['GetTagsCustom.infinite', variables], - queryFn: (metaData) => - fetcher( - GetTagsCustomDocument, - { ...variables, ...(metaData.pageParam ?? {}) }, - )(), - ...restOptions, - } - })(), - ) -} +usePinThingMutation.getKey = () => ['pinThing']; -useInfiniteGetTagsCustomQuery.getKey = ( - variables?: GetTagsCustomQueryVariables, -) => - variables === undefined - ? ['GetTagsCustom.infinite'] - : ['GetTagsCustom.infinite', variables] - -useGetTagsCustomQuery.fetcher = ( - variables?: GetTagsCustomQueryVariables, - options?: RequestInit['headers'], -) => - fetcher( - GetTagsCustomDocument, - variables, - options, - ) - -export const GetTriplesDocument = ` - query GetTriples($limit: Int, $offset: Int, $orderBy: [triples_order_by!], $where: triples_bool_exp) { - total: triples_aggregate(where: $where) { - aggregate { - count - } - } - triples(limit: $limit, offset: $offset, order_by: $orderBy, where: $where) { - ...TripleMetadata - ...TripleTxn - ...TripleVaultDetails - creator { - ...AccountMetadata - } - } -} - ${TripleMetadataFragmentDoc} -${AtomValueFragmentDoc} -${AccountMetadataFragmentDoc} -${PositionAggregateFieldsFragmentDoc} -${PositionFieldsFragmentDoc} -${TripleTxnFragmentDoc} -${TripleVaultDetailsFragmentDoc} -${PositionDetailsFragmentDoc}` - -export const useGetTriplesQuery = ( - variables?: GetTriplesQueryVariables, - options?: Omit< - UseQueryOptions, - 'queryKey' - > & { - queryKey?: UseQueryOptions['queryKey'] - }, -) => { - return useQuery({ - queryKey: - variables === undefined ? ['GetTriples'] : ['GetTriples', variables], - queryFn: fetcher( - GetTriplesDocument, - variables, - ), - ...options, - }) -} -useGetTriplesQuery.document = GetTriplesDocument - -useGetTriplesQuery.getKey = (variables?: GetTriplesQueryVariables) => - variables === undefined ? ['GetTriples'] : ['GetTriples', variables] - -export const useInfiniteGetTriplesQuery = < - TData = InfiniteData, - TError = unknown, ->( - variables: GetTriplesQueryVariables, - options: Omit< - UseInfiniteQueryOptions, - 'queryKey' - > & { - queryKey?: UseInfiniteQueryOptions< - GetTriplesQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useInfiniteQuery( - (() => { - const { queryKey: optionsQueryKey, ...restOptions } = options - return { - queryKey: - optionsQueryKey ?? variables === undefined - ? ['GetTriples.infinite'] - : ['GetTriples.infinite', variables], - queryFn: (metaData) => - fetcher( - GetTriplesDocument, - { ...variables, ...(metaData.pageParam ?? {}) }, - )(), - ...restOptions, - } - })(), - ) -} +usePinThingMutation.fetcher = (variables: PinThingMutationVariables, options?: RequestInit['headers']) => fetcher(PinThingDocument, variables, options); -useInfiniteGetTriplesQuery.getKey = (variables?: GetTriplesQueryVariables) => - variables === undefined - ? ['GetTriples.infinite'] - : ['GetTriples.infinite', variables] - -useGetTriplesQuery.fetcher = ( - variables?: GetTriplesQueryVariables, - options?: RequestInit['headers'], -) => - fetcher( - GetTriplesDocument, - variables, - options, - ) - -export const GetTriplesWithAggregatesDocument = ` - query GetTriplesWithAggregates($limit: Int, $offset: Int, $orderBy: [triples_order_by!], $where: triples_bool_exp) { - triples_aggregate( - limit: $limit - offset: $offset - order_by: $orderBy - where: $where - ) { - aggregate { - count - } - nodes { - ...TripleMetadata - ...TripleTxn - ...TripleVaultDetails - creator { - ...AccountMetadata - } - } +export const GetAtomByCanonicalDataDocument = ` + query GetAtomByCanonicalData($uri: String!) { + atoms(where: {_or: [{data: {_eq: $uri}}, {raw_data: {_eq: $uri}}]}, limit: 1) { + term_id + data + raw_data + label + type } } - ${TripleMetadataFragmentDoc} -${AtomValueFragmentDoc} -${AccountMetadataFragmentDoc} -${PositionAggregateFieldsFragmentDoc} -${PositionFieldsFragmentDoc} -${TripleTxnFragmentDoc} -${TripleVaultDetailsFragmentDoc} -${PositionDetailsFragmentDoc}` - -export const useGetTriplesWithAggregatesQuery = < - TData = GetTriplesWithAggregatesQuery, - TError = unknown, ->( - variables?: GetTriplesWithAggregatesQueryVariables, - options?: Omit< - UseQueryOptions, - 'queryKey' - > & { - queryKey?: UseQueryOptions< - GetTriplesWithAggregatesQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useQuery({ - queryKey: - variables === undefined - ? ['GetTriplesWithAggregates'] - : ['GetTriplesWithAggregates', variables], - queryFn: fetcher< - GetTriplesWithAggregatesQuery, - GetTriplesWithAggregatesQueryVariables - >(GetTriplesWithAggregatesDocument, variables), - ...options, - }) -} + `; -useGetTriplesWithAggregatesQuery.document = GetTriplesWithAggregatesDocument - -useGetTriplesWithAggregatesQuery.getKey = ( - variables?: GetTriplesWithAggregatesQueryVariables, -) => - variables === undefined - ? ['GetTriplesWithAggregates'] - : ['GetTriplesWithAggregates', variables] - -export const useInfiniteGetTriplesWithAggregatesQuery = < - TData = InfiniteData, - TError = unknown, ->( - variables: GetTriplesWithAggregatesQueryVariables, - options: Omit< - UseInfiniteQueryOptions, - 'queryKey' - > & { - queryKey?: UseInfiniteQueryOptions< - GetTriplesWithAggregatesQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useInfiniteQuery( - (() => { - const { queryKey: optionsQueryKey, ...restOptions } = options - return { - queryKey: - optionsQueryKey ?? variables === undefined - ? ['GetTriplesWithAggregates.infinite'] - : ['GetTriplesWithAggregates.infinite', variables], - queryFn: (metaData) => - fetcher< - GetTriplesWithAggregatesQuery, - GetTriplesWithAggregatesQueryVariables - >(GetTriplesWithAggregatesDocument, { - ...variables, - ...(metaData.pageParam ?? {}), - })(), - ...restOptions, - } - })(), - ) -} - -useInfiniteGetTriplesWithAggregatesQuery.getKey = ( - variables?: GetTriplesWithAggregatesQueryVariables, -) => - variables === undefined - ? ['GetTriplesWithAggregates.infinite'] - : ['GetTriplesWithAggregates.infinite', variables] - -useGetTriplesWithAggregatesQuery.fetcher = ( - variables?: GetTriplesWithAggregatesQueryVariables, - options?: RequestInit['headers'], -) => - fetcher< - GetTriplesWithAggregatesQuery, - GetTriplesWithAggregatesQueryVariables - >(GetTriplesWithAggregatesDocument, variables, options) - -export const GetTriplesCountDocument = ` - query GetTriplesCount($where: triples_bool_exp) { - triples_aggregate(where: $where) { - total: aggregate { - count - } +export const useGetAtomByCanonicalDataQuery = < + TData = GetAtomByCanonicalDataQuery, + TError = unknown + >( + variables: GetAtomByCanonicalDataQueryVariables, + options?: Omit, 'queryKey'> & { queryKey?: UseQueryOptions['queryKey'] } + ) => { + + return useQuery( + { + queryKey: ['GetAtomByCanonicalData', variables], + queryFn: fetcher(GetAtomByCanonicalDataDocument, variables), + ...options } -} - ` - -export const useGetTriplesCountQuery = < - TData = GetTriplesCountQuery, - TError = unknown, ->( - variables?: GetTriplesCountQueryVariables, - options?: Omit< - UseQueryOptions, - 'queryKey' - > & { - queryKey?: UseQueryOptions['queryKey'] - }, -) => { - return useQuery({ - queryKey: - variables === undefined - ? ['GetTriplesCount'] - : ['GetTriplesCount', variables], - queryFn: fetcher( - GetTriplesCountDocument, - variables, - ), - ...options, - }) -} + )}; -useGetTriplesCountQuery.document = GetTriplesCountDocument - -useGetTriplesCountQuery.getKey = (variables?: GetTriplesCountQueryVariables) => - variables === undefined ? ['GetTriplesCount'] : ['GetTriplesCount', variables] - -export const useInfiniteGetTriplesCountQuery = < - TData = InfiniteData, - TError = unknown, ->( - variables: GetTriplesCountQueryVariables, - options: Omit< - UseInfiniteQueryOptions, - 'queryKey' - > & { - queryKey?: UseInfiniteQueryOptions< - GetTriplesCountQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useInfiniteQuery( - (() => { - const { queryKey: optionsQueryKey, ...restOptions } = options - return { - queryKey: - optionsQueryKey ?? variables === undefined - ? ['GetTriplesCount.infinite'] - : ['GetTriplesCount.infinite', variables], - queryFn: (metaData) => - fetcher( - GetTriplesCountDocument, - { ...variables, ...(metaData.pageParam ?? {}) }, - )(), - ...restOptions, - } - })(), - ) -} +useGetAtomByCanonicalDataQuery.document = GetAtomByCanonicalDataDocument; -useInfiniteGetTriplesCountQuery.getKey = ( - variables?: GetTriplesCountQueryVariables, -) => - variables === undefined - ? ['GetTriplesCount.infinite'] - : ['GetTriplesCount.infinite', variables] - -useGetTriplesCountQuery.fetcher = ( - variables?: GetTriplesCountQueryVariables, - options?: RequestInit['headers'], -) => - fetcher( - GetTriplesCountDocument, - variables, - options, - ) - -export const GetTripleDocument = ` - query GetTriple($tripleId: numeric!) { - triple(term_id: $tripleId) { - ...TripleMetadata - ...TripleTxn - ...TripleVaultDetails - creator { - ...AccountMetadata +useGetAtomByCanonicalDataQuery.getKey = (variables: GetAtomByCanonicalDataQueryVariables) => ['GetAtomByCanonicalData', variables]; + +export const useInfiniteGetAtomByCanonicalDataQuery = < + TData = InfiniteData, + TError = unknown + >( + variables: GetAtomByCanonicalDataQueryVariables, + options: Omit, 'queryKey'> & { queryKey?: UseInfiniteQueryOptions['queryKey'] } + ) => { + + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options; + return { + queryKey: optionsQueryKey ?? ['GetAtomByCanonicalData.infinite', variables], + queryFn: (metaData) => fetcher(GetAtomByCanonicalDataDocument, {...variables, ...(metaData.pageParam ?? {})})(), + ...restOptions } - } -} - ${TripleMetadataFragmentDoc} -${AtomValueFragmentDoc} -${AccountMetadataFragmentDoc} -${PositionAggregateFieldsFragmentDoc} -${PositionFieldsFragmentDoc} -${TripleTxnFragmentDoc} -${TripleVaultDetailsFragmentDoc} -${PositionDetailsFragmentDoc}` - -export const useGetTripleQuery = ( - variables: GetTripleQueryVariables, - options?: Omit, 'queryKey'> & { - queryKey?: UseQueryOptions['queryKey'] - }, -) => { - return useQuery({ - queryKey: ['GetTriple', variables], - queryFn: fetcher( - GetTripleDocument, - variables, - ), - ...options, - }) -} + })() + )}; -useGetTripleQuery.document = GetTripleDocument - -useGetTripleQuery.getKey = (variables: GetTripleQueryVariables) => [ - 'GetTriple', - variables, -] - -export const useInfiniteGetTripleQuery = < - TData = InfiniteData, - TError = unknown, ->( - variables: GetTripleQueryVariables, - options: Omit< - UseInfiniteQueryOptions, - 'queryKey' - > & { - queryKey?: UseInfiniteQueryOptions< - GetTripleQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useInfiniteQuery( - (() => { - const { queryKey: optionsQueryKey, ...restOptions } = options - return { - queryKey: optionsQueryKey ?? ['GetTriple.infinite', variables], - queryFn: (metaData) => - fetcher(GetTripleDocument, { - ...variables, - ...(metaData.pageParam ?? {}), - })(), - ...restOptions, - } - })(), - ) -} +useInfiniteGetAtomByCanonicalDataQuery.getKey = (variables: GetAtomByCanonicalDataQueryVariables) => ['GetAtomByCanonicalData.infinite', variables]; -useInfiniteGetTripleQuery.getKey = (variables: GetTripleQueryVariables) => [ - 'GetTriple.infinite', - variables, -] - -useGetTripleQuery.fetcher = ( - variables: GetTripleQueryVariables, - options?: RequestInit['headers'], -) => - fetcher( - GetTripleDocument, - variables, - options, - ) - -export const GetAtomTriplesWithPositionsDocument = ` - query GetAtomTriplesWithPositions($where: triples_bool_exp) { - triples_aggregate(where: $where) { - aggregate { - count - } - } -} - ` - -export const useGetAtomTriplesWithPositionsQuery = < - TData = GetAtomTriplesWithPositionsQuery, - TError = unknown, ->( - variables?: GetAtomTriplesWithPositionsQueryVariables, - options?: Omit< - UseQueryOptions, - 'queryKey' - > & { - queryKey?: UseQueryOptions< - GetAtomTriplesWithPositionsQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useQuery({ - queryKey: - variables === undefined - ? ['GetAtomTriplesWithPositions'] - : ['GetAtomTriplesWithPositions', variables], - queryFn: fetcher< - GetAtomTriplesWithPositionsQuery, - GetAtomTriplesWithPositionsQueryVariables - >(GetAtomTriplesWithPositionsDocument, variables), - ...options, - }) -} -useGetAtomTriplesWithPositionsQuery.document = - GetAtomTriplesWithPositionsDocument - -useGetAtomTriplesWithPositionsQuery.getKey = ( - variables?: GetAtomTriplesWithPositionsQueryVariables, -) => - variables === undefined - ? ['GetAtomTriplesWithPositions'] - : ['GetAtomTriplesWithPositions', variables] - -export const useInfiniteGetAtomTriplesWithPositionsQuery = < - TData = InfiniteData, - TError = unknown, ->( - variables: GetAtomTriplesWithPositionsQueryVariables, - options: Omit< - UseInfiniteQueryOptions, - 'queryKey' - > & { - queryKey?: UseInfiniteQueryOptions< - GetAtomTriplesWithPositionsQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useInfiniteQuery( - (() => { - const { queryKey: optionsQueryKey, ...restOptions } = options - return { - queryKey: - optionsQueryKey ?? variables === undefined - ? ['GetAtomTriplesWithPositions.infinite'] - : ['GetAtomTriplesWithPositions.infinite', variables], - queryFn: (metaData) => - fetcher< - GetAtomTriplesWithPositionsQuery, - GetAtomTriplesWithPositionsQueryVariables - >(GetAtomTriplesWithPositionsDocument, { - ...variables, - ...(metaData.pageParam ?? {}), - })(), - ...restOptions, - } - })(), - ) -} +useGetAtomByCanonicalDataQuery.fetcher = (variables: GetAtomByCanonicalDataQueryVariables, options?: RequestInit['headers']) => fetcher(GetAtomByCanonicalDataDocument, variables, options); -useInfiniteGetAtomTriplesWithPositionsQuery.getKey = ( - variables?: GetAtomTriplesWithPositionsQueryVariables, -) => - variables === undefined - ? ['GetAtomTriplesWithPositions.infinite'] - : ['GetAtomTriplesWithPositions.infinite', variables] - -useGetAtomTriplesWithPositionsQuery.fetcher = ( - variables?: GetAtomTriplesWithPositionsQueryVariables, - options?: RequestInit['headers'], -) => - fetcher< - GetAtomTriplesWithPositionsQuery, - GetAtomTriplesWithPositionsQueryVariables - >(GetAtomTriplesWithPositionsDocument, variables, options) - -export const GetTriplesWithPositionsDocument = ` - query GetTriplesWithPositions($limit: Int, $offset: Int, $orderBy: [triples_order_by!], $where: triples_bool_exp, $address: String) { - total: triples_aggregate(where: $where) { - aggregate { - count - } - } - triples(limit: $limit, offset: $offset, order_by: $orderBy, where: $where) { +export const GetTrustedListingTripleAggregatesDocument = ` + query GetTrustedListingTripleAggregates($subjectId: String!, $listedOnId: String!, $trustswapId: String!, $curveId: numeric!, $accountIdLower: String!) { + triples( + where: {subject: {term_id: {_eq: $subjectId}}, predicate: {term_id: {_eq: $listedOnId}}, object: {term_id: {_eq: $trustswapId}}} + limit: 1 + ) { term_id counter_term_id subject { @@ -26985,33656 +12551,116 @@ export const GetTriplesWithPositionsDocument = ` image } term { - vaults { - total_shares - position_count - positions(where: {account_id: {_ilike: $address}}) { - account { - id - label - image + vaults(where: {curve_id: {_eq: $curveId}}) { + positions_aggregate { + aggregate { + count + sum { + shares + } } - shares } - } - } - counter_term { - vaults { - total_shares - position_count - positions(where: {account_id: {_ilike: $address}}) { - account { - id - label - image - } + positions(where: {account_id: {_ilike: $accountIdLower}}) { shares } } } - } -} - ` - -export const useGetTriplesWithPositionsQuery = < - TData = GetTriplesWithPositionsQuery, - TError = unknown, ->( - variables?: GetTriplesWithPositionsQueryVariables, - options?: Omit< - UseQueryOptions, - 'queryKey' - > & { - queryKey?: UseQueryOptions< - GetTriplesWithPositionsQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useQuery({ - queryKey: - variables === undefined - ? ['GetTriplesWithPositions'] - : ['GetTriplesWithPositions', variables], - queryFn: fetcher< - GetTriplesWithPositionsQuery, - GetTriplesWithPositionsQueryVariables - >(GetTriplesWithPositionsDocument, variables), - ...options, - }) -} - -useGetTriplesWithPositionsQuery.document = GetTriplesWithPositionsDocument - -useGetTriplesWithPositionsQuery.getKey = ( - variables?: GetTriplesWithPositionsQueryVariables, -) => - variables === undefined - ? ['GetTriplesWithPositions'] - : ['GetTriplesWithPositions', variables] - -export const useInfiniteGetTriplesWithPositionsQuery = < - TData = InfiniteData, - TError = unknown, ->( - variables: GetTriplesWithPositionsQueryVariables, - options: Omit< - UseInfiniteQueryOptions, - 'queryKey' - > & { - queryKey?: UseInfiniteQueryOptions< - GetTriplesWithPositionsQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useInfiniteQuery( - (() => { - const { queryKey: optionsQueryKey, ...restOptions } = options - return { - queryKey: - optionsQueryKey ?? variables === undefined - ? ['GetTriplesWithPositions.infinite'] - : ['GetTriplesWithPositions.infinite', variables], - queryFn: (metaData) => - fetcher< - GetTriplesWithPositionsQuery, - GetTriplesWithPositionsQueryVariables - >(GetTriplesWithPositionsDocument, { - ...variables, - ...(metaData.pageParam ?? {}), - })(), - ...restOptions, - } - })(), - ) -} - -useInfiniteGetTriplesWithPositionsQuery.getKey = ( - variables?: GetTriplesWithPositionsQueryVariables, -) => - variables === undefined - ? ['GetTriplesWithPositions.infinite'] - : ['GetTriplesWithPositions.infinite', variables] - -useGetTriplesWithPositionsQuery.fetcher = ( - variables?: GetTriplesWithPositionsQueryVariables, - options?: RequestInit['headers'], -) => - fetcher( - GetTriplesWithPositionsDocument, - variables, - options, - ) - -export const FindTriplesDocument = ` - query FindTriples($where: triples_bool_exp = {}, $address: String!) { - triples(where: $where) { - term_id - subject_id - predicate_id - object_id - positions(where: {account_id: {_eq: $address}}) { - shares - } - } -} - ` - -export const useFindTriplesQuery = ( - variables: FindTriplesQueryVariables, - options?: Omit< - UseQueryOptions, - 'queryKey' - > & { - queryKey?: UseQueryOptions['queryKey'] - }, -) => { - return useQuery({ - queryKey: ['FindTriples', variables], - queryFn: fetcher( - FindTriplesDocument, - variables, - ), - ...options, - }) -} - -useFindTriplesQuery.document = FindTriplesDocument - -useFindTriplesQuery.getKey = (variables: FindTriplesQueryVariables) => [ - 'FindTriples', - variables, -] - -export const useInfiniteFindTriplesQuery = < - TData = InfiniteData, - TError = unknown, ->( - variables: FindTriplesQueryVariables, - options: Omit< - UseInfiniteQueryOptions, - 'queryKey' - > & { - queryKey?: UseInfiniteQueryOptions< - FindTriplesQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useInfiniteQuery( - (() => { - const { queryKey: optionsQueryKey, ...restOptions } = options - return { - queryKey: optionsQueryKey ?? ['FindTriples.infinite', variables], - queryFn: (metaData) => - fetcher( - FindTriplesDocument, - { ...variables, ...(metaData.pageParam ?? {}) }, - )(), - ...restOptions, - } - })(), - ) -} - -useInfiniteFindTriplesQuery.getKey = (variables: FindTriplesQueryVariables) => [ - 'FindTriples.infinite', - variables, -] - -useFindTriplesQuery.fetcher = ( - variables: FindTriplesQueryVariables, - options?: RequestInit['headers'], -) => - fetcher( - FindTriplesDocument, - variables, - options, - ) - -export const GetVaultsDocument = ` - query GetVaults($limit: Int, $offset: Int, $orderBy: [vaults_order_by!], $where: vaults_bool_exp) { - vaults_aggregate( - limit: $limit - offset: $offset - order_by: $orderBy - where: $where - ) { - aggregate { - count - } - nodes { - term_id - term { - atom { - term_id - label - } - triple { - term_id - subject { - term_id - label - } - predicate { - term_id - label - } - object { - term_id - label + counter_term { + vaults(where: {curve_id: {_eq: $curveId}}) { + positions_aggregate { + aggregate { + count + sum { + shares + } } } - } - positions_aggregate { - nodes { - account { - atom_id - label - } + positions(where: {account_id: {_ilike: $accountIdLower}}) { shares } } - current_share_price - total_shares } } } - ` - -export const useGetVaultsQuery = ( - variables?: GetVaultsQueryVariables, - options?: Omit, 'queryKey'> & { - queryKey?: UseQueryOptions['queryKey'] - }, -) => { - return useQuery({ - queryKey: - variables === undefined ? ['GetVaults'] : ['GetVaults', variables], - queryFn: fetcher( - GetVaultsDocument, - variables, - ), - ...options, - }) -} - -useGetVaultsQuery.document = GetVaultsDocument - -useGetVaultsQuery.getKey = (variables?: GetVaultsQueryVariables) => - variables === undefined ? ['GetVaults'] : ['GetVaults', variables] - -export const useInfiniteGetVaultsQuery = < - TData = InfiniteData, - TError = unknown, ->( - variables: GetVaultsQueryVariables, - options: Omit< - UseInfiniteQueryOptions, - 'queryKey' - > & { - queryKey?: UseInfiniteQueryOptions< - GetVaultsQuery, - TError, - TData - >['queryKey'] - }, -) => { - return useInfiniteQuery( - (() => { - const { queryKey: optionsQueryKey, ...restOptions } = options - return { - queryKey: - optionsQueryKey ?? variables === undefined - ? ['GetVaults.infinite'] - : ['GetVaults.infinite', variables], - queryFn: (metaData) => - fetcher(GetVaultsDocument, { - ...variables, - ...(metaData.pageParam ?? {}), - })(), - ...restOptions, - } - })(), - ) -} - -useInfiniteGetVaultsQuery.getKey = (variables?: GetVaultsQueryVariables) => - variables === undefined - ? ['GetVaults.infinite'] - : ['GetVaults.infinite', variables] - -useGetVaultsQuery.fetcher = ( - variables?: GetVaultsQueryVariables, - options?: RequestInit['headers'], -) => - fetcher( - GetVaultsDocument, - variables, - options, - ) - -export const GetVaultDocument = ` - query GetVault($termId: numeric!, $curveId: numeric!) { - vault(term_id: $termId, curve_id: $curveId) { - ...VaultDetails - } -} - ${VaultDetailsFragmentDoc} -${VaultBasicDetailsFragmentDoc}` - -export const useGetVaultQuery = ( - variables: GetVaultQueryVariables, - options?: Omit, 'queryKey'> & { - queryKey?: UseQueryOptions['queryKey'] - }, -) => { - return useQuery({ - queryKey: ['GetVault', variables], - queryFn: fetcher( - GetVaultDocument, - variables, - ), - ...options, - }) -} - -useGetVaultQuery.document = GetVaultDocument - -useGetVaultQuery.getKey = (variables: GetVaultQueryVariables) => [ - 'GetVault', - variables, -] - -export const useInfiniteGetVaultQuery = < - TData = InfiniteData, - TError = unknown, ->( - variables: GetVaultQueryVariables, - options: Omit< - UseInfiniteQueryOptions, - 'queryKey' - > & { - queryKey?: UseInfiniteQueryOptions['queryKey'] - }, -) => { - return useInfiniteQuery( - (() => { - const { queryKey: optionsQueryKey, ...restOptions } = options - return { - queryKey: optionsQueryKey ?? ['GetVault.infinite', variables], - queryFn: (metaData) => - fetcher(GetVaultDocument, { - ...variables, - ...(metaData.pageParam ?? {}), - })(), - ...restOptions, - } - })(), - ) -} - -useInfiniteGetVaultQuery.getKey = (variables: GetVaultQueryVariables) => [ - 'GetVault.infinite', - variables, -] - -useGetVaultQuery.fetcher = ( - variables: GetVaultQueryVariables, - options?: RequestInit['headers'], -) => - fetcher( - GetVaultDocument, - variables, - options, - ) - -export const AccountPositionsAggregate = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AccountPositionsAggregate' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'accounts' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'positions_aggregate' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'order_by' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'shares' }, - value: { kind: 'EnumValue', value: 'desc' }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'nodes' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'vault' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'current_share_price', - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'atom' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'term_id', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'label', - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'triple' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'term_id', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const AccountPositions = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AccountPositions' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'accounts' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'order_by' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'shares' }, - value: { kind: 'EnumValue', value: 'desc' }, - }, - ], - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'limit' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'positionsLimit' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'offset' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'positionsOffset' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'positionsWhere' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'vault' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'current_share_price' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'atom' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'triple' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const AccountAtoms = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AccountAtoms' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'accounts' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'atoms' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'atomsWhere' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'order_by' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'atomsOrderBy' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'limit' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'atomsLimit' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'offset' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'atomsOffset' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'positions_aggregate', - }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'account_id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_eq', - }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'address', - }, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'nodes' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'account', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'id', - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'shares', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const AccountAtomsAggregate = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AccountAtomsAggregate' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'accounts' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'atoms_aggregate' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'atomsWhere' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'order_by' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'atomsOrderBy' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'limit' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'atomsLimit' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'offset' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'atomsOffset' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'sum' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'nodes' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'curve_id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_eq', - }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'total_shares', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'positions_aggregate', - }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'account_id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_eq', - }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'address', - }, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'nodes', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'account', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'id', - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'shares', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const AccountTriples = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AccountTriples' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'accounts' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'triples_aggregate' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'triplesWhere' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'order_by' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'triplesOrderBy' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'limit' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'triplesLimit' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'offset' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'triplesOffset' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'nodes' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'subject' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const AccountTriplesAggregate = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AccountTriplesAggregate' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'accounts' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'triples_aggregate' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'triplesWhere' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'order_by' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'triplesOrderBy' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'limit' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'triplesLimit' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'offset' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'triplesOffset' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'nodes' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'subject' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const AtomTxn = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomTxn' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'block_number' } }, - { kind: 'Field', name: { kind: 'Name', value: 'created_at' } }, - { kind: 'Field', name: { kind: 'Name', value: 'transaction_hash' } }, - { kind: 'Field', name: { kind: 'Name', value: 'creator_id' } }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const AtomVaultDetails = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomVaultDetails' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'wallet_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'position_count' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'current_share_price' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions_aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'count' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'sum' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'shares', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shares' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const AccountMetadata = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AccountMetadata' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'accounts' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const AtomTriple = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomTriple' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'as_subject_triples' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'as_predicate_triples' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'subject' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'as_object_triples' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'subject' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AccountMetadata' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'accounts' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const AtomVaultDetailsWithPositions = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomVaultDetailsWithPositions' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'current_share_price' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions_aggregate' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'account_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_in' }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'addresses', - }, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'sum' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'shares', - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'nodes' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shares' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const DepositEventFragment = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'DepositEventFragment' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'events' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'deposit' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'curve_id' } }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'sender_assets_after_total_fees', - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shares_for_receiver' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'receiver' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'sender' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const RedemptionEventFragment = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'RedemptionEventFragment' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'events' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'redemption' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'curve_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'receiver_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shares_redeemed_by_sender' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'assets_for_receiver' }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const AtomValue = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomValue' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'value' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'person' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'thing' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'organization' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const AtomMetadata = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomMetadata' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { kind: 'Field', name: { kind: 'Name', value: 'wallet_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomValue' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'value' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'person' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'thing' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'organization' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const PositionAggregateFields = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'PositionAggregateFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'positions_aggregate' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'sum' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'shares' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const PositionFields = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'PositionFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'positions' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'vault' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'current_share_price' }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const TripleMetadata = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'TripleMetadata' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'triples' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'subject_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'predicate_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'object_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'subject' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'current_share_price' }, - }, - { - kind: 'Field', - alias: { kind: 'Name', value: 'allPositions' }, - name: { kind: 'Name', value: 'positions_aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'PositionAggregateFields', - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'PositionFields' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'counter_term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'current_share_price' }, - }, - { - kind: 'Field', - alias: { kind: 'Name', value: 'allPositions' }, - name: { kind: 'Name', value: 'positions_aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'PositionAggregateFields', - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'PositionFields' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AccountMetadata' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'accounts' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomValue' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'value' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'person' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'thing' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'organization' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'PositionFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'positions' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'vault' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'current_share_price' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'PositionAggregateFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'positions_aggregate' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'sum' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'shares' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const EventDetails = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'EventDetails' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'events' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'block_number' } }, - { kind: 'Field', name: { kind: 'Name', value: 'created_at' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { kind: 'Field', name: { kind: 'Name', value: 'transaction_hash' } }, - { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'triple_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'deposit_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'redemption_id' } }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'DepositEventFragment' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'RedemptionEventFragment' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'atom' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomMetadata' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'position_count' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'account_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'label', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'image', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'triple' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'TripleMetadata' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'position_count' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'account_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'label', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'image', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'counter_term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'position_count' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'account_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'label', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'image', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AccountMetadata' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'accounts' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomValue' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'value' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'person' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'thing' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'organization' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomMetadata' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { kind: 'Field', name: { kind: 'Name', value: 'wallet_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'DepositEventFragment' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'events' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'deposit' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'curve_id' } }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'sender_assets_after_total_fees', - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shares_for_receiver' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'receiver' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'sender' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'PositionFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'positions' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'vault' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'current_share_price' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'PositionAggregateFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'positions_aggregate' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'sum' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'shares' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'RedemptionEventFragment' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'events' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'redemption' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'curve_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'receiver_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shares_redeemed_by_sender' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'assets_for_receiver' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'TripleMetadata' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'triples' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'subject_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'predicate_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'object_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'subject' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'current_share_price' }, - }, - { - kind: 'Field', - alias: { kind: 'Name', value: 'allPositions' }, - name: { kind: 'Name', value: 'positions_aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'PositionAggregateFields', - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'PositionFields' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'counter_term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'current_share_price' }, - }, - { - kind: 'Field', - alias: { kind: 'Name', value: 'allPositions' }, - name: { kind: 'Name', value: 'positions_aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'PositionAggregateFields', - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'PositionFields' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const FollowMetadata = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'FollowMetadata' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'triples' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'subject' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'current_share_price' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions_aggregate' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'positionsWhere' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'count' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'sum' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'shares', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'limit' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'positionsLimit' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'offset' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'positionsOffset' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'order_by' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'positionsOrderBy' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'positionsWhere' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shares' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const FollowAggregate = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'FollowAggregate' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'triples_aggregate' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const StatDetails = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'StatDetails' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'stats' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'contract_balance' } }, - { kind: 'Field', name: { kind: 'Name', value: 'total_accounts' } }, - { kind: 'Field', name: { kind: 'Name', value: 'total_fees' } }, - { kind: 'Field', name: { kind: 'Name', value: 'total_atoms' } }, - { kind: 'Field', name: { kind: 'Name', value: 'total_triples' } }, - { kind: 'Field', name: { kind: 'Name', value: 'total_positions' } }, - { kind: 'Field', name: { kind: 'Name', value: 'total_signals' } }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const TripleTxn = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'TripleTxn' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'triples' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'block_number' } }, - { kind: 'Field', name: { kind: 'Name', value: 'created_at' } }, - { kind: 'Field', name: { kind: 'Name', value: 'transaction_hash' } }, - { kind: 'Field', name: { kind: 'Name', value: 'creator_id' } }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const PositionDetails = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'PositionDetails' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'positions' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'vault' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'atom' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'triple' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'curve_id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_eq', - }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'term_id', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'position_count', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'positions_aggregate', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'aggregate', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'sum', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'shares', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'counter_term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'curve_id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_eq', - }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'term_id', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'position_count', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'positions_aggregate', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'aggregate', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'sum', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'shares', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'subject' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'data' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'emoji' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'type' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'AccountMetadata', - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'data' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'emoji' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'type' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'AccountMetadata', - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'data' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'emoji' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'type' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'AccountMetadata', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'curve_id' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AccountMetadata' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'accounts' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomValue' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'value' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'person' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'thing' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'organization' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const TripleVaultDetails = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'TripleVaultDetails' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'triples' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'counter_term_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'PositionDetails' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'counter_term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'PositionDetails' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AccountMetadata' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'accounts' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomValue' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'value' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'person' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'thing' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'organization' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'PositionDetails' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'positions' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'vault' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'atom' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'triple' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'curve_id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_eq', - }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'term_id', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'position_count', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'positions_aggregate', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'aggregate', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'sum', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'shares', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'counter_term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'curve_id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_eq', - }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'term_id', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'position_count', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'positions_aggregate', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'aggregate', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'sum', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'shares', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'subject' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'data' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'emoji' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'type' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'AccountMetadata', - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'data' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'emoji' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'type' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'AccountMetadata', - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'data' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'emoji' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'type' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'AccountMetadata', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'curve_id' } }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const VaultBasicDetails = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'VaultBasicDetails' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'vaults' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'curve_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'atom' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'triple' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'subject' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'current_share_price' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'total_shares' } }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const VaultFilteredPositions = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'VaultFilteredPositions' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'vaults' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'account_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_in' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'addresses' }, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'PositionFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'PositionFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'positions' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'vault' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'current_share_price' }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const VaultDetailsWithFilteredPositions = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'VaultDetailsWithFilteredPositions' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'vaults' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'VaultBasicDetails' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'VaultFilteredPositions' }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'PositionFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'positions' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'vault' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'current_share_price' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'VaultBasicDetails' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'vaults' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'curve_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'atom' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'triple' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'subject' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'current_share_price' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'total_shares' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'VaultFilteredPositions' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'vaults' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'account_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_in' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'addresses' }, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'PositionFields' }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const TripleVaultCouterVaultDetailsWithPositions = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { - kind: 'Name', - value: 'TripleVaultCouterVaultDetailsWithPositions', - }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'triples' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'counter_term_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'VaultDetailsWithFilteredPositions', - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'counter_term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'VaultDetailsWithFilteredPositions', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'PositionFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'positions' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'vault' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'current_share_price' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'VaultBasicDetails' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'vaults' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'curve_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'atom' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'triple' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'subject' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'current_share_price' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'total_shares' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'VaultFilteredPositions' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'vaults' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'account_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_in' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'addresses' }, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'PositionFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'VaultDetailsWithFilteredPositions' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'vaults' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'VaultBasicDetails' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'VaultFilteredPositions' }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const VaultUnfilteredPositions = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'VaultUnfilteredPositions' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'vaults' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'PositionFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'PositionFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'positions' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'vault' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'current_share_price' }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const VaultDetails = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'VaultDetails' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'vaults' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'VaultBasicDetails' }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'VaultBasicDetails' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'vaults' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'curve_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'atom' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'triple' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'subject' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'current_share_price' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'total_shares' } }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const VaultPositionsAggregate = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'VaultPositionsAggregate' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'vaults' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'positions_aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'PositionAggregateFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'PositionAggregateFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'positions_aggregate' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'sum' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'shares' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const VaultFieldsForTriple = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'VaultFieldsForTriple' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'vaults' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'total_shares' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'current_share_price' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'VaultPositionsAggregate' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'VaultFilteredPositions' }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'PositionFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'positions' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'vault' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'current_share_price' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'PositionAggregateFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'positions_aggregate' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'sum' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'shares' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'VaultPositionsAggregate' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'vaults' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'positions_aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'PositionAggregateFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'VaultFilteredPositions' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'vaults' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'account_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_in' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'addresses' }, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'PositionFields' }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const AtomMetadataMaybedeletethis = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomMetadataMAYBEDELETETHIS' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { kind: 'Field', name: { kind: 'Name', value: 'wallet_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomValue' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'value' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'person' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'thing' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'organization' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const PinThing = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'pinThing' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { kind: 'Variable', name: { kind: 'Name', value: 'name' } }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'String' }, - }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'description' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'image' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } }, - }, - { - kind: 'VariableDefinition', - variable: { kind: 'Variable', name: { kind: 'Name', value: 'url' } }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'pinThing' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'thing' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'description' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'description' }, - }, - }, - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'image' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'image' }, - }, - }, - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'name' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'name' }, - }, - }, - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'url' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'url' }, - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'uri' } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const GetAccounts = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetAccounts' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'limit' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'offset' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'orderBy' }, - }, - type: { - kind: 'ListType', - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'accounts_order_by' }, - }, - }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'accounts_bool_exp' }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'positionsLimit' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'positionsOffset' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'positionsWhere' }, - }, - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'positions_bool_exp' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'accounts' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'limit' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'limit' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'offset' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'offset' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'order_by' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'orderBy' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountPositions' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'atom' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'wallet_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'curve_id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_eq', - }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'position_count', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'total_shares', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'positions_aggregate', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'aggregate', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'count', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'sum', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'shares', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'account', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'label', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'id', - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'shares', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AccountMetadata' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'accounts' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AccountPositions' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'accounts' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'order_by' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'shares' }, - value: { kind: 'EnumValue', value: 'desc' }, - }, - ], - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'limit' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'positionsLimit' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'offset' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'positionsOffset' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'positionsWhere' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'vault' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'current_share_price' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'atom' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'triple' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const GetAccountsWithAggregates = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetAccountsWithAggregates' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'limit' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'offset' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'orderBy' }, - }, - type: { - kind: 'ListType', - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'accounts_order_by' }, - }, - }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'accounts_bool_exp' }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'positionsLimit' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'positionsOffset' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'positionsWhere' }, - }, - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'positions_bool_exp' }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'atomsWhere' }, - }, - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms_bool_exp' }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'atomsOrderBy' }, - }, - type: { - kind: 'ListType', - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms_order_by' }, - }, - }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'atomsLimit' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'atomsOffset' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'accounts_aggregate' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'limit' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'limit' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'offset' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'offset' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'order_by' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'orderBy' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'nodes' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountPositions' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AccountMetadata' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'accounts' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AccountPositions' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'accounts' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'order_by' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'shares' }, - value: { kind: 'EnumValue', value: 'desc' }, - }, - ], - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'limit' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'positionsLimit' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'offset' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'positionsOffset' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'positionsWhere' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'vault' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'current_share_price' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'atom' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'triple' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const GetAccountsCount = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetAccountsCount' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'accounts_bool_exp' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'accounts_aggregate' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const GetAccount = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetAccount' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'address' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'String' }, - }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'positionsLimit' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'positionsOffset' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'positionsWhere' }, - }, - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'positions_bool_exp' }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'atomsWhere' }, - }, - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms_bool_exp' }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'atomsOrderBy' }, - }, - type: { - kind: 'ListType', - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms_order_by' }, - }, - }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'atomsLimit' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'atomsOffset' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'triplesWhere' }, - }, - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'triples_bool_exp' }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'triplesOrderBy' }, - }, - type: { - kind: 'ListType', - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'triples_order_by' }, - }, - }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'triplesLimit' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'triplesOffset' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'id' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'address' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'atom' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomMetadata' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomVaultDetails' }, - }, - ], - }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountPositions' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountAtoms' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountTriples' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'chainlink_prices' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'limit' }, - value: { kind: 'IntValue', value: '1' }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'order_by' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'id' }, - value: { kind: 'EnumValue', value: 'desc' }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'usd' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AccountMetadata' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'accounts' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AccountPositions' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'accounts' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'order_by' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'shares' }, - value: { kind: 'EnumValue', value: 'desc' }, - }, - ], - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'limit' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'positionsLimit' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'offset' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'positionsOffset' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'positionsWhere' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'vault' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'current_share_price' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'atom' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'triple' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AccountAtoms' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'accounts' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'atoms' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'atomsWhere' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'order_by' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'atomsOrderBy' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'limit' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'atomsLimit' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'offset' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'atomsOffset' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'positions_aggregate', - }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'account_id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_eq', - }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'address', - }, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'nodes' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'account', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'id', - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'shares', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AccountTriples' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'accounts' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'triples_aggregate' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'triplesWhere' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'order_by' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'triplesOrderBy' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'limit' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'triplesLimit' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'offset' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'triplesOffset' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'nodes' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'subject' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomValue' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'value' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'person' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'thing' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'organization' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomMetadata' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { kind: 'Field', name: { kind: 'Name', value: 'wallet_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomVaultDetails' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'wallet_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'position_count' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'current_share_price' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions_aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'count' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'sum' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'shares', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shares' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const GetAccountWithPaginatedRelations = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetAccountWithPaginatedRelations' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'address' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'String' }, - }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'positionsLimit' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'positionsOffset' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'positionsWhere' }, - }, - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'positions_bool_exp' }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'atomsLimit' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'atomsOffset' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'atomsWhere' }, - }, - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms_bool_exp' }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'atomsOrderBy' }, - }, - type: { - kind: 'ListType', - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms_order_by' }, - }, - }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'triplesLimit' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'triplesOffset' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'triplesWhere' }, - }, - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'triples_bool_exp' }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'triplesOrderBy' }, - }, - type: { - kind: 'ListType', - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'triples_order_by' }, - }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'id' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'address' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountPositions' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountAtoms' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountTriples' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AccountMetadata' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'accounts' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AccountPositions' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'accounts' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'order_by' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'shares' }, - value: { kind: 'EnumValue', value: 'desc' }, - }, - ], - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'limit' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'positionsLimit' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'offset' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'positionsOffset' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'positionsWhere' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'vault' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'current_share_price' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'atom' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'triple' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AccountAtoms' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'accounts' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'atoms' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'atomsWhere' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'order_by' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'atomsOrderBy' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'limit' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'atomsLimit' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'offset' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'atomsOffset' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'positions_aggregate', - }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'account_id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_eq', - }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'address', - }, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'nodes' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'account', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'id', - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'shares', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AccountTriples' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'accounts' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'triples_aggregate' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'triplesWhere' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'order_by' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'triplesOrderBy' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'limit' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'triplesLimit' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'offset' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'triplesOffset' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'nodes' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'subject' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const GetAccountWithAggregates = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetAccountWithAggregates' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'address' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'String' }, - }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'positionsLimit' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'positionsOffset' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'positionsWhere' }, - }, - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'positions_bool_exp' }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'atomsWhere' }, - }, - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms_bool_exp' }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'atomsOrderBy' }, - }, - type: { - kind: 'ListType', - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms_order_by' }, - }, - }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'atomsLimit' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'atomsOffset' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'triplesWhere' }, - }, - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'triples_bool_exp' }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'triplesOrderBy' }, - }, - type: { - kind: 'ListType', - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'triples_order_by' }, - }, - }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'triplesLimit' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'triplesOffset' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'id' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'address' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountPositionsAggregate' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountAtomsAggregate' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountTriplesAggregate' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AccountMetadata' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'accounts' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AccountPositionsAggregate' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'accounts' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'positions_aggregate' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'order_by' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'shares' }, - value: { kind: 'EnumValue', value: 'desc' }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'nodes' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'vault' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'current_share_price', - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'atom' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'term_id', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'label', - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'triple' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'term_id', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AccountAtomsAggregate' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'accounts' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'atoms_aggregate' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'atomsWhere' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'order_by' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'atomsOrderBy' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'limit' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'atomsLimit' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'offset' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'atomsOffset' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'sum' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'nodes' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'curve_id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_eq', - }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'total_shares', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'positions_aggregate', - }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'account_id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_eq', - }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'address', - }, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'nodes', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'account', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'id', - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'shares', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AccountTriplesAggregate' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'accounts' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'triples_aggregate' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'triplesWhere' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'order_by' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'triplesOrderBy' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'limit' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'triplesLimit' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'offset' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'triplesOffset' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'nodes' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'subject' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const GetAccountMetadata = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetAccountMetadata' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'address' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'String' }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'id' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'address' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'atom' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomMetadata' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AccountMetadata' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'accounts' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomValue' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'value' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'person' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'thing' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'organization' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomMetadata' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { kind: 'Field', name: { kind: 'Name', value: 'wallet_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const GetAtoms = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetAtoms' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'limit' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'offset' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'orderBy' }, - }, - type: { - kind: 'ListType', - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms_order_by' }, - }, - }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms_bool_exp' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - alias: { kind: 'Name', value: 'total' }, - name: { kind: 'Name', value: 'atoms_aggregate' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'atoms' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'limit' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'limit' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'offset' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'offset' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'order_by' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'orderBy' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomMetadata' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomTxn' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomVaultDetails' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomTriple' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AccountMetadata' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'accounts' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomValue' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'value' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'person' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'thing' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'organization' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomMetadata' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { kind: 'Field', name: { kind: 'Name', value: 'wallet_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomTxn' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'block_number' } }, - { kind: 'Field', name: { kind: 'Name', value: 'created_at' } }, - { kind: 'Field', name: { kind: 'Name', value: 'transaction_hash' } }, - { kind: 'Field', name: { kind: 'Name', value: 'creator_id' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomVaultDetails' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'wallet_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'position_count' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'current_share_price' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions_aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'count' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'sum' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'shares', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shares' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomTriple' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'as_subject_triples' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'as_predicate_triples' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'subject' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'as_object_triples' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'subject' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const GetAtomsWithPositions = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetAtomsWithPositions' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'limit' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'offset' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'orderBy' }, - }, - type: { - kind: 'ListType', - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms_order_by' }, - }, - }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms_bool_exp' }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'address' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - alias: { kind: 'Name', value: 'total' }, - name: { kind: 'Name', value: 'atoms_aggregate' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'atoms' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'limit' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'limit' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'offset' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'offset' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'order_by' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'orderBy' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomMetadata' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomTxn' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'position_count' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'current_share_price', - }, - }, - { - kind: 'Field', - alias: { kind: 'Name', value: 'total' }, - name: { - kind: 'Name', - value: 'positions_aggregate', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'count', - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'sum' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'shares', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'account_id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_ilike', - }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'address', - }, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'label', - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shares' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AccountMetadata' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'accounts' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomValue' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'value' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'person' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'thing' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'organization' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomMetadata' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { kind: 'Field', name: { kind: 'Name', value: 'wallet_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomTxn' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'block_number' } }, - { kind: 'Field', name: { kind: 'Name', value: 'created_at' } }, - { kind: 'Field', name: { kind: 'Name', value: 'transaction_hash' } }, - { kind: 'Field', name: { kind: 'Name', value: 'creator_id' } }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const GetAtomsWithAggregates = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetAtomsWithAggregates' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'limit' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'offset' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'orderBy' }, - }, - type: { - kind: 'ListType', - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms_order_by' }, - }, - }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms_bool_exp' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'atoms_aggregate' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'limit' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'limit' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'offset' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'offset' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'order_by' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'orderBy' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'nodes' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomMetadata' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomTxn' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomVaultDetails' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AccountMetadata' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'accounts' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomValue' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'value' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'person' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'thing' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'organization' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomMetadata' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { kind: 'Field', name: { kind: 'Name', value: 'wallet_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomTxn' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'block_number' } }, - { kind: 'Field', name: { kind: 'Name', value: 'created_at' } }, - { kind: 'Field', name: { kind: 'Name', value: 'transaction_hash' } }, - { kind: 'Field', name: { kind: 'Name', value: 'creator_id' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomVaultDetails' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'wallet_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'position_count' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'current_share_price' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions_aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'count' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'sum' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'shares', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shares' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const GetAtomsCount = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetAtomsCount' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms_bool_exp' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'atoms_aggregate' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const GetAtom = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetAtom' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'numeric' }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'atom' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'term_id' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'id' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomMetadata' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomTxn' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomVaultDetails' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomTriple' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AccountMetadata' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'accounts' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomValue' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'value' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'person' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'thing' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'organization' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomMetadata' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { kind: 'Field', name: { kind: 'Name', value: 'wallet_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomTxn' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'block_number' } }, - { kind: 'Field', name: { kind: 'Name', value: 'created_at' } }, - { kind: 'Field', name: { kind: 'Name', value: 'transaction_hash' } }, - { kind: 'Field', name: { kind: 'Name', value: 'creator_id' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomVaultDetails' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'wallet_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'position_count' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'current_share_price' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions_aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'count' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'sum' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'shares', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shares' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomTriple' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'as_subject_triples' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'as_predicate_triples' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'subject' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'as_object_triples' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'subject' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const GetAtomByData = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetAtomByData' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { kind: 'Variable', name: { kind: 'Name', value: 'data' } }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'String' }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'atoms' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'data' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'data' }, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomMetadata' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomTxn' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomVaultDetails' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomTriple' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AccountMetadata' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'accounts' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomValue' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'value' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'person' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'thing' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'organization' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomMetadata' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { kind: 'Field', name: { kind: 'Name', value: 'wallet_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomTxn' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'block_number' } }, - { kind: 'Field', name: { kind: 'Name', value: 'created_at' } }, - { kind: 'Field', name: { kind: 'Name', value: 'transaction_hash' } }, - { kind: 'Field', name: { kind: 'Name', value: 'creator_id' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomVaultDetails' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'wallet_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'position_count' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'current_share_price' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions_aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'count' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'sum' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'shares', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shares' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomTriple' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'as_subject_triples' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'as_predicate_triples' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'subject' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'as_object_triples' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'subject' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const GetVerifiedAtomDetails = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetVerifiedAtomDetails' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'numeric' }, - }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'userPositionAddress' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'String' }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'atom' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'term_id' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'id' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'wallet_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { kind: 'Field', name: { kind: 'Name', value: 'created_at' } }, - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'value' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'thing' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'name' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'url' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'term_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'id' }, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'current_share_price', - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'position_count' }, - }, - { - kind: 'Field', - alias: { kind: 'Name', value: 'userPosition' }, - name: { kind: 'Name', value: 'positions' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'limit' }, - value: { kind: 'IntValue', value: '1' }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'account_id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_ilike', - }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'userPositionAddress', - }, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account_id' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - alias: { kind: 'Name', value: 'tags' }, - name: { kind: 'Name', value: 'as_subject_triples_aggregate' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'predicate_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_in' }, - value: { - kind: 'ListValue', - values: [{ kind: 'IntValue', value: '3' }], - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'nodes' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'vaults', - }, - arguments: [ - { - kind: 'Argument', - name: { - kind: 'Name', - value: 'where', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'curve_id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_eq', - }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'term_id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_eq', - }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'id', - }, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'term_id', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate_id' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'count' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - alias: { kind: 'Name', value: 'verificationTriple' }, - name: { kind: 'Name', value: 'as_subject_triples_aggregate' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'predicate_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '4', - block: false, - }, - }, - ], - }, - }, - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'object_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '126451', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'nodes' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'object_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'curve_id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_eq', - }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'term_id', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'positions', - }, - arguments: [ - { - kind: 'Argument', - name: { - kind: 'Name', - value: 'where', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'account_id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_in', - }, - value: { - kind: 'ListValue', - values: [ - { - kind: 'StringValue', - value: - '0xD99811847E634d33f0DAcE483c52949bEc76300F', - block: false, - }, - { - kind: 'StringValue', - value: - '0xBb285b543C96C927FC320Fb28524899C2C90806C', - block: false, - }, - { - kind: 'StringValue', - value: - '0x0b162525C5dc8c18F771E60fD296913030Bfe42c', - block: false, - }, - { - kind: 'StringValue', - value: - '0xbd2DE08aF9470c87C4475117Fb912B8f1d588D9c', - block: false, - }, - { - kind: 'StringValue', - value: - '0xB95ca3D3144e9d1DAFF0EE3d35a4488A4A5C9Fc5', - block: false, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'id', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'shares', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'account_id', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'account', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'id', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const GetAtomDetails = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetAtomDetails' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'numeric' }, - }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'userPositionAddress' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'String' }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'atom' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'term_id' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'id' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'wallet_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { kind: 'Field', name: { kind: 'Name', value: 'created_at' } }, - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'value' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'thing' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'name' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'url' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'term_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'id' }, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'current_share_price', - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'position_count' }, - }, - { - kind: 'Field', - alias: { kind: 'Name', value: 'userPosition' }, - name: { kind: 'Name', value: 'positions' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'limit' }, - value: { kind: 'IntValue', value: '1' }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'account_id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_eq', - }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'userPositionAddress', - }, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account_id' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - alias: { kind: 'Name', value: 'tags' }, - name: { kind: 'Name', value: 'as_subject_triples_aggregate' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'predicate_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_in' }, - value: { - kind: 'ListValue', - values: [{ kind: 'IntValue', value: '3' }], - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'nodes' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'vaults', - }, - arguments: [ - { - kind: 'Argument', - name: { - kind: 'Name', - value: 'where', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'curve_id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_eq', - }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'term_id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_eq', - }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'id', - }, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'term_id', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate_id' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'count' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const FindAtomIds = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'FindAtomIds' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms_bool_exp' }, - }, - defaultValue: { kind: 'ObjectValue', fields: [] }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'atoms' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const GetEvents = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetEvents' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'limit' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'offset' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'orderBy' }, - }, - type: { - kind: 'ListType', - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'events_order_by' }, - }, - }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'events_bool_exp' }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'addresses' }, - }, - type: { - kind: 'ListType', - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'String' }, - }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - alias: { kind: 'Name', value: 'total' }, - name: { kind: 'Name', value: 'events_aggregate' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'events' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'limit' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'limit' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'offset' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'offset' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'order_by' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'orderBy' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'block_number' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'created_at' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'transaction_hash' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'triple_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'deposit_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'redemption_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'atom' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomMetadata' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'curve_id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_eq', - }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'total_shares', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'position_count', - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'account', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_in', - }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: - 'addresses', - }, - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'account_id', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'shares', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'account', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'id', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'label', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'image', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'triple' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'subject' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'data' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'emoji' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'type' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'AccountMetadata', - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'data' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'emoji' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'type' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'AccountMetadata', - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'data' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'emoji' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'type' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'AccountMetadata', - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'curve_id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_eq', - }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'total_shares', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'position_count', - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'account', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_in', - }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: - 'addresses', - }, - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'account_id', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'shares', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'account', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'id', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'label', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'image', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'counter_term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'curve_id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_eq', - }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'total_shares', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'position_count', - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'account', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_in', - }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: - 'addresses', - }, - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'account_id', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'shares', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'account', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'id', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'label', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'image', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'deposit' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'sender_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'sender' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shares_for_receiver' }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'sender_assets_after_total_fees', - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'vault' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'position_count' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'account', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_in', - }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'addresses', - }, - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'account_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'label', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'image', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'redemption' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'sender_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'sender' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AccountMetadata' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'accounts' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomValue' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'value' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'person' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'thing' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'organization' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomMetadata' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { kind: 'Field', name: { kind: 'Name', value: 'wallet_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const GetEventsWithAggregates = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetEventsWithAggregates' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'limit' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'offset' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'orderBy' }, - }, - type: { - kind: 'ListType', - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'events_order_by' }, - }, - }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'events_bool_exp' }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'addresses' }, - }, - type: { - kind: 'ListType', - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'String' }, - }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'events_aggregate' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'limit' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'limit' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'offset' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'offset' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'order_by' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'orderBy' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'max' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'created_at' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'block_number' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'min' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'created_at' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'block_number' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'nodes' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'EventDetails' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AccountMetadata' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'accounts' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomValue' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'value' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'person' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'thing' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'organization' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomMetadata' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { kind: 'Field', name: { kind: 'Name', value: 'wallet_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'DepositEventFragment' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'events' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'deposit' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'curve_id' } }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'sender_assets_after_total_fees', - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shares_for_receiver' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'receiver' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'sender' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'EventDetails' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'events' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'block_number' } }, - { kind: 'Field', name: { kind: 'Name', value: 'created_at' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { kind: 'Field', name: { kind: 'Name', value: 'transaction_hash' } }, - { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'triple_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'deposit_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'redemption_id' } }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'DepositEventFragment' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'RedemptionEventFragment' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'atom' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomMetadata' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'position_count' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'account_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'label', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'image', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'triple' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'TripleMetadata' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'position_count' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'account_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'label', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'image', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'counter_term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'position_count' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'account_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'label', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'image', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'PositionFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'positions' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'vault' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'current_share_price' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'PositionAggregateFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'positions_aggregate' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'sum' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'shares' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'RedemptionEventFragment' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'events' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'redemption' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'curve_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'receiver_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shares_redeemed_by_sender' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'assets_for_receiver' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'TripleMetadata' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'triples' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'subject_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'predicate_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'object_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'subject' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'current_share_price' }, - }, - { - kind: 'Field', - alias: { kind: 'Name', value: 'allPositions' }, - name: { kind: 'Name', value: 'positions_aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'PositionAggregateFields', - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'PositionFields' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'counter_term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'current_share_price' }, - }, - { - kind: 'Field', - alias: { kind: 'Name', value: 'allPositions' }, - name: { kind: 'Name', value: 'positions_aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'PositionAggregateFields', - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'PositionFields' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const GetEventsCount = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetEventsCount' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'events_bool_exp' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'events_aggregate' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const GetEventsData = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetEventsData' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'events_bool_exp' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'events_aggregate' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'max' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'created_at' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'block_number' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'min' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'created_at' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'block_number' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'avg' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'block_number' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const GetDebugEvents = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetDebugEvents' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'addresses' }, - }, - type: { - kind: 'ListType', - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'String' }, - }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - alias: { kind: 'Name', value: 'debug_events' }, - name: { kind: 'Name', value: 'events' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'atom' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'account_id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_in', - }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'addresses', - }, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'account_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shares' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const GetTransactionEvents = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetTransactionEvents' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { kind: 'Variable', name: { kind: 'Name', value: 'hash' } }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'String' }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'events' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'transaction_hash' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'hash' }, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'transaction_hash' }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const GetFollowingPositions = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetFollowingPositions' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'subjectId' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'numeric' }, - }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'predicateId' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'numeric' }, - }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'address' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'String' }, - }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'limit' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'offset' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'positionsOrderBy' }, - }, - type: { - kind: 'ListType', - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'positions_order_by' }, - }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'triples_aggregate' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_and' }, - value: { - kind: 'ListValue', - values: [ - { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'subject_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'subjectId', - }, - }, - }, - ], - }, - }, - ], - }, - { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'predicate_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'predicateId', - }, - }, - }, - ], - }, - }, - ], - }, - { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'positions' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'account_id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_ilike', - }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'address', - }, - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'triples' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'limit' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'limit' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'offset' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'offset' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_and' }, - value: { - kind: 'ListValue', - values: [ - { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'subject_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'subjectId', - }, - }, - }, - ], - }, - }, - ], - }, - { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'predicate_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'predicateId', - }, - }, - }, - ], - }, - }, - ], - }, - { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'positions' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'account_id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_ilike', - }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'address', - }, - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'subject' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomMetadata' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomMetadata' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomMetadata' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'current_share_price', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'positions_aggregate', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'count', - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'sum' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'shares', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'account_id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_ilike', - }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'address', - }, - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'order_by' }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'positionsOrderBy', - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'account_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'label', - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shares' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomValue' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'value' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'person' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'thing' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'organization' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomMetadata' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { kind: 'Field', name: { kind: 'Name', value: 'wallet_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const GetFollowerPositions = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetFollowerPositions' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'subjectId' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'numeric' }, - }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'predicateId' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'numeric' }, - }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'objectId' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'numeric' }, - }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'positionsLimit' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'positionsOffset' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'positionsOrderBy' }, - }, - type: { - kind: 'ListType', - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'positions_order_by' }, - }, - }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'positionsWhere' }, - }, - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'positions_bool_exp' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'triples' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_and' }, - value: { - kind: 'ListValue', - values: [ - { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'subject_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'subjectId', - }, - }, - }, - ], - }, - }, - ], - }, - { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'predicate_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'predicateId', - }, - }, - }, - ], - }, - }, - ], - }, - { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'object_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'objectId', - }, - }, - }, - ], - }, - }, - ], - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'subject' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomMetadata' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomMetadata' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomMetadata' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'current_share_price', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'positions_aggregate', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'count', - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'sum' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'shares', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'limit' }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'positionsLimit', - }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'offset' }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'positionsOffset', - }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'order_by' }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'positionsOrderBy', - }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'positionsWhere', - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'label', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'image', - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shares' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomValue' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'value' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'person' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'thing' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'organization' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomMetadata' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { kind: 'Field', name: { kind: 'Name', value: 'wallet_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const GetConnections = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetConnections' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'subjectId' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'numeric' }, - }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'predicateId' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'numeric' }, - }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'objectId' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'numeric' }, - }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'addresses' }, - }, - type: { - kind: 'ListType', - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'String' }, - }, - }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'positionsLimit' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'positionsOffset' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'positionsOrderBy' }, - }, - type: { - kind: 'ListType', - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'positions_order_by' }, - }, - }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'positionsWhere' }, - }, - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'positions_bool_exp' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - alias: { kind: 'Name', value: 'following_count' }, - name: { kind: 'Name', value: 'triples_aggregate' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_and' }, - value: { - kind: 'ListValue', - values: [ - { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'subject_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'subjectId', - }, - }, - }, - ], - }, - }, - ], - }, - { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'predicate_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'predicateId', - }, - }, - }, - ], - }, - }, - ], - }, - { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'object_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'objectId', - }, - }, - }, - ], - }, - }, - ], - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - alias: { kind: 'Name', value: 'following' }, - name: { kind: 'Name', value: 'triples' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_and' }, - value: { - kind: 'ListValue', - values: [ - { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'subject_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'subjectId', - }, - }, - }, - ], - }, - }, - ], - }, - { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'predicate_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'predicateId', - }, - }, - }, - ], - }, - }, - ], - }, - { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'object_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'objectId', - }, - }, - }, - ], - }, - }, - ], - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'FollowMetadata' }, - }, - ], - }, - }, - { - kind: 'Field', - alias: { kind: 'Name', value: 'followers_count' }, - name: { kind: 'Name', value: 'triples_aggregate' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_and' }, - value: { - kind: 'ListValue', - values: [ - { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'subject_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'subjectId', - }, - }, - }, - ], - }, - }, - ], - }, - { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'predicate_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'predicateId', - }, - }, - }, - ], - }, - }, - ], - }, - { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'positions' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'account_id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_in', - }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'addresses', - }, - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - alias: { kind: 'Name', value: 'followers' }, - name: { kind: 'Name', value: 'triples' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_and' }, - value: { - kind: 'ListValue', - values: [ - { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'subject_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'subjectId', - }, - }, - }, - ], - }, - }, - ], - }, - { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'predicate_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'predicateId', - }, - }, - }, - ], - }, - }, - ], - }, - { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'positions' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'account_id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_in', - }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'addresses', - }, - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'FollowMetadata' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'FollowMetadata' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'triples' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'subject' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'current_share_price' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions_aggregate' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'positionsWhere' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'count' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'sum' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'shares', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'limit' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'positionsLimit' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'offset' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'positionsOffset' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'order_by' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'positionsOrderBy' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'positionsWhere' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shares' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const GetConnectionsCount = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetConnectionsCount' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'subjectId' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'numeric' }, - }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'predicateId' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'numeric' }, - }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'objectId' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'numeric' }, - }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'address' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'String' }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - alias: { kind: 'Name', value: 'following_count' }, - name: { kind: 'Name', value: 'triples_aggregate' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_and' }, - value: { - kind: 'ListValue', - values: [ - { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'subject_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'subjectId', - }, - }, - }, - ], - }, - }, - ], - }, - { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'predicate_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'predicateId', - }, - }, - }, - ], - }, - }, - ], - }, - { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'positions' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'account_id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_ilike', - }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'address', - }, - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - alias: { kind: 'Name', value: 'followers_count' }, - name: { kind: 'Name', value: 'triples' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_and' }, - value: { - kind: 'ListValue', - values: [ - { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'subject_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'subjectId', - }, - }, - }, - ], - }, - }, - ], - }, - { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'predicate_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'predicateId', - }, - }, - }, - ], - }, - }, - ], - }, - { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'object_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'objectId', - }, - }, - }, - ], - }, - }, - ], - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'positions_aggregate', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'count', - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'sum' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'shares', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const GetLists = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetLists' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'predicate_objects_bool_exp' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate_objects_aggregate' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate_objects' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'order_by' }, - value: { - kind: 'ListValue', - values: [ - { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'triple_count' }, - value: { kind: 'EnumValue', value: 'desc' }, - }, - ], - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'triple_count' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const GetListItems = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetListItems' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'predicateId' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'numeric' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'objectId' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'numeric' } }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'triples_aggregate' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'predicate_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { kind: 'EnumValue', value: 'predicateId' }, - }, - ], - }, - }, - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'object_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'objectId' }, - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'order_by' }, - value: { - kind: 'ListValue', - values: [ - { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'term' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'positions_aggregate', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'count' }, - value: { - kind: 'EnumValue', - value: 'desc', - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'counter_term' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'positions_aggregate', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'count' }, - value: { - kind: 'EnumValue', - value: 'desc', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'nodes' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'TripleVaultDetails' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AccountMetadata' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'accounts' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomValue' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'value' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'person' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'thing' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'organization' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'PositionDetails' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'positions' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'vault' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'atom' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'triple' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'curve_id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_eq', - }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'term_id', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'position_count', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'positions_aggregate', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'aggregate', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'sum', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'shares', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'counter_term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'curve_id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_eq', - }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'term_id', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'position_count', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'positions_aggregate', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'aggregate', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'sum', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'shares', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'subject' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'data' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'emoji' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'type' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'AccountMetadata', - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'data' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'emoji' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'type' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'AccountMetadata', - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'data' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'emoji' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'type' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'AccountMetadata', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'curve_id' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'TripleVaultDetails' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'triples' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'counter_term_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'PositionDetails' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'counter_term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'PositionDetails' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const GetListDetails = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetListDetails' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'globalWhere' }, - }, - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'triples_bool_exp' }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'tagPredicateId' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'numeric' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'limit' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'offset' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'orderBy' }, - }, - type: { - kind: 'ListType', - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'triples_order_by' }, - }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - alias: { kind: 'Name', value: 'globalTriplesAggregate' }, - name: { kind: 'Name', value: 'triples_aggregate' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'globalWhere' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - alias: { kind: 'Name', value: 'globalTriples' }, - name: { kind: 'Name', value: 'triples' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'globalWhere' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'limit' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'limit' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'offset' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'offset' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'order_by' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'orderBy' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'counter_term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'subject' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'wallet_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'position_count', - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - alias: { kind: 'Name', value: 'tags' }, - name: { - kind: 'Name', - value: 'as_subject_triples_aggregate', - }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'predicate_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'tagPredicateId', - }, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'nodes' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'label', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'term_id', - }, - }, - { - kind: 'Field', - alias: { - kind: 'Name', - value: 'taggedIdentities', - }, - name: { - kind: 'Name', - value: - 'as_object_triples_aggregate', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'nodes', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'subject', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'label', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'term_id', - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'term_id', - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'aggregate', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'count', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'count' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'wallet_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'wallet_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'current_share_price', - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'position_count' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'counter_term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'current_share_price', - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'position_count' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const GetListDetailsWithPosition = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetListDetailsWithPosition' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'globalWhere' }, - }, - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'triples_bool_exp' }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'tagPredicateId' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'numeric' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'address' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'limit' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'offset' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'orderBy' }, - }, - type: { - kind: 'ListType', - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'triples_order_by' }, - }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - alias: { kind: 'Name', value: 'globalTriplesAggregate' }, - name: { kind: 'Name', value: 'triples_aggregate' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'globalWhere' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - alias: { kind: 'Name', value: 'globalTriples' }, - name: { kind: 'Name', value: 'triples' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'globalWhere' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'limit' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'limit' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'offset' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'offset' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'order_by' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'orderBy' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'counter_term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'subject' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'wallet_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { - kind: 'Field', - alias: { kind: 'Name', value: 'tags' }, - name: { - kind: 'Name', - value: 'as_subject_triples_aggregate', - }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'predicate_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'tagPredicateId', - }, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'nodes' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'label', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'term_id', - }, - }, - { - kind: 'Field', - alias: { - kind: 'Name', - value: 'taggedIdentities', - }, - name: { - kind: 'Name', - value: - 'as_object_triples_aggregate', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'nodes', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'subject', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'label', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'term_id', - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'term_id', - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'aggregate', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'count', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'count' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'wallet_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'wallet_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'current_share_price', - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'position_count' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'account_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_ilike' }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'address', - }, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shares' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'counter_term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'current_share_price', - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'position_count' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'account_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_ilike' }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'address', - }, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shares' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const GetListDetailsWithUser = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetListDetailsWithUser' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'globalWhere' }, - }, - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'triples_bool_exp' }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'userWhere' }, - }, - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'triples_bool_exp' }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'tagPredicateId' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'numeric' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'address' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'limit' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'offset' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'orderBy' }, - }, - type: { - kind: 'ListType', - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'triples_order_by' }, - }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - alias: { kind: 'Name', value: 'globalTriplesAggregate' }, - name: { kind: 'Name', value: 'triples_aggregate' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'globalWhere' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - alias: { kind: 'Name', value: 'globalTriples' }, - name: { kind: 'Name', value: 'triples' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'globalWhere' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'limit' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'limit' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'offset' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'offset' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'order_by' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'orderBy' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'counter_term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'subject' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'wallet_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { - kind: 'Field', - alias: { kind: 'Name', value: 'tags' }, - name: { - kind: 'Name', - value: 'as_subject_triples_aggregate', - }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'predicate_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'tagPredicateId', - }, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'nodes' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'label', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'term_id', - }, - }, - { - kind: 'Field', - alias: { - kind: 'Name', - value: 'taggedIdentities', - }, - name: { - kind: 'Name', - value: - 'as_object_triples_aggregate', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'nodes', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'subject', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'label', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'term_id', - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'term_id', - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'aggregate', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'count', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'count' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'wallet_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'wallet_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'current_share_price', - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'position_count' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'account_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_ilike' }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'address', - }, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shares' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'counter_term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'current_share_price', - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'position_count' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'account_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_ilike' }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'address', - }, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shares' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - alias: { kind: 'Name', value: 'userTriplesAggregate' }, - name: { kind: 'Name', value: 'triples_aggregate' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'userWhere' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - alias: { kind: 'Name', value: 'userTriples' }, - name: { kind: 'Name', value: 'triples' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'userWhere' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'counter_term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'subject' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'wallet_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { - kind: 'Field', - alias: { kind: 'Name', value: 'tags' }, - name: { - kind: 'Name', - value: 'as_subject_triples_aggregate', - }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'predicate_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'tagPredicateId', - }, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'nodes' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'label', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'term_id', - }, - }, - { - kind: 'Field', - alias: { - kind: 'Name', - value: 'taggedIdentities', - }, - name: { - kind: 'Name', - value: - 'as_object_triples_aggregate', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'nodes', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'subject', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'label', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'term_id', - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'term_id', - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'aggregate', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'count', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'count' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'wallet_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'wallet_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'current_share_price', - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'position_count' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'account_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_ilike' }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'address', - }, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shares' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'counter_term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'current_share_price', - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'position_count' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'account_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_ilike' }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'address', - }, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shares' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const GetListDetailsSimplified = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetListDetailsSimplified' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'globalWhere' }, - }, - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'triples_bool_exp' }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'address' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'limit' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'offset' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'orderBy' }, - }, - type: { - kind: 'ListType', - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'triples_order_by' }, - }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - alias: { kind: 'Name', value: 'globalTriplesAggregate' }, - name: { kind: 'Name', value: 'triples_aggregate' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'globalWhere' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - alias: { kind: 'Name', value: 'globalTriples' }, - name: { kind: 'Name', value: 'triples' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'globalWhere' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'limit' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'limit' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'offset' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'offset' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'order_by' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'orderBy' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'counter_term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'subject' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'wallet_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'curve_id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_eq', - }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'current_share_price', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'position_count', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'total_shares', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'wallet_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'wallet_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'current_share_price', - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'position_count' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'account_id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_ilike', - }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'address', - }, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'label', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'image', - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shares' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'counter_term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'current_share_price', - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'position_count' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'account_id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_ilike', - }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'address', - }, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'label', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'image', - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shares' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const GetFeeTransfers = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetFeeTransfers' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'address' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'String' }, - }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'cutoff_timestamp' }, - }, - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'timestamptz' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - alias: { kind: 'Name', value: 'before_cutoff' }, - name: { kind: 'Name', value: 'fee_transfers_aggregate' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'created_at' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_lte' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'cutoff_timestamp' }, - }, - }, - ], - }, - }, - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'sender_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_ilike' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'address' }, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'sum' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'amount' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - alias: { kind: 'Name', value: 'after_cutoff' }, - name: { kind: 'Name', value: 'fee_transfers_aggregate' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'created_at' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_gt' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'cutoff_timestamp' }, - }, - }, - ], - }, - }, - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'sender_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_ilike' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'address' }, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'sum' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'amount' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const GetPositions = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetPositions' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'limit' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'offset' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'orderBy' }, - }, - type: { - kind: 'ListType', - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'positions_order_by' }, - }, - }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'positions_bool_exp' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - alias: { kind: 'Name', value: 'total' }, - name: { kind: 'Name', value: 'positions_aggregate' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'sum' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'shares' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'limit' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'limit' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'offset' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'offset' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'order_by' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'orderBy' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'PositionDetails' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AccountMetadata' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'accounts' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomValue' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'value' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'person' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'thing' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'organization' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'PositionDetails' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'positions' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'vault' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'atom' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'triple' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'curve_id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_eq', - }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'term_id', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'position_count', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'positions_aggregate', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'aggregate', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'sum', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'shares', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'counter_term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'curve_id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_eq', - }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'term_id', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'position_count', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'positions_aggregate', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'aggregate', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'sum', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'shares', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'subject' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'data' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'emoji' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'type' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'AccountMetadata', - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'data' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'emoji' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'type' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'AccountMetadata', - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'data' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'emoji' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'type' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'AccountMetadata', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'curve_id' } }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const GetTriplePositionsByAddress = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetTriplePositionsByAddress' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'limit' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'offset' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'orderBy' }, - }, - type: { - kind: 'ListType', - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'positions_order_by' }, - }, - }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'positions_bool_exp' }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'address' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'String' }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - alias: { kind: 'Name', value: 'total' }, - name: { kind: 'Name', value: 'positions_aggregate' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'sum' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'shares' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'limit' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'limit' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'offset' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'offset' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'order_by' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'orderBy' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'PositionDetails' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'vault' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'triple' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'positions', - }, - arguments: [ - { - kind: 'Argument', - name: { - kind: 'Name', - value: 'where', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'account_id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_ilike', - }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'address', - }, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'account', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'id', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'label', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'image', - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'shares', - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'counter_term', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'positions', - }, - arguments: [ - { - kind: 'Argument', - name: { - kind: 'Name', - value: 'where', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'account_id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_ilike', - }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'address', - }, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'account', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'id', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'label', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'image', - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'shares', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AccountMetadata' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'accounts' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomValue' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'value' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'person' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'thing' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'organization' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'PositionDetails' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'positions' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'vault' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'atom' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'triple' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'curve_id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_eq', - }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'term_id', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'position_count', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'positions_aggregate', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'aggregate', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'sum', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'shares', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'counter_term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'curve_id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_eq', - }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'term_id', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'position_count', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'positions_aggregate', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'aggregate', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'sum', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'shares', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'subject' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'data' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'emoji' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'type' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'AccountMetadata', - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'data' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'emoji' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'type' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'AccountMetadata', - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'data' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'emoji' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'type' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'AccountMetadata', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'curve_id' } }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const GetPositionsWithAggregates = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetPositionsWithAggregates' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'limit' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'offset' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'orderBy' }, - }, - type: { - kind: 'ListType', - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'positions_order_by' }, - }, - }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'positions_bool_exp' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'positions_aggregate' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'limit' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'limit' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'offset' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'offset' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'order_by' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'orderBy' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'nodes' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'PositionDetails' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AccountMetadata' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'accounts' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomValue' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'value' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'person' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'thing' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'organization' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'PositionDetails' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'positions' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'vault' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'atom' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'triple' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'curve_id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_eq', - }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'term_id', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'position_count', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'positions_aggregate', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'aggregate', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'sum', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'shares', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'counter_term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'curve_id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_eq', - }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'term_id', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'position_count', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'positions_aggregate', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'aggregate', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'sum', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'shares', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'subject' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'data' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'emoji' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'type' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'AccountMetadata', - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'data' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'emoji' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'type' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'AccountMetadata', - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'data' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'emoji' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'type' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'AccountMetadata', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'curve_id' } }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const GetPositionsCount = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetPositionsCount' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'positions_bool_exp' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'positions_aggregate' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - alias: { kind: 'Name', value: 'total' }, - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'sum' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'shares' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const GetPosition = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetPosition' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'positionId' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'String' }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'position' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'id' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'positionId' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'PositionDetails' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AccountMetadata' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'accounts' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomValue' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'value' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'person' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'thing' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'organization' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'PositionDetails' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'positions' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'vault' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'atom' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'triple' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'curve_id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_eq', - }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'term_id', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'position_count', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'positions_aggregate', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'aggregate', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'sum', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'shares', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'counter_term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'curve_id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_eq', - }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'term_id', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'position_count', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'positions_aggregate', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'aggregate', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'sum', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'shares', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'subject' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'data' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'emoji' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'type' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'AccountMetadata', - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'data' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'emoji' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'type' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'AccountMetadata', - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'data' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'emoji' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'type' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'AccountMetadata', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'curve_id' } }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const GetPositionsCountByType = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetPositionsCountByType' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'positions_bool_exp' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'positions_aggregate' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - alias: { kind: 'Name', value: 'total' }, - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'sum' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'shares' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vault' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const SearchPositions = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'SearchPositions' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'addresses' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: '_text' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'search_fields' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'jsonb' } }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - alias: { kind: 'Name', value: 'positions' }, - name: { kind: 'Name', value: 'search_positions_on_subject' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'args' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'addresses' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'addresses' }, - }, - }, - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'search_fields' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'search_fields' }, - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'triple' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'subject' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'data' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'data' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'data' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const GetSignals = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetSignals' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'limit' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'offset' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'orderBy' }, - }, - type: { - kind: 'ListType', - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'signals_order_by' }, - }, - }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'addresses' }, - }, - type: { - kind: 'ListType', - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'String' }, - }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - alias: { kind: 'Name', value: 'total' }, - name: { kind: 'Name', value: 'events_aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'signals' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'limit' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'limit' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'offset' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'offset' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'order_by' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'orderBy' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'block_number' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'created_at' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'transaction_hash' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'triple_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'deposit_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'redemption_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'atom' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomMetadata' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'total_shares', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'position_count', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'positions', - }, - arguments: [ - { - kind: 'Argument', - name: { - kind: 'Name', - value: 'where', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'account', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_in', - }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: - 'addresses', - }, - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'account_id', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'shares', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'account', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'id', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'label', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'image', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'triple' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'AccountMetadata', - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'subject' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'data' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'emoji' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'type' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'AccountMetadata', - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'data' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'emoji' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'type' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'AccountMetadata', - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'data' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'emoji' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'type' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'AccountMetadata', - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'total_shares', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'position_count', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'positions', - }, - arguments: [ - { - kind: 'Argument', - name: { - kind: 'Name', - value: 'where', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'account', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_in', - }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: - 'addresses', - }, - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'account_id', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'shares', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'account', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'id', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'label', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'image', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'counter_term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'total_shares', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'position_count', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'positions', - }, - arguments: [ - { - kind: 'Argument', - name: { - kind: 'Name', - value: 'where', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'account', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_in', - }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: - 'addresses', - }, - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'account_id', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'shares', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'account', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'id', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'label', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'image', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'deposit' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'sender_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'sender' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'receiver_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'receiver' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shares_for_receiver' }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'sender_assets_after_total_fees', - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'vault' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'position_count' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'account', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_in', - }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'addresses', - }, - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'account_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'label', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'image', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'redemption' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'sender_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'sender' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'receiver_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'receiver' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'assets_for_receiver' }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'shares_redeemed_by_sender', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AccountMetadata' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'accounts' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomValue' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'value' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'person' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'thing' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'organization' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomMetadata' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { kind: 'Field', name: { kind: 'Name', value: 'wallet_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const GetStats = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetStats' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'stats' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'StatDetails' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'StatDetails' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'stats' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'contract_balance' } }, - { kind: 'Field', name: { kind: 'Name', value: 'total_accounts' } }, - { kind: 'Field', name: { kind: 'Name', value: 'total_fees' } }, - { kind: 'Field', name: { kind: 'Name', value: 'total_atoms' } }, - { kind: 'Field', name: { kind: 'Name', value: 'total_triples' } }, - { kind: 'Field', name: { kind: 'Name', value: 'total_positions' } }, - { kind: 'Field', name: { kind: 'Name', value: 'total_signals' } }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const GetTags = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetTags' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'subjectId' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'numeric' }, - }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'predicateId' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'numeric' }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'triples' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_and' }, - value: { - kind: 'ListValue', - values: [ - { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'subject_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'subjectId', - }, - }, - }, - ], - }, - }, - ], - }, - { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'predicate_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'predicateId', - }, - }, - }, - ], - }, - }, - ], - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'TripleMetadata' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AccountMetadata' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'accounts' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomValue' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'value' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'person' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'thing' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'organization' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'PositionFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'positions' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'vault' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'current_share_price' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'PositionAggregateFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'positions_aggregate' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'sum' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'shares' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'TripleMetadata' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'triples' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'subject_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'predicate_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'object_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'subject' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'current_share_price' }, - }, - { - kind: 'Field', - alias: { kind: 'Name', value: 'allPositions' }, - name: { kind: 'Name', value: 'positions_aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'PositionAggregateFields', - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'PositionFields' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'counter_term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'current_share_price' }, - }, - { - kind: 'Field', - alias: { kind: 'Name', value: 'allPositions' }, - name: { kind: 'Name', value: 'positions_aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'PositionAggregateFields', - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'PositionFields' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const GetTagsCustom = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetTagsCustom' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'triples_bool_exp' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'triples' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'TripleMetadata' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AccountMetadata' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'accounts' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomValue' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'value' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'person' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'thing' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'organization' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'PositionFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'positions' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'vault' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'current_share_price' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'PositionAggregateFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'positions_aggregate' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'sum' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'shares' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'TripleMetadata' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'triples' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'subject_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'predicate_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'object_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'subject' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'current_share_price' }, - }, - { - kind: 'Field', - alias: { kind: 'Name', value: 'allPositions' }, - name: { kind: 'Name', value: 'positions_aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'PositionAggregateFields', - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'PositionFields' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'counter_term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'current_share_price' }, - }, - { - kind: 'Field', - alias: { kind: 'Name', value: 'allPositions' }, - name: { kind: 'Name', value: 'positions_aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'PositionAggregateFields', - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'PositionFields' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const GetTriples = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetTriples' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'limit' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'offset' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'orderBy' }, - }, - type: { - kind: 'ListType', - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'triples_order_by' }, - }, - }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'triples_bool_exp' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - alias: { kind: 'Name', value: 'total' }, - name: { kind: 'Name', value: 'triples_aggregate' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'triples' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'limit' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'limit' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'offset' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'offset' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'order_by' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'orderBy' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'TripleMetadata' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'TripleTxn' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'TripleVaultDetails' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AccountMetadata' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'accounts' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomValue' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'value' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'person' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'thing' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'organization' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'PositionDetails' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'positions' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'vault' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'atom' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'triple' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'curve_id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_eq', - }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'term_id', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'position_count', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'positions_aggregate', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'aggregate', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'sum', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'shares', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'counter_term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'curve_id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_eq', - }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'term_id', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'position_count', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'positions_aggregate', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'aggregate', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'sum', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'shares', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'subject' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'data' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'emoji' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'type' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'AccountMetadata', - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'data' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'emoji' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'type' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'AccountMetadata', - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'data' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'emoji' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'type' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'AccountMetadata', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'curve_id' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'PositionFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'positions' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'vault' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'current_share_price' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'PositionAggregateFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'positions_aggregate' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'sum' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'shares' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'TripleMetadata' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'triples' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'subject_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'predicate_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'object_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'subject' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'current_share_price' }, - }, - { - kind: 'Field', - alias: { kind: 'Name', value: 'allPositions' }, - name: { kind: 'Name', value: 'positions_aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'PositionAggregateFields', - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'PositionFields' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'counter_term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'current_share_price' }, - }, - { - kind: 'Field', - alias: { kind: 'Name', value: 'allPositions' }, - name: { kind: 'Name', value: 'positions_aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'PositionAggregateFields', - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'PositionFields' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'TripleTxn' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'triples' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'block_number' } }, - { kind: 'Field', name: { kind: 'Name', value: 'created_at' } }, - { kind: 'Field', name: { kind: 'Name', value: 'transaction_hash' } }, - { kind: 'Field', name: { kind: 'Name', value: 'creator_id' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'TripleVaultDetails' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'triples' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'counter_term_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'PositionDetails' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'counter_term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'PositionDetails' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const GetTriplesWithAggregates = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetTriplesWithAggregates' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'limit' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'offset' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'orderBy' }, - }, - type: { - kind: 'ListType', - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'triples_order_by' }, - }, - }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'triples_bool_exp' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'triples_aggregate' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'limit' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'limit' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'offset' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'offset' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'order_by' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'orderBy' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'nodes' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'TripleMetadata' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'TripleTxn' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'TripleVaultDetails' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AccountMetadata' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'accounts' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomValue' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'value' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'person' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'thing' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'organization' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'PositionDetails' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'positions' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'vault' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'atom' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'triple' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'curve_id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_eq', - }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'term_id', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'position_count', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'positions_aggregate', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'aggregate', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'sum', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'shares', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'counter_term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'curve_id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_eq', - }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'term_id', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'position_count', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'positions_aggregate', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'aggregate', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'sum', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'shares', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'subject' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'data' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'emoji' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'type' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'AccountMetadata', - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'data' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'emoji' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'type' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'AccountMetadata', - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'data' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'emoji' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'type' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'AccountMetadata', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'curve_id' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'PositionFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'positions' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'vault' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'current_share_price' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'PositionAggregateFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'positions_aggregate' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'sum' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'shares' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'TripleMetadata' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'triples' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'subject_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'predicate_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'object_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'subject' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'current_share_price' }, - }, - { - kind: 'Field', - alias: { kind: 'Name', value: 'allPositions' }, - name: { kind: 'Name', value: 'positions_aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'PositionAggregateFields', - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'PositionFields' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'counter_term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'current_share_price' }, - }, - { - kind: 'Field', - alias: { kind: 'Name', value: 'allPositions' }, - name: { kind: 'Name', value: 'positions_aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'PositionAggregateFields', - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'PositionFields' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'TripleTxn' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'triples' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'block_number' } }, - { kind: 'Field', name: { kind: 'Name', value: 'created_at' } }, - { kind: 'Field', name: { kind: 'Name', value: 'transaction_hash' } }, - { kind: 'Field', name: { kind: 'Name', value: 'creator_id' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'TripleVaultDetails' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'triples' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'counter_term_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'PositionDetails' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'counter_term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'PositionDetails' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const GetTriplesCount = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetTriplesCount' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'triples_bool_exp' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'triples_aggregate' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - alias: { kind: 'Name', value: 'total' }, - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const GetTriple = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetTriple' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'tripleId' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'numeric' }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'triple' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'term_id' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'tripleId' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'TripleMetadata' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'TripleTxn' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'TripleVaultDetails' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AccountMetadata' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'accounts' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AtomValue' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'atoms' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'value' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'person' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'thing' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'organization' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'PositionDetails' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'positions' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'vault' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'atom' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'triple' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'curve_id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_eq', - }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'term_id', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'position_count', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'positions_aggregate', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'aggregate', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'sum', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'shares', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'counter_term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'curve_id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_eq', - }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'term_id', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'position_count', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'positions_aggregate', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'aggregate', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'sum', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'shares', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'subject' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'data' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'emoji' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'type' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'AccountMetadata', - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'data' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'emoji' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'type' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'AccountMetadata', - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'data' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'image' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'emoji' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'type' }, - }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'AccountMetadata', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'curve_id' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'PositionFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'positions' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'vault' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'current_share_price' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'PositionAggregateFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'positions_aggregate' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'sum' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'shares' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'TripleMetadata' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'triples' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'subject_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'predicate_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'object_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'subject' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'data' } }, - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AtomValue' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'creator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AccountMetadata' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'current_share_price' }, - }, - { - kind: 'Field', - alias: { kind: 'Name', value: 'allPositions' }, - name: { kind: 'Name', value: 'positions_aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'PositionAggregateFields', - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'PositionFields' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'counter_term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'current_share_price' }, - }, - { - kind: 'Field', - alias: { kind: 'Name', value: 'allPositions' }, - name: { kind: 'Name', value: 'positions_aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'PositionAggregateFields', - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'PositionFields' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'TripleTxn' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'triples' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'block_number' } }, - { kind: 'Field', name: { kind: 'Name', value: 'created_at' } }, - { kind: 'Field', name: { kind: 'Name', value: 'transaction_hash' } }, - { kind: 'Field', name: { kind: 'Name', value: 'creator_id' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'TripleVaultDetails' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'triples' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'counter_term_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'PositionDetails' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'counter_term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'StringValue', - value: '1', - block: false, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'PositionDetails' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const GetAtomTriplesWithPositions = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetAtomTriplesWithPositions' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'triples_bool_exp' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'triples_aggregate' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const GetTriplesWithPositions = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetTriplesWithPositions' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'limit' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'offset' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'orderBy' }, - }, - type: { - kind: 'ListType', - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'triples_order_by' }, - }, - }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'triples_bool_exp' }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'address' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - alias: { kind: 'Name', value: 'total' }, - name: { kind: 'Name', value: 'triples_aggregate' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'triples' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'limit' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'limit' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'offset' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'offset' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'order_by' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'orderBy' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'counter_term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'subject' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'image' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'position_count' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'account_id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_ilike', - }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'address', - }, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'label', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'image', - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shares' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'counter_term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'position_count' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: 'account_id', - }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { - kind: 'Name', - value: '_ilike', - }, - value: { - kind: 'Variable', - name: { - kind: 'Name', - value: 'address', - }, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'label', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'image', - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shares' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const FindTriples = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'FindTriples' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'triples_bool_exp' }, - }, - defaultValue: { kind: 'ObjectValue', fields: [] }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'address' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'String' }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'triples' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'subject_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'object_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'account_id' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'address' }, - }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'shares' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const GetVaults = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetVaults' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'limit' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'offset' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'orderBy' }, - }, - type: { - kind: 'ListType', - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'vaults_order_by' }, - }, - }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'vaults_bool_exp' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vaults_aggregate' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'limit' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'limit' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'offset' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'offset' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'order_by' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'orderBy' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'where' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'nodes' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'atom' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'triple' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'subject' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'term_id', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'label', - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'term_id', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'label', - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'term_id', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'label', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'positions_aggregate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'nodes' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'account' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'atom_id', - }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'label', - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shares' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'current_share_price' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'total_shares' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode -export const GetVault = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetVault' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'termId' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'numeric' }, - }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'curveId' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'numeric' }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'vault' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'term_id' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'termId' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'curve_id' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'curveId' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'VaultDetails' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'VaultBasicDetails' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'vaults' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'curve_id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'term' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'atom' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'triple' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'subject' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'predicate' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'object' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'term_id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'label' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'current_share_price' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'total_shares' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'VaultDetails' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'vaults' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'VaultBasicDetails' }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode + `; + +export const useGetTrustedListingTripleAggregatesQuery = < + TData = GetTrustedListingTripleAggregatesQuery, + TError = unknown + >( + variables: GetTrustedListingTripleAggregatesQueryVariables, + options?: Omit, 'queryKey'> & { queryKey?: UseQueryOptions['queryKey'] } + ) => { + + return useQuery( + { + queryKey: ['GetTrustedListingTripleAggregates', variables], + queryFn: fetcher(GetTrustedListingTripleAggregatesDocument, variables), + ...options + } + )}; + +useGetTrustedListingTripleAggregatesQuery.document = GetTrustedListingTripleAggregatesDocument; + +useGetTrustedListingTripleAggregatesQuery.getKey = (variables: GetTrustedListingTripleAggregatesQueryVariables) => ['GetTrustedListingTripleAggregates', variables]; + +export const useInfiniteGetTrustedListingTripleAggregatesQuery = < + TData = InfiniteData, + TError = unknown + >( + variables: GetTrustedListingTripleAggregatesQueryVariables, + options: Omit, 'queryKey'> & { queryKey?: UseInfiniteQueryOptions['queryKey'] } + ) => { + + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options; + return { + queryKey: optionsQueryKey ?? ['GetTrustedListingTripleAggregates.infinite', variables], + queryFn: (metaData) => fetcher(GetTrustedListingTripleAggregatesDocument, {...variables, ...(metaData.pageParam ?? {})})(), + ...restOptions + } + })() + )}; + +useInfiniteGetTrustedListingTripleAggregatesQuery.getKey = (variables: GetTrustedListingTripleAggregatesQueryVariables) => ['GetTrustedListingTripleAggregates.infinite', variables]; + + +useGetTrustedListingTripleAggregatesQuery.fetcher = (variables: GetTrustedListingTripleAggregatesQueryVariables, options?: RequestInit['headers']) => fetcher(GetTrustedListingTripleAggregatesDocument, variables, options); + +export const AccountPositionsAggregate = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountPositionsAggregate"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"accounts"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"positions_aggregate"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"order_by"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"shares"},"value":{"kind":"EnumValue","value":"desc"}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"count"}}]}},{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"shares"}},{"kind":"Field","name":{"kind":"Name","value":"vault"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"total_shares"}},{"kind":"Field","name":{"kind":"Name","value":"current_share_price"}},{"kind":"Field","name":{"kind":"Name","value":"term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"atom"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"triple"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}}]}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode; +export const AccountPositions = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountPositions"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"accounts"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"positions"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"order_by"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"shares"},"value":{"kind":"EnumValue","value":"desc"}}]}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"positionsLimit"}}},{"kind":"Argument","name":{"kind":"Name","value":"offset"},"value":{"kind":"Variable","name":{"kind":"Name","value":"positionsOffset"}}},{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"Variable","name":{"kind":"Name","value":"positionsWhere"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"shares"}},{"kind":"Field","name":{"kind":"Name","value":"vault"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"total_shares"}},{"kind":"Field","name":{"kind":"Name","value":"current_share_price"}},{"kind":"Field","name":{"kind":"Name","value":"term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"atom"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"triple"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode; +export const AccountAtoms = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountAtoms"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"accounts"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"atoms"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"Variable","name":{"kind":"Name","value":"atomsWhere"}}},{"kind":"Argument","name":{"kind":"Name","value":"order_by"},"value":{"kind":"Variable","name":{"kind":"Name","value":"atomsOrderBy"}}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"atomsLimit"}}},{"kind":"Argument","name":{"kind":"Name","value":"offset"},"value":{"kind":"Variable","name":{"kind":"Name","value":"atomsOffset"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vaults"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"curve_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"StringValue","value":"1","block":false}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total_shares"}},{"kind":"Field","name":{"kind":"Name","value":"positions_aggregate"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"account_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"Variable","name":{"kind":"Name","value":"address"}}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"shares"}}]}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode; +export const AccountAtomsAggregate = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountAtomsAggregate"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"accounts"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"atoms_aggregate"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"Variable","name":{"kind":"Name","value":"atomsWhere"}}},{"kind":"Argument","name":{"kind":"Name","value":"order_by"},"value":{"kind":"Variable","name":{"kind":"Name","value":"atomsOrderBy"}}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"atomsLimit"}}},{"kind":"Argument","name":{"kind":"Name","value":"offset"},"value":{"kind":"Variable","name":{"kind":"Name","value":"atomsOffset"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"count"}}]}},{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vaults"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"curve_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"StringValue","value":"1","block":false}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total_shares"}},{"kind":"Field","name":{"kind":"Name","value":"positions_aggregate"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"account_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"Variable","name":{"kind":"Name","value":"address"}}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"shares"}}]}}]}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode; +export const AccountTriples = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountTriples"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"accounts"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"triples_aggregate"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"Variable","name":{"kind":"Name","value":"triplesWhere"}}},{"kind":"Argument","name":{"kind":"Name","value":"order_by"},"value":{"kind":"Variable","name":{"kind":"Name","value":"triplesOrderBy"}}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"triplesLimit"}}},{"kind":"Argument","name":{"kind":"Name","value":"offset"},"value":{"kind":"Variable","name":{"kind":"Name","value":"triplesOffset"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"count"}}]}},{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"subject"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"predicate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"object"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}}]}}]}}]}}]} as unknown as DocumentNode; +export const AccountTriplesAggregate = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountTriplesAggregate"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"accounts"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"triples_aggregate"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"Variable","name":{"kind":"Name","value":"triplesWhere"}}},{"kind":"Argument","name":{"kind":"Name","value":"order_by"},"value":{"kind":"Variable","name":{"kind":"Name","value":"triplesOrderBy"}}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"triplesLimit"}}},{"kind":"Argument","name":{"kind":"Name","value":"offset"},"value":{"kind":"Variable","name":{"kind":"Name","value":"triplesOffset"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"count"}}]}},{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"subject"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"predicate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"object"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}}]}}]}}]}}]} as unknown as DocumentNode; +export const AtomTxn = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AtomTxn"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"atoms"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"block_number"}},{"kind":"Field","name":{"kind":"Name","value":"created_at"}},{"kind":"Field","name":{"kind":"Name","value":"transaction_hash"}},{"kind":"Field","name":{"kind":"Name","value":"creator_id"}}]}}]} as unknown as DocumentNode; +export const AtomVaultDetails = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AtomVaultDetails"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"atoms"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"wallet_id"}},{"kind":"Field","name":{"kind":"Name","value":"term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vaults"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"curve_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"StringValue","value":"1","block":false}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"position_count"}},{"kind":"Field","name":{"kind":"Name","value":"total_shares"}},{"kind":"Field","name":{"kind":"Name","value":"current_share_price"}},{"kind":"Field","name":{"kind":"Name","value":"positions_aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"count"}},{"kind":"Field","name":{"kind":"Name","value":"sum"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shares"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"positions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"shares"}}]}}]}}]}}]}}]} as unknown as DocumentNode; +export const AccountMetadata = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountMetadata"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"accounts"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"atom_id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}}]} as unknown as DocumentNode; +export const AtomTriple = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AtomTriple"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"atoms"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"as_subject_triples"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"object"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"emoji"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"creator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountMetadata"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"predicate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"emoji"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"creator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountMetadata"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"as_predicate_triples"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"subject"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"emoji"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"creator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountMetadata"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"object"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"emoji"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"creator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountMetadata"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"as_object_triples"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"subject"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"emoji"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"creator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountMetadata"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"predicate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"emoji"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"creator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountMetadata"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountMetadata"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"accounts"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"atom_id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}}]} as unknown as DocumentNode; +export const AtomVaultDetailsWithPositions = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AtomVaultDetailsWithPositions"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"atoms"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vaults"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"curve_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"StringValue","value":"1","block":false}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total_shares"}},{"kind":"Field","name":{"kind":"Name","value":"current_share_price"}},{"kind":"Field","name":{"kind":"Name","value":"positions_aggregate"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"account_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_in"},"value":{"kind":"Variable","name":{"kind":"Name","value":"addresses"}}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"sum"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shares"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"shares"}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode; +export const DepositEventFragment = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DepositEventFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"events"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deposit"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"curve_id"}},{"kind":"Field","name":{"kind":"Name","value":"shares"}},{"kind":"Field","name":{"kind":"Name","value":"receiver"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sender"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]} as unknown as DocumentNode; +export const RedemptionEventFragment = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RedemptionEventFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"events"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"redemption"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"curve_id"}},{"kind":"Field","name":{"kind":"Name","value":"receiver_id"}},{"kind":"Field","name":{"kind":"Name","value":"shares"}}]}}]}}]} as unknown as DocumentNode; +export const AtomValue = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AtomValue"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"atoms"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"value"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"person"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"thing"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"organization"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}}]}}]}}]}}]} as unknown as DocumentNode; +export const AtomMetadata = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AtomMetadata"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"atoms"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"emoji"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"wallet_id"}},{"kind":"Field","name":{"kind":"Name","value":"creator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AtomValue"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AtomValue"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"atoms"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"value"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"person"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"thing"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"organization"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}}]}}]}}]}}]} as unknown as DocumentNode; +export const PositionAggregateFields = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PositionAggregateFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"positions_aggregate"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"count"}},{"kind":"Field","name":{"kind":"Name","value":"sum"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shares"}}]}}]}}]}}]} as unknown as DocumentNode; +export const PositionFields = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PositionFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"positions"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"shares"}},{"kind":"Field","name":{"kind":"Name","value":"vault"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"total_shares"}},{"kind":"Field","name":{"kind":"Name","value":"current_share_price"}}]}}]}}]} as unknown as DocumentNode; +export const TripleMetadata = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TripleMetadata"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"triples"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"subject_id"}},{"kind":"Field","name":{"kind":"Name","value":"predicate_id"}},{"kind":"Field","name":{"kind":"Name","value":"object_id"}},{"kind":"Field","name":{"kind":"Name","value":"subject"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"emoji"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AtomValue"}},{"kind":"Field","name":{"kind":"Name","value":"creator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountMetadata"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"predicate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"emoji"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AtomValue"}},{"kind":"Field","name":{"kind":"Name","value":"creator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountMetadata"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"object"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"emoji"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AtomValue"}},{"kind":"Field","name":{"kind":"Name","value":"creator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountMetadata"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vaults"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"curve_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"StringValue","value":"1","block":false}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total_shares"}},{"kind":"Field","name":{"kind":"Name","value":"current_share_price"}},{"kind":"Field","alias":{"kind":"Name","value":"allPositions"},"name":{"kind":"Name","value":"positions_aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PositionAggregateFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"positions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PositionFields"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"counter_term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vaults"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"curve_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"StringValue","value":"1","block":false}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total_shares"}},{"kind":"Field","name":{"kind":"Name","value":"current_share_price"}},{"kind":"Field","alias":{"kind":"Name","value":"allPositions"},"name":{"kind":"Name","value":"positions_aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PositionAggregateFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"positions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PositionFields"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountMetadata"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"accounts"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"atom_id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AtomValue"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"atoms"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"value"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"person"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"thing"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"organization"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PositionFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"positions"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"shares"}},{"kind":"Field","name":{"kind":"Name","value":"vault"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"total_shares"}},{"kind":"Field","name":{"kind":"Name","value":"current_share_price"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PositionAggregateFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"positions_aggregate"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"count"}},{"kind":"Field","name":{"kind":"Name","value":"sum"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shares"}}]}}]}}]}}]} as unknown as DocumentNode; +export const EventDetails = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"EventDetails"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"events"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"block_number"}},{"kind":"Field","name":{"kind":"Name","value":"created_at"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"transaction_hash"}},{"kind":"Field","name":{"kind":"Name","value":"atom_id"}},{"kind":"Field","name":{"kind":"Name","value":"triple_id"}},{"kind":"Field","name":{"kind":"Name","value":"deposit_id"}},{"kind":"Field","name":{"kind":"Name","value":"redemption_id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"DepositEventFragment"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"RedemptionEventFragment"}},{"kind":"Field","name":{"kind":"Name","value":"atom"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AtomMetadata"}},{"kind":"Field","name":{"kind":"Name","value":"term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vaults"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"curve_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"StringValue","value":"1","block":false}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total_shares"}},{"kind":"Field","name":{"kind":"Name","value":"position_count"}},{"kind":"Field","name":{"kind":"Name","value":"positions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"account_id"}},{"kind":"Field","name":{"kind":"Name","value":"shares"}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}}]}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"triple"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"TripleMetadata"}},{"kind":"Field","name":{"kind":"Name","value":"term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vaults"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"curve_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"StringValue","value":"1","block":false}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total_shares"}},{"kind":"Field","name":{"kind":"Name","value":"position_count"}},{"kind":"Field","name":{"kind":"Name","value":"positions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"account_id"}},{"kind":"Field","name":{"kind":"Name","value":"shares"}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"counter_term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vaults"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"curve_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"StringValue","value":"1","block":false}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total_shares"}},{"kind":"Field","name":{"kind":"Name","value":"position_count"}},{"kind":"Field","name":{"kind":"Name","value":"positions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"account_id"}},{"kind":"Field","name":{"kind":"Name","value":"shares"}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}}]}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountMetadata"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"accounts"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"atom_id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AtomValue"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"atoms"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"value"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"person"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"thing"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"organization"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AtomMetadata"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"atoms"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"emoji"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"wallet_id"}},{"kind":"Field","name":{"kind":"Name","value":"creator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AtomValue"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DepositEventFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"events"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deposit"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"curve_id"}},{"kind":"Field","name":{"kind":"Name","value":"shares"}},{"kind":"Field","name":{"kind":"Name","value":"receiver"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sender"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PositionFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"positions"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"shares"}},{"kind":"Field","name":{"kind":"Name","value":"vault"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"total_shares"}},{"kind":"Field","name":{"kind":"Name","value":"current_share_price"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PositionAggregateFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"positions_aggregate"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"count"}},{"kind":"Field","name":{"kind":"Name","value":"sum"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shares"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RedemptionEventFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"events"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"redemption"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"curve_id"}},{"kind":"Field","name":{"kind":"Name","value":"receiver_id"}},{"kind":"Field","name":{"kind":"Name","value":"shares"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TripleMetadata"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"triples"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"subject_id"}},{"kind":"Field","name":{"kind":"Name","value":"predicate_id"}},{"kind":"Field","name":{"kind":"Name","value":"object_id"}},{"kind":"Field","name":{"kind":"Name","value":"subject"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"emoji"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AtomValue"}},{"kind":"Field","name":{"kind":"Name","value":"creator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountMetadata"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"predicate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"emoji"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AtomValue"}},{"kind":"Field","name":{"kind":"Name","value":"creator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountMetadata"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"object"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"emoji"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AtomValue"}},{"kind":"Field","name":{"kind":"Name","value":"creator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountMetadata"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vaults"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"curve_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"StringValue","value":"1","block":false}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total_shares"}},{"kind":"Field","name":{"kind":"Name","value":"current_share_price"}},{"kind":"Field","alias":{"kind":"Name","value":"allPositions"},"name":{"kind":"Name","value":"positions_aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PositionAggregateFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"positions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PositionFields"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"counter_term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vaults"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"curve_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"StringValue","value":"1","block":false}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total_shares"}},{"kind":"Field","name":{"kind":"Name","value":"current_share_price"}},{"kind":"Field","alias":{"kind":"Name","value":"allPositions"},"name":{"kind":"Name","value":"positions_aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PositionAggregateFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"positions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PositionFields"}}]}}]}}]}}]}}]} as unknown as DocumentNode; +export const FollowMetadata = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"FollowMetadata"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"triples"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"subject"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"predicate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"object"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vaults"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"curve_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"StringValue","value":"1","block":false}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"total_shares"}},{"kind":"Field","name":{"kind":"Name","value":"current_share_price"}},{"kind":"Field","name":{"kind":"Name","value":"positions_aggregate"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"Variable","name":{"kind":"Name","value":"positionsWhere"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"count"}},{"kind":"Field","name":{"kind":"Name","value":"sum"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shares"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"positions"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"positionsLimit"}}},{"kind":"Argument","name":{"kind":"Name","value":"offset"},"value":{"kind":"Variable","name":{"kind":"Name","value":"positionsOffset"}}},{"kind":"Argument","name":{"kind":"Name","value":"order_by"},"value":{"kind":"Variable","name":{"kind":"Name","value":"positionsOrderBy"}}},{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"Variable","name":{"kind":"Name","value":"positionsWhere"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"shares"}}]}}]}}]}}]}}]} as unknown as DocumentNode; +export const FollowAggregate = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"FollowAggregate"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"triples_aggregate"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"count"}}]}}]}}]} as unknown as DocumentNode; +export const StatDetails = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"StatDetails"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"stats"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"contract_balance"}},{"kind":"Field","name":{"kind":"Name","value":"total_accounts"}},{"kind":"Field","name":{"kind":"Name","value":"total_fees"}},{"kind":"Field","name":{"kind":"Name","value":"total_atoms"}},{"kind":"Field","name":{"kind":"Name","value":"total_triples"}},{"kind":"Field","name":{"kind":"Name","value":"total_positions"}},{"kind":"Field","name":{"kind":"Name","value":"total_signals"}}]}}]} as unknown as DocumentNode; +export const TripleTxn = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TripleTxn"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"triples"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"block_number"}},{"kind":"Field","name":{"kind":"Name","value":"created_at"}},{"kind":"Field","name":{"kind":"Name","value":"transaction_hash"}},{"kind":"Field","name":{"kind":"Name","value":"creator_id"}}]}}]} as unknown as DocumentNode; +export const PositionDetails = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PositionDetails"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"positions"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}}]}},{"kind":"Field","name":{"kind":"Name","value":"vault"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"atom"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}}]}},{"kind":"Field","name":{"kind":"Name","value":"triple"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vaults"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"curve_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"StringValue","value":"1","block":false}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"position_count"}},{"kind":"Field","name":{"kind":"Name","value":"positions_aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"sum"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shares"}}]}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"counter_term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vaults"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"curve_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"StringValue","value":"1","block":false}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"position_count"}},{"kind":"Field","name":{"kind":"Name","value":"positions_aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"sum"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shares"}}]}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"subject"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"emoji"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AtomValue"}},{"kind":"Field","name":{"kind":"Name","value":"creator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountMetadata"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"predicate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"emoji"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AtomValue"}},{"kind":"Field","name":{"kind":"Name","value":"creator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountMetadata"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"object"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"emoji"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AtomValue"}},{"kind":"Field","name":{"kind":"Name","value":"creator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountMetadata"}}]}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"shares"}},{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"curve_id"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountMetadata"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"accounts"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"atom_id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AtomValue"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"atoms"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"value"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"person"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"thing"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"organization"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}}]}}]}}]}}]} as unknown as DocumentNode; +export const TripleVaultDetails = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TripleVaultDetails"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"triples"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"counter_term_id"}},{"kind":"Field","name":{"kind":"Name","value":"term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vaults"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"curve_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"StringValue","value":"1","block":false}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"positions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PositionDetails"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"counter_term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vaults"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"curve_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"StringValue","value":"1","block":false}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"positions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PositionDetails"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountMetadata"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"accounts"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"atom_id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AtomValue"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"atoms"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"value"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"person"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"thing"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"organization"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PositionDetails"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"positions"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}}]}},{"kind":"Field","name":{"kind":"Name","value":"vault"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"atom"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}}]}},{"kind":"Field","name":{"kind":"Name","value":"triple"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vaults"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"curve_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"StringValue","value":"1","block":false}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"position_count"}},{"kind":"Field","name":{"kind":"Name","value":"positions_aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"sum"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shares"}}]}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"counter_term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vaults"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"curve_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"StringValue","value":"1","block":false}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"position_count"}},{"kind":"Field","name":{"kind":"Name","value":"positions_aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"sum"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shares"}}]}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"subject"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"emoji"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AtomValue"}},{"kind":"Field","name":{"kind":"Name","value":"creator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountMetadata"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"predicate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"emoji"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AtomValue"}},{"kind":"Field","name":{"kind":"Name","value":"creator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountMetadata"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"object"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"emoji"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AtomValue"}},{"kind":"Field","name":{"kind":"Name","value":"creator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountMetadata"}}]}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"shares"}},{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"curve_id"}}]}}]} as unknown as DocumentNode; +export const VaultBasicDetails = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VaultBasicDetails"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"vaults"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"curve_id"}},{"kind":"Field","name":{"kind":"Name","value":"term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"atom"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"triple"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"subject"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"predicate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"object"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"current_share_price"}},{"kind":"Field","name":{"kind":"Name","value":"total_shares"}}]}}]} as unknown as DocumentNode; +export const VaultFilteredPositions = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VaultFilteredPositions"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"vaults"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"positions"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"account_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_in"},"value":{"kind":"Variable","name":{"kind":"Name","value":"addresses"}}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PositionFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PositionFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"positions"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"shares"}},{"kind":"Field","name":{"kind":"Name","value":"vault"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"total_shares"}},{"kind":"Field","name":{"kind":"Name","value":"current_share_price"}}]}}]}}]} as unknown as DocumentNode; +export const VaultDetailsWithFilteredPositions = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VaultDetailsWithFilteredPositions"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"vaults"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"VaultBasicDetails"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"VaultFilteredPositions"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PositionFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"positions"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"shares"}},{"kind":"Field","name":{"kind":"Name","value":"vault"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"total_shares"}},{"kind":"Field","name":{"kind":"Name","value":"current_share_price"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VaultBasicDetails"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"vaults"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"curve_id"}},{"kind":"Field","name":{"kind":"Name","value":"term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"atom"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"triple"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"subject"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"predicate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"object"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"current_share_price"}},{"kind":"Field","name":{"kind":"Name","value":"total_shares"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VaultFilteredPositions"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"vaults"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"positions"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"account_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_in"},"value":{"kind":"Variable","name":{"kind":"Name","value":"addresses"}}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PositionFields"}}]}}]}}]} as unknown as DocumentNode; +export const TripleVaultCouterVaultDetailsWithPositions = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TripleVaultCouterVaultDetailsWithPositions"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"triples"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"counter_term_id"}},{"kind":"Field","name":{"kind":"Name","value":"term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vaults"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"curve_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"StringValue","value":"1","block":false}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"VaultDetailsWithFilteredPositions"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"counter_term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vaults"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"curve_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"StringValue","value":"1","block":false}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"VaultDetailsWithFilteredPositions"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PositionFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"positions"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"shares"}},{"kind":"Field","name":{"kind":"Name","value":"vault"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"total_shares"}},{"kind":"Field","name":{"kind":"Name","value":"current_share_price"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VaultBasicDetails"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"vaults"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"curve_id"}},{"kind":"Field","name":{"kind":"Name","value":"term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"atom"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"triple"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"subject"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"predicate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"object"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"current_share_price"}},{"kind":"Field","name":{"kind":"Name","value":"total_shares"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VaultFilteredPositions"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"vaults"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"positions"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"account_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_in"},"value":{"kind":"Variable","name":{"kind":"Name","value":"addresses"}}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PositionFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VaultDetailsWithFilteredPositions"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"vaults"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"VaultBasicDetails"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"VaultFilteredPositions"}}]}}]} as unknown as DocumentNode; +export const VaultUnfilteredPositions = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VaultUnfilteredPositions"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"vaults"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"positions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PositionFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PositionFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"positions"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"shares"}},{"kind":"Field","name":{"kind":"Name","value":"vault"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"total_shares"}},{"kind":"Field","name":{"kind":"Name","value":"current_share_price"}}]}}]}}]} as unknown as DocumentNode; +export const VaultDetails = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VaultDetails"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"vaults"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"VaultBasicDetails"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VaultBasicDetails"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"vaults"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"curve_id"}},{"kind":"Field","name":{"kind":"Name","value":"term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"atom"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"triple"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"subject"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"predicate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"object"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"current_share_price"}},{"kind":"Field","name":{"kind":"Name","value":"total_shares"}}]}}]} as unknown as DocumentNode; +export const VaultPositionsAggregate = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VaultPositionsAggregate"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"vaults"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"positions_aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PositionAggregateFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PositionAggregateFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"positions_aggregate"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"count"}},{"kind":"Field","name":{"kind":"Name","value":"sum"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shares"}}]}}]}}]}}]} as unknown as DocumentNode; +export const VaultFieldsForTriple = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VaultFieldsForTriple"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"vaults"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total_shares"}},{"kind":"Field","name":{"kind":"Name","value":"current_share_price"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"VaultPositionsAggregate"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"VaultFilteredPositions"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PositionFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"positions"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"shares"}},{"kind":"Field","name":{"kind":"Name","value":"vault"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"total_shares"}},{"kind":"Field","name":{"kind":"Name","value":"current_share_price"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PositionAggregateFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"positions_aggregate"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"count"}},{"kind":"Field","name":{"kind":"Name","value":"sum"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shares"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VaultPositionsAggregate"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"vaults"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"positions_aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PositionAggregateFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VaultFilteredPositions"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"vaults"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"positions"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"account_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_in"},"value":{"kind":"Variable","name":{"kind":"Name","value":"addresses"}}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PositionFields"}}]}}]}}]} as unknown as DocumentNode; +export const PinThing = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"pinThing"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"name"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"description"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"image"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"url"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"pinThing"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"thing"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"description"},"value":{"kind":"Variable","name":{"kind":"Name","value":"description"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"image"},"value":{"kind":"Variable","name":{"kind":"Name","value":"image"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"name"},"value":{"kind":"Variable","name":{"kind":"Name","value":"name"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"url"},"value":{"kind":"Variable","name":{"kind":"Name","value":"url"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"uri"}}]}}]}}]} as unknown as DocumentNode; +export const GetAtomByCanonicalData = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetAtomByCanonicalData"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"uri"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"atoms"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_or"},"value":{"kind":"ListValue","values":[{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"data"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"Variable","name":{"kind":"Name","value":"uri"}}}]}}]},{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"raw_data"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"Variable","name":{"kind":"Name","value":"uri"}}}]}}]}]}}]}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"IntValue","value":"1"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"raw_data"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}}]}}]} as unknown as DocumentNode; +export const GetTrustedListingTripleAggregates = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetTrustedListingTripleAggregates"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"subjectId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"listedOnId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"trustswapId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"curveId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"numeric"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"accountIdLower"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"triples"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"subject"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"term_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"Variable","name":{"kind":"Name","value":"subjectId"}}}]}}]}},{"kind":"ObjectField","name":{"kind":"Name","value":"predicate"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"term_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"Variable","name":{"kind":"Name","value":"listedOnId"}}}]}}]}},{"kind":"ObjectField","name":{"kind":"Name","value":"object"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"term_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"Variable","name":{"kind":"Name","value":"trustswapId"}}}]}}]}}]}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"IntValue","value":"1"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"counter_term_id"}},{"kind":"Field","name":{"kind":"Name","value":"subject"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}}]}},{"kind":"Field","name":{"kind":"Name","value":"predicate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}}]}},{"kind":"Field","name":{"kind":"Name","value":"object"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}}]}},{"kind":"Field","name":{"kind":"Name","value":"term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vaults"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"curve_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"Variable","name":{"kind":"Name","value":"curveId"}}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"positions_aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"count"}},{"kind":"Field","name":{"kind":"Name","value":"sum"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shares"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"positions"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"account_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_ilike"},"value":{"kind":"Variable","name":{"kind":"Name","value":"accountIdLower"}}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shares"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"counter_term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vaults"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"curve_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"Variable","name":{"kind":"Name","value":"curveId"}}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"positions_aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"count"}},{"kind":"Field","name":{"kind":"Name","value":"sum"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shares"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"positions"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"account_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_ilike"},"value":{"kind":"Variable","name":{"kind":"Name","value":"accountIdLower"}}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shares"}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode; \ No newline at end of file diff --git a/packages/intuition-graphql/src/queries/accounts.graphql b/packages/intuition-graphql/src/queries/accounts.graphql index 17811eced..e69de29bb 100644 --- a/packages/intuition-graphql/src/queries/accounts.graphql +++ b/packages/intuition-graphql/src/queries/accounts.graphql @@ -1,169 +0,0 @@ -# Main pagination query -query GetAccounts( - $limit: Int - $offset: Int - $orderBy: [accounts_order_by!] - $where: accounts_bool_exp - $positionsLimit: Int - $positionsOffset: Int - $positionsWhere: positions_bool_exp -) { - accounts(limit: $limit, offset: $offset, order_by: $orderBy, where: $where) { - ...AccountMetadata - ...AccountPositions - atom { - term_id - wallet_id - term { - vaults(where: { curve_id: { _eq: "1" } }) { - position_count - total_shares - positions_aggregate { - aggregate { - count - sum { - shares - } - } - } - positions { - id - account { - label - id - } - shares - } - } - } - } - } -} - -# Combined query with aggregates and nodes -query GetAccountsWithAggregates( - $limit: Int - $offset: Int - $orderBy: [accounts_order_by!] - $where: accounts_bool_exp - $positionsLimit: Int - $positionsOffset: Int - $positionsWhere: positions_bool_exp - $atomsWhere: atoms_bool_exp - $atomsOrderBy: [atoms_order_by!] - $atomsLimit: Int - $atomsOffset: Int -) { - accounts_aggregate( - limit: $limit - offset: $offset - order_by: $orderBy - where: $where - ) { - aggregate { - count - } - nodes { - ...AccountMetadata - ...AccountPositions - } - } -} - -query GetAccountsCount($where: accounts_bool_exp) { - accounts_aggregate(where: $where) { - aggregate { - count - } - } -} - -query GetAccount( - $address: String! - # Positions pagination - $positionsLimit: Int - $positionsOffset: Int - $positionsWhere: positions_bool_exp - # Atoms pagination - $atomsWhere: atoms_bool_exp - $atomsOrderBy: [atoms_order_by!] - $atomsLimit: Int - $atomsOffset: Int - # Triples pagination - $triplesWhere: triples_bool_exp - $triplesOrderBy: [triples_order_by!] - $triplesLimit: Int - $triplesOffset: Int -) { - account(id: $address) { - ...AccountMetadata - atom { - ...AtomMetadata - ...AtomVaultDetails - } - ...AccountPositions - ...AccountAtoms - ...AccountTriples - } - chainlink_prices(limit: 1, order_by: { id: desc }) { - usd - } -} - -# For paginated lists -query GetAccountWithPaginatedRelations( - $address: String! - $positionsLimit: Int - $positionsOffset: Int - $positionsWhere: positions_bool_exp - $atomsLimit: Int - $atomsOffset: Int - $atomsWhere: atoms_bool_exp - $atomsOrderBy: [atoms_order_by!] - $triplesLimit: Int - $triplesOffset: Int - $triplesWhere: triples_bool_exp - $triplesOrderBy: [triples_order_by!] -) { - account(id: $address) { - ...AccountMetadata - ...AccountPositions - ...AccountAtoms - ...AccountTriples - } -} - -# For aggregate views -query GetAccountWithAggregates( - $address: String! - # Positions pagination - $positionsLimit: Int - $positionsOffset: Int - $positionsWhere: positions_bool_exp - # Atoms pagination - $atomsWhere: atoms_bool_exp - $atomsOrderBy: [atoms_order_by!] - $atomsLimit: Int - $atomsOffset: Int - # Triples pagination - $triplesWhere: triples_bool_exp - $triplesOrderBy: [triples_order_by!] - $triplesLimit: Int - $triplesOffset: Int -) { - account(id: $address) { - ...AccountMetadata - ...AccountPositionsAggregate - ...AccountAtomsAggregate - ...AccountTriplesAggregate - } -} - -query GetAccountMetadata($address: String!) { - account(id: $address) { - ...AccountMetadata - atom { - ...AtomMetadata - } - } -} diff --git a/packages/intuition-graphql/src/queries/atoms.graphql b/packages/intuition-graphql/src/queries/atoms.graphql index 4c55d9ccb..33f69a61b 100644 --- a/packages/intuition-graphql/src/queries/atoms.graphql +++ b/packages/intuition-graphql/src/queries/atoms.graphql @@ -1,271 +1,17 @@ -# Main pagination query -query GetAtoms( - $limit: Int - $offset: Int - $orderBy: [atoms_order_by!] - $where: atoms_bool_exp -) { - total: atoms_aggregate(where: $where) { - aggregate { - count - } - } - atoms(limit: $limit, offset: $offset, order_by: $orderBy, where: $where) { - ...AtomMetadata - ...AtomTxn - ...AtomVaultDetails - ...AtomTriple - creator { - ...AccountMetadata - } - } -} - -query GetAtomsWithPositions( - $limit: Int - $offset: Int - $orderBy: [atoms_order_by!] - $where: atoms_bool_exp - $address: String -) { - total: atoms_aggregate(where: $where) { - aggregate { - count - } - } - atoms(limit: $limit, offset: $offset, order_by: $orderBy, where: $where) { - ...AtomMetadata - ...AtomTxn - term { - vaults(where: { curve_id: { _eq: "1" } }) { - position_count - total_shares - current_share_price - total: positions_aggregate { - aggregate { - count - sum { - shares - } - } - } - positions(where: { account_id: { _ilike: $address } }) { - id - account { - label - id - } - shares - } - } - } - creator { - ...AccountMetadata - } - } -} - -# Combined query with aggregates and nodes -query GetAtomsWithAggregates( - $limit: Int - $offset: Int - $orderBy: [atoms_order_by!] - $where: atoms_bool_exp -) { - atoms_aggregate( - limit: $limit - offset: $offset - order_by: $orderBy - where: $where +query GetAtomByCanonicalData($uri: String!) { + atoms( + where: { + _or: [ + { data: { _eq: $uri } } + { raw_data: { _eq: $uri } } + ] + } + limit: 1 ) { - aggregate { - count - } - nodes { - ...AtomMetadata - ...AtomTxn - ...AtomVaultDetails - creator { - ...AccountMetadata - } - } - } -} - -query GetAtomsCount($where: atoms_bool_exp) { - atoms_aggregate(where: $where) { - aggregate { - count - } - } -} - -query GetAtom($id: numeric!) { - atom(term_id: $id) { - ...AtomMetadata - ...AtomTxn - ...AtomVaultDetails - creator { - ...AccountMetadata - } - ...AtomTriple - } -} - -query GetAtomByData($data: String!) { - atoms(where: { data: { _eq: $data } }) { - ...AtomMetadata - ...AtomTxn - ...AtomVaultDetails - creator { - ...AccountMetadata - } - ...AtomTriple - } -} - -# App specific queries -query GetVerifiedAtomDetails($id: numeric!, $userPositionAddress: String!) { - atom(term_id: $id) { term_id - label - wallet_id - image - type - created_at data - creator { - id - } - value { - thing { - name - description - url - } - } - term { - vaults(where: { curve_id: { _eq: "1" }, term_id: { _eq: $id } }) { - current_share_price - total_shares - position_count - userPosition: positions( - limit: 1 - where: { account_id: { _ilike: $userPositionAddress } } - ) { - shares - account_id - } - } - } - tags: as_subject_triples_aggregate(where: { predicate_id: { _in: [3] } }) { - nodes { - object { - label - term { - vaults(where: { curve_id: { _eq: "1" }, term_id: { _eq: $id } }) { - term_id - } - } - } - predicate_id - } - aggregate { - count - } - } - verificationTriple: as_subject_triples_aggregate( - where: { predicate_id: { _eq: "4" }, object_id: { _eq: "126451" } } - ) { - nodes { - term_id - predicate_id - object_id - term { - vaults(where: { curve_id: { _eq: "1" } }) { - term_id - positions( - where: { - account_id: { - _in: [ - "0xD99811847E634d33f0DAcE483c52949bEc76300F" - "0xBb285b543C96C927FC320Fb28524899C2C90806C" - "0x0b162525C5dc8c18F771E60fD296913030Bfe42c" - "0xbd2DE08aF9470c87C4475117Fb912B8f1d588D9c" - "0xB95ca3D3144e9d1DAFF0EE3d35a4488A4A5C9Fc5" - ] - } - } - ) { - id - shares - account_id - account { - id - } - } - } - } - } - } - } -} - -query GetAtomDetails($id: numeric!, $userPositionAddress: String!) { - atom(term_id: $id) { - term_id + raw_data label - wallet_id - image type - created_at - data - creator { - id - } - value { - thing { - name - description - url - } - } - term { - vaults(where: { curve_id: { _eq: "1" }, term_id: { _eq: $id } }) { - current_share_price - total_shares - position_count - userPosition: positions( - limit: 1 - where: { account_id: { _eq: $userPositionAddress } } - ) { - shares - account_id - } - } - } - tags: as_subject_triples_aggregate(where: { predicate_id: { _in: [3] } }) { - nodes { - object { - label - term { - vaults(where: { curve_id: { _eq: "1" }, term_id: { _eq: $id } }) { - term_id - } - } - } - predicate_id - } - aggregate { - count - } - } - } -} - -query FindAtomIds($where: atoms_bool_exp = {}) { - atoms(where: $where) { - term_id - data } -} +} \ No newline at end of file diff --git a/packages/intuition-graphql/src/queries/events.graphql b/packages/intuition-graphql/src/queries/events.graphql index 5b6da930b..e69de29bb 100644 --- a/packages/intuition-graphql/src/queries/events.graphql +++ b/packages/intuition-graphql/src/queries/events.graphql @@ -1,221 +0,0 @@ -# Main pagination query -query GetEvents( - $limit: Int - $offset: Int - $orderBy: [events_order_by!] - $where: events_bool_exp - $addresses: [String!] -) { - total: events_aggregate(where: $where) { - aggregate { - count - } - } - events(limit: $limit, offset: $offset, order_by: $orderBy, where: $where) { - id - block_number - created_at - type - transaction_hash - atom_id - triple_id - deposit_id - redemption_id - atom { - ...AtomMetadata - term { - vaults(where: { curve_id: { _eq: "1" } }) { - total_shares - position_count - positions(where: { account: { id: { _in: $addresses } } }) { - account_id - shares - account { - id - label - image - } - } - } - } - } - triple { - term_id - creator { - ...AccountMetadata - } - subject { - data - term_id - image - label - emoji - type - ...AtomValue - creator { - ...AccountMetadata - } - } - predicate { - data - term_id - image - label - emoji - type - ...AtomValue - creator { - ...AccountMetadata - } - } - object { - data - term_id - image - label - emoji - type - ...AtomValue - creator { - ...AccountMetadata - } - } - term { - vaults(where: { curve_id: { _eq: "1" } }) { - total_shares - position_count - positions(where: { account: { id: { _in: $addresses } } }) { - account_id - shares - account { - id - label - image - } - } - } - } - counter_term { - vaults(where: { curve_id: { _eq: "1" } }) { - total_shares - position_count - positions(where: { account: { id: { _in: $addresses } } }) { - account_id - shares - account { - id - label - image - } - } - } - } - } - deposit { - sender_id - sender { - id - } - shares_for_receiver - sender_assets_after_total_fees - vault { - total_shares - position_count - positions(where: { account: { id: { _in: $addresses } } }) { - account_id - shares - account { - id - label - image - } - } - } - } - redemption { - sender_id - sender { - id - } - } - } -} - -# Combined query with aggregates and nodes -query GetEventsWithAggregates( - $limit: Int - $offset: Int - $orderBy: [events_order_by!] - $where: events_bool_exp - $addresses: [String!] -) { - events_aggregate( - where: $where - limit: $limit - offset: $offset - order_by: $orderBy - ) { - aggregate { - count - max { - created_at - block_number - } - min { - created_at - block_number - } - } - nodes { - ...EventDetails - } - } -} - -query GetEventsCount($where: events_bool_exp) { - events_aggregate(where: $where) { - aggregate { - count - } - } -} - -query GetEventsData($where: events_bool_exp) { - events_aggregate(where: $where) { - aggregate { - count - max { - created_at - block_number - } - min { - created_at - block_number - } - avg { - block_number - } - } - } -} - -# Debug query with explicit address and position filtering -query GetDebugEvents($addresses: [String!]) { - debug_events: events { - id - atom { - term { - positions(where: { account_id: { _in: $addresses } }) { - account_id - shares - } - } - } - } -} - -query GetTransactionEvents($hash: String!) { - events(where: { transaction_hash: { _eq: $hash } }) { - transaction_hash - } -} diff --git a/packages/intuition-graphql/src/queries/follows.graphql b/packages/intuition-graphql/src/queries/follows.graphql index 5190f4c7b..e69de29bb 100644 --- a/packages/intuition-graphql/src/queries/follows.graphql +++ b/packages/intuition-graphql/src/queries/follows.graphql @@ -1,237 +0,0 @@ -query GetFollowingPositions( - $subjectId: numeric! - $predicateId: numeric! - $address: String! - $limit: Int - $offset: Int - $positionsOrderBy: [positions_order_by!] -) { - triples_aggregate( - where: { - _and: [ - { subject_id: { _eq: $subjectId } } - { predicate_id: { _eq: $predicateId } } - { positions: { account_id: { _ilike: $address } } } - ] - } - ) { - aggregate { - count - } - } - triples( - limit: $limit - offset: $offset - where: { - _and: [ - { subject_id: { _eq: $subjectId } } - { predicate_id: { _eq: $predicateId } } - { positions: { account_id: { _ilike: $address } } } - ] - } - ) { - term_id - subject { - ...AtomMetadata - } - predicate { - ...AtomMetadata - } - object { - ...AtomMetadata - } - term { - vaults(where: { curve_id: { _eq: "1" } }) { - total_shares - current_share_price - positions_aggregate { - aggregate { - count - sum { - shares - } - } - } - positions( - where: { account_id: { _ilike: $address } } - order_by: $positionsOrderBy - ) { - account_id - account { - id - label - } - shares - } - } - } - } -} - -query GetFollowerPositions( - $subjectId: numeric! - $predicateId: numeric! - $objectId: numeric! - $positionsLimit: Int - $positionsOffset: Int - $positionsOrderBy: [positions_order_by!] - $positionsWhere: positions_bool_exp -) { - triples( - where: { - _and: [ - { subject_id: { _eq: $subjectId } } - { predicate_id: { _eq: $predicateId } } - { object_id: { _eq: $objectId } } - ] - } - ) { - term_id - subject { - ...AtomMetadata - } - predicate { - ...AtomMetadata - } - object { - ...AtomMetadata - } - term { - vaults(where: { curve_id: { _eq: "1" } }) { - total_shares - current_share_price - positions_aggregate { - aggregate { - count - sum { - shares - } - } - } - positions( - limit: $positionsLimit - offset: $positionsOffset - order_by: $positionsOrderBy - where: $positionsWhere - ) { - account { - id - label - image - } - shares - } - } - } - } -} - -# Combined query to get following and followers -query GetConnections( - $subjectId: numeric! - $predicateId: numeric! - $objectId: numeric! - $addresses: [String!] - $positionsLimit: Int - $positionsOffset: Int - $positionsOrderBy: [positions_order_by!] - $positionsWhere: positions_bool_exp -) { - # Following - following_count: triples_aggregate( - where: { - _and: [ - { subject_id: { _eq: $subjectId } } - { predicate_id: { _eq: $predicateId } } - { object_id: { _eq: $objectId } } - ] - } - ) { - aggregate { - count - } - } - following: triples( - where: { - _and: [ - { subject_id: { _eq: $subjectId } } - { predicate_id: { _eq: $predicateId } } - { object_id: { _eq: $objectId } } - ] - } - ) { - ...FollowMetadata - } - - # Followers - followers_count: triples_aggregate( - where: { - _and: [ - { subject_id: { _eq: $subjectId } } - { predicate_id: { _eq: $predicateId } } - { positions: { account_id: { _in: $addresses } } } - ] - } - ) { - aggregate { - count - } - } - followers: triples( - where: { - _and: [ - { subject_id: { _eq: $subjectId } } - { predicate_id: { _eq: $predicateId } } - { positions: { account_id: { _in: $addresses } } } - ] - } - ) { - ...FollowMetadata - } -} - -query GetConnectionsCount( - $subjectId: numeric! - $predicateId: numeric! - $objectId: numeric! - $address: String! -) { - # Following count - following_count: triples_aggregate( - where: { - _and: [ - { subject_id: { _eq: $subjectId } } - { predicate_id: { _eq: $predicateId } } - { positions: { account_id: { _ilike: $address } } } - ] - } - ) { - aggregate { - count - } - } - - # Followers count - followers_count: triples( - where: { - _and: [ - { subject_id: { _eq: $subjectId } } - { predicate_id: { _eq: $predicateId } } - { object_id: { _eq: $objectId } } - ] - } - ) { - term { - vaults(where: { curve_id: { _eq: "1" } }) { - positions_aggregate { - aggregate { - count - sum { - shares - } - } - } - } - } - } -} diff --git a/packages/intuition-graphql/src/queries/lists.graphql b/packages/intuition-graphql/src/queries/lists.graphql index ac9af09bf..e69de29bb 100644 --- a/packages/intuition-graphql/src/queries/lists.graphql +++ b/packages/intuition-graphql/src/queries/lists.graphql @@ -1,498 +0,0 @@ -# predicateId = 4 for tags on dev, 3 on prod - -# GetLists query for Exploring Lists -query GetLists($where: predicate_objects_bool_exp) { - predicate_objects_aggregate(where: $where) { - aggregate { - count - } - } - predicate_objects(where: $where, order_by: [{ triple_count: desc }]) { - id - triple_count - object { - term_id - label - image - } - } -} - -query GetListItems($predicateId: numeric, $objectId: numeric) { - triples_aggregate( - where: { predicate_id: { _eq: predicateId }, object_id: { _eq: $objectId } } - order_by: [ - { - term: { positions_aggregate: { count: desc } } - counter_term: { positions_aggregate: { count: desc } } - } - ] - ) { - aggregate { - count - } - nodes { - ...TripleVaultDetails - } - } -} - -# GetListDetails query for List Details page -## Combines the aggregates and nodes within since we don't need pagination on the tags yet -## If we do, we'd need to paginate the triples and tags separately and split -## SG: This appears to be getting the aggregate sum of shares across all positions in the vault.... -## We will correct this to just get the total_shares in the pro rata vault. -query GetListDetails( - $globalWhere: triples_bool_exp - $tagPredicateId: numeric - $limit: Int - $offset: Int - $orderBy: [triples_order_by!] -) { - globalTriplesAggregate: triples_aggregate(where: $globalWhere) { - aggregate { - count - } - } - globalTriples: triples( - where: $globalWhere - limit: $limit - offset: $offset - order_by: $orderBy - ) { - term_id - counter_term_id - subject { - term_id - label - wallet_id - image - type - term { - vaults { - position_count - } - } - tags: as_subject_triples_aggregate( - where: { predicate_id: { _eq: $tagPredicateId } } - ) { - nodes { - object { - label - term_id - taggedIdentities: as_object_triples_aggregate { - nodes { - subject { - label - term_id - } - term_id - } - aggregate { - count - } - } - } - } - aggregate { - count - } - } - } - object { - term_id - label - wallet_id - image - type - } - predicate { - term_id - label - wallet_id - image - type - } - term { - vaults(where: { curve_id: { _eq: "1" } }) { - current_share_price - position_count - total_shares - } - } - counter_term { - vaults(where: { curve_id: { _eq: "1" } }) { - current_share_price - position_count - total_shares - } - } - } -} - -query GetListDetailsWithPosition( - $globalWhere: triples_bool_exp - $tagPredicateId: numeric - $address: String - $limit: Int - $offset: Int - $orderBy: [triples_order_by!] -) { - globalTriplesAggregate: triples_aggregate(where: $globalWhere) { - aggregate { - count - } - } - globalTriples: triples( - where: $globalWhere - limit: $limit - offset: $offset - order_by: $orderBy - ) { - term_id - counter_term_id - subject { - term_id - label - wallet_id - image - type - tags: as_subject_triples_aggregate( - where: { predicate_id: { _eq: $tagPredicateId } } - ) { - nodes { - object { - label - term_id - taggedIdentities: as_object_triples_aggregate { - nodes { - subject { - label - term_id - } - term_id - } - aggregate { - count - } - } - } - } - aggregate { - count - } - } - } - object { - term_id - label - wallet_id - image - type - } - predicate { - term_id - label - wallet_id - image - type - } - term { - vaults { - current_share_price - position_count - total_shares - } - positions(where: { account_id: { _ilike: $address } }) { - account { - id - label - image - } - shares - } - } - counter_term { - vaults { - current_share_price - position_count - total_shares - } - positions(where: { account_id: { _ilike: $address } }) { - account { - id - label - image - } - shares - } - } - } -} - -query GetListDetailsWithUser( - $globalWhere: triples_bool_exp - $userWhere: triples_bool_exp - $tagPredicateId: numeric - $address: String - $limit: Int - $offset: Int - $orderBy: [triples_order_by!] -) { - globalTriplesAggregate: triples_aggregate(where: $globalWhere) { - aggregate { - count - } - } - globalTriples: triples( - where: $globalWhere - limit: $limit - offset: $offset - order_by: $orderBy - ) { - term_id - counter_term_id - subject { - term_id - label - wallet_id - image - type - tags: as_subject_triples_aggregate( - where: { predicate_id: { _eq: $tagPredicateId } } - ) { - nodes { - object { - label - term_id - taggedIdentities: as_object_triples_aggregate { - nodes { - subject { - label - term_id - } - term_id - } - aggregate { - count - } - } - } - } - aggregate { - count - } - } - } - object { - term_id - label - wallet_id - image - type - } - predicate { - term_id - label - wallet_id - image - type - } - term { - vaults { - current_share_price - position_count - total_shares - } - positions(where: { account_id: { _ilike: $address } }) { - account { - id - label - image - } - shares - } - } - counter_term { - vaults { - current_share_price - position_count - total_shares - } - positions(where: { account_id: { _ilike: $address } }) { - account { - id - label - image - } - shares - } - } - } - userTriplesAggregate: triples_aggregate(where: $userWhere) { - aggregate { - count - } - } - userTriples: triples(where: $userWhere) { - term_id - counter_term_id - subject { - term_id - label - wallet_id - image - type - tags: as_subject_triples_aggregate( - where: { predicate_id: { _eq: $tagPredicateId } } - ) { - nodes { - object { - label - term_id - taggedIdentities: as_object_triples_aggregate { - nodes { - subject { - label - term_id - } - term_id - } - aggregate { - count - } - } - } - } - aggregate { - count - } - } - } - object { - term_id - label - wallet_id - image - type - } - predicate { - term_id - label - wallet_id - image - type - } - term { - vaults { - current_share_price - position_count - total_shares - } - positions(where: { account_id: { _ilike: $address } }) { - account { - id - label - image - } - shares - } - } - counter_term { - vaults { - current_share_price - position_count - total_shares - } - positions(where: { account_id: { _ilike: $address } }) { - account { - id - label - image - } - shares - } - } - } -} - -query GetListDetailsSimplified( - $globalWhere: triples_bool_exp - $address: String - $limit: Int - $offset: Int - $orderBy: [triples_order_by!] -) { - globalTriplesAggregate: triples_aggregate(where: $globalWhere) { - aggregate { - count - } - } - globalTriples: triples( - where: $globalWhere - limit: $limit - offset: $offset - order_by: $orderBy - ) { - term_id - counter_term_id - subject { - term_id - label - wallet_id - image - type - term { - vaults(where: { curve_id: { _eq: "1" } }) { - current_share_price - position_count - total_shares - } - } - } - object { - term_id - label - wallet_id - image - type - } - predicate { - term_id - label - wallet_id - image - type - } - term { - vaults(where: { curve_id: { _eq: "1" } }) { - current_share_price - position_count - total_shares - positions(where: { account_id: { _ilike: $address } }) { - account { - id - label - image - } - shares - } - } - } - counter_term { - vaults(where: { curve_id: { _eq: "1" } }) { - current_share_price - position_count - total_shares - positions(where: { account_id: { _ilike: $address } }) { - account { - id - label - image - } - shares - } - } - } - } -} diff --git a/packages/intuition-graphql/src/queries/points.graphql b/packages/intuition-graphql/src/queries/points.graphql index 39886bcf8..e69de29bb 100644 --- a/packages/intuition-graphql/src/queries/points.graphql +++ b/packages/intuition-graphql/src/queries/points.graphql @@ -1,27 +0,0 @@ -query GetFeeTransfers($address: String!, $cutoff_timestamp: timestamptz) { - before_cutoff: fee_transfers_aggregate( - where: { - created_at: { _lte: $cutoff_timestamp } - sender_id: { _ilike: $address } - } - ) { - aggregate { - sum { - amount - } - } - } - - after_cutoff: fee_transfers_aggregate( - where: { - created_at: { _gt: $cutoff_timestamp } - sender_id: { _ilike: $address } - } - ) { - aggregate { - sum { - amount - } - } - } -} diff --git a/packages/intuition-graphql/src/queries/positions.graphql b/packages/intuition-graphql/src/queries/positions.graphql index 91d69df72..e69de29bb 100644 --- a/packages/intuition-graphql/src/queries/positions.graphql +++ b/packages/intuition-graphql/src/queries/positions.graphql @@ -1,141 +0,0 @@ -# Main pagination query -query GetPositions( - $limit: Int - $offset: Int - $orderBy: [positions_order_by!] - $where: positions_bool_exp -) { - total: positions_aggregate(where: $where) { - aggregate { - count - sum { - shares - } - } - } - positions(limit: $limit, offset: $offset, order_by: $orderBy, where: $where) { - ...PositionDetails - } -} - -query GetTriplePositionsByAddress( - $limit: Int - $offset: Int - $orderBy: [positions_order_by!] - $where: positions_bool_exp - $address: String! -) { - total: positions_aggregate(where: $where) { - aggregate { - count - sum { - shares - } - } - } - positions(limit: $limit, offset: $offset, order_by: $orderBy, where: $where) { - ...PositionDetails - vault { - term_id - term { - triple { - term { - positions(where: { account_id: { _ilike: $address } }) { - account { - id - label - image - } - shares - } - } - counter_term { - positions(where: { account_id: { _ilike: $address } }) { - account { - id - label - image - } - shares - } - } - } - } - } - } -} - -# Combined query with aggregates and nodes -query GetPositionsWithAggregates( - $limit: Int - $offset: Int - $orderBy: [positions_order_by!] - $where: positions_bool_exp -) { - positions_aggregate( - limit: $limit - offset: $offset - order_by: $orderBy - where: $where - ) { - aggregate { - count - } - nodes { - ...PositionDetails - } - } -} - -query GetPositionsCount($where: positions_bool_exp) { - positions_aggregate(where: $where) { - total: aggregate { - count - sum { - shares - } - } - } -} - -query GetPosition($positionId: String!) { - position(id: $positionId) { - ...PositionDetails - } -} - -query GetPositionsCountByType($where: positions_bool_exp) { - positions_aggregate(where: $where) { - total: aggregate { - count - sum { - shares - } - } - } - positions { - vault { - term_id - } - } -} - -query SearchPositions($addresses: _text, $search_fields: jsonb) { - positions: search_positions_on_subject( - args: { addresses: $addresses, search_fields: $search_fields } - ) { - term { - triple { - subject { - data - } - predicate { - data - } - object { - data - } - } - } - } -} diff --git a/packages/intuition-graphql/src/queries/signals.graphql b/packages/intuition-graphql/src/queries/signals.graphql index 6aeb147da..e69de29bb 100644 --- a/packages/intuition-graphql/src/queries/signals.graphql +++ b/packages/intuition-graphql/src/queries/signals.graphql @@ -1,211 +0,0 @@ -query GetSignals( - $limit: Int - $offset: Int - $orderBy: [signals_order_by!] - $addresses: [String!] -) { - total: events_aggregate { - aggregate { - count - } - } - signals(limit: $limit, offset: $offset, order_by: $orderBy) { - id - block_number - created_at - transaction_hash - atom_id - triple_id - deposit_id - redemption_id - term { - atom { - ...AtomMetadata - term { - vaults { - total_shares - position_count - positions(where: { account: { id: { _in: $addresses } } }) { - account_id - shares - account { - id - label - image - } - } - } - } - } - triple { - term_id - creator { - ...AccountMetadata - } - subject { - data - term_id - image - label - emoji - type - ...AtomValue - creator { - ...AccountMetadata - } - } - predicate { - data - term_id - image - label - emoji - type - ...AtomValue - creator { - ...AccountMetadata - } - } - object { - data - term_id - image - label - emoji - type - ...AtomValue - creator { - ...AccountMetadata - } - } - term { - vaults { - total_shares - position_count - positions(where: { account: { id: { _in: $addresses } } }) { - account_id - shares - account { - id - label - image - } - } - } - } - counter_term { - vaults { - total_shares - position_count - positions(where: { account: { id: { _in: $addresses } } }) { - account_id - shares - account { - id - label - image - } - } - } - } - } - } - deposit { - sender_id - sender { - id - label - image - } - receiver_id - receiver { - id - label - image - } - shares_for_receiver - sender_assets_after_total_fees - vault { - total_shares - position_count - positions(where: { account: { id: { _in: $addresses } } }) { - account_id - shares - account { - id - label - image - } - } - } - } - redemption { - sender_id - sender { - id - label - image - } - receiver_id - receiver { - id - label - image - } - assets_for_receiver - shares_redeemed_by_sender - } - } -} - -fragment AtomValue on atoms { - value { - person { - name - image - description - url - } - thing { - name - image - description - url - } - organization { - name - image - description - url - } - account { - id - label - image - } - } -} - -fragment AtomMetadataMAYBEDELETETHIS on atoms { - term_id - data - image - label - emoji - type - wallet_id - creator { - id - label - image - } - ...AtomValue -} - -fragment AccountMetadata on accounts { - label - image - id - atom_id - type -} diff --git a/packages/intuition-graphql/src/queries/stats.graphql b/packages/intuition-graphql/src/queries/stats.graphql index f2db1bea6..e69de29bb 100644 --- a/packages/intuition-graphql/src/queries/stats.graphql +++ b/packages/intuition-graphql/src/queries/stats.graphql @@ -1,5 +0,0 @@ -query GetStats { - stats { - ...StatDetails - } -} diff --git a/packages/intuition-graphql/src/queries/tags.graphql b/packages/intuition-graphql/src/queries/tags.graphql index 64e0abeaf..e69de29bb 100644 --- a/packages/intuition-graphql/src/queries/tags.graphql +++ b/packages/intuition-graphql/src/queries/tags.graphql @@ -1,18 +0,0 @@ -query GetTags($subjectId: numeric!, $predicateId: numeric!) { - triples( - where: { - _and: [ - { subject_id: { _eq: $subjectId } } - { predicate_id: { _eq: $predicateId } } - ] - } - ) { - ...TripleMetadata - } -} - -query GetTagsCustom($where: triples_bool_exp) { - triples(where: $where) { - ...TripleMetadata - } -} diff --git a/packages/intuition-graphql/src/queries/triples.graphql b/packages/intuition-graphql/src/queries/triples.graphql index 2da2c7444..5ca8f7b0c 100644 --- a/packages/intuition-graphql/src/queries/triples.graphql +++ b/packages/intuition-graphql/src/queries/triples.graphql @@ -1,148 +1,51 @@ -# Main pagination query -query GetTriples( - $limit: Int - $offset: Int - $orderBy: [triples_order_by!] - $where: triples_bool_exp +query GetTrustedListingTripleAggregates( + $subjectId: String! + $listedOnId: String! + $trustswapId: String! + $curveId: numeric! + $accountIdLower: String! ) { - total: triples_aggregate(where: $where) { - aggregate { - count + triples( + where: { + subject: { term_id: { _eq: $subjectId } } + predicate: { term_id: { _eq: $listedOnId } } + object: { term_id: { _eq: $trustswapId } } } - } - triples(limit: $limit, offset: $offset, order_by: $orderBy, where: $where) { - ...TripleMetadata - ...TripleTxn - ...TripleVaultDetails - creator { - ...AccountMetadata - } - } -} - -# Combined query with aggregates and nodes -query GetTriplesWithAggregates( - $limit: Int - $offset: Int - $orderBy: [triples_order_by!] - $where: triples_bool_exp -) { - triples_aggregate( - limit: $limit - offset: $offset - order_by: $orderBy - where: $where + limit: 1 ) { - aggregate { - count - } - nodes { - ...TripleMetadata - ...TripleTxn - ...TripleVaultDetails - creator { - ...AccountMetadata - } - } - } -} - -query GetTriplesCount($where: triples_bool_exp) { - triples_aggregate(where: $where) { - total: aggregate { - count - } - } -} - -query GetTriple($tripleId: numeric!) { - triple(term_id: $tripleId) { - ...TripleMetadata - ...TripleTxn - ...TripleVaultDetails - creator { - ...AccountMetadata - } - } -} - -query GetAtomTriplesWithPositions($where: triples_bool_exp) { - triples_aggregate(where: $where) { - aggregate { - count - } - } -} - -query GetTriplesWithPositions( - $limit: Int - $offset: Int - $orderBy: [triples_order_by!] - $where: triples_bool_exp - $address: String -) { - total: triples_aggregate(where: $where) { - aggregate { - count - } - } - triples(limit: $limit, offset: $offset, order_by: $orderBy, where: $where) { term_id counter_term_id - subject { - term_id - label - image - } - predicate { - term_id - label - image - } - object { - term_id - label - image - } + + subject { term_id label image } + predicate { term_id label image } + object { term_id label image } + term { - vaults { - total_shares - position_count - positions(where: { account_id: { _ilike: $address } }) { - account { - id - label - image + vaults(where: { curve_id: { _eq: $curveId } }) { + positions_aggregate { + aggregate { + count + sum { shares } } + } + positions(where: { account_id: { _ilike: $accountIdLower } }) { shares } } } + counter_term { - vaults { - total_shares - position_count - positions(where: { account_id: { _ilike: $address } }) { - account { - id - label - image + vaults(where: { curve_id: { _eq: $curveId } }) { + positions_aggregate { + aggregate { + count + sum { shares } } + } + positions(where: { account_id: { _ilike: $accountIdLower } }) { shares } } } } } - -query FindTriples($where: triples_bool_exp = {}, $address: String!) { - triples(where: $where) { - term_id - subject_id - predicate_id - object_id - positions(where: { account_id: { _eq: $address } }) { - shares - } - } -} diff --git a/packages/intuition-graphql/src/queries/vaults.graphql b/packages/intuition-graphql/src/queries/vaults.graphql index 989276f0b..e69de29bb 100644 --- a/packages/intuition-graphql/src/queries/vaults.graphql +++ b/packages/intuition-graphql/src/queries/vaults.graphql @@ -1,58 +0,0 @@ -query GetVaults( - $limit: Int - $offset: Int - $orderBy: [vaults_order_by!] - $where: vaults_bool_exp -) { - vaults_aggregate( - limit: $limit - offset: $offset - order_by: $orderBy - where: $where - ) { - aggregate { - count - } - nodes { - term_id - term { - atom { - term_id - label - } - triple { - term_id - subject { - term_id - label - } - predicate { - term_id - label - } - object { - term_id - label - } - } - } - positions_aggregate { - nodes { - account { - atom_id - label - } - shares - } - } - current_share_price - total_shares - } - } -} - -query GetVault($termId: numeric!, $curveId: numeric!) { - vault(term_id: $termId, curve_id: $curveId) { - ...VaultDetails - } -} From c15d01bf82bde627e064b304a08d01ff463d1525 Mon Sep 17 00:00:00 2001 From: James Date: Wed, 1 Oct 2025 23:09:46 +0200 Subject: [PATCH 03/13] install prettier --- packages/intuition-graphql/.prettierignore | 8 +- packages/intuition-graphql/.prettierrc | 28 +- packages/intuition-graphql/package.json | 1 + packages/intuition-graphql/schema.graphql | 8522 ++++++++++++----- .../intuition-graphql/src/generated/index.ts | 8069 ++++++++++++++-- pnpm-lock.yaml | 4296 ++++++++- 6 files changed, 18032 insertions(+), 2892 deletions(-) diff --git a/packages/intuition-graphql/.prettierignore b/packages/intuition-graphql/.prettierignore index 85e0eaf63..89975ac89 100644 --- a/packages/intuition-graphql/.prettierignore +++ b/packages/intuition-graphql/.prettierignore @@ -1,2 +1,6 @@ -**/*.yaml -**/*.template \ No newline at end of file +node_modules +dist +build +coverage +**/.next +**/.turbo \ No newline at end of file diff --git a/packages/intuition-graphql/.prettierrc b/packages/intuition-graphql/.prettierrc index 8a486c462..6bde174b3 100644 --- a/packages/intuition-graphql/.prettierrc +++ b/packages/intuition-graphql/.prettierrc @@ -1,25 +1,7 @@ { - "plugins": [ - "prettier-plugin-tailwindcss", - "@ianvs/prettier-plugin-sort-imports" - ], - "semi": false, + "printWidth": 100, "singleQuote": true, - "printWidth": 80, - "tabWidth": 2, - "importOrder": [ - "^react$", - "", - "^@0xintuition/(.*)$", - "", - "", - "", - "^[./]" - ], - "importOrderParserPlugins": [ - "classProperties", - "typescript", - "jsx", - "importAssertions" - ] -} + "trailingComma": "all", + "semi": true, + "endOfLine": "lf" +} \ No newline at end of file diff --git a/packages/intuition-graphql/package.json b/packages/intuition-graphql/package.json index fb4af4efa..2b04d4791 100644 --- a/packages/intuition-graphql/package.json +++ b/packages/intuition-graphql/package.json @@ -54,6 +54,7 @@ "@graphql-typed-document-node/core": "^3.2.0", "@parcel/watcher": "^2.4.1", "concurrently": "^8.2.2", + "prettier": "^3.6.2", "tsup": "^6.7.0", "typescript": "^5.4.5", "vite": "^5.2.11", diff --git a/packages/intuition-graphql/schema.graphql b/packages/intuition-graphql/schema.graphql index 823aca480..b758e89a9 100644 --- a/packages/intuition-graphql/schema.graphql +++ b/packages/intuition-graphql/schema.graphql @@ -4,11 +4,17 @@ schema { subscription: subscription_root } -"""whether this query should be cached (Hasura Cloud only)""" +""" +whether this query should be cached (Hasura Cloud only) +""" directive @cached( - """refresh the cache entry""" + """ + refresh the cache entry + """ refresh: Boolean! = false - """measured in seconds""" + """ + measured in seconds + """ ttl: Int! = 60 ) on QUERY @@ -77,7 +83,9 @@ input String_comparison_exp { _eq: String _gt: String _gte: String - """does the column match the given case-insensitive pattern""" + """ + does the column match the given case-insensitive pattern + """ _ilike: String _in: [String!] """ @@ -85,31 +93,41 @@ input String_comparison_exp { """ _iregex: String _is_null: Boolean - """does the column match the given pattern""" + """ + does the column match the given pattern + """ _like: String _lt: String _lte: String _neq: String - """does the column NOT match the given case-insensitive pattern""" + """ + does the column NOT match the given case-insensitive pattern + """ _nilike: String _nin: [String!] """ does the column NOT match the given POSIX regular expression, case insensitive """ _niregex: String - """does the column NOT match the given pattern""" + """ + does the column NOT match the given pattern + """ _nlike: String """ does the column NOT match the given POSIX regular expression, case sensitive """ _nregex: String - """does the column NOT match the given SQL regular expression""" + """ + does the column NOT match the given SQL regular expression + """ _nsimilar: String """ does the column match the given POSIX regular expression, case sensitive """ _regex: String - """does the column match the given SQL regular expression""" + """ + does the column match the given SQL regular expression + """ _similar: String } @@ -136,245 +154,463 @@ input account_type_comparison_exp { columns and relationships of "account" """ type accounts { - """An object relationship""" + """ + An object relationship + """ atom: atoms atom_id: String - """An array relationship""" + """ + An array relationship + """ atoms( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [atoms_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [atoms_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: atoms_bool_exp ): [atoms!]! - """An aggregate relationship""" + """ + An aggregate relationship + """ atoms_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [atoms_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [atoms_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: atoms_bool_exp ): atoms_aggregate! cached_image: cached_images_cached_image - """An array relationship""" + """ + An array relationship + """ deposits_received( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [deposits_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [deposits_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: deposits_bool_exp ): [deposits!]! - """An aggregate relationship""" + """ + An aggregate relationship + """ deposits_received_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [deposits_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [deposits_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: deposits_bool_exp ): deposits_aggregate! - """An array relationship""" + """ + An array relationship + """ deposits_sent( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [deposits_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [deposits_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: deposits_bool_exp ): [deposits!]! - """An aggregate relationship""" + """ + An aggregate relationship + """ deposits_sent_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [deposits_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [deposits_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: deposits_bool_exp ): deposits_aggregate! - """An array relationship""" + """ + An array relationship + """ fee_transfers( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [fee_transfers_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [fee_transfers_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: fee_transfers_bool_exp ): [fee_transfers!]! - """An aggregate relationship""" + """ + An aggregate relationship + """ fee_transfers_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [fee_transfers_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [fee_transfers_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: fee_transfers_bool_exp ): fee_transfers_aggregate! id: String! image: String label: String! - """An array relationship""" + """ + An array relationship + """ positions( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [positions_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [positions_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: positions_bool_exp ): [positions!]! - """An aggregate relationship""" + """ + An aggregate relationship + """ positions_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [positions_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [positions_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: positions_bool_exp ): positions_aggregate! - """An array relationship""" + """ + An array relationship + """ redemptions_received( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [redemptions_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [redemptions_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: redemptions_bool_exp ): [redemptions!]! - """An aggregate relationship""" + """ + An aggregate relationship + """ redemptions_received_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [redemptions_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [redemptions_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: redemptions_bool_exp ): redemptions_aggregate! - """An array relationship""" + """ + An array relationship + """ redemptions_sent( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [redemptions_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [redemptions_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: redemptions_bool_exp ): [redemptions!]! - """An aggregate relationship""" + """ + An aggregate relationship + """ redemptions_sent_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [redemptions_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [redemptions_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: redemptions_bool_exp ): redemptions_aggregate! - """An array relationship""" + """ + An array relationship + """ signals( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [signals_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [signals_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: signals_bool_exp ): [signals!]! - """An aggregate relationship""" + """ + An aggregate relationship + """ signals_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [signals_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [signals_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: signals_bool_exp ): signals_aggregate! - """An array relationship""" + """ + An array relationship + """ triples( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [triples_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [triples_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: triples_bool_exp ): [triples!]! - """An aggregate relationship""" + """ + An aggregate relationship + """ triples_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [triples_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [triples_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: triples_bool_exp ): triples_aggregate! type: account_type! @@ -450,7 +686,9 @@ input accounts_bool_exp { type: account_type_comparison_exp } -"""aggregate max on columns""" +""" +aggregate max on columns +""" type accounts_max_fields { atom_id: String id: String @@ -470,7 +708,9 @@ input accounts_max_order_by { type: order_by } -"""aggregate min on columns""" +""" +aggregate min on columns +""" type accounts_min_fields { atom_id: String id: String @@ -490,7 +730,9 @@ input accounts_min_order_by { type: order_by } -"""Ordering options when selecting data from "account".""" +""" +Ordering options when selecting data from "account". +""" input accounts_order_by { atom: atoms_order_by atom_id: order_by @@ -513,15 +755,25 @@ input accounts_order_by { select columns of table "account" """ enum accounts_select_column { - """column name""" + """ + column name + """ atom_id - """column name""" + """ + column name + """ id - """column name""" + """ + column name + """ image - """column name""" + """ + column name + """ label - """column name""" + """ + column name + """ type } @@ -529,13 +781,19 @@ enum accounts_select_column { Streaming cursor of the table "accounts" """ input accounts_stream_cursor_input { - """Stream column input with initial value""" + """ + Stream column input with initial value + """ initial_value: accounts_stream_cursor_value_input! - """cursor ordering""" + """ + cursor ordering + """ ordering: cursor_ordering } -"""Initial value of the column from where the streaming should start""" +""" +Initial value of the column from where the streaming should start +""" input accounts_stream_cursor_value_input { atom_id: String id: String @@ -582,34 +840,54 @@ input atom_type_comparison_exp { columns and relationships of "atom_value" """ type atom_values { - """An object relationship""" + """ + An object relationship + """ account: accounts account_id: String - """An object relationship""" + """ + An object relationship + """ atom: atoms! - """An object relationship""" + """ + An object relationship + """ book: books book_id: String - """An object relationship""" + """ + An object relationship + """ byte_object: byte_object byte_object_id: String - """An object relationship""" + """ + An object relationship + """ caip10: caip10 caip10_id: String id: String! - """An object relationship""" + """ + An object relationship + """ json_object: json_objects json_object_id: String - """An object relationship""" + """ + An object relationship + """ organization: organizations organization_id: String - """An object relationship""" + """ + An object relationship + """ person: persons person_id: String - """An object relationship""" + """ + An object relationship + """ text_object: text_objects text_object_id: String - """An object relationship""" + """ + An object relationship + """ thing: things thing_id: String } @@ -660,7 +938,9 @@ input atom_values_bool_exp { thing_id: String_comparison_exp } -"""aggregate max on columns""" +""" +aggregate max on columns +""" type atom_values_max_fields { account_id: String book_id: String @@ -674,7 +954,9 @@ type atom_values_max_fields { thing_id: String } -"""aggregate min on columns""" +""" +aggregate min on columns +""" type atom_values_min_fields { account_id: String book_id: String @@ -688,7 +970,9 @@ type atom_values_min_fields { thing_id: String } -"""Ordering options when selecting data from "atom_value".""" +""" +Ordering options when selecting data from "atom_value". +""" input atom_values_order_by { account: accounts_order_by account_id: order_by @@ -716,25 +1000,45 @@ input atom_values_order_by { select columns of table "atom_value" """ enum atom_values_select_column { - """column name""" + """ + column name + """ account_id - """column name""" + """ + column name + """ book_id - """column name""" + """ + column name + """ byte_object_id - """column name""" + """ + column name + """ caip10_id - """column name""" + """ + column name + """ id - """column name""" + """ + column name + """ json_object_id - """column name""" + """ + column name + """ organization_id - """column name""" + """ + column name + """ person_id - """column name""" + """ + column name + """ text_object_id - """column name""" + """ + column name + """ thing_id } @@ -742,13 +1046,19 @@ enum atom_values_select_column { Streaming cursor of the table "atom_values" """ input atom_values_stream_cursor_input { - """Stream column input with initial value""" + """ + Stream column input with initial value + """ initial_value: atom_values_stream_cursor_value_input! - """cursor ordering""" + """ + cursor ordering + """ ordering: cursor_ordering } -"""Initial value of the column from where the streaming should start""" +""" +Initial value of the column from where the streaming should start +""" input atom_values_stream_cursor_value_input { account_id: String book_id: String @@ -766,168 +1076,316 @@ input atom_values_stream_cursor_value_input { columns and relationships of "atom" """ type atoms { - """An array relationship""" + """ + An array relationship + """ accounts( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [accounts_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [accounts_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: accounts_bool_exp ): [accounts!]! - """An aggregate relationship""" + """ + An aggregate relationship + """ accounts_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [accounts_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [accounts_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: accounts_bool_exp ): accounts_aggregate! - """An array relationship""" + """ + An array relationship + """ as_object_predicate_objects( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [predicate_objects_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [predicate_objects_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: predicate_objects_bool_exp ): [predicate_objects!]! - """An aggregate relationship""" + """ + An aggregate relationship + """ as_object_predicate_objects_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [predicate_objects_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [predicate_objects_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: predicate_objects_bool_exp ): predicate_objects_aggregate! - """An array relationship""" + """ + An array relationship + """ as_object_triples( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [triples_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [triples_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: triples_bool_exp ): [triples!]! - """An aggregate relationship""" + """ + An aggregate relationship + """ as_object_triples_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [triples_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [triples_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: triples_bool_exp ): triples_aggregate! - """An array relationship""" + """ + An array relationship + """ as_predicate_predicate_objects( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [predicate_objects_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [predicate_objects_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: predicate_objects_bool_exp ): [predicate_objects!]! - """An aggregate relationship""" + """ + An aggregate relationship + """ as_predicate_predicate_objects_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [predicate_objects_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [predicate_objects_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: predicate_objects_bool_exp ): predicate_objects_aggregate! - """An array relationship""" + """ + An array relationship + """ as_predicate_triples( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [triples_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [triples_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: triples_bool_exp ): [triples!]! - """An aggregate relationship""" + """ + An aggregate relationship + """ as_predicate_triples_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [triples_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [triples_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: triples_bool_exp ): triples_aggregate! - """An array relationship""" + """ + An array relationship + """ as_subject_triples( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [triples_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [triples_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: triples_bool_exp ): [triples!]! - """An aggregate relationship""" + """ + An aggregate relationship + """ as_subject_triples_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [triples_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [triples_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: triples_bool_exp ): triples_aggregate! block_number: numeric! cached_image: cached_images_cached_image - """An object relationship""" + """ + An object relationship + """ controller: accounts created_at: timestamptz! - """An object relationship""" + """ + An object relationship + """ creator: accounts! creator_id: String! data: String @@ -935,67 +1393,119 @@ type atoms { image: String label: String log_index: bigint! - """An array relationship""" + """ + An array relationship + """ positions( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [positions_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [positions_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: positions_bool_exp ): [positions!]! - """An aggregate relationship""" + """ + An aggregate relationship + """ positions_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [positions_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [positions_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: positions_bool_exp ): positions_aggregate! raw_data: String! resolving_status: atom_resolving_status! - """An array relationship""" + """ + An array relationship + """ signals( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [signals_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [signals_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: signals_bool_exp ): [signals!]! - """An aggregate relationship""" + """ + An aggregate relationship + """ signals_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [signals_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [signals_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: signals_bool_exp ): signals_aggregate! - """An object relationship""" + """ + An object relationship + """ term: terms! term_id: String! transaction_hash: String! type: atom_type! updated_at: timestamptz! - """An object relationship""" + """ + An object relationship + """ value: atom_values value_id: String wallet_id: String! @@ -1054,7 +1564,9 @@ input atoms_aggregate_order_by { variance: atoms_variance_order_by } -"""aggregate avg on columns""" +""" +aggregate avg on columns +""" type atoms_avg_fields { block_number: Float log_index: Float @@ -1113,7 +1625,9 @@ input atoms_bool_exp { wallet_id: String_comparison_exp } -"""aggregate max on columns""" +""" +aggregate max on columns +""" type atoms_max_fields { block_number: numeric created_at: timestamptz @@ -1155,7 +1669,9 @@ input atoms_max_order_by { wallet_id: order_by } -"""aggregate min on columns""" +""" +aggregate min on columns +""" type atoms_min_fields { block_number: numeric created_at: timestamptz @@ -1197,7 +1713,9 @@ input atoms_min_order_by { wallet_id: order_by } -"""Ordering options when selecting data from "atom".""" +""" +Ordering options when selecting data from "atom". +""" input atoms_order_by { accounts_aggregate: accounts_aggregate_order_by as_object_predicate_objects_aggregate: predicate_objects_aggregate_order_by @@ -1233,41 +1751,75 @@ input atoms_order_by { select columns of table "atom" """ enum atoms_select_column { - """column name""" + """ + column name + """ block_number - """column name""" + """ + column name + """ created_at - """column name""" + """ + column name + """ creator_id - """column name""" + """ + column name + """ data - """column name""" + """ + column name + """ emoji - """column name""" + """ + column name + """ image - """column name""" + """ + column name + """ label - """column name""" + """ + column name + """ log_index - """column name""" + """ + column name + """ raw_data - """column name""" + """ + column name + """ resolving_status - """column name""" + """ + column name + """ term_id - """column name""" + """ + column name + """ transaction_hash - """column name""" + """ + column name + """ type - """column name""" + """ + column name + """ updated_at - """column name""" + """ + column name + """ value_id - """column name""" + """ + column name + """ wallet_id } -"""aggregate stddev on columns""" +""" +aggregate stddev on columns +""" type atoms_stddev_fields { block_number: Float log_index: Float @@ -1281,7 +1833,9 @@ input atoms_stddev_order_by { log_index: order_by } -"""aggregate stddev_pop on columns""" +""" +aggregate stddev_pop on columns +""" type atoms_stddev_pop_fields { block_number: Float log_index: Float @@ -1295,7 +1849,9 @@ input atoms_stddev_pop_order_by { log_index: order_by } -"""aggregate stddev_samp on columns""" +""" +aggregate stddev_samp on columns +""" type atoms_stddev_samp_fields { block_number: Float log_index: Float @@ -1313,13 +1869,19 @@ input atoms_stddev_samp_order_by { Streaming cursor of the table "atoms" """ input atoms_stream_cursor_input { - """Stream column input with initial value""" + """ + Stream column input with initial value + """ initial_value: atoms_stream_cursor_value_input! - """cursor ordering""" + """ + cursor ordering + """ ordering: cursor_ordering } -"""Initial value of the column from where the streaming should start""" +""" +Initial value of the column from where the streaming should start +""" input atoms_stream_cursor_value_input { block_number: numeric created_at: timestamptz @@ -1339,7 +1901,9 @@ input atoms_stream_cursor_value_input { wallet_id: String } -"""aggregate sum on columns""" +""" +aggregate sum on columns +""" type atoms_sum_fields { block_number: numeric log_index: bigint @@ -1353,7 +1917,9 @@ input atoms_sum_order_by { log_index: order_by } -"""aggregate var_pop on columns""" +""" +aggregate var_pop on columns +""" type atoms_var_pop_fields { block_number: Float log_index: Float @@ -1367,7 +1933,9 @@ input atoms_var_pop_order_by { log_index: order_by } -"""aggregate var_samp on columns""" +""" +aggregate var_samp on columns +""" type atoms_var_samp_fields { block_number: Float log_index: Float @@ -1381,7 +1949,9 @@ input atoms_var_samp_order_by { log_index: order_by } -"""aggregate variance on columns""" +""" +aggregate variance on columns +""" type atoms_variance_fields { block_number: Float log_index: Float @@ -1416,7 +1986,9 @@ input bigint_comparison_exp { columns and relationships of "book" """ type books { - """An object relationship""" + """ + An object relationship + """ atom: atoms description: String genre: String @@ -1457,7 +2029,9 @@ input books_bool_exp { url: String_comparison_exp } -"""aggregate max on columns""" +""" +aggregate max on columns +""" type books_max_fields { description: String genre: String @@ -1466,7 +2040,9 @@ type books_max_fields { url: String } -"""aggregate min on columns""" +""" +aggregate min on columns +""" type books_min_fields { description: String genre: String @@ -1475,7 +2051,9 @@ type books_min_fields { url: String } -"""Ordering options when selecting data from "book".""" +""" +Ordering options when selecting data from "book". +""" input books_order_by { atom: atoms_order_by description: order_by @@ -1489,15 +2067,25 @@ input books_order_by { select columns of table "book" """ enum books_select_column { - """column name""" + """ + column name + """ description - """column name""" + """ + column name + """ genre - """column name""" + """ + column name + """ id - """column name""" + """ + column name + """ name - """column name""" + """ + column name + """ url } @@ -1505,13 +2093,19 @@ enum books_select_column { Streaming cursor of the table "books" """ input books_stream_cursor_input { - """Stream column input with initial value""" + """ + Stream column input with initial value + """ initial_value: books_stream_cursor_value_input! - """cursor ordering""" + """ + cursor ordering + """ ordering: cursor_ordering } -"""Initial value of the column from where the streaming should start""" +""" +Initial value of the column from where the streaming should start +""" input books_stream_cursor_value_input { description: String genre: String @@ -1524,7 +2118,9 @@ input books_stream_cursor_value_input { columns and relationships of "byte_object" """ type byte_object { - """An object relationship""" + """ + An object relationship + """ atom: atoms data: bytea! id: String! @@ -1559,17 +2155,23 @@ input byte_object_bool_exp { id: String_comparison_exp } -"""aggregate max on columns""" +""" +aggregate max on columns +""" type byte_object_max_fields { id: String } -"""aggregate min on columns""" +""" +aggregate min on columns +""" type byte_object_min_fields { id: String } -"""Ordering options when selecting data from "byte_object".""" +""" +Ordering options when selecting data from "byte_object". +""" input byte_object_order_by { atom: atoms_order_by data: order_by @@ -1580,9 +2182,13 @@ input byte_object_order_by { select columns of table "byte_object" """ enum byte_object_select_column { - """column name""" + """ + column name + """ data - """column name""" + """ + column name + """ id } @@ -1590,13 +2196,19 @@ enum byte_object_select_column { Streaming cursor of the table "byte_object" """ input byte_object_stream_cursor_input { - """Stream column input with initial value""" + """ + Stream column input with initial value + """ initial_value: byte_object_stream_cursor_value_input! - """cursor ordering""" + """ + cursor ordering + """ ordering: cursor_ordering } -"""Initial value of the column from where the streaming should start""" +""" +Initial value of the column from where the streaming should start +""" input byte_object_stream_cursor_value_input { data: bytea id: String @@ -1628,7 +2240,9 @@ type cached_images_cached_image { original_url: String! safe: Boolean! score( - """JSON select path""" + """ + JSON select path + """ path: String ): jsonb url: String! @@ -1665,17 +2279,29 @@ input cached_images_cached_image_order_by { select columns of table "cached_images.cached_image" """ enum cached_images_cached_image_select_column { - """column name""" + """ + column name + """ created_at - """column name""" + """ + column name + """ model - """column name""" + """ + column name + """ original_url - """column name""" + """ + column name + """ safe - """column name""" + """ + column name + """ score - """column name""" + """ + column name + """ url } @@ -1683,13 +2309,19 @@ enum cached_images_cached_image_select_column { Streaming cursor of the table "cached_images_cached_image" """ input cached_images_cached_image_stream_cursor_input { - """Stream column input with initial value""" + """ + Stream column input with initial value + """ initial_value: cached_images_cached_image_stream_cursor_value_input! - """cursor ordering""" + """ + cursor ordering + """ ordering: cursor_ordering } -"""Initial value of the column from where the streaming should start""" +""" +Initial value of the column from where the streaming should start +""" input cached_images_cached_image_stream_cursor_value_input { created_at: timestamptz model: String @@ -1704,7 +2336,9 @@ columns and relationships of "caip10" """ type caip10 { account_address: String! - """An object relationship""" + """ + An object relationship + """ atom: atoms chain_id: Int! id: String! @@ -1736,7 +2370,9 @@ type caip10_aggregate_fields { variance: caip10_variance_fields } -"""aggregate avg on columns""" +""" +aggregate avg on columns +""" type caip10_avg_fields { chain_id: Float } @@ -1755,7 +2391,9 @@ input caip10_bool_exp { namespace: String_comparison_exp } -"""aggregate max on columns""" +""" +aggregate max on columns +""" type caip10_max_fields { account_address: String chain_id: Int @@ -1763,7 +2401,9 @@ type caip10_max_fields { namespace: String } -"""aggregate min on columns""" +""" +aggregate min on columns +""" type caip10_min_fields { account_address: String chain_id: Int @@ -1771,7 +2411,9 @@ type caip10_min_fields { namespace: String } -"""Ordering options when selecting data from "caip10".""" +""" +Ordering options when selecting data from "caip10". +""" input caip10_order_by { account_address: order_by atom: atoms_order_by @@ -1784,27 +2426,41 @@ input caip10_order_by { select columns of table "caip10" """ enum caip10_select_column { - """column name""" + """ + column name + """ account_address - """column name""" + """ + column name + """ chain_id - """column name""" + """ + column name + """ id - """column name""" + """ + column name + """ namespace } -"""aggregate stddev on columns""" +""" +aggregate stddev on columns +""" type caip10_stddev_fields { chain_id: Float } -"""aggregate stddev_pop on columns""" +""" +aggregate stddev_pop on columns +""" type caip10_stddev_pop_fields { chain_id: Float } -"""aggregate stddev_samp on columns""" +""" +aggregate stddev_samp on columns +""" type caip10_stddev_samp_fields { chain_id: Float } @@ -1813,13 +2469,19 @@ type caip10_stddev_samp_fields { Streaming cursor of the table "caip10" """ input caip10_stream_cursor_input { - """Stream column input with initial value""" + """ + Stream column input with initial value + """ initial_value: caip10_stream_cursor_value_input! - """cursor ordering""" + """ + cursor ordering + """ ordering: cursor_ordering } -"""Initial value of the column from where the streaming should start""" +""" +Initial value of the column from where the streaming should start +""" input caip10_stream_cursor_value_input { account_address: String chain_id: Int @@ -1827,22 +2489,30 @@ input caip10_stream_cursor_value_input { namespace: String } -"""aggregate sum on columns""" +""" +aggregate sum on columns +""" type caip10_sum_fields { chain_id: Int } -"""aggregate var_pop on columns""" +""" +aggregate var_pop on columns +""" type caip10_var_pop_fields { chain_id: Float } -"""aggregate var_samp on columns""" +""" +aggregate var_samp on columns +""" type caip10_var_samp_fields { chain_id: Float } -"""aggregate variance on columns""" +""" +aggregate variance on columns +""" type caip10_variance_fields { chain_id: Float } @@ -1866,7 +2536,9 @@ input chainlink_prices_bool_exp { usd: float8_comparison_exp } -"""Ordering options when selecting data from "chainlink_price".""" +""" +Ordering options when selecting data from "chainlink_price". +""" input chainlink_prices_order_by { id: order_by usd: order_by @@ -1876,9 +2548,13 @@ input chainlink_prices_order_by { select columns of table "chainlink_price" """ enum chainlink_prices_select_column { - """column name""" + """ + column name + """ id - """column name""" + """ + column name + """ usd } @@ -1886,23 +2562,35 @@ enum chainlink_prices_select_column { Streaming cursor of the table "chainlink_prices" """ input chainlink_prices_stream_cursor_input { - """Stream column input with initial value""" + """ + Stream column input with initial value + """ initial_value: chainlink_prices_stream_cursor_value_input! - """cursor ordering""" + """ + cursor ordering + """ ordering: cursor_ordering } -"""Initial value of the column from where the streaming should start""" +""" +Initial value of the column from where the streaming should start +""" input chainlink_prices_stream_cursor_value_input { id: numeric usd: float8 } -"""ordering argument of a cursor""" +""" +ordering argument of a cursor +""" enum cursor_ordering { - """ascending ordering of the cursor""" + """ + ascending ordering of the cursor + """ ASC - """descending ordering of the cursor""" + """ + descending ordering of the cursor + """ DESC } @@ -1916,19 +2604,27 @@ type deposits { curve_id: numeric! id: String! log_index: bigint! - """An object relationship""" + """ + An object relationship + """ receiver: accounts! receiver_id: String! - """An object relationship""" + """ + An object relationship + """ sender: accounts sender_id: String! shares: numeric! - """An object relationship""" + """ + An object relationship + """ term: terms! term_id: String! total_shares: numeric! transaction_hash: String! - """An object relationship""" + """ + An object relationship + """ vault: vaults vault_type: vault_type! } @@ -1986,7 +2682,9 @@ input deposits_aggregate_order_by { variance: deposits_variance_order_by } -"""aggregate avg on columns""" +""" +aggregate avg on columns +""" type deposits_avg_fields { assets_after_fees: Float block_number: Float @@ -2034,7 +2732,9 @@ input deposits_bool_exp { vault_type: vault_type_comparison_exp } -"""aggregate max on columns""" +""" +aggregate max on columns +""" type deposits_max_fields { assets_after_fees: numeric block_number: numeric @@ -2070,7 +2770,9 @@ input deposits_max_order_by { vault_type: order_by } -"""aggregate min on columns""" +""" +aggregate min on columns +""" type deposits_min_fields { assets_after_fees: numeric block_number: numeric @@ -2106,7 +2808,9 @@ input deposits_min_order_by { vault_type: order_by } -"""Ordering options when selecting data from "deposit".""" +""" +Ordering options when selecting data from "deposit". +""" input deposits_order_by { assets_after_fees: order_by block_number: order_by @@ -2131,35 +2835,63 @@ input deposits_order_by { select columns of table "deposit" """ enum deposits_select_column { - """column name""" + """ + column name + """ assets_after_fees - """column name""" + """ + column name + """ block_number - """column name""" + """ + column name + """ created_at - """column name""" + """ + column name + """ curve_id - """column name""" + """ + column name + """ id - """column name""" + """ + column name + """ log_index - """column name""" + """ + column name + """ receiver_id - """column name""" + """ + column name + """ sender_id - """column name""" + """ + column name + """ shares - """column name""" + """ + column name + """ term_id - """column name""" + """ + column name + """ total_shares - """column name""" + """ + column name + """ transaction_hash - """column name""" + """ + column name + """ vault_type } -"""aggregate stddev on columns""" +""" +aggregate stddev on columns +""" type deposits_stddev_fields { assets_after_fees: Float block_number: Float @@ -2181,7 +2913,9 @@ input deposits_stddev_order_by { total_shares: order_by } -"""aggregate stddev_pop on columns""" +""" +aggregate stddev_pop on columns +""" type deposits_stddev_pop_fields { assets_after_fees: Float block_number: Float @@ -2203,7 +2937,9 @@ input deposits_stddev_pop_order_by { total_shares: order_by } -"""aggregate stddev_samp on columns""" +""" +aggregate stddev_samp on columns +""" type deposits_stddev_samp_fields { assets_after_fees: Float block_number: Float @@ -2229,13 +2965,19 @@ input deposits_stddev_samp_order_by { Streaming cursor of the table "deposits" """ input deposits_stream_cursor_input { - """Stream column input with initial value""" + """ + Stream column input with initial value + """ initial_value: deposits_stream_cursor_value_input! - """cursor ordering""" + """ + cursor ordering + """ ordering: cursor_ordering } -"""Initial value of the column from where the streaming should start""" +""" +Initial value of the column from where the streaming should start +""" input deposits_stream_cursor_value_input { assets_after_fees: numeric block_number: numeric @@ -2252,7 +2994,9 @@ input deposits_stream_cursor_value_input { vault_type: vault_type } -"""aggregate sum on columns""" +""" +aggregate sum on columns +""" type deposits_sum_fields { assets_after_fees: numeric block_number: numeric @@ -2274,7 +3018,9 @@ input deposits_sum_order_by { total_shares: order_by } -"""aggregate var_pop on columns""" +""" +aggregate var_pop on columns +""" type deposits_var_pop_fields { assets_after_fees: Float block_number: Float @@ -2296,7 +3042,9 @@ input deposits_var_pop_order_by { total_shares: order_by } -"""aggregate var_samp on columns""" +""" +aggregate var_samp on columns +""" type deposits_var_samp_fields { assets_after_fees: Float block_number: Float @@ -2318,7 +3066,9 @@ input deposits_var_samp_order_by { total_shares: order_by } -"""aggregate variance on columns""" +""" +aggregate variance on columns +""" type deposits_variance_fields { assets_after_fees: Float block_number: Float @@ -2361,23 +3111,33 @@ input event_type_comparison_exp { columns and relationships of "event" """ type events { - """An object relationship""" + """ + An object relationship + """ atom: atoms atom_id: String block_number: numeric! created_at: timestamptz! - """An object relationship""" + """ + An object relationship + """ deposit: deposits deposit_id: String - """An object relationship""" + """ + An object relationship + """ fee_transfer: fee_transfers fee_transfer_id: String id: String! - """An object relationship""" + """ + An object relationship + """ redemption: redemptions redemption_id: String transaction_hash: String! - """An object relationship""" + """ + An object relationship + """ triple: triples triple_id: String type: event_type! @@ -2408,7 +3168,9 @@ type events_aggregate_fields { variance: events_variance_fields } -"""aggregate avg on columns""" +""" +aggregate avg on columns +""" type events_avg_fields { block_number: Float } @@ -2437,7 +3199,9 @@ input events_bool_exp { type: event_type_comparison_exp } -"""aggregate max on columns""" +""" +aggregate max on columns +""" type events_max_fields { atom_id: String block_number: numeric @@ -2451,7 +3215,9 @@ type events_max_fields { type: event_type } -"""aggregate min on columns""" +""" +aggregate min on columns +""" type events_min_fields { atom_id: String block_number: numeric @@ -2465,7 +3231,9 @@ type events_min_fields { type: event_type } -"""Ordering options when selecting data from "event".""" +""" +Ordering options when selecting data from "event". +""" input events_order_by { atom: atoms_order_by atom_id: order_by @@ -2488,39 +3256,65 @@ input events_order_by { select columns of table "event" """ enum events_select_column { - """column name""" + """ + column name + """ atom_id - """column name""" + """ + column name + """ block_number - """column name""" + """ + column name + """ created_at - """column name""" + """ + column name + """ deposit_id - """column name""" + """ + column name + """ fee_transfer_id - """column name""" + """ + column name + """ id - """column name""" + """ + column name + """ redemption_id - """column name""" + """ + column name + """ transaction_hash - """column name""" + """ + column name + """ triple_id - """column name""" + """ + column name + """ type } -"""aggregate stddev on columns""" +""" +aggregate stddev on columns +""" type events_stddev_fields { block_number: Float } -"""aggregate stddev_pop on columns""" +""" +aggregate stddev_pop on columns +""" type events_stddev_pop_fields { block_number: Float } -"""aggregate stddev_samp on columns""" +""" +aggregate stddev_samp on columns +""" type events_stddev_samp_fields { block_number: Float } @@ -2529,13 +3323,19 @@ type events_stddev_samp_fields { Streaming cursor of the table "events" """ input events_stream_cursor_input { - """Stream column input with initial value""" + """ + Stream column input with initial value + """ initial_value: events_stream_cursor_value_input! - """cursor ordering""" + """ + cursor ordering + """ ordering: cursor_ordering } -"""Initial value of the column from where the streaming should start""" +""" +Initial value of the column from where the streaming should start +""" input events_stream_cursor_value_input { atom_id: String block_number: numeric @@ -2549,22 +3349,30 @@ input events_stream_cursor_value_input { type: event_type } -"""aggregate sum on columns""" +""" +aggregate sum on columns +""" type events_sum_fields { block_number: numeric } -"""aggregate var_pop on columns""" +""" +aggregate var_pop on columns +""" type events_var_pop_fields { block_number: Float } -"""aggregate var_samp on columns""" +""" +aggregate var_samp on columns +""" type events_var_samp_fields { block_number: Float } -"""aggregate variance on columns""" +""" +aggregate variance on columns +""" type events_variance_fields { block_number: Float } @@ -2577,10 +3385,14 @@ type fee_transfers { block_number: numeric! created_at: timestamptz! id: String! - """An object relationship""" + """ + An object relationship + """ receiver: accounts! receiver_id: String! - """An object relationship""" + """ + An object relationship + """ sender: accounts sender_id: String! transaction_hash: String! @@ -2639,7 +3451,9 @@ input fee_transfers_aggregate_order_by { variance: fee_transfers_variance_order_by } -"""aggregate avg on columns""" +""" +aggregate avg on columns +""" type fee_transfers_avg_fields { amount: Float block_number: Float @@ -2671,7 +3485,9 @@ input fee_transfers_bool_exp { transaction_hash: String_comparison_exp } -"""aggregate max on columns""" +""" +aggregate max on columns +""" type fee_transfers_max_fields { amount: numeric block_number: numeric @@ -2695,7 +3511,9 @@ input fee_transfers_max_order_by { transaction_hash: order_by } -"""aggregate min on columns""" +""" +aggregate min on columns +""" type fee_transfers_min_fields { amount: numeric block_number: numeric @@ -2719,7 +3537,9 @@ input fee_transfers_min_order_by { transaction_hash: order_by } -"""Ordering options when selecting data from "fee_transfer".""" +""" +Ordering options when selecting data from "fee_transfer". +""" input fee_transfers_order_by { amount: order_by block_number: order_by @@ -2736,23 +3556,39 @@ input fee_transfers_order_by { select columns of table "fee_transfer" """ enum fee_transfers_select_column { - """column name""" + """ + column name + """ amount - """column name""" + """ + column name + """ block_number - """column name""" + """ + column name + """ created_at - """column name""" + """ + column name + """ id - """column name""" + """ + column name + """ receiver_id - """column name""" + """ + column name + """ sender_id - """column name""" + """ + column name + """ transaction_hash } -"""aggregate stddev on columns""" +""" +aggregate stddev on columns +""" type fee_transfers_stddev_fields { amount: Float block_number: Float @@ -2766,7 +3602,9 @@ input fee_transfers_stddev_order_by { block_number: order_by } -"""aggregate stddev_pop on columns""" +""" +aggregate stddev_pop on columns +""" type fee_transfers_stddev_pop_fields { amount: Float block_number: Float @@ -2780,7 +3618,9 @@ input fee_transfers_stddev_pop_order_by { block_number: order_by } -"""aggregate stddev_samp on columns""" +""" +aggregate stddev_samp on columns +""" type fee_transfers_stddev_samp_fields { amount: Float block_number: Float @@ -2798,13 +3638,19 @@ input fee_transfers_stddev_samp_order_by { Streaming cursor of the table "fee_transfers" """ input fee_transfers_stream_cursor_input { - """Stream column input with initial value""" + """ + Stream column input with initial value + """ initial_value: fee_transfers_stream_cursor_value_input! - """cursor ordering""" + """ + cursor ordering + """ ordering: cursor_ordering } -"""Initial value of the column from where the streaming should start""" +""" +Initial value of the column from where the streaming should start +""" input fee_transfers_stream_cursor_value_input { amount: numeric block_number: numeric @@ -2815,7 +3661,9 @@ input fee_transfers_stream_cursor_value_input { transaction_hash: String } -"""aggregate sum on columns""" +""" +aggregate sum on columns +""" type fee_transfers_sum_fields { amount: numeric block_number: numeric @@ -2829,7 +3677,9 @@ input fee_transfers_sum_order_by { block_number: order_by } -"""aggregate var_pop on columns""" +""" +aggregate var_pop on columns +""" type fee_transfers_var_pop_fields { amount: Float block_number: Float @@ -2843,7 +3693,9 @@ input fee_transfers_var_pop_order_by { block_number: order_by } -"""aggregate var_samp on columns""" +""" +aggregate var_samp on columns +""" type fee_transfers_var_samp_fields { amount: Float block_number: Float @@ -2857,7 +3709,9 @@ input fee_transfers_var_samp_order_by { block_number: order_by } -"""aggregate variance on columns""" +""" +aggregate variance on columns +""" type fee_transfers_variance_fields { amount: Float block_number: Float @@ -2896,10 +3750,14 @@ input following_args { columns and relationships of "json_object" """ type json_objects { - """An object relationship""" + """ + An object relationship + """ atom: atoms data( - """JSON select path""" + """ + JSON select path + """ path: String ): jsonb! id: String! @@ -2934,17 +3792,23 @@ input json_objects_bool_exp { id: String_comparison_exp } -"""aggregate max on columns""" +""" +aggregate max on columns +""" type json_objects_max_fields { id: String } -"""aggregate min on columns""" +""" +aggregate min on columns +""" type json_objects_min_fields { id: String } -"""Ordering options when selecting data from "json_object".""" +""" +Ordering options when selecting data from "json_object". +""" input json_objects_order_by { atom: atoms_order_by data: order_by @@ -2955,9 +3819,13 @@ input json_objects_order_by { select columns of table "json_object" """ enum json_objects_select_column { - """column name""" + """ + column name + """ data - """column name""" + """ + column name + """ id } @@ -2965,13 +3833,19 @@ enum json_objects_select_column { Streaming cursor of the table "json_objects" """ input json_objects_stream_cursor_input { - """Stream column input with initial value""" + """ + Stream column input with initial value + """ initial_value: json_objects_stream_cursor_value_input! - """cursor ordering""" + """ + cursor ordering + """ ordering: cursor_ordering } -"""Initial value of the column from where the streaming should start""" +""" +Initial value of the column from where the streaming should start +""" input json_objects_stream_cursor_value_input { data: jsonb id: String @@ -2988,18 +3862,28 @@ Boolean expression to compare columns of type "jsonb". All fields are combined w """ input jsonb_comparison_exp { _cast: jsonb_cast_exp - """is the column contained in the given json value""" + """ + is the column contained in the given json value + """ _contained_in: jsonb - """does the column contain the given json value at the top level""" + """ + does the column contain the given json value at the top level + """ _contains: jsonb _eq: jsonb _gt: jsonb _gte: jsonb - """does the string exist as a top-level key in the column""" + """ + does the string exist as a top-level key in the column + """ _has_key: String - """do all of these strings exist as top-level keys in the column""" + """ + do all of these strings exist as top-level keys in the column + """ _has_keys_all: [String!] - """do any of these strings exist as top-level keys in the column""" + """ + do any of these strings exist as top-level keys in the column + """ _has_keys_any: [String!] _in: [jsonb!] _is_null: Boolean @@ -3009,13 +3893,21 @@ input jsonb_comparison_exp { _nin: [jsonb!] } -"""mutation root""" +""" +mutation root +""" type mutation_root { - """Uploads and pins Organization to IPFS""" + """ + Uploads and pins Organization to IPFS + """ pinOrganization(organization: PinOrganizationInput!): PinOutput - """Uploads and pins Person to IPFS""" + """ + Uploads and pins Person to IPFS + """ pinPerson(person: PinPersonInput!): PinOutput - """Uploads and pins Thing to IPFS""" + """ + Uploads and pins Thing to IPFS + """ pinThing(thing: PinThingInput!): PinOutput } @@ -3036,19 +3928,33 @@ input numeric_comparison_exp { _nin: [numeric!] } -"""column ordering options""" +""" +column ordering options +""" enum order_by { - """in ascending order, nulls last""" + """ + in ascending order, nulls last + """ asc - """in ascending order, nulls first""" + """ + in ascending order, nulls first + """ asc_nulls_first - """in ascending order, nulls last""" + """ + in ascending order, nulls last + """ asc_nulls_last - """in descending order, nulls first""" + """ + in descending order, nulls first + """ desc - """in descending order, nulls first""" + """ + in descending order, nulls first + """ desc_nulls_first - """in descending order, nulls last""" + """ + in descending order, nulls last + """ desc_nulls_last } @@ -3056,7 +3962,9 @@ enum order_by { columns and relationships of "organization" """ type organizations { - """An object relationship""" + """ + An object relationship + """ atom: atoms description: String email: String @@ -3099,7 +4007,9 @@ input organizations_bool_exp { url: String_comparison_exp } -"""aggregate max on columns""" +""" +aggregate max on columns +""" type organizations_max_fields { description: String email: String @@ -3109,7 +4019,9 @@ type organizations_max_fields { url: String } -"""aggregate min on columns""" +""" +aggregate min on columns +""" type organizations_min_fields { description: String email: String @@ -3119,7 +4031,9 @@ type organizations_min_fields { url: String } -"""Ordering options when selecting data from "organization".""" +""" +Ordering options when selecting data from "organization". +""" input organizations_order_by { atom: atoms_order_by description: order_by @@ -3134,17 +4048,29 @@ input organizations_order_by { select columns of table "organization" """ enum organizations_select_column { - """column name""" + """ + column name + """ description - """column name""" + """ + column name + """ email - """column name""" + """ + column name + """ id - """column name""" + """ + column name + """ image - """column name""" + """ + column name + """ name - """column name""" + """ + column name + """ url } @@ -3152,13 +4078,19 @@ enum organizations_select_column { Streaming cursor of the table "organizations" """ input organizations_stream_cursor_input { - """Stream column input with initial value""" + """ + Stream column input with initial value + """ initial_value: organizations_stream_cursor_value_input! - """cursor ordering""" + """ + cursor ordering + """ ordering: cursor_ordering } -"""Initial value of the column from where the streaming should start""" +""" +Initial value of the column from where the streaming should start +""" input organizations_stream_cursor_value_input { description: String email: String @@ -3172,7 +4104,9 @@ input organizations_stream_cursor_value_input { columns and relationships of "person" """ type persons { - """An object relationship""" + """ + An object relationship + """ atom: atoms cached_image: cached_images_cached_image description: String @@ -3218,7 +4152,9 @@ input persons_bool_exp { url: String_comparison_exp } -"""aggregate max on columns""" +""" +aggregate max on columns +""" type persons_max_fields { description: String email: String @@ -3229,7 +4165,9 @@ type persons_max_fields { url: String } -"""aggregate min on columns""" +""" +aggregate min on columns +""" type persons_min_fields { description: String email: String @@ -3240,7 +4178,9 @@ type persons_min_fields { url: String } -"""Ordering options when selecting data from "person".""" +""" +Ordering options when selecting data from "person". +""" input persons_order_by { atom: atoms_order_by description: order_by @@ -3256,19 +4196,33 @@ input persons_order_by { select columns of table "person" """ enum persons_select_column { - """column name""" + """ + column name + """ description - """column name""" + """ + column name + """ email - """column name""" + """ + column name + """ id - """column name""" + """ + column name + """ identifier - """column name""" + """ + column name + """ image - """column name""" + """ + column name + """ name - """column name""" + """ + column name + """ url } @@ -3276,13 +4230,19 @@ enum persons_select_column { Streaming cursor of the table "persons" """ input persons_stream_cursor_input { - """Stream column input with initial value""" + """ + Stream column input with initial value + """ initial_value: persons_stream_cursor_value_input! - """cursor ordering""" + """ + cursor ordering + """ ordering: cursor_ordering } -"""Initial value of the column from where the streaming should start""" +""" +Initial value of the column from where the streaming should start +""" input persons_stream_cursor_value_input { description: String email: String @@ -3297,7 +4257,9 @@ input persons_stream_cursor_value_input { columns and relationships of "position" """ type positions { - """An object relationship""" + """ + An object relationship + """ account: accounts account_id: String! block_number: bigint! @@ -3306,7 +4268,9 @@ type positions { id: String! log_index: bigint! shares: numeric! - """An object relationship""" + """ + An object relationship + """ term: terms! term_id: String! total_deposit_assets_after_total_fees: numeric! @@ -3314,7 +4278,9 @@ type positions { transaction_hash: String! transaction_index: bigint! updated_at: timestamptz! - """An object relationship""" + """ + An object relationship + """ vault: vaults } @@ -3371,7 +4337,9 @@ input positions_aggregate_order_by { variance: positions_variance_order_by } -"""aggregate avg on columns""" +""" +aggregate avg on columns +""" type positions_avg_fields { block_number: Float curve_id: Float @@ -3424,7 +4392,9 @@ input positions_from_following_args { address: String } -"""aggregate max on columns""" +""" +aggregate max on columns +""" type positions_max_fields { account_id: String block_number: bigint @@ -3460,7 +4430,9 @@ input positions_max_order_by { updated_at: order_by } -"""aggregate min on columns""" +""" +aggregate min on columns +""" type positions_min_fields { account_id: String block_number: bigint @@ -3496,7 +4468,9 @@ input positions_min_order_by { updated_at: order_by } -"""Ordering options when selecting data from "position".""" +""" +Ordering options when selecting data from "position". +""" input positions_order_by { account: accounts_order_by account_id: order_by @@ -3520,35 +4494,63 @@ input positions_order_by { select columns of table "position" """ enum positions_select_column { - """column name""" + """ + column name + """ account_id - """column name""" + """ + column name + """ block_number - """column name""" + """ + column name + """ created_at - """column name""" + """ + column name + """ curve_id - """column name""" + """ + column name + """ id - """column name""" + """ + column name + """ log_index - """column name""" + """ + column name + """ shares - """column name""" + """ + column name + """ term_id - """column name""" + """ + column name + """ total_deposit_assets_after_total_fees - """column name""" + """ + column name + """ total_redeem_assets_for_receiver - """column name""" + """ + column name + """ transaction_hash - """column name""" + """ + column name + """ transaction_index - """column name""" + """ + column name + """ updated_at } -"""aggregate stddev on columns""" +""" +aggregate stddev on columns +""" type positions_stddev_fields { block_number: Float curve_id: Float @@ -3572,7 +4574,9 @@ input positions_stddev_order_by { transaction_index: order_by } -"""aggregate stddev_pop on columns""" +""" +aggregate stddev_pop on columns +""" type positions_stddev_pop_fields { block_number: Float curve_id: Float @@ -3596,7 +4600,9 @@ input positions_stddev_pop_order_by { transaction_index: order_by } -"""aggregate stddev_samp on columns""" +""" +aggregate stddev_samp on columns +""" type positions_stddev_samp_fields { block_number: Float curve_id: Float @@ -3624,13 +4630,19 @@ input positions_stddev_samp_order_by { Streaming cursor of the table "positions" """ input positions_stream_cursor_input { - """Stream column input with initial value""" + """ + Stream column input with initial value + """ initial_value: positions_stream_cursor_value_input! - """cursor ordering""" + """ + cursor ordering + """ ordering: cursor_ordering } -"""Initial value of the column from where the streaming should start""" +""" +Initial value of the column from where the streaming should start +""" input positions_stream_cursor_value_input { account_id: String block_number: bigint @@ -3647,7 +4659,9 @@ input positions_stream_cursor_value_input { updated_at: timestamptz } -"""aggregate sum on columns""" +""" +aggregate sum on columns +""" type positions_sum_fields { block_number: bigint curve_id: numeric @@ -3671,7 +4685,9 @@ input positions_sum_order_by { transaction_index: order_by } -"""aggregate var_pop on columns""" +""" +aggregate var_pop on columns +""" type positions_var_pop_fields { block_number: Float curve_id: Float @@ -3695,7 +4711,9 @@ input positions_var_pop_order_by { transaction_index: order_by } -"""aggregate var_samp on columns""" +""" +aggregate var_samp on columns +""" type positions_var_samp_fields { block_number: Float curve_id: Float @@ -3719,7 +4737,9 @@ input positions_var_samp_order_by { transaction_index: order_by } -"""aggregate variance on columns""" +""" +aggregate variance on columns +""" type positions_variance_fields { block_number: Float curve_id: Float @@ -3748,10 +4768,14 @@ columns and relationships of "predicate_object" """ type predicate_objects { id: String! - """An object relationship""" + """ + An object relationship + """ object: atoms! object_id: String! - """An object relationship""" + """ + An object relationship + """ predicate: atoms! predicate_id: String! triple_count: Int! @@ -3810,7 +4834,9 @@ input predicate_objects_aggregate_order_by { variance: predicate_objects_variance_order_by } -"""aggregate avg on columns""" +""" +aggregate avg on columns +""" type predicate_objects_avg_fields { triple_count: Float } @@ -3837,7 +4863,9 @@ input predicate_objects_bool_exp { triple_count: Int_comparison_exp } -"""aggregate max on columns""" +""" +aggregate max on columns +""" type predicate_objects_max_fields { id: String object_id: String @@ -3855,7 +4883,9 @@ input predicate_objects_max_order_by { triple_count: order_by } -"""aggregate min on columns""" +""" +aggregate min on columns +""" type predicate_objects_min_fields { id: String object_id: String @@ -3873,7 +4903,9 @@ input predicate_objects_min_order_by { triple_count: order_by } -"""Ordering options when selecting data from "predicate_object".""" +""" +Ordering options when selecting data from "predicate_object". +""" input predicate_objects_order_by { id: order_by object: atoms_order_by @@ -3887,17 +4919,27 @@ input predicate_objects_order_by { select columns of table "predicate_object" """ enum predicate_objects_select_column { - """column name""" + """ + column name + """ id - """column name""" + """ + column name + """ object_id - """column name""" + """ + column name + """ predicate_id - """column name""" + """ + column name + """ triple_count } -"""aggregate stddev on columns""" +""" +aggregate stddev on columns +""" type predicate_objects_stddev_fields { triple_count: Float } @@ -3909,7 +4951,9 @@ input predicate_objects_stddev_order_by { triple_count: order_by } -"""aggregate stddev_pop on columns""" +""" +aggregate stddev_pop on columns +""" type predicate_objects_stddev_pop_fields { triple_count: Float } @@ -3921,7 +4965,9 @@ input predicate_objects_stddev_pop_order_by { triple_count: order_by } -"""aggregate stddev_samp on columns""" +""" +aggregate stddev_samp on columns +""" type predicate_objects_stddev_samp_fields { triple_count: Float } @@ -3937,13 +4983,19 @@ input predicate_objects_stddev_samp_order_by { Streaming cursor of the table "predicate_objects" """ input predicate_objects_stream_cursor_input { - """Stream column input with initial value""" + """ + Stream column input with initial value + """ initial_value: predicate_objects_stream_cursor_value_input! - """cursor ordering""" + """ + cursor ordering + """ ordering: cursor_ordering } -"""Initial value of the column from where the streaming should start""" +""" +Initial value of the column from where the streaming should start +""" input predicate_objects_stream_cursor_value_input { id: String object_id: String @@ -3951,7 +5003,9 @@ input predicate_objects_stream_cursor_value_input { triple_count: Int } -"""aggregate sum on columns""" +""" +aggregate sum on columns +""" type predicate_objects_sum_fields { triple_count: Int } @@ -3963,7 +5017,9 @@ input predicate_objects_sum_order_by { triple_count: order_by } -"""aggregate var_pop on columns""" +""" +aggregate var_pop on columns +""" type predicate_objects_var_pop_fields { triple_count: Float } @@ -3975,7 +5031,9 @@ input predicate_objects_var_pop_order_by { triple_count: order_by } -"""aggregate var_samp on columns""" +""" +aggregate var_samp on columns +""" type predicate_objects_var_samp_fields { triple_count: Float } @@ -3987,7 +5045,9 @@ input predicate_objects_var_samp_order_by { triple_count: order_by } -"""aggregate variance on columns""" +""" +aggregate variance on columns +""" type predicate_objects_variance_fields { triple_count: Float } @@ -4000,312 +5060,548 @@ input predicate_objects_variance_order_by { } type query_root { - """fetch data from the table: "account" using primary key columns""" + """ + fetch data from the table: "account" using primary key columns + """ account(id: String!): accounts - """An array relationship""" + """ + An array relationship + """ accounts( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [accounts_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [accounts_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: accounts_bool_exp ): [accounts!]! - """An aggregate relationship""" + """ + An aggregate relationship + """ accounts_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [accounts_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [accounts_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: accounts_bool_exp ): accounts_aggregate! - """fetch data from the table: "atom" using primary key columns""" + """ + fetch data from the table: "atom" using primary key columns + """ atom(term_id: String!): atoms - """fetch data from the table: "atom_value" using primary key columns""" + """ + fetch data from the table: "atom_value" using primary key columns + """ atom_value(id: String!): atom_values """ fetch data from the table: "atom_value" """ atom_values( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [atom_values_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [atom_values_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: atom_values_bool_exp ): [atom_values!]! """ fetch aggregated fields from the table: "atom_value" """ atom_values_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [atom_values_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [atom_values_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: atom_values_bool_exp ): atom_values_aggregate! - """An array relationship""" + """ + An array relationship + """ atoms( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [atoms_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [atoms_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: atoms_bool_exp ): [atoms!]! - """An aggregate relationship""" + """ + An aggregate relationship + """ atoms_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [atoms_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [atoms_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: atoms_bool_exp ): atoms_aggregate! - """fetch data from the table: "book" using primary key columns""" + """ + fetch data from the table: "book" using primary key columns + """ book(id: String!): books """ fetch data from the table: "book" """ books( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [books_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [books_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: books_bool_exp ): [books!]! """ fetch aggregated fields from the table: "book" """ books_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [books_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [books_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: books_bool_exp ): books_aggregate! """ fetch data from the table: "byte_object" """ byte_object( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [byte_object_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [byte_object_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: byte_object_bool_exp ): [byte_object!]! """ fetch aggregated fields from the table: "byte_object" """ byte_object_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [byte_object_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [byte_object_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: byte_object_bool_exp ): byte_object_aggregate! - """fetch data from the table: "byte_object" using primary key columns""" + """ + fetch data from the table: "byte_object" using primary key columns + """ byte_object_by_pk(id: String!): byte_object """ fetch data from the table: "cached_images.cached_image" """ cached_images_cached_image( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [cached_images_cached_image_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [cached_images_cached_image_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: cached_images_cached_image_bool_exp ): [cached_images_cached_image!]! """ fetch data from the table: "cached_images.cached_image" using primary key columns """ cached_images_cached_image_by_pk(url: String!): cached_images_cached_image - """fetch data from the table: "caip10" using primary key columns""" + """ + fetch data from the table: "caip10" using primary key columns + """ caip10(id: String!): caip10 """ fetch aggregated fields from the table: "caip10" """ caip10_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [caip10_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [caip10_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: caip10_bool_exp ): caip10_aggregate! """ fetch data from the table: "caip10" """ caip10s( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [caip10_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [caip10_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: caip10_bool_exp ): [caip10!]! - """fetch data from the table: "chainlink_price" using primary key columns""" + """ + fetch data from the table: "chainlink_price" using primary key columns + """ chainlink_price(id: numeric!): chainlink_prices """ fetch data from the table: "chainlink_price" """ chainlink_prices( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [chainlink_prices_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [chainlink_prices_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: chainlink_prices_bool_exp ): [chainlink_prices!]! - """fetch data from the table: "deposit" using primary key columns""" + """ + fetch data from the table: "deposit" using primary key columns + """ deposit(id: String!): deposits - """An array relationship""" + """ + An array relationship + """ deposits( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [deposits_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [deposits_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: deposits_bool_exp ): [deposits!]! - """An aggregate relationship""" + """ + An aggregate relationship + """ deposits_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [deposits_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [deposits_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: deposits_bool_exp ): deposits_aggregate! - """fetch data from the table: "event" using primary key columns""" + """ + fetch data from the table: "event" using primary key columns + """ event(id: String!): events """ fetch data from the table: "event" """ events( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [events_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [events_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: events_bool_exp ): [events!]! """ fetch aggregated fields from the table: "event" """ events_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [events_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [events_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: events_bool_exp ): events_aggregate! - """fetch data from the table: "fee_transfer" using primary key columns""" + """ + fetch data from the table: "fee_transfer" using primary key columns + """ fee_transfer(id: String!): fee_transfers - """An array relationship""" + """ + An array relationship + """ fee_transfers( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [fee_transfers_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [fee_transfers_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: fee_transfers_bool_exp ): [fee_transfers!]! - """An aggregate relationship""" + """ + An aggregate relationship + """ fee_transfers_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [fee_transfers_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [fee_transfers_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: fee_transfers_bool_exp ): fee_transfers_aggregate! """ @@ -4316,15 +5612,25 @@ type query_root { input parameters for function "following" """ args: following_args! - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [accounts_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [accounts_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: accounts_bool_exp ): [accounts!]! """ @@ -4335,139 +5641,241 @@ type query_root { input parameters for function "following_aggregate" """ args: following_args! - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [accounts_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [accounts_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: accounts_bool_exp ): accounts_aggregate! - """fetch data from the table: "json_object" using primary key columns""" + """ + fetch data from the table: "json_object" using primary key columns + """ json_object(id: String!): json_objects """ fetch data from the table: "json_object" """ json_objects( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [json_objects_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [json_objects_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: json_objects_bool_exp ): [json_objects!]! """ fetch aggregated fields from the table: "json_object" """ json_objects_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [json_objects_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [json_objects_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: json_objects_bool_exp ): json_objects_aggregate! - """fetch data from the table: "organization" using primary key columns""" + """ + fetch data from the table: "organization" using primary key columns + """ organization(id: String!): organizations """ fetch data from the table: "organization" """ organizations( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [organizations_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [organizations_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: organizations_bool_exp ): [organizations!]! """ fetch aggregated fields from the table: "organization" """ organizations_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [organizations_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [organizations_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: organizations_bool_exp ): organizations_aggregate! - """fetch data from the table: "person" using primary key columns""" + """ + fetch data from the table: "person" using primary key columns + """ person(id: String!): persons """ fetch data from the table: "person" """ persons( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [persons_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [persons_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: persons_bool_exp ): [persons!]! """ fetch aggregated fields from the table: "person" """ persons_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [persons_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [persons_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: persons_bool_exp ): persons_aggregate! - """fetch data from the table: "position" using primary key columns""" + """ + fetch data from the table: "position" using primary key columns + """ position(id: String!): positions - """An array relationship""" + """ + An array relationship + """ positions( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [positions_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [positions_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: positions_bool_exp ): [positions!]! - """An aggregate relationship""" + """ + An aggregate relationship + """ positions_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [positions_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [positions_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: positions_bool_exp ): positions_aggregate! """ @@ -4478,15 +5886,25 @@ type query_root { input parameters for function "positions_from_following" """ args: positions_from_following_args! - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [positions_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [positions_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: positions_bool_exp ): [positions!]! """ @@ -4497,77 +5915,133 @@ type query_root { input parameters for function "positions_from_following_aggregate" """ args: positions_from_following_args! - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [positions_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [positions_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: positions_bool_exp ): positions_aggregate! """ fetch data from the table: "predicate_object" """ predicate_objects( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [predicate_objects_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [predicate_objects_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: predicate_objects_bool_exp ): [predicate_objects!]! """ fetch aggregated fields from the table: "predicate_object" """ predicate_objects_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [predicate_objects_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [predicate_objects_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: predicate_objects_bool_exp ): predicate_objects_aggregate! """ fetch data from the table: "predicate_object" using primary key columns """ predicate_objects_by_pk(id: String!): predicate_objects - """fetch data from the table: "redemption" using primary key columns""" + """ + fetch data from the table: "redemption" using primary key columns + """ redemption(id: String!): redemptions - """An array relationship""" + """ + An array relationship + """ redemptions( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [redemptions_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [redemptions_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: redemptions_bool_exp ): [redemptions!]! - """An aggregate relationship""" + """ + An aggregate relationship + """ redemptions_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [redemptions_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [redemptions_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: redemptions_bool_exp ): redemptions_aggregate! """ @@ -4578,15 +6052,25 @@ type query_root { input parameters for function "search_positions_on_subject" """ args: search_positions_on_subject_args! - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [positions_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [positions_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: positions_bool_exp ): [positions!]! """ @@ -4597,15 +6081,25 @@ type query_root { input parameters for function "search_positions_on_subject_aggregate" """ args: search_positions_on_subject_args! - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [positions_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [positions_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: positions_bool_exp ): positions_aggregate! """ @@ -4616,15 +6110,25 @@ type query_root { input parameters for function "search_term" """ args: search_term_args! - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [terms_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [terms_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: terms_bool_exp ): [terms!]! """ @@ -4635,15 +6139,25 @@ type query_root { input parameters for function "search_term_aggregate" """ args: search_term_args! - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [terms_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [terms_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: terms_bool_exp ): terms_aggregate! """ @@ -4654,15 +6168,25 @@ type query_root { input parameters for function "search_term_from_following" """ args: search_term_from_following_args! - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [terms_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [terms_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: terms_bool_exp ): [terms!]! """ @@ -4673,179 +6197,325 @@ type query_root { input parameters for function "search_term_from_following_aggregate" """ args: search_term_from_following_args! - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [terms_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [terms_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: terms_bool_exp ): terms_aggregate! - """An array relationship""" + """ + An array relationship + """ share_price_change_stats_daily( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [share_price_change_stats_daily_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [share_price_change_stats_daily_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: share_price_change_stats_daily_bool_exp ): [share_price_change_stats_daily!]! - """An array relationship""" + """ + An array relationship + """ share_price_change_stats_hourly( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [share_price_change_stats_hourly_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [share_price_change_stats_hourly_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: share_price_change_stats_hourly_bool_exp ): [share_price_change_stats_hourly!]! - """An array relationship""" + """ + An array relationship + """ share_price_change_stats_monthly( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [share_price_change_stats_monthly_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [share_price_change_stats_monthly_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: share_price_change_stats_monthly_bool_exp ): [share_price_change_stats_monthly!]! - """An array relationship""" + """ + An array relationship + """ share_price_change_stats_weekly( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [share_price_change_stats_weekly_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [share_price_change_stats_weekly_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: share_price_change_stats_weekly_bool_exp ): [share_price_change_stats_weekly!]! - """An array relationship""" + """ + An array relationship + """ share_price_changes( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [share_price_changes_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [share_price_changes_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: share_price_changes_bool_exp ): [share_price_changes!]! - """An aggregate relationship""" + """ + An aggregate relationship + """ share_price_changes_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [share_price_changes_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [share_price_changes_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: share_price_changes_bool_exp ): share_price_changes_aggregate! """ fetch data from the table: "signal_stats_daily" """ signal_stats_daily( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [signal_stats_daily_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [signal_stats_daily_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: signal_stats_daily_bool_exp ): [signal_stats_daily!]! """ fetch data from the table: "signal_stats_hourly" """ signal_stats_hourly( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [signal_stats_hourly_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [signal_stats_hourly_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: signal_stats_hourly_bool_exp ): [signal_stats_hourly!]! """ fetch data from the table: "signal_stats_monthly" """ signal_stats_monthly( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [signal_stats_monthly_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [signal_stats_monthly_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: signal_stats_monthly_bool_exp ): [signal_stats_monthly!]! """ fetch data from the table: "signal_stats_weekly" """ signal_stats_weekly( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [signal_stats_weekly_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [signal_stats_weekly_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: signal_stats_weekly_bool_exp ): [signal_stats_weekly!]! - """An array relationship""" + """ + An array relationship + """ signals( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [signals_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [signals_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: signals_bool_exp ): [signals!]! - """An aggregate relationship""" + """ + An aggregate relationship + """ signals_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [signals_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [signals_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: signals_bool_exp ): signals_aggregate! """ @@ -4856,15 +6526,25 @@ type query_root { input parameters for function "signals_from_following" """ args: signals_from_following_args! - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [signals_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [signals_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: signals_bool_exp ): [signals!]! """ @@ -4875,323 +6555,561 @@ type query_root { input parameters for function "signals_from_following_aggregate" """ args: signals_from_following_args! - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [signals_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [signals_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: signals_bool_exp ): signals_aggregate! - """fetch data from the table: "stats" using primary key columns""" + """ + fetch data from the table: "stats" using primary key columns + """ stat(id: Int!): stats - """fetch data from the table: "stats_hour" using primary key columns""" + """ + fetch data from the table: "stats_hour" using primary key columns + """ statHour(id: Int!): statHours """ fetch data from the table: "stats_hour" """ statHours( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [statHours_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [statHours_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: statHours_bool_exp ): [statHours!]! """ fetch data from the table: "stats" """ stats( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [stats_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [stats_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: stats_bool_exp ): [stats!]! """ fetch aggregated fields from the table: "stats" """ stats_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [stats_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [stats_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: stats_bool_exp ): stats_aggregate! - """fetch data from the table: "term" using primary key columns""" + """ + fetch data from the table: "term" using primary key columns + """ term(id: String!): terms """ fetch data from the table: "term_total_state_change_stats_daily" """ term_total_state_change_stats_daily( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [term_total_state_change_stats_daily_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [term_total_state_change_stats_daily_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: term_total_state_change_stats_daily_bool_exp ): [term_total_state_change_stats_daily!]! """ fetch data from the table: "term_total_state_change_stats_hourly" """ term_total_state_change_stats_hourly( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [term_total_state_change_stats_hourly_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [term_total_state_change_stats_hourly_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: term_total_state_change_stats_hourly_bool_exp ): [term_total_state_change_stats_hourly!]! """ fetch data from the table: "term_total_state_change_stats_monthly" """ term_total_state_change_stats_monthly( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [term_total_state_change_stats_monthly_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [term_total_state_change_stats_monthly_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: term_total_state_change_stats_monthly_bool_exp ): [term_total_state_change_stats_monthly!]! """ fetch data from the table: "term_total_state_change_stats_weekly" """ term_total_state_change_stats_weekly( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [term_total_state_change_stats_weekly_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [term_total_state_change_stats_weekly_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: term_total_state_change_stats_weekly_bool_exp ): [term_total_state_change_stats_weekly!]! - """An array relationship""" + """ + An array relationship + """ term_total_state_changes( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [term_total_state_changes_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [term_total_state_changes_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: term_total_state_changes_bool_exp ): [term_total_state_changes!]! """ fetch data from the table: "term" """ terms( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [terms_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [terms_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: terms_bool_exp ): [terms!]! """ fetch aggregated fields from the table: "term" """ terms_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [terms_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [terms_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: terms_bool_exp ): terms_aggregate! - """fetch data from the table: "text_object" using primary key columns""" + """ + fetch data from the table: "text_object" using primary key columns + """ text_object(id: String!): text_objects """ fetch data from the table: "text_object" """ text_objects( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [text_objects_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [text_objects_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: text_objects_bool_exp ): [text_objects!]! """ fetch aggregated fields from the table: "text_object" """ text_objects_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [text_objects_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [text_objects_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: text_objects_bool_exp ): text_objects_aggregate! - """fetch data from the table: "thing" using primary key columns""" + """ + fetch data from the table: "thing" using primary key columns + """ thing(id: String!): things """ fetch data from the table: "thing" """ things( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [things_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [things_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: things_bool_exp ): [things!]! """ fetch aggregated fields from the table: "thing" """ things_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [things_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [things_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: things_bool_exp ): things_aggregate! - """fetch data from the table: "triple" using primary key columns""" + """ + fetch data from the table: "triple" using primary key columns + """ triple(term_id: String!): triples - """fetch data from the table: "triple_term" using primary key columns""" + """ + fetch data from the table: "triple_term" using primary key columns + """ triple_term(term_id: String!): triple_term """ fetch data from the table: "triple_term" """ triple_terms( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [triple_term_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [triple_term_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: triple_term_bool_exp ): [triple_term!]! - """fetch data from the table: "triple_vault" using primary key columns""" + """ + fetch data from the table: "triple_vault" using primary key columns + """ triple_vault(curve_id: numeric!, term_id: String!): triple_vault """ fetch data from the table: "triple_vault" """ triple_vaults( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [triple_vault_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [triple_vault_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: triple_vault_bool_exp ): [triple_vault!]! - """An array relationship""" + """ + An array relationship + """ triples( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [triples_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [triples_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: triples_bool_exp ): [triples!]! - """An aggregate relationship""" + """ + An aggregate relationship + """ triples_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [triples_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [triples_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: triples_bool_exp ): triples_aggregate! - """fetch data from the table: "vault" using primary key columns""" + """ + fetch data from the table: "vault" using primary key columns + """ vault(curve_id: numeric!, term_id: String!): vaults - """An array relationship""" + """ + An array relationship + """ vaults( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [vaults_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [vaults_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: vaults_bool_exp ): [vaults!]! - """An aggregate relationship""" + """ + An aggregate relationship + """ vaults_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [vaults_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [vaults_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: vaults_bool_exp ): vaults_aggregate! } @@ -5207,19 +7125,27 @@ type redemptions { fees: numeric! id: String! log_index: bigint! - """An object relationship""" + """ + An object relationship + """ receiver: accounts! receiver_id: String! - """An object relationship""" + """ + An object relationship + """ sender: accounts sender_id: String! shares: numeric! - """An object relationship""" + """ + An object relationship + """ term: terms! term_id: String! total_shares: numeric! transaction_hash: String! - """An object relationship""" + """ + An object relationship + """ vault: vaults vault_type: vault_type! } @@ -5277,7 +7203,9 @@ input redemptions_aggregate_order_by { variance: redemptions_variance_order_by } -"""aggregate avg on columns""" +""" +aggregate avg on columns +""" type redemptions_avg_fields { assets: Float block_number: Float @@ -5328,7 +7256,9 @@ input redemptions_bool_exp { vault_type: vault_type_comparison_exp } -"""aggregate max on columns""" +""" +aggregate max on columns +""" type redemptions_max_fields { assets: numeric block_number: numeric @@ -5366,7 +7296,9 @@ input redemptions_max_order_by { vault_type: order_by } -"""aggregate min on columns""" +""" +aggregate min on columns +""" type redemptions_min_fields { assets: numeric block_number: numeric @@ -5404,7 +7336,9 @@ input redemptions_min_order_by { vault_type: order_by } -"""Ordering options when selecting data from "redemption".""" +""" +Ordering options when selecting data from "redemption". +""" input redemptions_order_by { assets: order_by block_number: order_by @@ -5430,37 +7364,67 @@ input redemptions_order_by { select columns of table "redemption" """ enum redemptions_select_column { - """column name""" + """ + column name + """ assets - """column name""" + """ + column name + """ block_number - """column name""" + """ + column name + """ created_at - """column name""" + """ + column name + """ curve_id - """column name""" + """ + column name + """ fees - """column name""" + """ + column name + """ id - """column name""" + """ + column name + """ log_index - """column name""" + """ + column name + """ receiver_id - """column name""" + """ + column name + """ sender_id - """column name""" + """ + column name + """ shares - """column name""" + """ + column name + """ term_id - """column name""" + """ + column name + """ total_shares - """column name""" + """ + column name + """ transaction_hash - """column name""" + """ + column name + """ vault_type } -"""aggregate stddev on columns""" +""" +aggregate stddev on columns +""" type redemptions_stddev_fields { assets: Float block_number: Float @@ -5484,7 +7448,9 @@ input redemptions_stddev_order_by { total_shares: order_by } -"""aggregate stddev_pop on columns""" +""" +aggregate stddev_pop on columns +""" type redemptions_stddev_pop_fields { assets: Float block_number: Float @@ -5508,7 +7474,9 @@ input redemptions_stddev_pop_order_by { total_shares: order_by } -"""aggregate stddev_samp on columns""" +""" +aggregate stddev_samp on columns +""" type redemptions_stddev_samp_fields { assets: Float block_number: Float @@ -5536,13 +7504,19 @@ input redemptions_stddev_samp_order_by { Streaming cursor of the table "redemptions" """ input redemptions_stream_cursor_input { - """Stream column input with initial value""" + """ + Stream column input with initial value + """ initial_value: redemptions_stream_cursor_value_input! - """cursor ordering""" + """ + cursor ordering + """ ordering: cursor_ordering } -"""Initial value of the column from where the streaming should start""" +""" +Initial value of the column from where the streaming should start +""" input redemptions_stream_cursor_value_input { assets: numeric block_number: numeric @@ -5560,7 +7534,9 @@ input redemptions_stream_cursor_value_input { vault_type: vault_type } -"""aggregate sum on columns""" +""" +aggregate sum on columns +""" type redemptions_sum_fields { assets: numeric block_number: numeric @@ -5584,7 +7560,9 @@ input redemptions_sum_order_by { total_shares: order_by } -"""aggregate var_pop on columns""" +""" +aggregate var_pop on columns +""" type redemptions_var_pop_fields { assets: Float block_number: Float @@ -5608,7 +7586,9 @@ input redemptions_var_pop_order_by { total_shares: order_by } -"""aggregate var_samp on columns""" +""" +aggregate var_samp on columns +""" type redemptions_var_samp_fields { assets: Float block_number: Float @@ -5632,7 +7612,9 @@ input redemptions_var_samp_order_by { total_shares: order_by } -"""aggregate variance on columns""" +""" +aggregate variance on columns +""" type redemptions_variance_fields { assets: Float block_number: Float @@ -5680,7 +7662,9 @@ type share_price_change_stats_daily { difference: numeric first_share_price: numeric last_share_price: numeric - """An object relationship""" + """ + An object relationship + """ term: terms term_id: String } @@ -5774,19 +7758,33 @@ input share_price_change_stats_daily_order_by { select columns of table "share_price_change_stats_daily" """ enum share_price_change_stats_daily_select_column { - """column name""" + """ + column name + """ bucket - """column name""" + """ + column name + """ change_count - """column name""" + """ + column name + """ curve_id - """column name""" + """ + column name + """ difference - """column name""" + """ + column name + """ first_share_price - """column name""" + """ + column name + """ last_share_price - """column name""" + """ + column name + """ term_id } @@ -5827,13 +7825,19 @@ input share_price_change_stats_daily_stddev_samp_order_by { Streaming cursor of the table "share_price_change_stats_daily" """ input share_price_change_stats_daily_stream_cursor_input { - """Stream column input with initial value""" + """ + Stream column input with initial value + """ initial_value: share_price_change_stats_daily_stream_cursor_value_input! - """cursor ordering""" + """ + cursor ordering + """ ordering: cursor_ordering } -"""Initial value of the column from where the streaming should start""" +""" +Initial value of the column from where the streaming should start +""" input share_price_change_stats_daily_stream_cursor_value_input { bucket: timestamptz change_count: numeric @@ -5898,7 +7902,9 @@ type share_price_change_stats_hourly { difference: numeric first_share_price: numeric last_share_price: numeric - """An object relationship""" + """ + An object relationship + """ term: terms term_id: String } @@ -5992,19 +7998,33 @@ input share_price_change_stats_hourly_order_by { select columns of table "share_price_change_stats_hourly" """ enum share_price_change_stats_hourly_select_column { - """column name""" + """ + column name + """ bucket - """column name""" + """ + column name + """ change_count - """column name""" + """ + column name + """ curve_id - """column name""" + """ + column name + """ difference - """column name""" + """ + column name + """ first_share_price - """column name""" + """ + column name + """ last_share_price - """column name""" + """ + column name + """ term_id } @@ -6045,13 +8065,19 @@ input share_price_change_stats_hourly_stddev_samp_order_by { Streaming cursor of the table "share_price_change_stats_hourly" """ input share_price_change_stats_hourly_stream_cursor_input { - """Stream column input with initial value""" + """ + Stream column input with initial value + """ initial_value: share_price_change_stats_hourly_stream_cursor_value_input! - """cursor ordering""" + """ + cursor ordering + """ ordering: cursor_ordering } -"""Initial value of the column from where the streaming should start""" +""" +Initial value of the column from where the streaming should start +""" input share_price_change_stats_hourly_stream_cursor_value_input { bucket: timestamptz change_count: bigint @@ -6116,7 +8142,9 @@ type share_price_change_stats_monthly { difference: numeric first_share_price: numeric last_share_price: numeric - """An object relationship""" + """ + An object relationship + """ term: terms term_id: String } @@ -6210,19 +8238,33 @@ input share_price_change_stats_monthly_order_by { select columns of table "share_price_change_stats_monthly" """ enum share_price_change_stats_monthly_select_column { - """column name""" + """ + column name + """ bucket - """column name""" + """ + column name + """ change_count - """column name""" + """ + column name + """ curve_id - """column name""" + """ + column name + """ difference - """column name""" + """ + column name + """ first_share_price - """column name""" + """ + column name + """ last_share_price - """column name""" + """ + column name + """ term_id } @@ -6263,13 +8305,19 @@ input share_price_change_stats_monthly_stddev_samp_order_by { Streaming cursor of the table "share_price_change_stats_monthly" """ input share_price_change_stats_monthly_stream_cursor_input { - """Stream column input with initial value""" + """ + Stream column input with initial value + """ initial_value: share_price_change_stats_monthly_stream_cursor_value_input! - """cursor ordering""" + """ + cursor ordering + """ ordering: cursor_ordering } -"""Initial value of the column from where the streaming should start""" +""" +Initial value of the column from where the streaming should start +""" input share_price_change_stats_monthly_stream_cursor_value_input { bucket: timestamptz change_count: numeric @@ -6334,7 +8382,9 @@ type share_price_change_stats_weekly { difference: numeric first_share_price: numeric last_share_price: numeric - """An object relationship""" + """ + An object relationship + """ term: terms term_id: String } @@ -6428,19 +8478,33 @@ input share_price_change_stats_weekly_order_by { select columns of table "share_price_change_stats_weekly" """ enum share_price_change_stats_weekly_select_column { - """column name""" + """ + column name + """ bucket - """column name""" + """ + column name + """ change_count - """column name""" + """ + column name + """ curve_id - """column name""" + """ + column name + """ difference - """column name""" + """ + column name + """ first_share_price - """column name""" + """ + column name + """ last_share_price - """column name""" + """ + column name + """ term_id } @@ -6481,13 +8545,19 @@ input share_price_change_stats_weekly_stddev_samp_order_by { Streaming cursor of the table "share_price_change_stats_weekly" """ input share_price_change_stats_weekly_stream_cursor_input { - """Stream column input with initial value""" + """ + Stream column input with initial value + """ initial_value: share_price_change_stats_weekly_stream_cursor_value_input! - """cursor ordering""" + """ + cursor ordering + """ ordering: cursor_ordering } -"""Initial value of the column from where the streaming should start""" +""" +Initial value of the column from where the streaming should start +""" input share_price_change_stats_weekly_stream_cursor_value_input { bucket: timestamptz change_count: numeric @@ -6552,14 +8622,18 @@ type share_price_changes { id: bigint! log_index: bigint! share_price: numeric! - """An object relationship""" + """ + An object relationship + """ term: terms! term_id: String! total_assets: numeric! total_shares: numeric! transaction_hash: String! updated_at: timestamptz! - """An object relationship""" + """ + An object relationship + """ vault: vaults vault_type: vault_type! } @@ -6617,7 +8691,9 @@ input share_price_changes_aggregate_order_by { variance: share_price_changes_variance_order_by } -"""aggregate avg on columns""" +""" +aggregate avg on columns +""" type share_price_changes_avg_fields { block_number: Float block_timestamp: Float @@ -6666,7 +8742,9 @@ input share_price_changes_bool_exp { vault_type: vault_type_comparison_exp } -"""aggregate max on columns""" +""" +aggregate max on columns +""" type share_price_changes_max_fields { block_number: numeric block_timestamp: bigint @@ -6700,7 +8778,9 @@ input share_price_changes_max_order_by { vault_type: order_by } -"""aggregate min on columns""" +""" +aggregate min on columns +""" type share_price_changes_min_fields { block_number: numeric block_timestamp: bigint @@ -6734,7 +8814,9 @@ input share_price_changes_min_order_by { vault_type: order_by } -"""Ordering options when selecting data from "share_price_change".""" +""" +Ordering options when selecting data from "share_price_change". +""" input share_price_changes_order_by { block_number: order_by block_timestamp: order_by @@ -6756,33 +8838,59 @@ input share_price_changes_order_by { select columns of table "share_price_change" """ enum share_price_changes_select_column { - """column name""" + """ + column name + """ block_number - """column name""" + """ + column name + """ block_timestamp - """column name""" + """ + column name + """ curve_id - """column name""" + """ + column name + """ id - """column name""" + """ + column name + """ log_index - """column name""" + """ + column name + """ share_price - """column name""" + """ + column name + """ term_id - """column name""" + """ + column name + """ total_assets - """column name""" + """ + column name + """ total_shares - """column name""" + """ + column name + """ transaction_hash - """column name""" + """ + column name + """ updated_at - """column name""" + """ + column name + """ vault_type } -"""aggregate stddev on columns""" +""" +aggregate stddev on columns +""" type share_price_changes_stddev_fields { block_number: Float block_timestamp: Float @@ -6808,7 +8916,9 @@ input share_price_changes_stddev_order_by { total_shares: order_by } -"""aggregate stddev_pop on columns""" +""" +aggregate stddev_pop on columns +""" type share_price_changes_stddev_pop_fields { block_number: Float block_timestamp: Float @@ -6834,7 +8944,9 @@ input share_price_changes_stddev_pop_order_by { total_shares: order_by } -"""aggregate stddev_samp on columns""" +""" +aggregate stddev_samp on columns +""" type share_price_changes_stddev_samp_fields { block_number: Float block_timestamp: Float @@ -6864,13 +8976,19 @@ input share_price_changes_stddev_samp_order_by { Streaming cursor of the table "share_price_changes" """ input share_price_changes_stream_cursor_input { - """Stream column input with initial value""" + """ + Stream column input with initial value + """ initial_value: share_price_changes_stream_cursor_value_input! - """cursor ordering""" + """ + cursor ordering + """ ordering: cursor_ordering } -"""Initial value of the column from where the streaming should start""" +""" +Initial value of the column from where the streaming should start +""" input share_price_changes_stream_cursor_value_input { block_number: numeric block_timestamp: bigint @@ -6886,7 +9004,9 @@ input share_price_changes_stream_cursor_value_input { vault_type: vault_type } -"""aggregate sum on columns""" +""" +aggregate sum on columns +""" type share_price_changes_sum_fields { block_number: numeric block_timestamp: bigint @@ -6912,7 +9032,9 @@ input share_price_changes_sum_order_by { total_shares: order_by } -"""aggregate var_pop on columns""" +""" +aggregate var_pop on columns +""" type share_price_changes_var_pop_fields { block_number: Float block_timestamp: Float @@ -6938,7 +9060,9 @@ input share_price_changes_var_pop_order_by { total_shares: order_by } -"""aggregate var_samp on columns""" +""" +aggregate var_samp on columns +""" type share_price_changes_var_samp_fields { block_number: Float block_timestamp: Float @@ -6964,7 +9088,9 @@ input share_price_changes_var_samp_order_by { total_shares: order_by } -"""aggregate variance on columns""" +""" +aggregate variance on columns +""" type share_price_changes_variance_fields { block_number: Float block_timestamp: Float @@ -6997,7 +9123,9 @@ type signal_stats_daily { bucket: timestamptz count: numeric curve_id: numeric - """An object relationship""" + """ + An object relationship + """ term: terms term_id: String volume: numeric @@ -7018,7 +9146,9 @@ input signal_stats_daily_bool_exp { volume: numeric_comparison_exp } -"""Ordering options when selecting data from "signal_stats_daily".""" +""" +Ordering options when selecting data from "signal_stats_daily". +""" input signal_stats_daily_order_by { bucket: order_by count: order_by @@ -7032,15 +9162,25 @@ input signal_stats_daily_order_by { select columns of table "signal_stats_daily" """ enum signal_stats_daily_select_column { - """column name""" + """ + column name + """ bucket - """column name""" + """ + column name + """ count - """column name""" + """ + column name + """ curve_id - """column name""" + """ + column name + """ term_id - """column name""" + """ + column name + """ volume } @@ -7048,13 +9188,19 @@ enum signal_stats_daily_select_column { Streaming cursor of the table "signal_stats_daily" """ input signal_stats_daily_stream_cursor_input { - """Stream column input with initial value""" + """ + Stream column input with initial value + """ initial_value: signal_stats_daily_stream_cursor_value_input! - """cursor ordering""" + """ + cursor ordering + """ ordering: cursor_ordering } -"""Initial value of the column from where the streaming should start""" +""" +Initial value of the column from where the streaming should start +""" input signal_stats_daily_stream_cursor_value_input { bucket: timestamptz count: numeric @@ -7070,7 +9216,9 @@ type signal_stats_hourly { bucket: timestamptz count: bigint curve_id: numeric - """An object relationship""" + """ + An object relationship + """ term: terms term_id: String volume: numeric @@ -7091,7 +9239,9 @@ input signal_stats_hourly_bool_exp { volume: numeric_comparison_exp } -"""Ordering options when selecting data from "signal_stats_hourly".""" +""" +Ordering options when selecting data from "signal_stats_hourly". +""" input signal_stats_hourly_order_by { bucket: order_by count: order_by @@ -7105,15 +9255,25 @@ input signal_stats_hourly_order_by { select columns of table "signal_stats_hourly" """ enum signal_stats_hourly_select_column { - """column name""" + """ + column name + """ bucket - """column name""" + """ + column name + """ count - """column name""" + """ + column name + """ curve_id - """column name""" + """ + column name + """ term_id - """column name""" + """ + column name + """ volume } @@ -7121,13 +9281,19 @@ enum signal_stats_hourly_select_column { Streaming cursor of the table "signal_stats_hourly" """ input signal_stats_hourly_stream_cursor_input { - """Stream column input with initial value""" + """ + Stream column input with initial value + """ initial_value: signal_stats_hourly_stream_cursor_value_input! - """cursor ordering""" + """ + cursor ordering + """ ordering: cursor_ordering } -"""Initial value of the column from where the streaming should start""" +""" +Initial value of the column from where the streaming should start +""" input signal_stats_hourly_stream_cursor_value_input { bucket: timestamptz count: bigint @@ -7143,7 +9309,9 @@ type signal_stats_monthly { bucket: timestamptz count: numeric curve_id: numeric - """An object relationship""" + """ + An object relationship + """ term: terms term_id: String volume: numeric @@ -7164,7 +9332,9 @@ input signal_stats_monthly_bool_exp { volume: numeric_comparison_exp } -"""Ordering options when selecting data from "signal_stats_monthly".""" +""" +Ordering options when selecting data from "signal_stats_monthly". +""" input signal_stats_monthly_order_by { bucket: order_by count: order_by @@ -7178,15 +9348,25 @@ input signal_stats_monthly_order_by { select columns of table "signal_stats_monthly" """ enum signal_stats_monthly_select_column { - """column name""" + """ + column name + """ bucket - """column name""" + """ + column name + """ count - """column name""" + """ + column name + """ curve_id - """column name""" + """ + column name + """ term_id - """column name""" + """ + column name + """ volume } @@ -7194,13 +9374,19 @@ enum signal_stats_monthly_select_column { Streaming cursor of the table "signal_stats_monthly" """ input signal_stats_monthly_stream_cursor_input { - """Stream column input with initial value""" + """ + Stream column input with initial value + """ initial_value: signal_stats_monthly_stream_cursor_value_input! - """cursor ordering""" + """ + cursor ordering + """ ordering: cursor_ordering } -"""Initial value of the column from where the streaming should start""" +""" +Initial value of the column from where the streaming should start +""" input signal_stats_monthly_stream_cursor_value_input { bucket: timestamptz count: numeric @@ -7216,7 +9402,9 @@ type signal_stats_weekly { bucket: timestamptz count: numeric curve_id: numeric - """An object relationship""" + """ + An object relationship + """ term: terms term_id: String volume: numeric @@ -7237,7 +9425,9 @@ input signal_stats_weekly_bool_exp { volume: numeric_comparison_exp } -"""Ordering options when selecting data from "signal_stats_weekly".""" +""" +Ordering options when selecting data from "signal_stats_weekly". +""" input signal_stats_weekly_order_by { bucket: order_by count: order_by @@ -7251,15 +9441,25 @@ input signal_stats_weekly_order_by { select columns of table "signal_stats_weekly" """ enum signal_stats_weekly_select_column { - """column name""" + """ + column name + """ bucket - """column name""" + """ + column name + """ count - """column name""" + """ + column name + """ curve_id - """column name""" + """ + column name + """ term_id - """column name""" + """ + column name + """ volume } @@ -7267,13 +9467,19 @@ enum signal_stats_weekly_select_column { Streaming cursor of the table "signal_stats_weekly" """ input signal_stats_weekly_stream_cursor_input { - """Stream column input with initial value""" + """ + Stream column input with initial value + """ initial_value: signal_stats_weekly_stream_cursor_value_input! - """cursor ordering""" + """ + cursor ordering + """ ordering: cursor_ordering } -"""Initial value of the column from where the streaming should start""" +""" +Initial value of the column from where the streaming should start +""" input signal_stats_weekly_stream_cursor_value_input { bucket: timestamptz count: numeric @@ -7286,7 +9492,9 @@ input signal_stats_weekly_stream_cursor_value_input { columns and relationships of "signal" """ type signals { - """An object relationship""" + """ + An object relationship + """ account: accounts account_id: String! atom_id: String @@ -7294,19 +9502,27 @@ type signals { created_at: timestamptz! curve_id: numeric! delta: numeric! - """An object relationship""" + """ + An object relationship + """ deposit: deposits deposit_id: String id: String! - """An object relationship""" + """ + An object relationship + """ redemption: redemptions redemption_id: String - """An object relationship""" + """ + An object relationship + """ term: terms! term_id: String! transaction_hash: String! triple_id: String - """An object relationship""" + """ + An object relationship + """ vault: vaults } @@ -7363,7 +9579,9 @@ input signals_aggregate_order_by { variance: signals_variance_order_by } -"""aggregate avg on columns""" +""" +aggregate avg on columns +""" type signals_avg_fields { block_number: Float curve_id: Float @@ -7409,7 +9627,9 @@ input signals_from_following_args { address: String } -"""aggregate max on columns""" +""" +aggregate max on columns +""" type signals_max_fields { account_id: String atom_id: String @@ -7443,7 +9663,9 @@ input signals_max_order_by { triple_id: order_by } -"""aggregate min on columns""" +""" +aggregate min on columns +""" type signals_min_fields { account_id: String atom_id: String @@ -7477,7 +9699,9 @@ input signals_min_order_by { triple_id: order_by } -"""Ordering options when selecting data from "signal".""" +""" +Ordering options when selecting data from "signal". +""" input signals_order_by { account: accounts_order_by account_id: order_by @@ -7502,33 +9726,59 @@ input signals_order_by { select columns of table "signal" """ enum signals_select_column { - """column name""" + """ + column name + """ account_id - """column name""" + """ + column name + """ atom_id - """column name""" + """ + column name + """ block_number - """column name""" + """ + column name + """ created_at - """column name""" + """ + column name + """ curve_id - """column name""" + """ + column name + """ delta - """column name""" + """ + column name + """ deposit_id - """column name""" + """ + column name + """ id - """column name""" + """ + column name + """ redemption_id - """column name""" + """ + column name + """ term_id - """column name""" + """ + column name + """ transaction_hash - """column name""" + """ + column name + """ triple_id } -"""aggregate stddev on columns""" +""" +aggregate stddev on columns +""" type signals_stddev_fields { block_number: Float curve_id: Float @@ -7544,7 +9794,9 @@ input signals_stddev_order_by { delta: order_by } -"""aggregate stddev_pop on columns""" +""" +aggregate stddev_pop on columns +""" type signals_stddev_pop_fields { block_number: Float curve_id: Float @@ -7560,7 +9812,9 @@ input signals_stddev_pop_order_by { delta: order_by } -"""aggregate stddev_samp on columns""" +""" +aggregate stddev_samp on columns +""" type signals_stddev_samp_fields { block_number: Float curve_id: Float @@ -7580,13 +9834,19 @@ input signals_stddev_samp_order_by { Streaming cursor of the table "signals" """ input signals_stream_cursor_input { - """Stream column input with initial value""" + """ + Stream column input with initial value + """ initial_value: signals_stream_cursor_value_input! - """cursor ordering""" + """ + cursor ordering + """ ordering: cursor_ordering } -"""Initial value of the column from where the streaming should start""" +""" +Initial value of the column from where the streaming should start +""" input signals_stream_cursor_value_input { account_id: String atom_id: String @@ -7602,7 +9862,9 @@ input signals_stream_cursor_value_input { triple_id: String } -"""aggregate sum on columns""" +""" +aggregate sum on columns +""" type signals_sum_fields { block_number: numeric curve_id: numeric @@ -7618,7 +9880,9 @@ input signals_sum_order_by { delta: order_by } -"""aggregate var_pop on columns""" +""" +aggregate var_pop on columns +""" type signals_var_pop_fields { block_number: Float curve_id: Float @@ -7634,7 +9898,9 @@ input signals_var_pop_order_by { delta: order_by } -"""aggregate var_samp on columns""" +""" +aggregate var_samp on columns +""" type signals_var_samp_fields { block_number: Float curve_id: Float @@ -7650,7 +9916,9 @@ input signals_var_samp_order_by { delta: order_by } -"""aggregate variance on columns""" +""" +aggregate variance on columns +""" type signals_variance_fields { block_number: Float curve_id: Float @@ -7699,7 +9967,9 @@ input statHours_bool_exp { total_triples: Int_comparison_exp } -"""Ordering options when selecting data from "stats_hour".""" +""" +Ordering options when selecting data from "stats_hour". +""" input statHours_order_by { contract_balance: order_by created_at: order_by @@ -7716,23 +9986,41 @@ input statHours_order_by { select columns of table "stats_hour" """ enum statHours_select_column { - """column name""" + """ + column name + """ contract_balance - """column name""" + """ + column name + """ created_at - """column name""" + """ + column name + """ id - """column name""" + """ + column name + """ total_accounts - """column name""" + """ + column name + """ total_atoms - """column name""" + """ + column name + """ total_fees - """column name""" + """ + column name + """ total_positions - """column name""" + """ + column name + """ total_signals - """column name""" + """ + column name + """ total_triples } @@ -7740,13 +10028,19 @@ enum statHours_select_column { Streaming cursor of the table "statHours" """ input statHours_stream_cursor_input { - """Stream column input with initial value""" + """ + Stream column input with initial value + """ initial_value: statHours_stream_cursor_value_input! - """cursor ordering""" + """ + cursor ordering + """ ordering: cursor_ordering } -"""Initial value of the column from where the streaming should start""" +""" +Initial value of the column from where the streaming should start +""" input statHours_stream_cursor_value_input { contract_balance: numeric created_at: timestamptz @@ -7801,7 +10095,9 @@ type stats_aggregate_fields { variance: stats_variance_fields } -"""aggregate avg on columns""" +""" +aggregate avg on columns +""" type stats_avg_fields { contract_balance: Float id: Float @@ -7834,7 +10130,9 @@ input stats_bool_exp { total_triples: Int_comparison_exp } -"""aggregate max on columns""" +""" +aggregate max on columns +""" type stats_max_fields { contract_balance: numeric id: Int @@ -7849,7 +10147,9 @@ type stats_max_fields { total_triples: Int } -"""aggregate min on columns""" +""" +aggregate min on columns +""" type stats_min_fields { contract_balance: numeric id: Int @@ -7864,7 +10164,9 @@ type stats_min_fields { total_triples: Int } -"""Ordering options when selecting data from "stats".""" +""" +Ordering options when selecting data from "stats". +""" input stats_order_by { contract_balance: order_by id: order_by @@ -7883,31 +10185,55 @@ input stats_order_by { select columns of table "stats" """ enum stats_select_column { - """column name""" + """ + column name + """ contract_balance - """column name""" + """ + column name + """ id - """column name""" + """ + column name + """ last_processed_block_number - """column name""" + """ + column name + """ last_processed_block_timestamp - """column name""" + """ + column name + """ last_updated - """column name""" + """ + column name + """ total_accounts - """column name""" + """ + column name + """ total_atoms - """column name""" + """ + column name + """ total_fees - """column name""" + """ + column name + """ total_positions - """column name""" + """ + column name + """ total_signals - """column name""" + """ + column name + """ total_triples } -"""aggregate stddev on columns""" +""" +aggregate stddev on columns +""" type stats_stddev_fields { contract_balance: Float id: Float @@ -7920,7 +10246,9 @@ type stats_stddev_fields { total_triples: Float } -"""aggregate stddev_pop on columns""" +""" +aggregate stddev_pop on columns +""" type stats_stddev_pop_fields { contract_balance: Float id: Float @@ -7933,7 +10261,9 @@ type stats_stddev_pop_fields { total_triples: Float } -"""aggregate stddev_samp on columns""" +""" +aggregate stddev_samp on columns +""" type stats_stddev_samp_fields { contract_balance: Float id: Float @@ -7950,13 +10280,19 @@ type stats_stddev_samp_fields { Streaming cursor of the table "stats" """ input stats_stream_cursor_input { - """Stream column input with initial value""" + """ + Stream column input with initial value + """ initial_value: stats_stream_cursor_value_input! - """cursor ordering""" + """ + cursor ordering + """ ordering: cursor_ordering } -"""Initial value of the column from where the streaming should start""" +""" +Initial value of the column from where the streaming should start +""" input stats_stream_cursor_value_input { contract_balance: numeric id: Int @@ -7971,7 +10307,9 @@ input stats_stream_cursor_value_input { total_triples: Int } -"""aggregate sum on columns""" +""" +aggregate sum on columns +""" type stats_sum_fields { contract_balance: numeric id: Int @@ -7984,7 +10322,9 @@ type stats_sum_fields { total_triples: Int } -"""aggregate var_pop on columns""" +""" +aggregate var_pop on columns +""" type stats_var_pop_fields { contract_balance: Float id: Float @@ -7997,7 +10337,9 @@ type stats_var_pop_fields { total_triples: Float } -"""aggregate var_samp on columns""" +""" +aggregate var_samp on columns +""" type stats_var_samp_fields { contract_balance: Float id: Float @@ -8010,7 +10352,9 @@ type stats_var_samp_fields { total_triples: Float } -"""aggregate variance on columns""" +""" +aggregate variance on columns +""" type stats_variance_fields { contract_balance: Float id: Float @@ -8024,226 +10368,384 @@ type stats_variance_fields { } type subscription_root { - """fetch data from the table: "account" using primary key columns""" + """ + fetch data from the table: "account" using primary key columns + """ account(id: String!): accounts - """An array relationship""" + """ + An array relationship + """ accounts( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [accounts_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [accounts_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: accounts_bool_exp ): [accounts!]! - """An aggregate relationship""" + """ + An aggregate relationship + """ accounts_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [accounts_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [accounts_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: accounts_bool_exp ): accounts_aggregate! """ fetch data from the table in a streaming manner: "account" """ accounts_stream( - """maximum number of rows returned in a single batch""" + """ + maximum number of rows returned in a single batch + """ batch_size: Int! - """cursor to stream the results returned by the query""" + """ + cursor to stream the results returned by the query + """ cursor: [accounts_stream_cursor_input]! - """filter the rows returned""" + """ + filter the rows returned + """ where: accounts_bool_exp ): [accounts!]! - """fetch data from the table: "atom" using primary key columns""" + """ + fetch data from the table: "atom" using primary key columns + """ atom(term_id: String!): atoms - """fetch data from the table: "atom_value" using primary key columns""" + """ + fetch data from the table: "atom_value" using primary key columns + """ atom_value(id: String!): atom_values """ fetch data from the table: "atom_value" """ atom_values( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [atom_values_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [atom_values_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: atom_values_bool_exp ): [atom_values!]! """ fetch aggregated fields from the table: "atom_value" """ atom_values_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [atom_values_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [atom_values_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: atom_values_bool_exp ): atom_values_aggregate! """ fetch data from the table in a streaming manner: "atom_value" """ atom_values_stream( - """maximum number of rows returned in a single batch""" + """ + maximum number of rows returned in a single batch + """ batch_size: Int! - """cursor to stream the results returned by the query""" + """ + cursor to stream the results returned by the query + """ cursor: [atom_values_stream_cursor_input]! - """filter the rows returned""" + """ + filter the rows returned + """ where: atom_values_bool_exp ): [atom_values!]! - """An array relationship""" + """ + An array relationship + """ atoms( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [atoms_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [atoms_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: atoms_bool_exp ): [atoms!]! - """An aggregate relationship""" + """ + An aggregate relationship + """ atoms_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [atoms_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [atoms_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: atoms_bool_exp ): atoms_aggregate! """ fetch data from the table in a streaming manner: "atom" """ atoms_stream( - """maximum number of rows returned in a single batch""" + """ + maximum number of rows returned in a single batch + """ batch_size: Int! - """cursor to stream the results returned by the query""" + """ + cursor to stream the results returned by the query + """ cursor: [atoms_stream_cursor_input]! - """filter the rows returned""" + """ + filter the rows returned + """ where: atoms_bool_exp ): [atoms!]! - """fetch data from the table: "book" using primary key columns""" + """ + fetch data from the table: "book" using primary key columns + """ book(id: String!): books """ fetch data from the table: "book" """ books( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [books_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [books_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: books_bool_exp ): [books!]! """ fetch aggregated fields from the table: "book" """ books_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [books_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [books_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: books_bool_exp ): books_aggregate! """ fetch data from the table in a streaming manner: "book" """ books_stream( - """maximum number of rows returned in a single batch""" + """ + maximum number of rows returned in a single batch + """ batch_size: Int! - """cursor to stream the results returned by the query""" + """ + cursor to stream the results returned by the query + """ cursor: [books_stream_cursor_input]! - """filter the rows returned""" + """ + filter the rows returned + """ where: books_bool_exp ): [books!]! """ fetch data from the table: "byte_object" """ byte_object( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [byte_object_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [byte_object_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: byte_object_bool_exp ): [byte_object!]! """ fetch aggregated fields from the table: "byte_object" """ byte_object_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [byte_object_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [byte_object_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: byte_object_bool_exp ): byte_object_aggregate! - """fetch data from the table: "byte_object" using primary key columns""" + """ + fetch data from the table: "byte_object" using primary key columns + """ byte_object_by_pk(id: String!): byte_object """ fetch data from the table in a streaming manner: "byte_object" """ byte_object_stream( - """maximum number of rows returned in a single batch""" + """ + maximum number of rows returned in a single batch + """ batch_size: Int! - """cursor to stream the results returned by the query""" + """ + cursor to stream the results returned by the query + """ cursor: [byte_object_stream_cursor_input]! - """filter the rows returned""" + """ + filter the rows returned + """ where: byte_object_bool_exp ): [byte_object!]! """ fetch data from the table: "cached_images.cached_image" """ cached_images_cached_image( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [cached_images_cached_image_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [cached_images_cached_image_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: cached_images_cached_image_bool_exp ): [cached_images_cached_image!]! """ @@ -8254,203 +10756,347 @@ type subscription_root { fetch data from the table in a streaming manner: "cached_images.cached_image" """ cached_images_cached_image_stream( - """maximum number of rows returned in a single batch""" + """ + maximum number of rows returned in a single batch + """ batch_size: Int! - """cursor to stream the results returned by the query""" + """ + cursor to stream the results returned by the query + """ cursor: [cached_images_cached_image_stream_cursor_input]! - """filter the rows returned""" + """ + filter the rows returned + """ where: cached_images_cached_image_bool_exp ): [cached_images_cached_image!]! - """fetch data from the table: "caip10" using primary key columns""" + """ + fetch data from the table: "caip10" using primary key columns + """ caip10(id: String!): caip10 """ fetch aggregated fields from the table: "caip10" """ caip10_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [caip10_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [caip10_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: caip10_bool_exp ): caip10_aggregate! """ fetch data from the table in a streaming manner: "caip10" """ caip10_stream( - """maximum number of rows returned in a single batch""" + """ + maximum number of rows returned in a single batch + """ batch_size: Int! - """cursor to stream the results returned by the query""" + """ + cursor to stream the results returned by the query + """ cursor: [caip10_stream_cursor_input]! - """filter the rows returned""" + """ + filter the rows returned + """ where: caip10_bool_exp ): [caip10!]! """ fetch data from the table: "caip10" """ caip10s( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [caip10_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [caip10_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: caip10_bool_exp ): [caip10!]! - """fetch data from the table: "chainlink_price" using primary key columns""" + """ + fetch data from the table: "chainlink_price" using primary key columns + """ chainlink_price(id: numeric!): chainlink_prices """ fetch data from the table: "chainlink_price" """ chainlink_prices( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [chainlink_prices_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [chainlink_prices_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: chainlink_prices_bool_exp ): [chainlink_prices!]! """ fetch data from the table in a streaming manner: "chainlink_price" """ chainlink_prices_stream( - """maximum number of rows returned in a single batch""" + """ + maximum number of rows returned in a single batch + """ batch_size: Int! - """cursor to stream the results returned by the query""" + """ + cursor to stream the results returned by the query + """ cursor: [chainlink_prices_stream_cursor_input]! - """filter the rows returned""" + """ + filter the rows returned + """ where: chainlink_prices_bool_exp ): [chainlink_prices!]! - """fetch data from the table: "deposit" using primary key columns""" + """ + fetch data from the table: "deposit" using primary key columns + """ deposit(id: String!): deposits - """An array relationship""" + """ + An array relationship + """ deposits( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [deposits_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [deposits_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: deposits_bool_exp ): [deposits!]! - """An aggregate relationship""" + """ + An aggregate relationship + """ deposits_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [deposits_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [deposits_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: deposits_bool_exp ): deposits_aggregate! """ fetch data from the table in a streaming manner: "deposit" """ deposits_stream( - """maximum number of rows returned in a single batch""" + """ + maximum number of rows returned in a single batch + """ batch_size: Int! - """cursor to stream the results returned by the query""" + """ + cursor to stream the results returned by the query + """ cursor: [deposits_stream_cursor_input]! - """filter the rows returned""" + """ + filter the rows returned + """ where: deposits_bool_exp ): [deposits!]! - """fetch data from the table: "event" using primary key columns""" + """ + fetch data from the table: "event" using primary key columns + """ event(id: String!): events """ fetch data from the table: "event" """ events( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [events_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [events_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: events_bool_exp ): [events!]! """ fetch aggregated fields from the table: "event" """ events_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [events_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [events_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: events_bool_exp ): events_aggregate! """ fetch data from the table in a streaming manner: "event" """ events_stream( - """maximum number of rows returned in a single batch""" + """ + maximum number of rows returned in a single batch + """ batch_size: Int! - """cursor to stream the results returned by the query""" + """ + cursor to stream the results returned by the query + """ cursor: [events_stream_cursor_input]! - """filter the rows returned""" + """ + filter the rows returned + """ where: events_bool_exp ): [events!]! - """fetch data from the table: "fee_transfer" using primary key columns""" + """ + fetch data from the table: "fee_transfer" using primary key columns + """ fee_transfer(id: String!): fee_transfers - """An array relationship""" + """ + An array relationship + """ fee_transfers( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [fee_transfers_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [fee_transfers_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: fee_transfers_bool_exp ): [fee_transfers!]! - """An aggregate relationship""" + """ + An aggregate relationship + """ fee_transfers_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [fee_transfers_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [fee_transfers_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: fee_transfers_bool_exp ): fee_transfers_aggregate! """ fetch data from the table in a streaming manner: "fee_transfer" """ fee_transfers_stream( - """maximum number of rows returned in a single batch""" + """ + maximum number of rows returned in a single batch + """ batch_size: Int! - """cursor to stream the results returned by the query""" + """ + cursor to stream the results returned by the query + """ cursor: [fee_transfers_stream_cursor_input]! - """filter the rows returned""" + """ + filter the rows returned + """ where: fee_transfers_bool_exp ): [fee_transfers!]! """ @@ -8461,15 +11107,25 @@ type subscription_root { input parameters for function "following" """ args: following_args! - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [accounts_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [accounts_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: accounts_bool_exp ): [accounts!]! """ @@ -8480,172 +11136,292 @@ type subscription_root { input parameters for function "following_aggregate" """ args: following_args! - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [accounts_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [accounts_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: accounts_bool_exp ): accounts_aggregate! - """fetch data from the table: "json_object" using primary key columns""" + """ + fetch data from the table: "json_object" using primary key columns + """ json_object(id: String!): json_objects """ fetch data from the table: "json_object" """ json_objects( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [json_objects_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [json_objects_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: json_objects_bool_exp ): [json_objects!]! """ fetch aggregated fields from the table: "json_object" """ json_objects_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [json_objects_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [json_objects_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: json_objects_bool_exp ): json_objects_aggregate! """ fetch data from the table in a streaming manner: "json_object" """ json_objects_stream( - """maximum number of rows returned in a single batch""" + """ + maximum number of rows returned in a single batch + """ batch_size: Int! - """cursor to stream the results returned by the query""" + """ + cursor to stream the results returned by the query + """ cursor: [json_objects_stream_cursor_input]! - """filter the rows returned""" + """ + filter the rows returned + """ where: json_objects_bool_exp ): [json_objects!]! - """fetch data from the table: "organization" using primary key columns""" + """ + fetch data from the table: "organization" using primary key columns + """ organization(id: String!): organizations """ fetch data from the table: "organization" """ organizations( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [organizations_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [organizations_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: organizations_bool_exp ): [organizations!]! """ fetch aggregated fields from the table: "organization" """ organizations_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [organizations_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [organizations_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: organizations_bool_exp ): organizations_aggregate! """ fetch data from the table in a streaming manner: "organization" """ organizations_stream( - """maximum number of rows returned in a single batch""" + """ + maximum number of rows returned in a single batch + """ batch_size: Int! - """cursor to stream the results returned by the query""" + """ + cursor to stream the results returned by the query + """ cursor: [organizations_stream_cursor_input]! - """filter the rows returned""" + """ + filter the rows returned + """ where: organizations_bool_exp ): [organizations!]! - """fetch data from the table: "person" using primary key columns""" + """ + fetch data from the table: "person" using primary key columns + """ person(id: String!): persons """ fetch data from the table: "person" """ persons( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [persons_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [persons_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: persons_bool_exp ): [persons!]! """ fetch aggregated fields from the table: "person" """ persons_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [persons_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [persons_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: persons_bool_exp ): persons_aggregate! """ fetch data from the table in a streaming manner: "person" """ persons_stream( - """maximum number of rows returned in a single batch""" + """ + maximum number of rows returned in a single batch + """ batch_size: Int! - """cursor to stream the results returned by the query""" + """ + cursor to stream the results returned by the query + """ cursor: [persons_stream_cursor_input]! - """filter the rows returned""" + """ + filter the rows returned + """ where: persons_bool_exp ): [persons!]! - """fetch data from the table: "position" using primary key columns""" + """ + fetch data from the table: "position" using primary key columns + """ position(id: String!): positions - """An array relationship""" + """ + An array relationship + """ positions( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [positions_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [positions_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: positions_bool_exp ): [positions!]! - """An aggregate relationship""" + """ + An aggregate relationship + """ positions_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [positions_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [positions_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: positions_bool_exp ): positions_aggregate! """ @@ -8656,15 +11432,25 @@ type subscription_root { input parameters for function "positions_from_following" """ args: positions_from_following_args! - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [positions_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [positions_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: positions_bool_exp ): [positions!]! """ @@ -8675,56 +11461,92 @@ type subscription_root { input parameters for function "positions_from_following_aggregate" """ args: positions_from_following_args! - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [positions_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [positions_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: positions_bool_exp ): positions_aggregate! """ fetch data from the table in a streaming manner: "position" """ positions_stream( - """maximum number of rows returned in a single batch""" + """ + maximum number of rows returned in a single batch + """ batch_size: Int! - """cursor to stream the results returned by the query""" + """ + cursor to stream the results returned by the query + """ cursor: [positions_stream_cursor_input]! - """filter the rows returned""" + """ + filter the rows returned + """ where: positions_bool_exp ): [positions!]! """ fetch data from the table: "predicate_object" """ predicate_objects( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [predicate_objects_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [predicate_objects_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: predicate_objects_bool_exp ): [predicate_objects!]! """ fetch aggregated fields from the table: "predicate_object" """ predicate_objects_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [predicate_objects_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [predicate_objects_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: predicate_objects_bool_exp ): predicate_objects_aggregate! """ @@ -8735,50 +11557,88 @@ type subscription_root { fetch data from the table in a streaming manner: "predicate_object" """ predicate_objects_stream( - """maximum number of rows returned in a single batch""" + """ + maximum number of rows returned in a single batch + """ batch_size: Int! - """cursor to stream the results returned by the query""" + """ + cursor to stream the results returned by the query + """ cursor: [predicate_objects_stream_cursor_input]! - """filter the rows returned""" + """ + filter the rows returned + """ where: predicate_objects_bool_exp ): [predicate_objects!]! - """fetch data from the table: "redemption" using primary key columns""" + """ + fetch data from the table: "redemption" using primary key columns + """ redemption(id: String!): redemptions - """An array relationship""" + """ + An array relationship + """ redemptions( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [redemptions_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [redemptions_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: redemptions_bool_exp ): [redemptions!]! - """An aggregate relationship""" + """ + An aggregate relationship + """ redemptions_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [redemptions_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [redemptions_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: redemptions_bool_exp ): redemptions_aggregate! """ fetch data from the table in a streaming manner: "redemption" """ redemptions_stream( - """maximum number of rows returned in a single batch""" + """ + maximum number of rows returned in a single batch + """ batch_size: Int! - """cursor to stream the results returned by the query""" + """ + cursor to stream the results returned by the query + """ cursor: [redemptions_stream_cursor_input]! - """filter the rows returned""" + """ + filter the rows returned + """ where: redemptions_bool_exp ): [redemptions!]! """ @@ -8789,15 +11649,25 @@ type subscription_root { input parameters for function "search_positions_on_subject" """ args: search_positions_on_subject_args! - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [positions_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [positions_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: positions_bool_exp ): [positions!]! """ @@ -8808,15 +11678,25 @@ type subscription_root { input parameters for function "search_positions_on_subject_aggregate" """ args: search_positions_on_subject_args! - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [positions_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [positions_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: positions_bool_exp ): positions_aggregate! """ @@ -8827,15 +11707,25 @@ type subscription_root { input parameters for function "search_term" """ args: search_term_args! - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [terms_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [terms_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: terms_bool_exp ): [terms!]! """ @@ -8846,15 +11736,25 @@ type subscription_root { input parameters for function "search_term_aggregate" """ args: search_term_args! - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [terms_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [terms_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: terms_bool_exp ): terms_aggregate! """ @@ -8865,15 +11765,25 @@ type subscription_root { input parameters for function "search_term_from_following" """ args: search_term_from_following_args! - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [terms_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [terms_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: terms_bool_exp ): [terms!]! """ @@ -8884,278 +11794,478 @@ type subscription_root { input parameters for function "search_term_from_following_aggregate" """ args: search_term_from_following_args! - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [terms_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [terms_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: terms_bool_exp ): terms_aggregate! - """An array relationship""" + """ + An array relationship + """ share_price_change_stats_daily( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [share_price_change_stats_daily_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [share_price_change_stats_daily_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: share_price_change_stats_daily_bool_exp ): [share_price_change_stats_daily!]! """ fetch data from the table in a streaming manner: "share_price_change_stats_daily" """ share_price_change_stats_daily_stream( - """maximum number of rows returned in a single batch""" + """ + maximum number of rows returned in a single batch + """ batch_size: Int! - """cursor to stream the results returned by the query""" + """ + cursor to stream the results returned by the query + """ cursor: [share_price_change_stats_daily_stream_cursor_input]! - """filter the rows returned""" + """ + filter the rows returned + """ where: share_price_change_stats_daily_bool_exp ): [share_price_change_stats_daily!]! - """An array relationship""" + """ + An array relationship + """ share_price_change_stats_hourly( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [share_price_change_stats_hourly_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [share_price_change_stats_hourly_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: share_price_change_stats_hourly_bool_exp ): [share_price_change_stats_hourly!]! """ fetch data from the table in a streaming manner: "share_price_change_stats_hourly" """ share_price_change_stats_hourly_stream( - """maximum number of rows returned in a single batch""" + """ + maximum number of rows returned in a single batch + """ batch_size: Int! - """cursor to stream the results returned by the query""" + """ + cursor to stream the results returned by the query + """ cursor: [share_price_change_stats_hourly_stream_cursor_input]! - """filter the rows returned""" + """ + filter the rows returned + """ where: share_price_change_stats_hourly_bool_exp ): [share_price_change_stats_hourly!]! - """An array relationship""" + """ + An array relationship + """ share_price_change_stats_monthly( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [share_price_change_stats_monthly_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [share_price_change_stats_monthly_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: share_price_change_stats_monthly_bool_exp ): [share_price_change_stats_monthly!]! """ fetch data from the table in a streaming manner: "share_price_change_stats_monthly" """ share_price_change_stats_monthly_stream( - """maximum number of rows returned in a single batch""" + """ + maximum number of rows returned in a single batch + """ batch_size: Int! - """cursor to stream the results returned by the query""" + """ + cursor to stream the results returned by the query + """ cursor: [share_price_change_stats_monthly_stream_cursor_input]! - """filter the rows returned""" + """ + filter the rows returned + """ where: share_price_change_stats_monthly_bool_exp ): [share_price_change_stats_monthly!]! - """An array relationship""" + """ + An array relationship + """ share_price_change_stats_weekly( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [share_price_change_stats_weekly_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [share_price_change_stats_weekly_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: share_price_change_stats_weekly_bool_exp ): [share_price_change_stats_weekly!]! """ fetch data from the table in a streaming manner: "share_price_change_stats_weekly" """ share_price_change_stats_weekly_stream( - """maximum number of rows returned in a single batch""" + """ + maximum number of rows returned in a single batch + """ batch_size: Int! - """cursor to stream the results returned by the query""" + """ + cursor to stream the results returned by the query + """ cursor: [share_price_change_stats_weekly_stream_cursor_input]! - """filter the rows returned""" + """ + filter the rows returned + """ where: share_price_change_stats_weekly_bool_exp ): [share_price_change_stats_weekly!]! - """An array relationship""" + """ + An array relationship + """ share_price_changes( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [share_price_changes_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [share_price_changes_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: share_price_changes_bool_exp ): [share_price_changes!]! - """An aggregate relationship""" + """ + An aggregate relationship + """ share_price_changes_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [share_price_changes_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [share_price_changes_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: share_price_changes_bool_exp ): share_price_changes_aggregate! """ fetch data from the table in a streaming manner: "share_price_change" """ share_price_changes_stream( - """maximum number of rows returned in a single batch""" + """ + maximum number of rows returned in a single batch + """ batch_size: Int! - """cursor to stream the results returned by the query""" + """ + cursor to stream the results returned by the query + """ cursor: [share_price_changes_stream_cursor_input]! - """filter the rows returned""" + """ + filter the rows returned + """ where: share_price_changes_bool_exp ): [share_price_changes!]! """ fetch data from the table: "signal_stats_daily" """ signal_stats_daily( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [signal_stats_daily_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [signal_stats_daily_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: signal_stats_daily_bool_exp ): [signal_stats_daily!]! """ fetch data from the table in a streaming manner: "signal_stats_daily" """ signal_stats_daily_stream( - """maximum number of rows returned in a single batch""" + """ + maximum number of rows returned in a single batch + """ batch_size: Int! - """cursor to stream the results returned by the query""" + """ + cursor to stream the results returned by the query + """ cursor: [signal_stats_daily_stream_cursor_input]! - """filter the rows returned""" + """ + filter the rows returned + """ where: signal_stats_daily_bool_exp ): [signal_stats_daily!]! """ fetch data from the table: "signal_stats_hourly" """ signal_stats_hourly( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [signal_stats_hourly_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [signal_stats_hourly_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: signal_stats_hourly_bool_exp ): [signal_stats_hourly!]! """ fetch data from the table in a streaming manner: "signal_stats_hourly" """ signal_stats_hourly_stream( - """maximum number of rows returned in a single batch""" + """ + maximum number of rows returned in a single batch + """ batch_size: Int! - """cursor to stream the results returned by the query""" + """ + cursor to stream the results returned by the query + """ cursor: [signal_stats_hourly_stream_cursor_input]! - """filter the rows returned""" + """ + filter the rows returned + """ where: signal_stats_hourly_bool_exp ): [signal_stats_hourly!]! """ fetch data from the table: "signal_stats_monthly" """ signal_stats_monthly( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [signal_stats_monthly_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [signal_stats_monthly_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: signal_stats_monthly_bool_exp ): [signal_stats_monthly!]! """ fetch data from the table in a streaming manner: "signal_stats_monthly" """ signal_stats_monthly_stream( - """maximum number of rows returned in a single batch""" + """ + maximum number of rows returned in a single batch + """ batch_size: Int! - """cursor to stream the results returned by the query""" + """ + cursor to stream the results returned by the query + """ cursor: [signal_stats_monthly_stream_cursor_input]! - """filter the rows returned""" + """ + filter the rows returned + """ where: signal_stats_monthly_bool_exp ): [signal_stats_monthly!]! """ fetch data from the table: "signal_stats_weekly" """ signal_stats_weekly( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [signal_stats_weekly_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [signal_stats_weekly_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: signal_stats_weekly_bool_exp ): [signal_stats_weekly!]! """ fetch data from the table in a streaming manner: "signal_stats_weekly" """ signal_stats_weekly_stream( - """maximum number of rows returned in a single batch""" + """ + maximum number of rows returned in a single batch + """ batch_size: Int! - """cursor to stream the results returned by the query""" + """ + cursor to stream the results returned by the query + """ cursor: [signal_stats_weekly_stream_cursor_input]! - """filter the rows returned""" + """ + filter the rows returned + """ where: signal_stats_weekly_bool_exp ): [signal_stats_weekly!]! - """An array relationship""" + """ + An array relationship + """ signals( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [signals_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [signals_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: signals_bool_exp ): [signals!]! - """An aggregate relationship""" + """ + An aggregate relationship + """ signals_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [signals_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [signals_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: signals_bool_exp ): signals_aggregate! """ @@ -9166,15 +12276,25 @@ type subscription_root { input parameters for function "signals_from_following" """ args: signals_from_following_args! - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [signals_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [signals_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: signals_bool_exp ): [signals!]! """ @@ -9185,488 +12305,816 @@ type subscription_root { input parameters for function "signals_from_following_aggregate" """ args: signals_from_following_args! - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [signals_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [signals_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: signals_bool_exp ): signals_aggregate! """ fetch data from the table in a streaming manner: "signal" """ signals_stream( - """maximum number of rows returned in a single batch""" + """ + maximum number of rows returned in a single batch + """ batch_size: Int! - """cursor to stream the results returned by the query""" + """ + cursor to stream the results returned by the query + """ cursor: [signals_stream_cursor_input]! - """filter the rows returned""" + """ + filter the rows returned + """ where: signals_bool_exp ): [signals!]! - """fetch data from the table: "stats" using primary key columns""" + """ + fetch data from the table: "stats" using primary key columns + """ stat(id: Int!): stats - """fetch data from the table: "stats_hour" using primary key columns""" + """ + fetch data from the table: "stats_hour" using primary key columns + """ statHour(id: Int!): statHours """ fetch data from the table: "stats_hour" """ statHours( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [statHours_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [statHours_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: statHours_bool_exp ): [statHours!]! """ fetch data from the table in a streaming manner: "stats_hour" """ statHours_stream( - """maximum number of rows returned in a single batch""" + """ + maximum number of rows returned in a single batch + """ batch_size: Int! - """cursor to stream the results returned by the query""" + """ + cursor to stream the results returned by the query + """ cursor: [statHours_stream_cursor_input]! - """filter the rows returned""" + """ + filter the rows returned + """ where: statHours_bool_exp ): [statHours!]! """ fetch data from the table: "stats" """ stats( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [stats_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [stats_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: stats_bool_exp ): [stats!]! """ fetch aggregated fields from the table: "stats" """ stats_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [stats_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [stats_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: stats_bool_exp ): stats_aggregate! """ fetch data from the table in a streaming manner: "stats" """ stats_stream( - """maximum number of rows returned in a single batch""" + """ + maximum number of rows returned in a single batch + """ batch_size: Int! - """cursor to stream the results returned by the query""" + """ + cursor to stream the results returned by the query + """ cursor: [stats_stream_cursor_input]! - """filter the rows returned""" + """ + filter the rows returned + """ where: stats_bool_exp ): [stats!]! - """fetch data from the table: "term" using primary key columns""" + """ + fetch data from the table: "term" using primary key columns + """ term(id: String!): terms """ fetch data from the table: "term_total_state_change_stats_daily" """ term_total_state_change_stats_daily( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [term_total_state_change_stats_daily_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [term_total_state_change_stats_daily_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: term_total_state_change_stats_daily_bool_exp ): [term_total_state_change_stats_daily!]! """ fetch data from the table in a streaming manner: "term_total_state_change_stats_daily" """ term_total_state_change_stats_daily_stream( - """maximum number of rows returned in a single batch""" + """ + maximum number of rows returned in a single batch + """ batch_size: Int! - """cursor to stream the results returned by the query""" + """ + cursor to stream the results returned by the query + """ cursor: [term_total_state_change_stats_daily_stream_cursor_input]! - """filter the rows returned""" + """ + filter the rows returned + """ where: term_total_state_change_stats_daily_bool_exp ): [term_total_state_change_stats_daily!]! """ fetch data from the table: "term_total_state_change_stats_hourly" """ term_total_state_change_stats_hourly( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [term_total_state_change_stats_hourly_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [term_total_state_change_stats_hourly_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: term_total_state_change_stats_hourly_bool_exp ): [term_total_state_change_stats_hourly!]! """ fetch data from the table in a streaming manner: "term_total_state_change_stats_hourly" """ term_total_state_change_stats_hourly_stream( - """maximum number of rows returned in a single batch""" + """ + maximum number of rows returned in a single batch + """ batch_size: Int! - """cursor to stream the results returned by the query""" + """ + cursor to stream the results returned by the query + """ cursor: [term_total_state_change_stats_hourly_stream_cursor_input]! - """filter the rows returned""" + """ + filter the rows returned + """ where: term_total_state_change_stats_hourly_bool_exp ): [term_total_state_change_stats_hourly!]! """ fetch data from the table: "term_total_state_change_stats_monthly" """ term_total_state_change_stats_monthly( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [term_total_state_change_stats_monthly_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [term_total_state_change_stats_monthly_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: term_total_state_change_stats_monthly_bool_exp ): [term_total_state_change_stats_monthly!]! """ fetch data from the table in a streaming manner: "term_total_state_change_stats_monthly" """ term_total_state_change_stats_monthly_stream( - """maximum number of rows returned in a single batch""" + """ + maximum number of rows returned in a single batch + """ batch_size: Int! - """cursor to stream the results returned by the query""" + """ + cursor to stream the results returned by the query + """ cursor: [term_total_state_change_stats_monthly_stream_cursor_input]! - """filter the rows returned""" + """ + filter the rows returned + """ where: term_total_state_change_stats_monthly_bool_exp ): [term_total_state_change_stats_monthly!]! """ fetch data from the table: "term_total_state_change_stats_weekly" """ term_total_state_change_stats_weekly( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [term_total_state_change_stats_weekly_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [term_total_state_change_stats_weekly_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: term_total_state_change_stats_weekly_bool_exp ): [term_total_state_change_stats_weekly!]! """ fetch data from the table in a streaming manner: "term_total_state_change_stats_weekly" """ term_total_state_change_stats_weekly_stream( - """maximum number of rows returned in a single batch""" + """ + maximum number of rows returned in a single batch + """ batch_size: Int! - """cursor to stream the results returned by the query""" + """ + cursor to stream the results returned by the query + """ cursor: [term_total_state_change_stats_weekly_stream_cursor_input]! - """filter the rows returned""" + """ + filter the rows returned + """ where: term_total_state_change_stats_weekly_bool_exp ): [term_total_state_change_stats_weekly!]! - """An array relationship""" + """ + An array relationship + """ term_total_state_changes( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [term_total_state_changes_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [term_total_state_changes_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: term_total_state_changes_bool_exp ): [term_total_state_changes!]! """ fetch data from the table in a streaming manner: "term_total_state_change" """ term_total_state_changes_stream( - """maximum number of rows returned in a single batch""" + """ + maximum number of rows returned in a single batch + """ batch_size: Int! - """cursor to stream the results returned by the query""" + """ + cursor to stream the results returned by the query + """ cursor: [term_total_state_changes_stream_cursor_input]! - """filter the rows returned""" + """ + filter the rows returned + """ where: term_total_state_changes_bool_exp ): [term_total_state_changes!]! """ fetch data from the table: "term" """ terms( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [terms_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [terms_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: terms_bool_exp ): [terms!]! """ fetch aggregated fields from the table: "term" """ terms_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [terms_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [terms_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: terms_bool_exp ): terms_aggregate! """ fetch data from the table in a streaming manner: "term" """ terms_stream( - """maximum number of rows returned in a single batch""" + """ + maximum number of rows returned in a single batch + """ batch_size: Int! - """cursor to stream the results returned by the query""" + """ + cursor to stream the results returned by the query + """ cursor: [terms_stream_cursor_input]! - """filter the rows returned""" + """ + filter the rows returned + """ where: terms_bool_exp ): [terms!]! - """fetch data from the table: "text_object" using primary key columns""" + """ + fetch data from the table: "text_object" using primary key columns + """ text_object(id: String!): text_objects """ fetch data from the table: "text_object" """ text_objects( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [text_objects_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [text_objects_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: text_objects_bool_exp ): [text_objects!]! """ fetch aggregated fields from the table: "text_object" """ text_objects_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [text_objects_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [text_objects_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: text_objects_bool_exp ): text_objects_aggregate! """ fetch data from the table in a streaming manner: "text_object" """ text_objects_stream( - """maximum number of rows returned in a single batch""" + """ + maximum number of rows returned in a single batch + """ batch_size: Int! - """cursor to stream the results returned by the query""" + """ + cursor to stream the results returned by the query + """ cursor: [text_objects_stream_cursor_input]! - """filter the rows returned""" + """ + filter the rows returned + """ where: text_objects_bool_exp ): [text_objects!]! - """fetch data from the table: "thing" using primary key columns""" + """ + fetch data from the table: "thing" using primary key columns + """ thing(id: String!): things """ fetch data from the table: "thing" """ things( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [things_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [things_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: things_bool_exp ): [things!]! """ fetch aggregated fields from the table: "thing" """ things_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [things_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [things_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: things_bool_exp ): things_aggregate! """ fetch data from the table in a streaming manner: "thing" """ things_stream( - """maximum number of rows returned in a single batch""" + """ + maximum number of rows returned in a single batch + """ batch_size: Int! - """cursor to stream the results returned by the query""" + """ + cursor to stream the results returned by the query + """ cursor: [things_stream_cursor_input]! - """filter the rows returned""" + """ + filter the rows returned + """ where: things_bool_exp ): [things!]! - """fetch data from the table: "triple" using primary key columns""" + """ + fetch data from the table: "triple" using primary key columns + """ triple(term_id: String!): triples - """fetch data from the table: "triple_term" using primary key columns""" + """ + fetch data from the table: "triple_term" using primary key columns + """ triple_term(term_id: String!): triple_term """ fetch data from the table in a streaming manner: "triple_term" """ triple_term_stream( - """maximum number of rows returned in a single batch""" + """ + maximum number of rows returned in a single batch + """ batch_size: Int! - """cursor to stream the results returned by the query""" + """ + cursor to stream the results returned by the query + """ cursor: [triple_term_stream_cursor_input]! - """filter the rows returned""" + """ + filter the rows returned + """ where: triple_term_bool_exp ): [triple_term!]! """ fetch data from the table: "triple_term" """ triple_terms( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [triple_term_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [triple_term_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: triple_term_bool_exp ): [triple_term!]! - """fetch data from the table: "triple_vault" using primary key columns""" + """ + fetch data from the table: "triple_vault" using primary key columns + """ triple_vault(curve_id: numeric!, term_id: String!): triple_vault """ fetch data from the table in a streaming manner: "triple_vault" """ triple_vault_stream( - """maximum number of rows returned in a single batch""" + """ + maximum number of rows returned in a single batch + """ batch_size: Int! - """cursor to stream the results returned by the query""" + """ + cursor to stream the results returned by the query + """ cursor: [triple_vault_stream_cursor_input]! - """filter the rows returned""" + """ + filter the rows returned + """ where: triple_vault_bool_exp ): [triple_vault!]! """ fetch data from the table: "triple_vault" """ triple_vaults( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [triple_vault_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [triple_vault_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: triple_vault_bool_exp ): [triple_vault!]! - """An array relationship""" + """ + An array relationship + """ triples( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [triples_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [triples_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: triples_bool_exp ): [triples!]! - """An aggregate relationship""" + """ + An aggregate relationship + """ triples_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [triples_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [triples_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: triples_bool_exp ): triples_aggregate! """ fetch data from the table in a streaming manner: "triple" """ triples_stream( - """maximum number of rows returned in a single batch""" + """ + maximum number of rows returned in a single batch + """ batch_size: Int! - """cursor to stream the results returned by the query""" + """ + cursor to stream the results returned by the query + """ cursor: [triples_stream_cursor_input]! - """filter the rows returned""" + """ + filter the rows returned + """ where: triples_bool_exp ): [triples!]! - """fetch data from the table: "vault" using primary key columns""" + """ + fetch data from the table: "vault" using primary key columns + """ vault(curve_id: numeric!, term_id: String!): vaults - """An array relationship""" + """ + An array relationship + """ vaults( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [vaults_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [vaults_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: vaults_bool_exp ): [vaults!]! - """An aggregate relationship""" + """ + An aggregate relationship + """ vaults_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [vaults_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [vaults_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: vaults_bool_exp ): vaults_aggregate! """ fetch data from the table in a streaming manner: "vault" """ vaults_stream( - """maximum number of rows returned in a single batch""" + """ + maximum number of rows returned in a single batch + """ batch_size: Int! - """cursor to stream the results returned by the query""" + """ + cursor to stream the results returned by the query + """ cursor: [vaults_stream_cursor_input]! - """filter the rows returned""" + """ + filter the rows returned + """ where: vaults_bool_exp ): [vaults!]! } @@ -9759,15 +13207,25 @@ input term_total_state_change_stats_daily_order_by { select columns of table "term_total_state_change_stats_daily" """ enum term_total_state_change_stats_daily_select_column { - """column name""" + """ + column name + """ bucket - """column name""" + """ + column name + """ difference - """column name""" + """ + column name + """ first_total_market_cap - """column name""" + """ + column name + """ last_total_market_cap - """column name""" + """ + column name + """ term_id } @@ -9802,13 +13260,19 @@ input term_total_state_change_stats_daily_stddev_samp_order_by { Streaming cursor of the table "term_total_state_change_stats_daily" """ input term_total_state_change_stats_daily_stream_cursor_input { - """Stream column input with initial value""" + """ + Stream column input with initial value + """ initial_value: term_total_state_change_stats_daily_stream_cursor_value_input! - """cursor ordering""" + """ + cursor ordering + """ ordering: cursor_ordering } -"""Initial value of the column from where the streaming should start""" +""" +Initial value of the column from where the streaming should start +""" input term_total_state_change_stats_daily_stream_cursor_value_input { bucket: timestamptz difference: numeric @@ -9941,15 +13405,25 @@ input term_total_state_change_stats_hourly_order_by { select columns of table "term_total_state_change_stats_hourly" """ enum term_total_state_change_stats_hourly_select_column { - """column name""" + """ + column name + """ bucket - """column name""" + """ + column name + """ difference - """column name""" + """ + column name + """ first_total_market_cap - """column name""" + """ + column name + """ last_total_market_cap - """column name""" + """ + column name + """ term_id } @@ -9984,13 +13458,19 @@ input term_total_state_change_stats_hourly_stddev_samp_order_by { Streaming cursor of the table "term_total_state_change_stats_hourly" """ input term_total_state_change_stats_hourly_stream_cursor_input { - """Stream column input with initial value""" + """ + Stream column input with initial value + """ initial_value: term_total_state_change_stats_hourly_stream_cursor_value_input! - """cursor ordering""" + """ + cursor ordering + """ ordering: cursor_ordering } -"""Initial value of the column from where the streaming should start""" +""" +Initial value of the column from where the streaming should start +""" input term_total_state_change_stats_hourly_stream_cursor_value_input { bucket: timestamptz difference: numeric @@ -10123,15 +13603,25 @@ input term_total_state_change_stats_monthly_order_by { select columns of table "term_total_state_change_stats_monthly" """ enum term_total_state_change_stats_monthly_select_column { - """column name""" + """ + column name + """ bucket - """column name""" + """ + column name + """ difference - """column name""" + """ + column name + """ first_total_market_cap - """column name""" + """ + column name + """ last_total_market_cap - """column name""" + """ + column name + """ term_id } @@ -10166,13 +13656,19 @@ input term_total_state_change_stats_monthly_stddev_samp_order_by { Streaming cursor of the table "term_total_state_change_stats_monthly" """ input term_total_state_change_stats_monthly_stream_cursor_input { - """Stream column input with initial value""" + """ + Stream column input with initial value + """ initial_value: term_total_state_change_stats_monthly_stream_cursor_value_input! - """cursor ordering""" + """ + cursor ordering + """ ordering: cursor_ordering } -"""Initial value of the column from where the streaming should start""" +""" +Initial value of the column from where the streaming should start +""" input term_total_state_change_stats_monthly_stream_cursor_value_input { bucket: timestamptz difference: numeric @@ -10305,15 +13801,25 @@ input term_total_state_change_stats_weekly_order_by { select columns of table "term_total_state_change_stats_weekly" """ enum term_total_state_change_stats_weekly_select_column { - """column name""" + """ + column name + """ bucket - """column name""" + """ + column name + """ difference - """column name""" + """ + column name + """ first_total_market_cap - """column name""" + """ + column name + """ last_total_market_cap - """column name""" + """ + column name + """ term_id } @@ -10348,13 +13854,19 @@ input term_total_state_change_stats_weekly_stddev_samp_order_by { Streaming cursor of the table "term_total_state_change_stats_weekly" """ input term_total_state_change_stats_weekly_stream_cursor_input { - """Stream column input with initial value""" + """ + Stream column input with initial value + """ initial_value: term_total_state_change_stats_weekly_stream_cursor_value_input! - """cursor ordering""" + """ + cursor ordering + """ ordering: cursor_ordering } -"""Initial value of the column from where the streaming should start""" +""" +Initial value of the column from where the streaming should start +""" input term_total_state_change_stats_weekly_stream_cursor_value_input { bucket: timestamptz difference: numeric @@ -10467,7 +13979,9 @@ input term_total_state_changes_min_order_by { total_market_cap: order_by } -"""Ordering options when selecting data from "term_total_state_change".""" +""" +Ordering options when selecting data from "term_total_state_change". +""" input term_total_state_changes_order_by { created_at: order_by term_id: order_by @@ -10479,13 +13993,21 @@ input term_total_state_changes_order_by { select columns of table "term_total_state_change" """ enum term_total_state_changes_select_column { - """column name""" + """ + column name + """ created_at - """column name""" + """ + column name + """ term_id - """column name""" + """ + column name + """ total_assets - """column name""" + """ + column name + """ total_market_cap } @@ -10517,13 +14039,19 @@ input term_total_state_changes_stddev_samp_order_by { Streaming cursor of the table "term_total_state_changes" """ input term_total_state_changes_stream_cursor_input { - """Stream column input with initial value""" + """ + Stream column input with initial value + """ initial_value: term_total_state_changes_stream_cursor_value_input! - """cursor ordering""" + """ + cursor ordering + """ ordering: cursor_ordering } -"""Initial value of the column from where the streaming should start""" +""" +Initial value of the column from where the streaming should start +""" input term_total_state_changes_stream_cursor_value_input { created_at: timestamptz term_id: String @@ -10584,292 +14112,552 @@ input term_type_comparison_exp { columns and relationships of "term" """ type terms { - """An object relationship""" + """ + An object relationship + """ atom: atoms - """An object relationship""" + """ + An object relationship + """ atomById: atoms atom_id: String - """An array relationship""" + """ + An array relationship + """ deposits( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [deposits_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [deposits_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: deposits_bool_exp ): [deposits!]! - """An aggregate relationship""" + """ + An aggregate relationship + """ deposits_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [deposits_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [deposits_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: deposits_bool_exp ): deposits_aggregate! id: String! - """An array relationship""" + """ + An array relationship + """ positions( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [positions_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [positions_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: positions_bool_exp ): [positions!]! - """An aggregate relationship""" + """ + An aggregate relationship + """ positions_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [positions_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [positions_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: positions_bool_exp ): positions_aggregate! - """An array relationship""" + """ + An array relationship + """ redemptions( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [redemptions_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [redemptions_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: redemptions_bool_exp ): [redemptions!]! - """An aggregate relationship""" + """ + An aggregate relationship + """ redemptions_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [redemptions_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [redemptions_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: redemptions_bool_exp ): redemptions_aggregate! - """An array relationship""" + """ + An array relationship + """ share_price_change_stats_daily( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [share_price_change_stats_daily_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [share_price_change_stats_daily_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: share_price_change_stats_daily_bool_exp ): [share_price_change_stats_daily!]! - """An array relationship""" + """ + An array relationship + """ share_price_change_stats_hourly( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [share_price_change_stats_hourly_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [share_price_change_stats_hourly_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: share_price_change_stats_hourly_bool_exp ): [share_price_change_stats_hourly!]! - """An array relationship""" + """ + An array relationship + """ share_price_change_stats_monthly( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [share_price_change_stats_monthly_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [share_price_change_stats_monthly_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: share_price_change_stats_monthly_bool_exp ): [share_price_change_stats_monthly!]! - """An array relationship""" + """ + An array relationship + """ share_price_change_stats_weekly( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [share_price_change_stats_weekly_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [share_price_change_stats_weekly_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: share_price_change_stats_weekly_bool_exp ): [share_price_change_stats_weekly!]! - """An array relationship""" + """ + An array relationship + """ share_price_changes( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [share_price_changes_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [share_price_changes_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: share_price_changes_bool_exp ): [share_price_changes!]! - """An aggregate relationship""" + """ + An aggregate relationship + """ share_price_changes_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [share_price_changes_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [share_price_changes_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: share_price_changes_bool_exp ): share_price_changes_aggregate! - """An array relationship""" + """ + An array relationship + """ signals( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [signals_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [signals_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: signals_bool_exp ): [signals!]! - """An aggregate relationship""" + """ + An aggregate relationship + """ signals_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [signals_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [signals_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: signals_bool_exp ): signals_aggregate! - """An array relationship""" + """ + An array relationship + """ term_total_state_change_daily( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [term_total_state_change_stats_daily_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [term_total_state_change_stats_daily_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: term_total_state_change_stats_daily_bool_exp ): [term_total_state_change_stats_daily!]! - """An array relationship""" + """ + An array relationship + """ term_total_state_change_hourly( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [term_total_state_change_stats_hourly_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [term_total_state_change_stats_hourly_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: term_total_state_change_stats_hourly_bool_exp ): [term_total_state_change_stats_hourly!]! - """An array relationship""" + """ + An array relationship + """ term_total_state_change_monthly( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [term_total_state_change_stats_monthly_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [term_total_state_change_stats_monthly_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: term_total_state_change_stats_monthly_bool_exp ): [term_total_state_change_stats_monthly!]! - """An array relationship""" + """ + An array relationship + """ term_total_state_change_weekly( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [term_total_state_change_stats_weekly_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [term_total_state_change_stats_weekly_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: term_total_state_change_stats_weekly_bool_exp ): [term_total_state_change_stats_weekly!]! - """An array relationship""" + """ + An array relationship + """ term_total_state_changes( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [term_total_state_changes_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [term_total_state_changes_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: term_total_state_changes_bool_exp ): [term_total_state_changes!]! total_assets: numeric total_market_cap: numeric - """An object relationship""" + """ + An object relationship + """ triple: triples - """An object relationship""" + """ + An object relationship + """ tripleById: triples triple_id: String type: term_type! updated_at: timestamptz! - """An array relationship""" + """ + An array relationship + """ vaults( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [vaults_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [vaults_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: vaults_bool_exp ): [vaults!]! - """An aggregate relationship""" + """ + An aggregate relationship + """ vaults_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [vaults_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [vaults_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: vaults_bool_exp ): vaults_aggregate! } @@ -10896,7 +14684,9 @@ type terms_aggregate_fields { variance: terms_variance_fields } -"""aggregate avg on columns""" +""" +aggregate avg on columns +""" type terms_avg_fields { total_assets: Float total_market_cap: Float @@ -10943,7 +14733,9 @@ input terms_bool_exp { vaults_aggregate: vaults_aggregate_bool_exp } -"""aggregate max on columns""" +""" +aggregate max on columns +""" type terms_max_fields { atom_id: String id: String @@ -10954,7 +14746,9 @@ type terms_max_fields { updated_at: timestamptz } -"""aggregate min on columns""" +""" +aggregate min on columns +""" type terms_min_fields { atom_id: String id: String @@ -10965,7 +14759,9 @@ type terms_min_fields { updated_at: timestamptz } -"""Ordering options when selecting data from "term".""" +""" +Ordering options when selecting data from "term". +""" input terms_order_by { atom: atoms_order_by atomById: atoms_order_by @@ -10999,35 +14795,55 @@ input terms_order_by { select columns of table "term" """ enum terms_select_column { - """column name""" + """ + column name + """ atom_id - """column name""" + """ + column name + """ id - """column name""" + """ + column name + """ total_assets - """column name""" + """ + column name + """ total_market_cap - """column name""" + """ + column name + """ triple_id - """column name""" + """ + column name + """ type - """column name""" + """ + column name + """ updated_at } -"""aggregate stddev on columns""" +""" +aggregate stddev on columns +""" type terms_stddev_fields { total_assets: Float total_market_cap: Float } -"""aggregate stddev_pop on columns""" +""" +aggregate stddev_pop on columns +""" type terms_stddev_pop_fields { total_assets: Float total_market_cap: Float } -"""aggregate stddev_samp on columns""" +""" +aggregate stddev_samp on columns +""" type terms_stddev_samp_fields { total_assets: Float total_market_cap: Float @@ -11037,13 +14853,19 @@ type terms_stddev_samp_fields { Streaming cursor of the table "terms" """ input terms_stream_cursor_input { - """Stream column input with initial value""" + """ + Stream column input with initial value + """ initial_value: terms_stream_cursor_value_input! - """cursor ordering""" + """ + cursor ordering + """ ordering: cursor_ordering } -"""Initial value of the column from where the streaming should start""" +""" +Initial value of the column from where the streaming should start +""" input terms_stream_cursor_value_input { atom_id: String id: String @@ -11054,25 +14876,33 @@ input terms_stream_cursor_value_input { updated_at: timestamptz } -"""aggregate sum on columns""" +""" +aggregate sum on columns +""" type terms_sum_fields { total_assets: numeric total_market_cap: numeric } -"""aggregate var_pop on columns""" +""" +aggregate var_pop on columns +""" type terms_var_pop_fields { total_assets: Float total_market_cap: Float } -"""aggregate var_samp on columns""" +""" +aggregate var_samp on columns +""" type terms_var_samp_fields { total_assets: Float total_market_cap: Float } -"""aggregate variance on columns""" +""" +aggregate variance on columns +""" type terms_variance_fields { total_assets: Float total_market_cap: Float @@ -11082,7 +14912,9 @@ type terms_variance_fields { columns and relationships of "text_object" """ type text_objects { - """An object relationship""" + """ + An object relationship + """ atom: atoms data: String! id: String! @@ -11117,19 +14949,25 @@ input text_objects_bool_exp { id: String_comparison_exp } -"""aggregate max on columns""" +""" +aggregate max on columns +""" type text_objects_max_fields { data: String id: String } -"""aggregate min on columns""" +""" +aggregate min on columns +""" type text_objects_min_fields { data: String id: String } -"""Ordering options when selecting data from "text_object".""" +""" +Ordering options when selecting data from "text_object". +""" input text_objects_order_by { atom: atoms_order_by data: order_by @@ -11140,9 +14978,13 @@ input text_objects_order_by { select columns of table "text_object" """ enum text_objects_select_column { - """column name""" + """ + column name + """ data - """column name""" + """ + column name + """ id } @@ -11150,13 +14992,19 @@ enum text_objects_select_column { Streaming cursor of the table "text_objects" """ input text_objects_stream_cursor_input { - """Stream column input with initial value""" + """ + Stream column input with initial value + """ initial_value: text_objects_stream_cursor_value_input! - """cursor ordering""" + """ + cursor ordering + """ ordering: cursor_ordering } -"""Initial value of the column from where the streaming should start""" +""" +Initial value of the column from where the streaming should start +""" input text_objects_stream_cursor_value_input { data: String id: String @@ -11166,7 +15014,9 @@ input text_objects_stream_cursor_value_input { columns and relationships of "thing" """ type things { - """An object relationship""" + """ + An object relationship + """ atom: atoms cached_image: cached_images_cached_image description: String @@ -11208,7 +15058,9 @@ input things_bool_exp { url: String_comparison_exp } -"""aggregate max on columns""" +""" +aggregate max on columns +""" type things_max_fields { description: String id: String @@ -11217,7 +15069,9 @@ type things_max_fields { url: String } -"""aggregate min on columns""" +""" +aggregate min on columns +""" type things_min_fields { description: String id: String @@ -11226,7 +15080,9 @@ type things_min_fields { url: String } -"""Ordering options when selecting data from "thing".""" +""" +Ordering options when selecting data from "thing". +""" input things_order_by { atom: atoms_order_by description: order_by @@ -11240,15 +15096,25 @@ input things_order_by { select columns of table "thing" """ enum things_select_column { - """column name""" + """ + column name + """ description - """column name""" + """ + column name + """ id - """column name""" + """ + column name + """ image - """column name""" + """ + column name + """ name - """column name""" + """ + column name + """ url } @@ -11256,13 +15122,19 @@ enum things_select_column { Streaming cursor of the table "things" """ input things_stream_cursor_input { - """Stream column input with initial value""" + """ + Stream column input with initial value + """ initial_value: things_stream_cursor_value_input! - """cursor ordering""" + """ + cursor ordering + """ ordering: cursor_ordering } -"""Initial value of the column from where the streaming should start""" +""" +Initial value of the column from where the streaming should start +""" input things_stream_cursor_value_input { description: String id: String @@ -11292,10 +15164,14 @@ input timestamptz_comparison_exp { columns and relationships of "triple_term" """ type triple_term { - """An object relationship""" + """ + An object relationship + """ counter_term: terms! counter_term_id: String! - """An object relationship""" + """ + An object relationship + """ term: terms! term_id: String! total_assets: numeric! @@ -11321,7 +15197,9 @@ input triple_term_bool_exp { updated_at: timestamptz_comparison_exp } -"""Ordering options when selecting data from "triple_term".""" +""" +Ordering options when selecting data from "triple_term". +""" input triple_term_order_by { counter_term: terms_order_by counter_term_id: order_by @@ -11337,17 +15215,29 @@ input triple_term_order_by { select columns of table "triple_term" """ enum triple_term_select_column { - """column name""" + """ + column name + """ counter_term_id - """column name""" + """ + column name + """ term_id - """column name""" + """ + column name + """ total_assets - """column name""" + """ + column name + """ total_market_cap - """column name""" + """ + column name + """ total_position_count - """column name""" + """ + column name + """ updated_at } @@ -11355,13 +15245,19 @@ enum triple_term_select_column { Streaming cursor of the table "triple_term" """ input triple_term_stream_cursor_input { - """Stream column input with initial value""" + """ + Stream column input with initial value + """ initial_value: triple_term_stream_cursor_value_input! - """cursor ordering""" + """ + cursor ordering + """ ordering: cursor_ordering } -"""Initial value of the column from where the streaming should start""" +""" +Initial value of the column from where the streaming should start +""" input triple_term_stream_cursor_value_input { counter_term_id: String term_id: String @@ -11376,14 +15272,18 @@ columns and relationships of "triple_vault" """ type triple_vault { block_number: numeric! - """An object relationship""" + """ + An object relationship + """ counter_term: terms counter_term_id: String! curve_id: numeric! log_index: bigint! market_cap: numeric! position_count: bigint! - """An object relationship""" + """ + An object relationship + """ term: terms term_id: String! total_assets: numeric! @@ -11412,7 +15312,9 @@ input triple_vault_bool_exp { updated_at: timestamptz_comparison_exp } -"""Ordering options when selecting data from "triple_vault".""" +""" +Ordering options when selecting data from "triple_vault". +""" input triple_vault_order_by { block_number: order_by counter_term: terms_order_by @@ -11432,25 +15334,45 @@ input triple_vault_order_by { select columns of table "triple_vault" """ enum triple_vault_select_column { - """column name""" + """ + column name + """ block_number - """column name""" + """ + column name + """ counter_term_id - """column name""" + """ + column name + """ curve_id - """column name""" + """ + column name + """ log_index - """column name""" + """ + column name + """ market_cap - """column name""" + """ + column name + """ position_count - """column name""" + """ + column name + """ term_id - """column name""" + """ + column name + """ total_assets - """column name""" + """ + column name + """ total_shares - """column name""" + """ + column name + """ updated_at } @@ -11458,13 +15380,19 @@ enum triple_vault_select_column { Streaming cursor of the table "triple_vault" """ input triple_vault_stream_cursor_input { - """Stream column input with initial value""" + """ + Stream column input with initial value + """ initial_value: triple_vault_stream_cursor_value_input! - """cursor ordering""" + """ + cursor ordering + """ ordering: cursor_ordering } -"""Initial value of the column from where the streaming should start""" +""" +Initial value of the column from where the streaming should start +""" input triple_vault_stream_cursor_value_input { block_number: numeric counter_term_id: String @@ -11483,81 +15411,145 @@ columns and relationships of "triple" """ type triples { block_number: numeric! - """An array relationship""" + """ + An array relationship + """ counter_positions( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [positions_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [positions_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: positions_bool_exp ): [positions!]! - """An aggregate relationship""" + """ + An aggregate relationship + """ counter_positions_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [positions_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [positions_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: positions_bool_exp ): positions_aggregate! - """An object relationship""" + """ + An object relationship + """ counter_term: terms counter_term_id: String! created_at: timestamptz! - """An object relationship""" + """ + An object relationship + """ creator: accounts creator_id: String! - """An object relationship""" + """ + An object relationship + """ object: atoms! object_id: String! - """An array relationship""" + """ + An array relationship + """ positions( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [positions_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [positions_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: positions_bool_exp ): [positions!]! - """An aggregate relationship""" + """ + An aggregate relationship + """ positions_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [positions_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [positions_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: positions_bool_exp ): positions_aggregate! - """An object relationship""" + """ + An object relationship + """ predicate: atoms! predicate_id: String! - """An object relationship""" + """ + An object relationship + """ subject: atoms! subject_id: String! - """An object relationship""" + """ + An object relationship + """ term: terms term_id: String! transaction_hash: String! - """An object relationship""" + """ + An object relationship + """ triple_term: triple_term - """An object relationship""" + """ + An object relationship + """ triple_vault: triple_vault } @@ -11614,7 +15606,9 @@ input triples_aggregate_order_by { variance: triples_variance_order_by } -"""aggregate avg on columns""" +""" +aggregate avg on columns +""" type triples_avg_fields { block_number: Float } @@ -11656,7 +15650,9 @@ input triples_bool_exp { triple_vault: triple_vault_bool_exp } -"""aggregate max on columns""" +""" +aggregate max on columns +""" type triples_max_fields { block_number: numeric counter_term_id: String @@ -11684,7 +15680,9 @@ input triples_max_order_by { transaction_hash: order_by } -"""aggregate min on columns""" +""" +aggregate min on columns +""" type triples_min_fields { block_number: numeric counter_term_id: String @@ -11712,7 +15710,9 @@ input triples_min_order_by { transaction_hash: order_by } -"""Ordering options when selecting data from "triple".""" +""" +Ordering options when selecting data from "triple". +""" input triples_order_by { block_number: order_by counter_positions_aggregate: positions_aggregate_order_by @@ -11739,27 +15739,47 @@ input triples_order_by { select columns of table "triple" """ enum triples_select_column { - """column name""" + """ + column name + """ block_number - """column name""" + """ + column name + """ counter_term_id - """column name""" + """ + column name + """ created_at - """column name""" + """ + column name + """ creator_id - """column name""" + """ + column name + """ object_id - """column name""" + """ + column name + """ predicate_id - """column name""" + """ + column name + """ subject_id - """column name""" + """ + column name + """ term_id - """column name""" + """ + column name + """ transaction_hash } -"""aggregate stddev on columns""" +""" +aggregate stddev on columns +""" type triples_stddev_fields { block_number: Float } @@ -11771,7 +15791,9 @@ input triples_stddev_order_by { block_number: order_by } -"""aggregate stddev_pop on columns""" +""" +aggregate stddev_pop on columns +""" type triples_stddev_pop_fields { block_number: Float } @@ -11783,7 +15805,9 @@ input triples_stddev_pop_order_by { block_number: order_by } -"""aggregate stddev_samp on columns""" +""" +aggregate stddev_samp on columns +""" type triples_stddev_samp_fields { block_number: Float } @@ -11799,13 +15823,19 @@ input triples_stddev_samp_order_by { Streaming cursor of the table "triples" """ input triples_stream_cursor_input { - """Stream column input with initial value""" + """ + Stream column input with initial value + """ initial_value: triples_stream_cursor_value_input! - """cursor ordering""" + """ + cursor ordering + """ ordering: cursor_ordering } -"""Initial value of the column from where the streaming should start""" +""" +Initial value of the column from where the streaming should start +""" input triples_stream_cursor_value_input { block_number: numeric counter_term_id: String @@ -11818,7 +15848,9 @@ input triples_stream_cursor_value_input { transaction_hash: String } -"""aggregate sum on columns""" +""" +aggregate sum on columns +""" type triples_sum_fields { block_number: numeric } @@ -11830,7 +15862,9 @@ input triples_sum_order_by { block_number: order_by } -"""aggregate var_pop on columns""" +""" +aggregate var_pop on columns +""" type triples_var_pop_fields { block_number: Float } @@ -11842,7 +15876,9 @@ input triples_var_pop_order_by { block_number: order_by } -"""aggregate var_samp on columns""" +""" +aggregate var_samp on columns +""" type triples_var_samp_fields { block_number: Float } @@ -11854,7 +15890,9 @@ input triples_var_samp_order_by { block_number: order_by } -"""aggregate variance on columns""" +""" +aggregate variance on columns +""" type triples_variance_fields { block_number: Float } @@ -11891,192 +15929,362 @@ type vaults { created_at: timestamptz! current_share_price: numeric! curve_id: numeric! - """An array relationship""" + """ + An array relationship + """ deposits( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [deposits_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [deposits_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: deposits_bool_exp ): [deposits!]! - """An aggregate relationship""" + """ + An aggregate relationship + """ deposits_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [deposits_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [deposits_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: deposits_bool_exp ): deposits_aggregate! log_index: bigint! market_cap: numeric! position_count: Int! - """An array relationship""" + """ + An array relationship + """ positions( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [positions_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [positions_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: positions_bool_exp ): [positions!]! - """An aggregate relationship""" + """ + An aggregate relationship + """ positions_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [positions_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [positions_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: positions_bool_exp ): positions_aggregate! - """An array relationship""" + """ + An array relationship + """ redemptions( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [redemptions_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [redemptions_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: redemptions_bool_exp ): [redemptions!]! - """An aggregate relationship""" + """ + An aggregate relationship + """ redemptions_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [redemptions_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [redemptions_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: redemptions_bool_exp ): redemptions_aggregate! - """An array relationship""" + """ + An array relationship + """ share_price_change_stats_daily( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [share_price_change_stats_daily_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [share_price_change_stats_daily_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: share_price_change_stats_daily_bool_exp ): [share_price_change_stats_daily!]! - """An array relationship""" + """ + An array relationship + """ share_price_change_stats_hourly( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [share_price_change_stats_hourly_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [share_price_change_stats_hourly_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: share_price_change_stats_hourly_bool_exp ): [share_price_change_stats_hourly!]! - """An array relationship""" + """ + An array relationship + """ share_price_change_stats_monthly( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [share_price_change_stats_monthly_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [share_price_change_stats_monthly_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: share_price_change_stats_monthly_bool_exp ): [share_price_change_stats_monthly!]! - """An array relationship""" + """ + An array relationship + """ share_price_change_stats_weekly( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [share_price_change_stats_weekly_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [share_price_change_stats_weekly_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: share_price_change_stats_weekly_bool_exp ): [share_price_change_stats_weekly!]! - """An array relationship""" + """ + An array relationship + """ share_price_changes( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [share_price_changes_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [share_price_changes_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: share_price_changes_bool_exp ): [share_price_changes!]! - """An aggregate relationship""" + """ + An aggregate relationship + """ share_price_changes_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [share_price_changes_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [share_price_changes_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: share_price_changes_bool_exp ): share_price_changes_aggregate! - """An array relationship""" + """ + An array relationship + """ signals( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [signals_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [signals_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: signals_bool_exp ): [signals!]! - """An aggregate relationship""" + """ + An aggregate relationship + """ signals_aggregate( - """distinct select on columns""" + """ + distinct select on columns + """ distinct_on: [signals_select_column!] - """limit the number of rows returned""" + """ + limit the number of rows returned + """ limit: Int - """skip the first n rows. Use only with order_by""" + """ + skip the first n rows. Use only with order_by + """ offset: Int - """sort the rows by one or more columns""" + """ + sort the rows by one or more columns + """ order_by: [signals_order_by!] - """filter the rows returned""" + """ + filter the rows returned + """ where: signals_bool_exp ): signals_aggregate! - """An object relationship""" + """ + An object relationship + """ term: terms! term_id: String! total_assets: numeric! @@ -12138,7 +16346,9 @@ input vaults_aggregate_order_by { variance: vaults_variance_order_by } -"""aggregate avg on columns""" +""" +aggregate avg on columns +""" type vaults_avg_fields { block_number: Float current_share_price: Float @@ -12200,7 +16410,9 @@ input vaults_bool_exp { updated_at: timestamptz_comparison_exp } -"""aggregate max on columns""" +""" +aggregate max on columns +""" type vaults_max_fields { block_number: bigint created_at: timestamptz @@ -12234,7 +16446,9 @@ input vaults_max_order_by { updated_at: order_by } -"""aggregate min on columns""" +""" +aggregate min on columns +""" type vaults_min_fields { block_number: bigint created_at: timestamptz @@ -12268,7 +16482,9 @@ input vaults_min_order_by { updated_at: order_by } -"""Ordering options when selecting data from "vault".""" +""" +Ordering options when selecting data from "vault". +""" input vaults_order_by { block_number: order_by created_at: order_by @@ -12298,33 +16514,59 @@ input vaults_order_by { select columns of table "vault" """ enum vaults_select_column { - """column name""" + """ + column name + """ block_number - """column name""" + """ + column name + """ created_at - """column name""" + """ + column name + """ current_share_price - """column name""" + """ + column name + """ curve_id - """column name""" + """ + column name + """ log_index - """column name""" + """ + column name + """ market_cap - """column name""" + """ + column name + """ position_count - """column name""" + """ + column name + """ term_id - """column name""" + """ + column name + """ total_assets - """column name""" + """ + column name + """ total_shares - """column name""" + """ + column name + """ transaction_hash - """column name""" + """ + column name + """ updated_at } -"""aggregate stddev on columns""" +""" +aggregate stddev on columns +""" type vaults_stddev_fields { block_number: Float current_share_price: Float @@ -12350,7 +16592,9 @@ input vaults_stddev_order_by { total_shares: order_by } -"""aggregate stddev_pop on columns""" +""" +aggregate stddev_pop on columns +""" type vaults_stddev_pop_fields { block_number: Float current_share_price: Float @@ -12376,7 +16620,9 @@ input vaults_stddev_pop_order_by { total_shares: order_by } -"""aggregate stddev_samp on columns""" +""" +aggregate stddev_samp on columns +""" type vaults_stddev_samp_fields { block_number: Float current_share_price: Float @@ -12406,13 +16652,19 @@ input vaults_stddev_samp_order_by { Streaming cursor of the table "vaults" """ input vaults_stream_cursor_input { - """Stream column input with initial value""" + """ + Stream column input with initial value + """ initial_value: vaults_stream_cursor_value_input! - """cursor ordering""" + """ + cursor ordering + """ ordering: cursor_ordering } -"""Initial value of the column from where the streaming should start""" +""" +Initial value of the column from where the streaming should start +""" input vaults_stream_cursor_value_input { block_number: bigint created_at: timestamptz @@ -12428,7 +16680,9 @@ input vaults_stream_cursor_value_input { updated_at: timestamptz } -"""aggregate sum on columns""" +""" +aggregate sum on columns +""" type vaults_sum_fields { block_number: bigint current_share_price: numeric @@ -12454,7 +16708,9 @@ input vaults_sum_order_by { total_shares: order_by } -"""aggregate var_pop on columns""" +""" +aggregate var_pop on columns +""" type vaults_var_pop_fields { block_number: Float current_share_price: Float @@ -12480,7 +16736,9 @@ input vaults_var_pop_order_by { total_shares: order_by } -"""aggregate var_samp on columns""" +""" +aggregate var_samp on columns +""" type vaults_var_samp_fields { block_number: Float current_share_price: Float @@ -12506,7 +16764,9 @@ input vaults_var_samp_order_by { total_shares: order_by } -"""aggregate variance on columns""" +""" +aggregate variance on columns +""" type vaults_variance_fields { block_number: Float current_share_price: Float @@ -12530,4 +16790,4 @@ input vaults_variance_order_by { position_count: order_by total_assets: order_by total_shares: order_by -} \ No newline at end of file +} diff --git a/packages/intuition-graphql/src/generated/index.ts b/packages/intuition-graphql/src/generated/index.ts index 3c67e7ebb..2f488ed43 100644 --- a/packages/intuition-graphql/src/generated/index.ts +++ b/packages/intuition-graphql/src/generated/index.ts @@ -1,4 +1,12 @@ -import { useMutation, useQuery, useInfiniteQuery, UseMutationOptions, UseQueryOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query'; +import { + useMutation, + useQuery, + useInfiniteQuery, + UseMutationOptions, + UseQueryOptions, + UseInfiniteQueryOptions, + InfiniteData, +} from '@tanstack/react-query'; import { fetcher } from '../client'; import { DocumentNode } from 'graphql'; export type Maybe = T | null; @@ -6,28 +14,32 @@ 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 }; +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; } - _text: { input: any; output: any; } - account_type: { input: any; output: any; } - atom_resolving_status: { input: any; output: any; } - atom_type: { input: any; output: any; } - bigint: { input: any; output: any; } - bytea: { input: any; output: any; } - event_type: { input: any; output: any; } - float8: { input: any; output: any; } - jsonb: { input: any; output: any; } - numeric: { input: any; output: any; } - term_type: { input: any; output: any; } - timestamptz: { input: any; output: any; } - vault_type: { input: any; output: any; } + 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 }; + _text: { input: any; output: any }; + account_type: { input: any; output: any }; + atom_resolving_status: { input: any; output: any }; + atom_type: { input: any; output: any }; + bigint: { input: any; output: any }; + bytea: { input: any; output: any }; + event_type: { input: any; output: any }; + float8: { input: any; output: any }; + jsonb: { input: any; output: any }; + numeric: { input: any; output: any }; + term_type: { input: any; output: any }; + timestamptz: { input: any; output: any }; + vault_type: { input: any; output: any }; }; /** Boolean expression to compare columns of type "Boolean". All fields are combined with logical 'AND'. */ @@ -180,7 +192,6 @@ export type Accounts = { type: Scalars['account_type']['output']; }; - /** columns and relationships of "account" */ export type AccountsAtomsArgs = { distinct_on?: InputMaybe>; @@ -190,7 +201,6 @@ export type AccountsAtomsArgs = { where?: InputMaybe; }; - /** columns and relationships of "account" */ export type AccountsAtoms_AggregateArgs = { distinct_on?: InputMaybe>; @@ -200,7 +210,6 @@ export type AccountsAtoms_AggregateArgs = { where?: InputMaybe; }; - /** columns and relationships of "account" */ export type AccountsDeposits_ReceivedArgs = { distinct_on?: InputMaybe>; @@ -210,7 +219,6 @@ export type AccountsDeposits_ReceivedArgs = { where?: InputMaybe; }; - /** columns and relationships of "account" */ export type AccountsDeposits_Received_AggregateArgs = { distinct_on?: InputMaybe>; @@ -220,7 +228,6 @@ export type AccountsDeposits_Received_AggregateArgs = { where?: InputMaybe; }; - /** columns and relationships of "account" */ export type AccountsDeposits_SentArgs = { distinct_on?: InputMaybe>; @@ -230,7 +237,6 @@ export type AccountsDeposits_SentArgs = { where?: InputMaybe; }; - /** columns and relationships of "account" */ export type AccountsDeposits_Sent_AggregateArgs = { distinct_on?: InputMaybe>; @@ -240,7 +246,6 @@ export type AccountsDeposits_Sent_AggregateArgs = { where?: InputMaybe; }; - /** columns and relationships of "account" */ export type AccountsFee_TransfersArgs = { distinct_on?: InputMaybe>; @@ -250,7 +255,6 @@ export type AccountsFee_TransfersArgs = { where?: InputMaybe; }; - /** columns and relationships of "account" */ export type AccountsFee_Transfers_AggregateArgs = { distinct_on?: InputMaybe>; @@ -260,7 +264,6 @@ export type AccountsFee_Transfers_AggregateArgs = { where?: InputMaybe; }; - /** columns and relationships of "account" */ export type AccountsPositionsArgs = { distinct_on?: InputMaybe>; @@ -270,7 +273,6 @@ export type AccountsPositionsArgs = { where?: InputMaybe; }; - /** columns and relationships of "account" */ export type AccountsPositions_AggregateArgs = { distinct_on?: InputMaybe>; @@ -280,7 +282,6 @@ export type AccountsPositions_AggregateArgs = { where?: InputMaybe; }; - /** columns and relationships of "account" */ export type AccountsRedemptions_ReceivedArgs = { distinct_on?: InputMaybe>; @@ -290,7 +291,6 @@ export type AccountsRedemptions_ReceivedArgs = { where?: InputMaybe; }; - /** columns and relationships of "account" */ export type AccountsRedemptions_Received_AggregateArgs = { distinct_on?: InputMaybe>; @@ -300,7 +300,6 @@ export type AccountsRedemptions_Received_AggregateArgs = { where?: InputMaybe; }; - /** columns and relationships of "account" */ export type AccountsRedemptions_SentArgs = { distinct_on?: InputMaybe>; @@ -310,7 +309,6 @@ export type AccountsRedemptions_SentArgs = { where?: InputMaybe; }; - /** columns and relationships of "account" */ export type AccountsRedemptions_Sent_AggregateArgs = { distinct_on?: InputMaybe>; @@ -320,7 +318,6 @@ export type AccountsRedemptions_Sent_AggregateArgs = { where?: InputMaybe; }; - /** columns and relationships of "account" */ export type AccountsSignalsArgs = { distinct_on?: InputMaybe>; @@ -330,7 +327,6 @@ export type AccountsSignalsArgs = { where?: InputMaybe; }; - /** columns and relationships of "account" */ export type AccountsSignals_AggregateArgs = { distinct_on?: InputMaybe>; @@ -340,7 +336,6 @@ export type AccountsSignals_AggregateArgs = { where?: InputMaybe; }; - /** columns and relationships of "account" */ export type AccountsTriplesArgs = { distinct_on?: InputMaybe>; @@ -350,7 +345,6 @@ export type AccountsTriplesArgs = { where?: InputMaybe; }; - /** columns and relationships of "account" */ export type AccountsTriples_AggregateArgs = { distinct_on?: InputMaybe>; @@ -386,7 +380,6 @@ export type Accounts_Aggregate_Fields = { min?: Maybe; }; - /** aggregate fields of "account" */ export type Accounts_Aggregate_FieldsCountArgs = { columns?: InputMaybe>; @@ -594,7 +587,6 @@ export type Atom_Values_Aggregate_Fields = { min?: Maybe; }; - /** aggregate fields of "atom_value" */ export type Atom_Values_Aggregate_FieldsCountArgs = { columns?: InputMaybe>; @@ -789,7 +781,6 @@ export type Atoms = { wallet_id: Scalars['String']['output']; }; - /** columns and relationships of "atom" */ export type AtomsAccountsArgs = { distinct_on?: InputMaybe>; @@ -799,7 +790,6 @@ export type AtomsAccountsArgs = { where?: InputMaybe; }; - /** columns and relationships of "atom" */ export type AtomsAccounts_AggregateArgs = { distinct_on?: InputMaybe>; @@ -809,7 +799,6 @@ export type AtomsAccounts_AggregateArgs = { where?: InputMaybe; }; - /** columns and relationships of "atom" */ export type AtomsAs_Object_Predicate_ObjectsArgs = { distinct_on?: InputMaybe>; @@ -819,7 +808,6 @@ export type AtomsAs_Object_Predicate_ObjectsArgs = { where?: InputMaybe; }; - /** columns and relationships of "atom" */ export type AtomsAs_Object_Predicate_Objects_AggregateArgs = { distinct_on?: InputMaybe>; @@ -829,7 +817,6 @@ export type AtomsAs_Object_Predicate_Objects_AggregateArgs = { where?: InputMaybe; }; - /** columns and relationships of "atom" */ export type AtomsAs_Object_TriplesArgs = { distinct_on?: InputMaybe>; @@ -839,7 +826,6 @@ export type AtomsAs_Object_TriplesArgs = { where?: InputMaybe; }; - /** columns and relationships of "atom" */ export type AtomsAs_Object_Triples_AggregateArgs = { distinct_on?: InputMaybe>; @@ -849,7 +835,6 @@ export type AtomsAs_Object_Triples_AggregateArgs = { where?: InputMaybe; }; - /** columns and relationships of "atom" */ export type AtomsAs_Predicate_Predicate_ObjectsArgs = { distinct_on?: InputMaybe>; @@ -859,7 +844,6 @@ export type AtomsAs_Predicate_Predicate_ObjectsArgs = { where?: InputMaybe; }; - /** columns and relationships of "atom" */ export type AtomsAs_Predicate_Predicate_Objects_AggregateArgs = { distinct_on?: InputMaybe>; @@ -869,7 +853,6 @@ export type AtomsAs_Predicate_Predicate_Objects_AggregateArgs = { where?: InputMaybe; }; - /** columns and relationships of "atom" */ export type AtomsAs_Predicate_TriplesArgs = { distinct_on?: InputMaybe>; @@ -879,7 +862,6 @@ export type AtomsAs_Predicate_TriplesArgs = { where?: InputMaybe; }; - /** columns and relationships of "atom" */ export type AtomsAs_Predicate_Triples_AggregateArgs = { distinct_on?: InputMaybe>; @@ -889,7 +871,6 @@ export type AtomsAs_Predicate_Triples_AggregateArgs = { where?: InputMaybe; }; - /** columns and relationships of "atom" */ export type AtomsAs_Subject_TriplesArgs = { distinct_on?: InputMaybe>; @@ -899,7 +880,6 @@ export type AtomsAs_Subject_TriplesArgs = { where?: InputMaybe; }; - /** columns and relationships of "atom" */ export type AtomsAs_Subject_Triples_AggregateArgs = { distinct_on?: InputMaybe>; @@ -909,7 +889,6 @@ export type AtomsAs_Subject_Triples_AggregateArgs = { where?: InputMaybe; }; - /** columns and relationships of "atom" */ export type AtomsPositionsArgs = { distinct_on?: InputMaybe>; @@ -919,7 +898,6 @@ export type AtomsPositionsArgs = { where?: InputMaybe; }; - /** columns and relationships of "atom" */ export type AtomsPositions_AggregateArgs = { distinct_on?: InputMaybe>; @@ -929,7 +907,6 @@ export type AtomsPositions_AggregateArgs = { where?: InputMaybe; }; - /** columns and relationships of "atom" */ export type AtomsSignalsArgs = { distinct_on?: InputMaybe>; @@ -939,7 +916,6 @@ export type AtomsSignalsArgs = { where?: InputMaybe; }; - /** columns and relationships of "atom" */ export type AtomsSignals_AggregateArgs = { distinct_on?: InputMaybe>; @@ -983,7 +959,6 @@ export type Atoms_Aggregate_Fields = { variance?: Maybe; }; - /** aggregate fields of "atom" */ export type Atoms_Aggregate_FieldsCountArgs = { columns?: InputMaybe>; @@ -1369,7 +1344,6 @@ export type Books_Aggregate_Fields = { min?: Maybe; }; - /** aggregate fields of "book" */ export type Books_Aggregate_FieldsCountArgs = { columns?: InputMaybe>; @@ -1473,7 +1447,6 @@ export type Byte_Object_Aggregate_Fields = { min?: Maybe; }; - /** aggregate fields of "byte_object" */ export type Byte_Object_Aggregate_FieldsCountArgs = { columns?: InputMaybe>; @@ -1554,7 +1527,6 @@ export type Cached_Images_Cached_Image = { url: Scalars['String']['output']; }; - /** columns and relationships of "cached_images.cached_image" */ export type Cached_Images_Cached_ImageScoreArgs = { path?: InputMaybe; @@ -1650,7 +1622,6 @@ export type Caip10_Aggregate_Fields = { variance?: Maybe; }; - /** aggregate fields of "caip10" */ export type Caip10_Aggregate_FieldsCountArgs = { columns?: InputMaybe>; @@ -1881,7 +1852,6 @@ export type Deposits_Aggregate_Fields = { variance?: Maybe; }; - /** aggregate fields of "deposit" */ export type Deposits_Aggregate_FieldsCountArgs = { columns?: InputMaybe>; @@ -2301,7 +2271,6 @@ export type Events_Aggregate_Fields = { variance?: Maybe; }; - /** aggregate fields of "event" */ export type Events_Aggregate_FieldsCountArgs = { columns?: InputMaybe>; @@ -2522,7 +2491,6 @@ export type Fee_Transfers_Aggregate_Fields = { variance?: Maybe; }; - /** aggregate fields of "fee_transfer" */ export type Fee_Transfers_Aggregate_FieldsCountArgs = { columns?: InputMaybe>; @@ -2785,7 +2753,6 @@ export type Json_Objects = { id: Scalars['String']['output']; }; - /** columns and relationships of "json_object" */ export type Json_ObjectsDataArgs = { path?: InputMaybe; @@ -2806,7 +2773,6 @@ export type Json_Objects_Aggregate_Fields = { min?: Maybe; }; - /** aggregate fields of "json_object" */ export type Json_Objects_Aggregate_FieldsCountArgs = { columns?: InputMaybe>; @@ -2902,19 +2868,16 @@ export type Mutation_Root = { pinThing?: Maybe; }; - /** mutation root */ export type Mutation_RootPinOrganizationArgs = { organization: PinOrganizationInput; }; - /** mutation root */ export type Mutation_RootPinPersonArgs = { person: PinPersonInput; }; - /** mutation root */ export type Mutation_RootPinThingArgs = { thing: PinThingInput; @@ -2976,7 +2939,6 @@ export type Organizations_Aggregate_Fields = { min?: Maybe; }; - /** aggregate fields of "organization" */ export type Organizations_Aggregate_FieldsCountArgs = { columns?: InputMaybe>; @@ -3093,7 +3055,6 @@ export type Persons_Aggregate_Fields = { min?: Maybe; }; - /** aggregate fields of "person" */ export type Persons_Aggregate_FieldsCountArgs = { columns?: InputMaybe>; @@ -3245,7 +3206,6 @@ export type Positions_Aggregate_Fields = { variance?: Maybe; }; - /** aggregate fields of "position" */ export type Positions_Aggregate_FieldsCountArgs = { columns?: InputMaybe>; @@ -3669,7 +3629,6 @@ export type Predicate_Objects_Aggregate_Fields = { variance?: Maybe; }; - /** aggregate fields of "predicate_object" */ export type Predicate_Objects_Aggregate_FieldsCountArgs = { columns?: InputMaybe>; @@ -4071,12 +4030,10 @@ export type Query_Root = { vaults_aggregate: Vaults_Aggregate; }; - export type Query_RootAccountArgs = { id: Scalars['String']['input']; }; - export type Query_RootAccountsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4085,7 +4042,6 @@ export type Query_RootAccountsArgs = { where?: InputMaybe; }; - export type Query_RootAccounts_AggregateArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4094,17 +4050,14 @@ export type Query_RootAccounts_AggregateArgs = { where?: InputMaybe; }; - export type Query_RootAtomArgs = { term_id: Scalars['String']['input']; }; - export type Query_RootAtom_ValueArgs = { id: Scalars['String']['input']; }; - export type Query_RootAtom_ValuesArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4113,7 +4066,6 @@ export type Query_RootAtom_ValuesArgs = { where?: InputMaybe; }; - export type Query_RootAtom_Values_AggregateArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4122,7 +4074,6 @@ export type Query_RootAtom_Values_AggregateArgs = { where?: InputMaybe; }; - export type Query_RootAtomsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4131,7 +4082,6 @@ export type Query_RootAtomsArgs = { where?: InputMaybe; }; - export type Query_RootAtoms_AggregateArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4140,12 +4090,10 @@ export type Query_RootAtoms_AggregateArgs = { where?: InputMaybe; }; - export type Query_RootBookArgs = { id: Scalars['String']['input']; }; - export type Query_RootBooksArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4154,7 +4102,6 @@ export type Query_RootBooksArgs = { where?: InputMaybe; }; - export type Query_RootBooks_AggregateArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4163,7 +4110,6 @@ export type Query_RootBooks_AggregateArgs = { where?: InputMaybe; }; - export type Query_RootByte_ObjectArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4172,7 +4118,6 @@ export type Query_RootByte_ObjectArgs = { where?: InputMaybe; }; - export type Query_RootByte_Object_AggregateArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4181,12 +4126,10 @@ export type Query_RootByte_Object_AggregateArgs = { where?: InputMaybe; }; - export type Query_RootByte_Object_By_PkArgs = { id: Scalars['String']['input']; }; - export type Query_RootCached_Images_Cached_ImageArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4195,17 +4138,14 @@ export type Query_RootCached_Images_Cached_ImageArgs = { where?: InputMaybe; }; - export type Query_RootCached_Images_Cached_Image_By_PkArgs = { url: Scalars['String']['input']; }; - export type Query_RootCaip10Args = { id: Scalars['String']['input']; }; - export type Query_RootCaip10_AggregateArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4214,7 +4154,6 @@ export type Query_RootCaip10_AggregateArgs = { where?: InputMaybe; }; - export type Query_RootCaip10sArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4223,12 +4162,10 @@ export type Query_RootCaip10sArgs = { where?: InputMaybe; }; - export type Query_RootChainlink_PriceArgs = { id: Scalars['numeric']['input']; }; - export type Query_RootChainlink_PricesArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4237,12 +4174,10 @@ export type Query_RootChainlink_PricesArgs = { where?: InputMaybe; }; - export type Query_RootDepositArgs = { id: Scalars['String']['input']; }; - export type Query_RootDepositsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4251,7 +4186,6 @@ export type Query_RootDepositsArgs = { where?: InputMaybe; }; - export type Query_RootDeposits_AggregateArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4260,12 +4194,10 @@ export type Query_RootDeposits_AggregateArgs = { where?: InputMaybe; }; - export type Query_RootEventArgs = { id: Scalars['String']['input']; }; - export type Query_RootEventsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4274,7 +4206,6 @@ export type Query_RootEventsArgs = { where?: InputMaybe; }; - export type Query_RootEvents_AggregateArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4283,12 +4214,10 @@ export type Query_RootEvents_AggregateArgs = { where?: InputMaybe; }; - export type Query_RootFee_TransferArgs = { id: Scalars['String']['input']; }; - export type Query_RootFee_TransfersArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4297,7 +4226,6 @@ export type Query_RootFee_TransfersArgs = { where?: InputMaybe; }; - export type Query_RootFee_Transfers_AggregateArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4306,7 +4234,6 @@ export type Query_RootFee_Transfers_AggregateArgs = { where?: InputMaybe; }; - export type Query_RootFollowingArgs = { args: Following_Args; distinct_on?: InputMaybe>; @@ -4316,7 +4243,6 @@ export type Query_RootFollowingArgs = { where?: InputMaybe; }; - export type Query_RootFollowing_AggregateArgs = { args: Following_Args; distinct_on?: InputMaybe>; @@ -4326,12 +4252,10 @@ export type Query_RootFollowing_AggregateArgs = { where?: InputMaybe; }; - export type Query_RootJson_ObjectArgs = { id: Scalars['String']['input']; }; - export type Query_RootJson_ObjectsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4340,7 +4264,6 @@ export type Query_RootJson_ObjectsArgs = { where?: InputMaybe; }; - export type Query_RootJson_Objects_AggregateArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4349,12 +4272,10 @@ export type Query_RootJson_Objects_AggregateArgs = { where?: InputMaybe; }; - export type Query_RootOrganizationArgs = { id: Scalars['String']['input']; }; - export type Query_RootOrganizationsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4363,7 +4284,6 @@ export type Query_RootOrganizationsArgs = { where?: InputMaybe; }; - export type Query_RootOrganizations_AggregateArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4372,12 +4292,10 @@ export type Query_RootOrganizations_AggregateArgs = { where?: InputMaybe; }; - export type Query_RootPersonArgs = { id: Scalars['String']['input']; }; - export type Query_RootPersonsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4386,7 +4304,6 @@ export type Query_RootPersonsArgs = { where?: InputMaybe; }; - export type Query_RootPersons_AggregateArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4395,12 +4312,10 @@ export type Query_RootPersons_AggregateArgs = { where?: InputMaybe; }; - export type Query_RootPositionArgs = { id: Scalars['String']['input']; }; - export type Query_RootPositionsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4409,7 +4324,6 @@ export type Query_RootPositionsArgs = { where?: InputMaybe; }; - export type Query_RootPositions_AggregateArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4418,7 +4332,6 @@ export type Query_RootPositions_AggregateArgs = { where?: InputMaybe; }; - export type Query_RootPositions_From_FollowingArgs = { args: Positions_From_Following_Args; distinct_on?: InputMaybe>; @@ -4428,7 +4341,6 @@ export type Query_RootPositions_From_FollowingArgs = { where?: InputMaybe; }; - export type Query_RootPositions_From_Following_AggregateArgs = { args: Positions_From_Following_Args; distinct_on?: InputMaybe>; @@ -4438,7 +4350,6 @@ export type Query_RootPositions_From_Following_AggregateArgs = { where?: InputMaybe; }; - export type Query_RootPredicate_ObjectsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4447,7 +4358,6 @@ export type Query_RootPredicate_ObjectsArgs = { where?: InputMaybe; }; - export type Query_RootPredicate_Objects_AggregateArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4456,17 +4366,14 @@ export type Query_RootPredicate_Objects_AggregateArgs = { where?: InputMaybe; }; - export type Query_RootPredicate_Objects_By_PkArgs = { id: Scalars['String']['input']; }; - export type Query_RootRedemptionArgs = { id: Scalars['String']['input']; }; - export type Query_RootRedemptionsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4475,7 +4382,6 @@ export type Query_RootRedemptionsArgs = { where?: InputMaybe; }; - export type Query_RootRedemptions_AggregateArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4484,7 +4390,6 @@ export type Query_RootRedemptions_AggregateArgs = { where?: InputMaybe; }; - export type Query_RootSearch_Positions_On_SubjectArgs = { args: Search_Positions_On_Subject_Args; distinct_on?: InputMaybe>; @@ -4494,7 +4399,6 @@ export type Query_RootSearch_Positions_On_SubjectArgs = { where?: InputMaybe; }; - export type Query_RootSearch_Positions_On_Subject_AggregateArgs = { args: Search_Positions_On_Subject_Args; distinct_on?: InputMaybe>; @@ -4504,7 +4408,6 @@ export type Query_RootSearch_Positions_On_Subject_AggregateArgs = { where?: InputMaybe; }; - export type Query_RootSearch_TermArgs = { args: Search_Term_Args; distinct_on?: InputMaybe>; @@ -4514,7 +4417,6 @@ export type Query_RootSearch_TermArgs = { where?: InputMaybe; }; - export type Query_RootSearch_Term_AggregateArgs = { args: Search_Term_Args; distinct_on?: InputMaybe>; @@ -4524,7 +4426,6 @@ export type Query_RootSearch_Term_AggregateArgs = { where?: InputMaybe; }; - export type Query_RootSearch_Term_From_FollowingArgs = { args: Search_Term_From_Following_Args; distinct_on?: InputMaybe>; @@ -4534,7 +4435,6 @@ export type Query_RootSearch_Term_From_FollowingArgs = { where?: InputMaybe; }; - export type Query_RootSearch_Term_From_Following_AggregateArgs = { args: Search_Term_From_Following_Args; distinct_on?: InputMaybe>; @@ -4544,7 +4444,6 @@ export type Query_RootSearch_Term_From_Following_AggregateArgs = { where?: InputMaybe; }; - export type Query_RootShare_Price_Change_Stats_DailyArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4553,7 +4452,6 @@ export type Query_RootShare_Price_Change_Stats_DailyArgs = { where?: InputMaybe; }; - export type Query_RootShare_Price_Change_Stats_HourlyArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4562,7 +4460,6 @@ export type Query_RootShare_Price_Change_Stats_HourlyArgs = { where?: InputMaybe; }; - export type Query_RootShare_Price_Change_Stats_MonthlyArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4571,7 +4468,6 @@ export type Query_RootShare_Price_Change_Stats_MonthlyArgs = { where?: InputMaybe; }; - export type Query_RootShare_Price_Change_Stats_WeeklyArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4580,7 +4476,6 @@ export type Query_RootShare_Price_Change_Stats_WeeklyArgs = { where?: InputMaybe; }; - export type Query_RootShare_Price_ChangesArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4589,7 +4484,6 @@ export type Query_RootShare_Price_ChangesArgs = { where?: InputMaybe; }; - export type Query_RootShare_Price_Changes_AggregateArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4598,7 +4492,6 @@ export type Query_RootShare_Price_Changes_AggregateArgs = { where?: InputMaybe; }; - export type Query_RootSignal_Stats_DailyArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4607,7 +4500,6 @@ export type Query_RootSignal_Stats_DailyArgs = { where?: InputMaybe; }; - export type Query_RootSignal_Stats_HourlyArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4616,7 +4508,6 @@ export type Query_RootSignal_Stats_HourlyArgs = { where?: InputMaybe; }; - export type Query_RootSignal_Stats_MonthlyArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4625,7 +4516,6 @@ export type Query_RootSignal_Stats_MonthlyArgs = { where?: InputMaybe; }; - export type Query_RootSignal_Stats_WeeklyArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4634,7 +4524,6 @@ export type Query_RootSignal_Stats_WeeklyArgs = { where?: InputMaybe; }; - export type Query_RootSignalsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4643,7 +4532,6 @@ export type Query_RootSignalsArgs = { where?: InputMaybe; }; - export type Query_RootSignals_AggregateArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4652,7 +4540,6 @@ export type Query_RootSignals_AggregateArgs = { where?: InputMaybe; }; - export type Query_RootSignals_From_FollowingArgs = { args: Signals_From_Following_Args; distinct_on?: InputMaybe>; @@ -4662,7 +4549,6 @@ export type Query_RootSignals_From_FollowingArgs = { where?: InputMaybe; }; - export type Query_RootSignals_From_Following_AggregateArgs = { args: Signals_From_Following_Args; distinct_on?: InputMaybe>; @@ -4672,17 +4558,14 @@ export type Query_RootSignals_From_Following_AggregateArgs = { where?: InputMaybe; }; - export type Query_RootStatArgs = { id: Scalars['Int']['input']; }; - export type Query_RootStatHourArgs = { id: Scalars['Int']['input']; }; - export type Query_RootStatHoursArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4691,7 +4574,6 @@ export type Query_RootStatHoursArgs = { where?: InputMaybe; }; - export type Query_RootStatsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4700,7 +4582,6 @@ export type Query_RootStatsArgs = { where?: InputMaybe; }; - export type Query_RootStats_AggregateArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4709,12 +4590,10 @@ export type Query_RootStats_AggregateArgs = { where?: InputMaybe; }; - export type Query_RootTermArgs = { id: Scalars['String']['input']; }; - export type Query_RootTerm_Total_State_Change_Stats_DailyArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4723,7 +4602,6 @@ export type Query_RootTerm_Total_State_Change_Stats_DailyArgs = { where?: InputMaybe; }; - export type Query_RootTerm_Total_State_Change_Stats_HourlyArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4732,7 +4610,6 @@ export type Query_RootTerm_Total_State_Change_Stats_HourlyArgs = { where?: InputMaybe; }; - export type Query_RootTerm_Total_State_Change_Stats_MonthlyArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4741,7 +4618,6 @@ export type Query_RootTerm_Total_State_Change_Stats_MonthlyArgs = { where?: InputMaybe; }; - export type Query_RootTerm_Total_State_Change_Stats_WeeklyArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4750,7 +4626,6 @@ export type Query_RootTerm_Total_State_Change_Stats_WeeklyArgs = { where?: InputMaybe; }; - export type Query_RootTerm_Total_State_ChangesArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4759,7 +4634,6 @@ export type Query_RootTerm_Total_State_ChangesArgs = { where?: InputMaybe; }; - export type Query_RootTermsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4768,7 +4642,6 @@ export type Query_RootTermsArgs = { where?: InputMaybe; }; - export type Query_RootTerms_AggregateArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4777,12 +4650,10 @@ export type Query_RootTerms_AggregateArgs = { where?: InputMaybe; }; - export type Query_RootText_ObjectArgs = { id: Scalars['String']['input']; }; - export type Query_RootText_ObjectsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4791,7 +4662,6 @@ export type Query_RootText_ObjectsArgs = { where?: InputMaybe; }; - export type Query_RootText_Objects_AggregateArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4800,12 +4670,10 @@ export type Query_RootText_Objects_AggregateArgs = { where?: InputMaybe; }; - export type Query_RootThingArgs = { id: Scalars['String']['input']; }; - export type Query_RootThingsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4814,7 +4682,6 @@ export type Query_RootThingsArgs = { where?: InputMaybe; }; - export type Query_RootThings_AggregateArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4823,17 +4690,14 @@ export type Query_RootThings_AggregateArgs = { where?: InputMaybe; }; - export type Query_RootTripleArgs = { term_id: Scalars['String']['input']; }; - export type Query_RootTriple_TermArgs = { term_id: Scalars['String']['input']; }; - export type Query_RootTriple_TermsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4842,13 +4706,11 @@ export type Query_RootTriple_TermsArgs = { where?: InputMaybe; }; - export type Query_RootTriple_VaultArgs = { curve_id: Scalars['numeric']['input']; term_id: Scalars['String']['input']; }; - export type Query_RootTriple_VaultsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4857,7 +4719,6 @@ export type Query_RootTriple_VaultsArgs = { where?: InputMaybe; }; - export type Query_RootTriplesArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4866,7 +4727,6 @@ export type Query_RootTriplesArgs = { where?: InputMaybe; }; - export type Query_RootTriples_AggregateArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4875,13 +4735,11 @@ export type Query_RootTriples_AggregateArgs = { where?: InputMaybe; }; - export type Query_RootVaultArgs = { curve_id: Scalars['numeric']['input']; term_id: Scalars['String']['input']; }; - export type Query_RootVaultsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4890,7 +4748,6 @@ export type Query_RootVaultsArgs = { where?: InputMaybe; }; - export type Query_RootVaults_AggregateArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -4960,7 +4817,6 @@ export type Redemptions_Aggregate_Fields = { variance?: Maybe; }; - /** aggregate fields of "redemption" */ export type Redemptions_Aggregate_FieldsCountArgs = { columns?: InputMaybe>; @@ -6157,7 +6013,6 @@ export type Share_Price_Changes_Aggregate_Fields = { variance?: Maybe; }; - /** aggregate fields of "share_price_change" */ export type Share_Price_Changes_Aggregate_FieldsCountArgs = { columns?: InputMaybe>; @@ -6856,7 +6711,6 @@ export type Signals_Aggregate_Fields = { variance?: Maybe; }; - /** aggregate fields of "signal" */ export type Signals_Aggregate_FieldsCountArgs = { columns?: InputMaybe>; @@ -7288,7 +7142,6 @@ export type Stats_Aggregate_Fields = { variance?: Maybe; }; - /** aggregate fields of "stats" */ export type Stats_Aggregate_FieldsCountArgs = { columns?: InputMaybe>; @@ -7810,12 +7663,10 @@ export type Subscription_Root = { vaults_stream: Array; }; - export type Subscription_RootAccountArgs = { id: Scalars['String']['input']; }; - export type Subscription_RootAccountsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -7824,7 +7675,6 @@ export type Subscription_RootAccountsArgs = { where?: InputMaybe; }; - export type Subscription_RootAccounts_AggregateArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -7833,24 +7683,20 @@ export type Subscription_RootAccounts_AggregateArgs = { where?: InputMaybe; }; - export type Subscription_RootAccounts_StreamArgs = { batch_size: Scalars['Int']['input']; cursor: Array>; where?: InputMaybe; }; - export type Subscription_RootAtomArgs = { term_id: Scalars['String']['input']; }; - export type Subscription_RootAtom_ValueArgs = { id: Scalars['String']['input']; }; - export type Subscription_RootAtom_ValuesArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -7859,7 +7705,6 @@ export type Subscription_RootAtom_ValuesArgs = { where?: InputMaybe; }; - export type Subscription_RootAtom_Values_AggregateArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -7868,14 +7713,12 @@ export type Subscription_RootAtom_Values_AggregateArgs = { where?: InputMaybe; }; - export type Subscription_RootAtom_Values_StreamArgs = { batch_size: Scalars['Int']['input']; cursor: Array>; where?: InputMaybe; }; - export type Subscription_RootAtomsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -7884,7 +7727,6 @@ export type Subscription_RootAtomsArgs = { where?: InputMaybe; }; - export type Subscription_RootAtoms_AggregateArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -7893,19 +7735,16 @@ export type Subscription_RootAtoms_AggregateArgs = { where?: InputMaybe; }; - export type Subscription_RootAtoms_StreamArgs = { batch_size: Scalars['Int']['input']; cursor: Array>; where?: InputMaybe; }; - export type Subscription_RootBookArgs = { id: Scalars['String']['input']; }; - export type Subscription_RootBooksArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -7914,7 +7753,6 @@ export type Subscription_RootBooksArgs = { where?: InputMaybe; }; - export type Subscription_RootBooks_AggregateArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -7923,14 +7761,12 @@ export type Subscription_RootBooks_AggregateArgs = { where?: InputMaybe; }; - export type Subscription_RootBooks_StreamArgs = { batch_size: Scalars['Int']['input']; cursor: Array>; where?: InputMaybe; }; - export type Subscription_RootByte_ObjectArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -7939,7 +7775,6 @@ export type Subscription_RootByte_ObjectArgs = { where?: InputMaybe; }; - export type Subscription_RootByte_Object_AggregateArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -7948,19 +7783,16 @@ export type Subscription_RootByte_Object_AggregateArgs = { where?: InputMaybe; }; - export type Subscription_RootByte_Object_By_PkArgs = { id: Scalars['String']['input']; }; - export type Subscription_RootByte_Object_StreamArgs = { batch_size: Scalars['Int']['input']; cursor: Array>; where?: InputMaybe; }; - export type Subscription_RootCached_Images_Cached_ImageArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -7969,24 +7801,20 @@ export type Subscription_RootCached_Images_Cached_ImageArgs = { where?: InputMaybe; }; - export type Subscription_RootCached_Images_Cached_Image_By_PkArgs = { url: Scalars['String']['input']; }; - export type Subscription_RootCached_Images_Cached_Image_StreamArgs = { batch_size: Scalars['Int']['input']; cursor: Array>; where?: InputMaybe; }; - export type Subscription_RootCaip10Args = { id: Scalars['String']['input']; }; - export type Subscription_RootCaip10_AggregateArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -7995,14 +7823,12 @@ export type Subscription_RootCaip10_AggregateArgs = { where?: InputMaybe; }; - export type Subscription_RootCaip10_StreamArgs = { batch_size: Scalars['Int']['input']; cursor: Array>; where?: InputMaybe; }; - export type Subscription_RootCaip10sArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8011,12 +7837,10 @@ export type Subscription_RootCaip10sArgs = { where?: InputMaybe; }; - export type Subscription_RootChainlink_PriceArgs = { id: Scalars['numeric']['input']; }; - export type Subscription_RootChainlink_PricesArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8025,19 +7849,16 @@ export type Subscription_RootChainlink_PricesArgs = { where?: InputMaybe; }; - export type Subscription_RootChainlink_Prices_StreamArgs = { batch_size: Scalars['Int']['input']; cursor: Array>; where?: InputMaybe; }; - export type Subscription_RootDepositArgs = { id: Scalars['String']['input']; }; - export type Subscription_RootDepositsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8046,7 +7867,6 @@ export type Subscription_RootDepositsArgs = { where?: InputMaybe; }; - export type Subscription_RootDeposits_AggregateArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8055,19 +7875,16 @@ export type Subscription_RootDeposits_AggregateArgs = { where?: InputMaybe; }; - export type Subscription_RootDeposits_StreamArgs = { batch_size: Scalars['Int']['input']; cursor: Array>; where?: InputMaybe; }; - export type Subscription_RootEventArgs = { id: Scalars['String']['input']; }; - export type Subscription_RootEventsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8076,7 +7893,6 @@ export type Subscription_RootEventsArgs = { where?: InputMaybe; }; - export type Subscription_RootEvents_AggregateArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8085,19 +7901,16 @@ export type Subscription_RootEvents_AggregateArgs = { where?: InputMaybe; }; - export type Subscription_RootEvents_StreamArgs = { batch_size: Scalars['Int']['input']; cursor: Array>; where?: InputMaybe; }; - export type Subscription_RootFee_TransferArgs = { id: Scalars['String']['input']; }; - export type Subscription_RootFee_TransfersArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8106,7 +7919,6 @@ export type Subscription_RootFee_TransfersArgs = { where?: InputMaybe; }; - export type Subscription_RootFee_Transfers_AggregateArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8115,14 +7927,12 @@ export type Subscription_RootFee_Transfers_AggregateArgs = { where?: InputMaybe; }; - export type Subscription_RootFee_Transfers_StreamArgs = { batch_size: Scalars['Int']['input']; cursor: Array>; where?: InputMaybe; }; - export type Subscription_RootFollowingArgs = { args: Following_Args; distinct_on?: InputMaybe>; @@ -8132,7 +7942,6 @@ export type Subscription_RootFollowingArgs = { where?: InputMaybe; }; - export type Subscription_RootFollowing_AggregateArgs = { args: Following_Args; distinct_on?: InputMaybe>; @@ -8142,12 +7951,10 @@ export type Subscription_RootFollowing_AggregateArgs = { where?: InputMaybe; }; - export type Subscription_RootJson_ObjectArgs = { id: Scalars['String']['input']; }; - export type Subscription_RootJson_ObjectsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8156,7 +7963,6 @@ export type Subscription_RootJson_ObjectsArgs = { where?: InputMaybe; }; - export type Subscription_RootJson_Objects_AggregateArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8165,19 +7971,16 @@ export type Subscription_RootJson_Objects_AggregateArgs = { where?: InputMaybe; }; - export type Subscription_RootJson_Objects_StreamArgs = { batch_size: Scalars['Int']['input']; cursor: Array>; where?: InputMaybe; }; - export type Subscription_RootOrganizationArgs = { id: Scalars['String']['input']; }; - export type Subscription_RootOrganizationsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8186,7 +7989,6 @@ export type Subscription_RootOrganizationsArgs = { where?: InputMaybe; }; - export type Subscription_RootOrganizations_AggregateArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8195,19 +7997,16 @@ export type Subscription_RootOrganizations_AggregateArgs = { where?: InputMaybe; }; - export type Subscription_RootOrganizations_StreamArgs = { batch_size: Scalars['Int']['input']; cursor: Array>; where?: InputMaybe; }; - export type Subscription_RootPersonArgs = { id: Scalars['String']['input']; }; - export type Subscription_RootPersonsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8216,7 +8015,6 @@ export type Subscription_RootPersonsArgs = { where?: InputMaybe; }; - export type Subscription_RootPersons_AggregateArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8225,19 +8023,16 @@ export type Subscription_RootPersons_AggregateArgs = { where?: InputMaybe; }; - export type Subscription_RootPersons_StreamArgs = { batch_size: Scalars['Int']['input']; cursor: Array>; where?: InputMaybe; }; - export type Subscription_RootPositionArgs = { id: Scalars['String']['input']; }; - export type Subscription_RootPositionsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8246,7 +8041,6 @@ export type Subscription_RootPositionsArgs = { where?: InputMaybe; }; - export type Subscription_RootPositions_AggregateArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8255,7 +8049,6 @@ export type Subscription_RootPositions_AggregateArgs = { where?: InputMaybe; }; - export type Subscription_RootPositions_From_FollowingArgs = { args: Positions_From_Following_Args; distinct_on?: InputMaybe>; @@ -8265,7 +8058,6 @@ export type Subscription_RootPositions_From_FollowingArgs = { where?: InputMaybe; }; - export type Subscription_RootPositions_From_Following_AggregateArgs = { args: Positions_From_Following_Args; distinct_on?: InputMaybe>; @@ -8275,14 +8067,12 @@ export type Subscription_RootPositions_From_Following_AggregateArgs = { where?: InputMaybe; }; - export type Subscription_RootPositions_StreamArgs = { batch_size: Scalars['Int']['input']; cursor: Array>; where?: InputMaybe; }; - export type Subscription_RootPredicate_ObjectsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8291,7 +8081,6 @@ export type Subscription_RootPredicate_ObjectsArgs = { where?: InputMaybe; }; - export type Subscription_RootPredicate_Objects_AggregateArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8300,24 +8089,20 @@ export type Subscription_RootPredicate_Objects_AggregateArgs = { where?: InputMaybe; }; - export type Subscription_RootPredicate_Objects_By_PkArgs = { id: Scalars['String']['input']; }; - export type Subscription_RootPredicate_Objects_StreamArgs = { batch_size: Scalars['Int']['input']; cursor: Array>; where?: InputMaybe; }; - export type Subscription_RootRedemptionArgs = { id: Scalars['String']['input']; }; - export type Subscription_RootRedemptionsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8326,7 +8111,6 @@ export type Subscription_RootRedemptionsArgs = { where?: InputMaybe; }; - export type Subscription_RootRedemptions_AggregateArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8335,14 +8119,12 @@ export type Subscription_RootRedemptions_AggregateArgs = { where?: InputMaybe; }; - export type Subscription_RootRedemptions_StreamArgs = { batch_size: Scalars['Int']['input']; cursor: Array>; where?: InputMaybe; }; - export type Subscription_RootSearch_Positions_On_SubjectArgs = { args: Search_Positions_On_Subject_Args; distinct_on?: InputMaybe>; @@ -8352,7 +8134,6 @@ export type Subscription_RootSearch_Positions_On_SubjectArgs = { where?: InputMaybe; }; - export type Subscription_RootSearch_Positions_On_Subject_AggregateArgs = { args: Search_Positions_On_Subject_Args; distinct_on?: InputMaybe>; @@ -8362,7 +8143,6 @@ export type Subscription_RootSearch_Positions_On_Subject_AggregateArgs = { where?: InputMaybe; }; - export type Subscription_RootSearch_TermArgs = { args: Search_Term_Args; distinct_on?: InputMaybe>; @@ -8372,7 +8152,6 @@ export type Subscription_RootSearch_TermArgs = { where?: InputMaybe; }; - export type Subscription_RootSearch_Term_AggregateArgs = { args: Search_Term_Args; distinct_on?: InputMaybe>; @@ -8382,7 +8161,6 @@ export type Subscription_RootSearch_Term_AggregateArgs = { where?: InputMaybe; }; - export type Subscription_RootSearch_Term_From_FollowingArgs = { args: Search_Term_From_Following_Args; distinct_on?: InputMaybe>; @@ -8392,7 +8170,6 @@ export type Subscription_RootSearch_Term_From_FollowingArgs = { where?: InputMaybe; }; - export type Subscription_RootSearch_Term_From_Following_AggregateArgs = { args: Search_Term_From_Following_Args; distinct_on?: InputMaybe>; @@ -8402,7 +8179,6 @@ export type Subscription_RootSearch_Term_From_Following_AggregateArgs = { where?: InputMaybe; }; - export type Subscription_RootShare_Price_Change_Stats_DailyArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8411,14 +8187,12 @@ export type Subscription_RootShare_Price_Change_Stats_DailyArgs = { where?: InputMaybe; }; - export type Subscription_RootShare_Price_Change_Stats_Daily_StreamArgs = { batch_size: Scalars['Int']['input']; cursor: Array>; where?: InputMaybe; }; - export type Subscription_RootShare_Price_Change_Stats_HourlyArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8427,14 +8201,12 @@ export type Subscription_RootShare_Price_Change_Stats_HourlyArgs = { where?: InputMaybe; }; - export type Subscription_RootShare_Price_Change_Stats_Hourly_StreamArgs = { batch_size: Scalars['Int']['input']; cursor: Array>; where?: InputMaybe; }; - export type Subscription_RootShare_Price_Change_Stats_MonthlyArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8443,14 +8215,12 @@ export type Subscription_RootShare_Price_Change_Stats_MonthlyArgs = { where?: InputMaybe; }; - export type Subscription_RootShare_Price_Change_Stats_Monthly_StreamArgs = { batch_size: Scalars['Int']['input']; cursor: Array>; where?: InputMaybe; }; - export type Subscription_RootShare_Price_Change_Stats_WeeklyArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8459,14 +8229,12 @@ export type Subscription_RootShare_Price_Change_Stats_WeeklyArgs = { where?: InputMaybe; }; - export type Subscription_RootShare_Price_Change_Stats_Weekly_StreamArgs = { batch_size: Scalars['Int']['input']; cursor: Array>; where?: InputMaybe; }; - export type Subscription_RootShare_Price_ChangesArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8475,7 +8243,6 @@ export type Subscription_RootShare_Price_ChangesArgs = { where?: InputMaybe; }; - export type Subscription_RootShare_Price_Changes_AggregateArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8484,14 +8251,12 @@ export type Subscription_RootShare_Price_Changes_AggregateArgs = { where?: InputMaybe; }; - export type Subscription_RootShare_Price_Changes_StreamArgs = { batch_size: Scalars['Int']['input']; cursor: Array>; where?: InputMaybe; }; - export type Subscription_RootSignal_Stats_DailyArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8500,14 +8265,12 @@ export type Subscription_RootSignal_Stats_DailyArgs = { where?: InputMaybe; }; - export type Subscription_RootSignal_Stats_Daily_StreamArgs = { batch_size: Scalars['Int']['input']; cursor: Array>; where?: InputMaybe; }; - export type Subscription_RootSignal_Stats_HourlyArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8516,14 +8279,12 @@ export type Subscription_RootSignal_Stats_HourlyArgs = { where?: InputMaybe; }; - export type Subscription_RootSignal_Stats_Hourly_StreamArgs = { batch_size: Scalars['Int']['input']; cursor: Array>; where?: InputMaybe; }; - export type Subscription_RootSignal_Stats_MonthlyArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8532,14 +8293,12 @@ export type Subscription_RootSignal_Stats_MonthlyArgs = { where?: InputMaybe; }; - export type Subscription_RootSignal_Stats_Monthly_StreamArgs = { batch_size: Scalars['Int']['input']; cursor: Array>; where?: InputMaybe; }; - export type Subscription_RootSignal_Stats_WeeklyArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8548,14 +8307,12 @@ export type Subscription_RootSignal_Stats_WeeklyArgs = { where?: InputMaybe; }; - export type Subscription_RootSignal_Stats_Weekly_StreamArgs = { batch_size: Scalars['Int']['input']; cursor: Array>; where?: InputMaybe; }; - export type Subscription_RootSignalsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8564,7 +8321,6 @@ export type Subscription_RootSignalsArgs = { where?: InputMaybe; }; - export type Subscription_RootSignals_AggregateArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8573,7 +8329,6 @@ export type Subscription_RootSignals_AggregateArgs = { where?: InputMaybe; }; - export type Subscription_RootSignals_From_FollowingArgs = { args: Signals_From_Following_Args; distinct_on?: InputMaybe>; @@ -8583,7 +8338,6 @@ export type Subscription_RootSignals_From_FollowingArgs = { where?: InputMaybe; }; - export type Subscription_RootSignals_From_Following_AggregateArgs = { args: Signals_From_Following_Args; distinct_on?: InputMaybe>; @@ -8593,24 +8347,20 @@ export type Subscription_RootSignals_From_Following_AggregateArgs = { where?: InputMaybe; }; - export type Subscription_RootSignals_StreamArgs = { batch_size: Scalars['Int']['input']; cursor: Array>; where?: InputMaybe; }; - export type Subscription_RootStatArgs = { id: Scalars['Int']['input']; }; - export type Subscription_RootStatHourArgs = { id: Scalars['Int']['input']; }; - export type Subscription_RootStatHoursArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8619,14 +8369,12 @@ export type Subscription_RootStatHoursArgs = { where?: InputMaybe; }; - export type Subscription_RootStatHours_StreamArgs = { batch_size: Scalars['Int']['input']; cursor: Array>; where?: InputMaybe; }; - export type Subscription_RootStatsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8635,7 +8383,6 @@ export type Subscription_RootStatsArgs = { where?: InputMaybe; }; - export type Subscription_RootStats_AggregateArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8644,19 +8391,16 @@ export type Subscription_RootStats_AggregateArgs = { where?: InputMaybe; }; - export type Subscription_RootStats_StreamArgs = { batch_size: Scalars['Int']['input']; cursor: Array>; where?: InputMaybe; }; - export type Subscription_RootTermArgs = { id: Scalars['String']['input']; }; - export type Subscription_RootTerm_Total_State_Change_Stats_DailyArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8665,14 +8409,12 @@ export type Subscription_RootTerm_Total_State_Change_Stats_DailyArgs = { where?: InputMaybe; }; - export type Subscription_RootTerm_Total_State_Change_Stats_Daily_StreamArgs = { batch_size: Scalars['Int']['input']; cursor: Array>; where?: InputMaybe; }; - export type Subscription_RootTerm_Total_State_Change_Stats_HourlyArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8681,14 +8423,12 @@ export type Subscription_RootTerm_Total_State_Change_Stats_HourlyArgs = { where?: InputMaybe; }; - export type Subscription_RootTerm_Total_State_Change_Stats_Hourly_StreamArgs = { batch_size: Scalars['Int']['input']; cursor: Array>; where?: InputMaybe; }; - export type Subscription_RootTerm_Total_State_Change_Stats_MonthlyArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8697,14 +8437,12 @@ export type Subscription_RootTerm_Total_State_Change_Stats_MonthlyArgs = { where?: InputMaybe; }; - export type Subscription_RootTerm_Total_State_Change_Stats_Monthly_StreamArgs = { batch_size: Scalars['Int']['input']; cursor: Array>; where?: InputMaybe; }; - export type Subscription_RootTerm_Total_State_Change_Stats_WeeklyArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8713,14 +8451,12 @@ export type Subscription_RootTerm_Total_State_Change_Stats_WeeklyArgs = { where?: InputMaybe; }; - export type Subscription_RootTerm_Total_State_Change_Stats_Weekly_StreamArgs = { batch_size: Scalars['Int']['input']; cursor: Array>; where?: InputMaybe; }; - export type Subscription_RootTerm_Total_State_ChangesArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8729,14 +8465,12 @@ export type Subscription_RootTerm_Total_State_ChangesArgs = { where?: InputMaybe; }; - export type Subscription_RootTerm_Total_State_Changes_StreamArgs = { batch_size: Scalars['Int']['input']; cursor: Array>; where?: InputMaybe; }; - export type Subscription_RootTermsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8745,7 +8479,6 @@ export type Subscription_RootTermsArgs = { where?: InputMaybe; }; - export type Subscription_RootTerms_AggregateArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8754,19 +8487,16 @@ export type Subscription_RootTerms_AggregateArgs = { where?: InputMaybe; }; - export type Subscription_RootTerms_StreamArgs = { batch_size: Scalars['Int']['input']; cursor: Array>; where?: InputMaybe; }; - export type Subscription_RootText_ObjectArgs = { id: Scalars['String']['input']; }; - export type Subscription_RootText_ObjectsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8775,7 +8505,6 @@ export type Subscription_RootText_ObjectsArgs = { where?: InputMaybe; }; - export type Subscription_RootText_Objects_AggregateArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8784,19 +8513,16 @@ export type Subscription_RootText_Objects_AggregateArgs = { where?: InputMaybe; }; - export type Subscription_RootText_Objects_StreamArgs = { batch_size: Scalars['Int']['input']; cursor: Array>; where?: InputMaybe; }; - export type Subscription_RootThingArgs = { id: Scalars['String']['input']; }; - export type Subscription_RootThingsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8805,7 +8531,6 @@ export type Subscription_RootThingsArgs = { where?: InputMaybe; }; - export type Subscription_RootThings_AggregateArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8814,31 +8539,26 @@ export type Subscription_RootThings_AggregateArgs = { where?: InputMaybe; }; - export type Subscription_RootThings_StreamArgs = { batch_size: Scalars['Int']['input']; cursor: Array>; where?: InputMaybe; }; - export type Subscription_RootTripleArgs = { term_id: Scalars['String']['input']; }; - export type Subscription_RootTriple_TermArgs = { term_id: Scalars['String']['input']; }; - export type Subscription_RootTriple_Term_StreamArgs = { batch_size: Scalars['Int']['input']; cursor: Array>; where?: InputMaybe; }; - export type Subscription_RootTriple_TermsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8847,20 +8567,17 @@ export type Subscription_RootTriple_TermsArgs = { where?: InputMaybe; }; - export type Subscription_RootTriple_VaultArgs = { curve_id: Scalars['numeric']['input']; term_id: Scalars['String']['input']; }; - export type Subscription_RootTriple_Vault_StreamArgs = { batch_size: Scalars['Int']['input']; cursor: Array>; where?: InputMaybe; }; - export type Subscription_RootTriple_VaultsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8869,7 +8586,6 @@ export type Subscription_RootTriple_VaultsArgs = { where?: InputMaybe; }; - export type Subscription_RootTriplesArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8878,7 +8594,6 @@ export type Subscription_RootTriplesArgs = { where?: InputMaybe; }; - export type Subscription_RootTriples_AggregateArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8887,20 +8602,17 @@ export type Subscription_RootTriples_AggregateArgs = { where?: InputMaybe; }; - export type Subscription_RootTriples_StreamArgs = { batch_size: Scalars['Int']['input']; cursor: Array>; where?: InputMaybe; }; - export type Subscription_RootVaultArgs = { curve_id: Scalars['numeric']['input']; term_id: Scalars['String']['input']; }; - export type Subscription_RootVaultsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8909,7 +8621,6 @@ export type Subscription_RootVaultsArgs = { where?: InputMaybe; }; - export type Subscription_RootVaults_AggregateArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8918,7 +8629,6 @@ export type Subscription_RootVaults_AggregateArgs = { where?: InputMaybe; }; - export type Subscription_RootVaults_StreamArgs = { batch_size: Scalars['Int']['input']; cursor: Array>; @@ -9734,7 +9444,6 @@ export type Terms = { vaults_aggregate: Vaults_Aggregate; }; - /** columns and relationships of "term" */ export type TermsDepositsArgs = { distinct_on?: InputMaybe>; @@ -9744,7 +9453,6 @@ export type TermsDepositsArgs = { where?: InputMaybe; }; - /** columns and relationships of "term" */ export type TermsDeposits_AggregateArgs = { distinct_on?: InputMaybe>; @@ -9754,7 +9462,6 @@ export type TermsDeposits_AggregateArgs = { where?: InputMaybe; }; - /** columns and relationships of "term" */ export type TermsPositionsArgs = { distinct_on?: InputMaybe>; @@ -9764,7 +9471,6 @@ export type TermsPositionsArgs = { where?: InputMaybe; }; - /** columns and relationships of "term" */ export type TermsPositions_AggregateArgs = { distinct_on?: InputMaybe>; @@ -9774,7 +9480,6 @@ export type TermsPositions_AggregateArgs = { where?: InputMaybe; }; - /** columns and relationships of "term" */ export type TermsRedemptionsArgs = { distinct_on?: InputMaybe>; @@ -9784,7 +9489,6 @@ export type TermsRedemptionsArgs = { where?: InputMaybe; }; - /** columns and relationships of "term" */ export type TermsRedemptions_AggregateArgs = { distinct_on?: InputMaybe>; @@ -9794,7 +9498,6 @@ export type TermsRedemptions_AggregateArgs = { where?: InputMaybe; }; - /** columns and relationships of "term" */ export type TermsShare_Price_Change_Stats_DailyArgs = { distinct_on?: InputMaybe>; @@ -9804,7 +9507,6 @@ export type TermsShare_Price_Change_Stats_DailyArgs = { where?: InputMaybe; }; - /** columns and relationships of "term" */ export type TermsShare_Price_Change_Stats_HourlyArgs = { distinct_on?: InputMaybe>; @@ -9814,7 +9516,6 @@ export type TermsShare_Price_Change_Stats_HourlyArgs = { where?: InputMaybe; }; - /** columns and relationships of "term" */ export type TermsShare_Price_Change_Stats_MonthlyArgs = { distinct_on?: InputMaybe>; @@ -9824,7 +9525,6 @@ export type TermsShare_Price_Change_Stats_MonthlyArgs = { where?: InputMaybe; }; - /** columns and relationships of "term" */ export type TermsShare_Price_Change_Stats_WeeklyArgs = { distinct_on?: InputMaybe>; @@ -9834,7 +9534,6 @@ export type TermsShare_Price_Change_Stats_WeeklyArgs = { where?: InputMaybe; }; - /** columns and relationships of "term" */ export type TermsShare_Price_ChangesArgs = { distinct_on?: InputMaybe>; @@ -9844,7 +9543,6 @@ export type TermsShare_Price_ChangesArgs = { where?: InputMaybe; }; - /** columns and relationships of "term" */ export type TermsShare_Price_Changes_AggregateArgs = { distinct_on?: InputMaybe>; @@ -9854,7 +9552,6 @@ export type TermsShare_Price_Changes_AggregateArgs = { where?: InputMaybe; }; - /** columns and relationships of "term" */ export type TermsSignalsArgs = { distinct_on?: InputMaybe>; @@ -9864,7 +9561,6 @@ export type TermsSignalsArgs = { where?: InputMaybe; }; - /** columns and relationships of "term" */ export type TermsSignals_AggregateArgs = { distinct_on?: InputMaybe>; @@ -9874,7 +9570,6 @@ export type TermsSignals_AggregateArgs = { where?: InputMaybe; }; - /** columns and relationships of "term" */ export type TermsTerm_Total_State_Change_DailyArgs = { distinct_on?: InputMaybe>; @@ -9884,7 +9579,6 @@ export type TermsTerm_Total_State_Change_DailyArgs = { where?: InputMaybe; }; - /** columns and relationships of "term" */ export type TermsTerm_Total_State_Change_HourlyArgs = { distinct_on?: InputMaybe>; @@ -9894,7 +9588,6 @@ export type TermsTerm_Total_State_Change_HourlyArgs = { where?: InputMaybe; }; - /** columns and relationships of "term" */ export type TermsTerm_Total_State_Change_MonthlyArgs = { distinct_on?: InputMaybe>; @@ -9904,7 +9597,6 @@ export type TermsTerm_Total_State_Change_MonthlyArgs = { where?: InputMaybe; }; - /** columns and relationships of "term" */ export type TermsTerm_Total_State_Change_WeeklyArgs = { distinct_on?: InputMaybe>; @@ -9914,7 +9606,6 @@ export type TermsTerm_Total_State_Change_WeeklyArgs = { where?: InputMaybe; }; - /** columns and relationships of "term" */ export type TermsTerm_Total_State_ChangesArgs = { distinct_on?: InputMaybe>; @@ -9924,7 +9615,6 @@ export type TermsTerm_Total_State_ChangesArgs = { where?: InputMaybe; }; - /** columns and relationships of "term" */ export type TermsVaultsArgs = { distinct_on?: InputMaybe>; @@ -9934,7 +9624,6 @@ export type TermsVaultsArgs = { where?: InputMaybe; }; - /** columns and relationships of "term" */ export type TermsVaults_AggregateArgs = { distinct_on?: InputMaybe>; @@ -9966,7 +9655,6 @@ export type Terms_Aggregate_Fields = { variance?: Maybe; }; - /** aggregate fields of "term" */ export type Terms_Aggregate_FieldsCountArgs = { columns?: InputMaybe>; @@ -10182,7 +9870,6 @@ export type Text_Objects_Aggregate_Fields = { min?: Maybe; }; - /** aggregate fields of "text_object" */ export type Text_Objects_Aggregate_FieldsCountArgs = { columns?: InputMaybe>; @@ -10269,7 +9956,6 @@ export type Things_Aggregate_Fields = { min?: Maybe; }; - /** aggregate fields of "thing" */ export type Things_Aggregate_FieldsCountArgs = { columns?: InputMaybe>; @@ -10574,7 +10260,6 @@ export type Triples = { triple_vault?: Maybe; }; - /** columns and relationships of "triple" */ export type TriplesCounter_PositionsArgs = { distinct_on?: InputMaybe>; @@ -10584,7 +10269,6 @@ export type TriplesCounter_PositionsArgs = { where?: InputMaybe; }; - /** columns and relationships of "triple" */ export type TriplesCounter_Positions_AggregateArgs = { distinct_on?: InputMaybe>; @@ -10594,7 +10278,6 @@ export type TriplesCounter_Positions_AggregateArgs = { where?: InputMaybe; }; - /** columns and relationships of "triple" */ export type TriplesPositionsArgs = { distinct_on?: InputMaybe>; @@ -10604,7 +10287,6 @@ export type TriplesPositionsArgs = { where?: InputMaybe; }; - /** columns and relationships of "triple" */ export type TriplesPositions_AggregateArgs = { distinct_on?: InputMaybe>; @@ -10648,7 +10330,6 @@ export type Triples_Aggregate_Fields = { variance?: Maybe; }; - /** aggregate fields of "triple" */ export type Triples_Aggregate_FieldsCountArgs = { columns?: InputMaybe>; @@ -10965,7 +10646,6 @@ export type Vaults = { updated_at: Scalars['timestamptz']['output']; }; - /** columns and relationships of "vault" */ export type VaultsDepositsArgs = { distinct_on?: InputMaybe>; @@ -10975,7 +10655,6 @@ export type VaultsDepositsArgs = { where?: InputMaybe; }; - /** columns and relationships of "vault" */ export type VaultsDeposits_AggregateArgs = { distinct_on?: InputMaybe>; @@ -10985,7 +10664,6 @@ export type VaultsDeposits_AggregateArgs = { where?: InputMaybe; }; - /** columns and relationships of "vault" */ export type VaultsPositionsArgs = { distinct_on?: InputMaybe>; @@ -10995,7 +10673,6 @@ export type VaultsPositionsArgs = { where?: InputMaybe; }; - /** columns and relationships of "vault" */ export type VaultsPositions_AggregateArgs = { distinct_on?: InputMaybe>; @@ -11005,7 +10682,6 @@ export type VaultsPositions_AggregateArgs = { where?: InputMaybe; }; - /** columns and relationships of "vault" */ export type VaultsRedemptionsArgs = { distinct_on?: InputMaybe>; @@ -11015,7 +10691,6 @@ export type VaultsRedemptionsArgs = { where?: InputMaybe; }; - /** columns and relationships of "vault" */ export type VaultsRedemptions_AggregateArgs = { distinct_on?: InputMaybe>; @@ -11025,7 +10700,6 @@ export type VaultsRedemptions_AggregateArgs = { where?: InputMaybe; }; - /** columns and relationships of "vault" */ export type VaultsShare_Price_Change_Stats_DailyArgs = { distinct_on?: InputMaybe>; @@ -11035,7 +10709,6 @@ export type VaultsShare_Price_Change_Stats_DailyArgs = { where?: InputMaybe; }; - /** columns and relationships of "vault" */ export type VaultsShare_Price_Change_Stats_HourlyArgs = { distinct_on?: InputMaybe>; @@ -11045,7 +10718,6 @@ export type VaultsShare_Price_Change_Stats_HourlyArgs = { where?: InputMaybe; }; - /** columns and relationships of "vault" */ export type VaultsShare_Price_Change_Stats_MonthlyArgs = { distinct_on?: InputMaybe>; @@ -11055,7 +10727,6 @@ export type VaultsShare_Price_Change_Stats_MonthlyArgs = { where?: InputMaybe; }; - /** columns and relationships of "vault" */ export type VaultsShare_Price_Change_Stats_WeeklyArgs = { distinct_on?: InputMaybe>; @@ -11065,7 +10736,6 @@ export type VaultsShare_Price_Change_Stats_WeeklyArgs = { where?: InputMaybe; }; - /** columns and relationships of "vault" */ export type VaultsShare_Price_ChangesArgs = { distinct_on?: InputMaybe>; @@ -11075,7 +10745,6 @@ export type VaultsShare_Price_ChangesArgs = { where?: InputMaybe; }; - /** columns and relationships of "vault" */ export type VaultsShare_Price_Changes_AggregateArgs = { distinct_on?: InputMaybe>; @@ -11085,7 +10754,6 @@ export type VaultsShare_Price_Changes_AggregateArgs = { where?: InputMaybe; }; - /** columns and relationships of "vault" */ export type VaultsSignalsArgs = { distinct_on?: InputMaybe>; @@ -11095,7 +10763,6 @@ export type VaultsSignalsArgs = { where?: InputMaybe; }; - /** columns and relationships of "vault" */ export type VaultsSignals_AggregateArgs = { distinct_on?: InputMaybe>; @@ -11139,7 +10806,6 @@ export type Vaults_Aggregate_Fields = { variance?: Maybe; }; - /** aggregate fields of "vault" */ export type Vaults_Aggregate_FieldsCountArgs = { columns?: InputMaybe>; @@ -11538,71 +11204,1813 @@ export type Vaults_Variance_Order_By = { total_shares?: InputMaybe; }; -export type AccountMetadataFragment = { __typename?: 'accounts', label: string, image?: string | null, id: string, atom_id?: string | null, type: any }; - -export type AccountPositionsAggregateFragment = { __typename?: 'accounts', positions_aggregate: { __typename?: 'positions_aggregate', aggregate?: { __typename?: 'positions_aggregate_fields', count: number } | null, nodes: Array<{ __typename?: 'positions', id: string, shares: any, vault?: { __typename?: 'vaults', term_id: string, total_shares: any, current_share_price: any, term: { __typename?: 'terms', atom?: { __typename?: 'atoms', term_id: string, label?: string | null } | null, triple?: { __typename?: 'triples', term_id: string } | null } } | null }> } }; - -export type AccountPositionsFragment = { __typename?: 'accounts', positions: Array<{ __typename?: 'positions', id: string, shares: any, vault?: { __typename?: 'vaults', term_id: string, total_shares: any, current_share_price: any, term: { __typename?: 'terms', atom?: { __typename?: 'atoms', term_id: string, label?: string | null } | null, triple?: { __typename?: 'triples', term_id: string } | null } } | null }> }; - -export type AccountAtomsFragment = { __typename?: 'accounts', atoms: Array<{ __typename?: 'atoms', term_id: string, label?: string | null, data?: string | null, term: { __typename?: 'terms', vaults: Array<{ __typename?: 'vaults', total_shares: any, positions_aggregate: { __typename?: 'positions_aggregate', nodes: Array<{ __typename?: 'positions', shares: any, account?: { __typename?: 'accounts', id: string } | null }> } }> } }> }; - -export type AccountAtomsAggregateFragment = { __typename?: 'accounts', atoms_aggregate: { __typename?: 'atoms_aggregate', aggregate?: { __typename?: 'atoms_aggregate_fields', count: number } | null, nodes: Array<{ __typename?: 'atoms', term_id: string, label?: string | null, data?: string | null, term: { __typename?: 'terms', vaults: Array<{ __typename?: 'vaults', total_shares: any, positions_aggregate: { __typename?: 'positions_aggregate', nodes: Array<{ __typename?: 'positions', shares: any, account?: { __typename?: 'accounts', id: string } | null }> } }> } }> } }; - -export type AccountTriplesFragment = { __typename?: 'accounts', triples_aggregate: { __typename?: 'triples_aggregate', aggregate?: { __typename?: 'triples_aggregate_fields', count: number } | null, nodes: Array<{ __typename?: 'triples', term_id: string, subject: { __typename?: 'atoms', term_id: string, label?: string | null }, predicate: { __typename?: 'atoms', term_id: string, label?: string | null }, object: { __typename?: 'atoms', term_id: string, label?: string | null } }> } }; - -export type AccountTriplesAggregateFragment = { __typename?: 'accounts', triples_aggregate: { __typename?: 'triples_aggregate', aggregate?: { __typename?: 'triples_aggregate_fields', count: number } | null, nodes: Array<{ __typename?: 'triples', term_id: string, subject: { __typename?: 'atoms', term_id: string, label?: string | null }, predicate: { __typename?: 'atoms', term_id: string, label?: string | null }, object: { __typename?: 'atoms', term_id: string, label?: string | null } }> } }; - -export type AtomValueFragment = { __typename?: 'atoms', value?: { __typename?: 'atom_values', person?: { __typename?: 'persons', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, thing?: { __typename?: 'things', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, organization?: { __typename?: 'organizations', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, account?: { __typename?: 'accounts', id: string, label: string, image?: string | null } | null } | null }; - -export type AtomMetadataFragment = { __typename?: 'atoms', term_id: string, data?: string | null, image?: string | null, label?: string | null, emoji?: string | null, type: any, wallet_id: string, creator: { __typename?: 'accounts', id: string, label: string, image?: string | null }, value?: { __typename?: 'atom_values', person?: { __typename?: 'persons', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, thing?: { __typename?: 'things', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, organization?: { __typename?: 'organizations', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, account?: { __typename?: 'accounts', id: string, label: string, image?: string | null } | null } | null }; - -export type AtomTxnFragment = { __typename?: 'atoms', block_number: any, created_at: any, transaction_hash: string, creator_id: string }; - -export type AtomVaultDetailsFragment = { __typename?: 'atoms', term_id: string, wallet_id: string, term: { __typename?: 'terms', vaults: Array<{ __typename?: 'vaults', position_count: number, total_shares: any, current_share_price: any, positions_aggregate: { __typename?: 'positions_aggregate', aggregate?: { __typename?: 'positions_aggregate_fields', count: number, sum?: { __typename?: 'positions_sum_fields', shares?: any | null } | null } | null }, positions: Array<{ __typename?: 'positions', id: string, shares: any, account?: { __typename?: 'accounts', label: string, id: string } | null }> }> } }; - -export type AtomTripleFragment = { __typename?: 'atoms', as_subject_triples: Array<{ __typename?: 'triples', term_id: string, object: { __typename?: 'atoms', data?: string | null, term_id: string, image?: string | null, label?: string | null, emoji?: string | null, type: any, creator: { __typename?: 'accounts', label: string, image?: string | null, id: string, atom_id?: string | null, type: any } }, predicate: { __typename?: 'atoms', data?: string | null, term_id: string, image?: string | null, label?: string | null, emoji?: string | null, type: any, creator: { __typename?: 'accounts', label: string, image?: string | null, id: string, atom_id?: string | null, type: any } } }>, as_predicate_triples: Array<{ __typename?: 'triples', term_id: string, subject: { __typename?: 'atoms', data?: string | null, term_id: string, image?: string | null, label?: string | null, emoji?: string | null, type: any, creator: { __typename?: 'accounts', label: string, image?: string | null, id: string, atom_id?: string | null, type: any } }, object: { __typename?: 'atoms', data?: string | null, term_id: string, image?: string | null, label?: string | null, emoji?: string | null, type: any, creator: { __typename?: 'accounts', label: string, image?: string | null, id: string, atom_id?: string | null, type: any } } }>, as_object_triples: Array<{ __typename?: 'triples', term_id: string, subject: { __typename?: 'atoms', data?: string | null, term_id: string, image?: string | null, label?: string | null, emoji?: string | null, type: any, creator: { __typename?: 'accounts', label: string, image?: string | null, id: string, atom_id?: string | null, type: any } }, predicate: { __typename?: 'atoms', data?: string | null, term_id: string, image?: string | null, label?: string | null, emoji?: string | null, type: any, creator: { __typename?: 'accounts', label: string, image?: string | null, id: string, atom_id?: string | null, type: any } } }> }; - -export type AtomVaultDetailsWithPositionsFragment = { __typename?: 'atoms', term: { __typename?: 'terms', vaults: Array<{ __typename?: 'vaults', total_shares: any, current_share_price: any, positions_aggregate: { __typename?: 'positions_aggregate', aggregate?: { __typename?: 'positions_aggregate_fields', sum?: { __typename?: 'positions_sum_fields', shares?: any | null } | null } | null, nodes: Array<{ __typename?: 'positions', shares: any, account?: { __typename?: 'accounts', id: string } | null }> } }> } }; - -export type DepositEventFragmentFragment = { __typename?: 'events', deposit?: { __typename?: 'deposits', term_id: string, curve_id: any, shares: any, receiver: { __typename?: 'accounts', id: string }, sender?: { __typename?: 'accounts', id: string } | null } | null }; - -export type EventDetailsFragment = { __typename?: 'events', block_number: any, created_at: any, type: any, transaction_hash: string, atom_id?: string | null, triple_id?: string | null, deposit_id?: string | null, redemption_id?: string | null, atom?: { __typename?: 'atoms', term_id: string, data?: string | null, image?: string | null, label?: string | null, emoji?: string | null, type: any, wallet_id: string, term: { __typename?: 'terms', vaults: Array<{ __typename?: 'vaults', total_shares: any, position_count: number, positions: Array<{ __typename?: 'positions', account_id: string, shares: any, account?: { __typename?: 'accounts', id: string, label: string, image?: string | null } | null }> }> }, creator: { __typename?: 'accounts', id: string, label: string, image?: string | null }, value?: { __typename?: 'atom_values', person?: { __typename?: 'persons', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, thing?: { __typename?: 'things', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, organization?: { __typename?: 'organizations', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, account?: { __typename?: 'accounts', id: string, label: string, image?: string | null } | null } | null } | null, triple?: { __typename?: 'triples', term_id: string, subject_id: string, predicate_id: string, object_id: string, term?: { __typename?: 'terms', vaults: Array<{ __typename?: 'vaults', total_shares: any, position_count: number, current_share_price: any, positions: Array<{ __typename?: 'positions', account_id: string, shares: any, account?: { __typename?: 'accounts', id: string, label: string, image?: string | null } | null, vault?: { __typename?: 'vaults', term_id: string, total_shares: any, current_share_price: any } | null }>, allPositions: { __typename?: 'positions_aggregate', aggregate?: { __typename?: 'positions_aggregate_fields', count: number, sum?: { __typename?: 'positions_sum_fields', shares?: any | null } | null } | null } }> } | null, counter_term?: { __typename?: 'terms', vaults: Array<{ __typename?: 'vaults', total_shares: any, position_count: number, current_share_price: any, positions: Array<{ __typename?: 'positions', account_id: string, shares: any, account?: { __typename?: 'accounts', id: string, label: string, image?: string | null } | null, vault?: { __typename?: 'vaults', term_id: string, total_shares: any, current_share_price: any } | null }>, allPositions: { __typename?: 'positions_aggregate', aggregate?: { __typename?: 'positions_aggregate_fields', count: number, sum?: { __typename?: 'positions_sum_fields', shares?: any | null } | null } | null } }> } | null, subject: { __typename?: 'atoms', data?: string | null, term_id: string, image?: string | null, label?: string | null, emoji?: string | null, type: any, creator: { __typename?: 'accounts', label: string, image?: string | null, id: string, atom_id?: string | null, type: any }, value?: { __typename?: 'atom_values', person?: { __typename?: 'persons', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, thing?: { __typename?: 'things', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, organization?: { __typename?: 'organizations', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, account?: { __typename?: 'accounts', id: string, label: string, image?: string | null } | null } | null }, predicate: { __typename?: 'atoms', data?: string | null, term_id: string, image?: string | null, label?: string | null, emoji?: string | null, type: any, creator: { __typename?: 'accounts', label: string, image?: string | null, id: string, atom_id?: string | null, type: any }, value?: { __typename?: 'atom_values', person?: { __typename?: 'persons', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, thing?: { __typename?: 'things', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, organization?: { __typename?: 'organizations', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, account?: { __typename?: 'accounts', id: string, label: string, image?: string | null } | null } | null }, object: { __typename?: 'atoms', data?: string | null, term_id: string, image?: string | null, label?: string | null, emoji?: string | null, type: any, creator: { __typename?: 'accounts', label: string, image?: string | null, id: string, atom_id?: string | null, type: any }, value?: { __typename?: 'atom_values', person?: { __typename?: 'persons', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, thing?: { __typename?: 'things', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, organization?: { __typename?: 'organizations', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, account?: { __typename?: 'accounts', id: string, label: string, image?: string | null } | null } | null } } | null, deposit?: { __typename?: 'deposits', term_id: string, curve_id: any, shares: any, receiver: { __typename?: 'accounts', id: string }, sender?: { __typename?: 'accounts', id: string } | null } | null, redemption?: { __typename?: 'redemptions', term_id: string, curve_id: any, receiver_id: string, shares: any } | null }; - -export type FollowMetadataFragment = { __typename?: 'triples', term_id: string, subject: { __typename?: 'atoms', term_id: string, label?: string | null }, predicate: { __typename?: 'atoms', term_id: string, label?: string | null }, object: { __typename?: 'atoms', term_id: string, label?: string | null }, term?: { __typename?: 'terms', vaults: Array<{ __typename?: 'vaults', term_id: string, total_shares: any, current_share_price: any, positions_aggregate: { __typename?: 'positions_aggregate', aggregate?: { __typename?: 'positions_aggregate_fields', count: number, sum?: { __typename?: 'positions_sum_fields', shares?: any | null } | null } | null }, positions: Array<{ __typename?: 'positions', shares: any, account?: { __typename?: 'accounts', id: string, label: string } | null }> }> } | null }; - -export type FollowAggregateFragment = { __typename?: 'triples_aggregate', aggregate?: { __typename?: 'triples_aggregate_fields', count: number } | null }; - -export type PositionDetailsFragment = { __typename?: 'positions', id: string, shares: any, term_id: string, curve_id: any, account?: { __typename?: 'accounts', id: string, label: string, image?: string | null } | null, vault?: { __typename?: 'vaults', term_id: string, term: { __typename?: 'terms', atom?: { __typename?: 'atoms', term_id: string, label?: string | null, image?: string | null } | null, triple?: { __typename?: 'triples', term_id: string, term?: { __typename?: 'terms', vaults: Array<{ __typename?: 'vaults', term_id: string, position_count: number, positions_aggregate: { __typename?: 'positions_aggregate', aggregate?: { __typename?: 'positions_aggregate_fields', sum?: { __typename?: 'positions_sum_fields', shares?: any | null } | null } | null } }> } | null, counter_term?: { __typename?: 'terms', vaults: Array<{ __typename?: 'vaults', term_id: string, position_count: number, positions_aggregate: { __typename?: 'positions_aggregate', aggregate?: { __typename?: 'positions_aggregate_fields', sum?: { __typename?: 'positions_sum_fields', shares?: any | null } | null } | null } }> } | null, subject: { __typename?: 'atoms', data?: string | null, term_id: string, label?: string | null, image?: string | null, emoji?: string | null, type: any, creator: { __typename?: 'accounts', label: string, image?: string | null, id: string, atom_id?: string | null, type: any }, value?: { __typename?: 'atom_values', person?: { __typename?: 'persons', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, thing?: { __typename?: 'things', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, organization?: { __typename?: 'organizations', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, account?: { __typename?: 'accounts', id: string, label: string, image?: string | null } | null } | null }, predicate: { __typename?: 'atoms', data?: string | null, term_id: string, label?: string | null, image?: string | null, emoji?: string | null, type: any, creator: { __typename?: 'accounts', label: string, image?: string | null, id: string, atom_id?: string | null, type: any }, value?: { __typename?: 'atom_values', person?: { __typename?: 'persons', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, thing?: { __typename?: 'things', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, organization?: { __typename?: 'organizations', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, account?: { __typename?: 'accounts', id: string, label: string, image?: string | null } | null } | null }, object: { __typename?: 'atoms', data?: string | null, term_id: string, label?: string | null, image?: string | null, emoji?: string | null, type: any, creator: { __typename?: 'accounts', label: string, image?: string | null, id: string, atom_id?: string | null, type: any }, value?: { __typename?: 'atom_values', person?: { __typename?: 'persons', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, thing?: { __typename?: 'things', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, organization?: { __typename?: 'organizations', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, account?: { __typename?: 'accounts', id: string, label: string, image?: string | null } | null } | null } } | null } } | null }; - -export type PositionFieldsFragment = { __typename?: 'positions', shares: any, account?: { __typename?: 'accounts', id: string, label: string } | null, vault?: { __typename?: 'vaults', term_id: string, total_shares: any, current_share_price: any } | null }; - -export type PositionAggregateFieldsFragment = { __typename?: 'positions_aggregate', aggregate?: { __typename?: 'positions_aggregate_fields', count: number, sum?: { __typename?: 'positions_sum_fields', shares?: any | null } | null } | null }; - -export type RedemptionEventFragmentFragment = { __typename?: 'events', redemption?: { __typename?: 'redemptions', term_id: string, curve_id: any, receiver_id: string, shares: any } | null }; - -export type StatDetailsFragment = { __typename?: 'stats', contract_balance?: any | null, total_accounts?: number | null, total_fees?: any | null, total_atoms?: number | null, total_triples?: number | null, total_positions?: number | null, total_signals?: number | null }; - -export type TripleMetadataFragment = { __typename?: 'triples', term_id: string, subject_id: string, predicate_id: string, object_id: string, subject: { __typename?: 'atoms', data?: string | null, term_id: string, image?: string | null, label?: string | null, emoji?: string | null, type: any, creator: { __typename?: 'accounts', label: string, image?: string | null, id: string, atom_id?: string | null, type: any }, value?: { __typename?: 'atom_values', person?: { __typename?: 'persons', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, thing?: { __typename?: 'things', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, organization?: { __typename?: 'organizations', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, account?: { __typename?: 'accounts', id: string, label: string, image?: string | null } | null } | null }, predicate: { __typename?: 'atoms', data?: string | null, term_id: string, image?: string | null, label?: string | null, emoji?: string | null, type: any, creator: { __typename?: 'accounts', label: string, image?: string | null, id: string, atom_id?: string | null, type: any }, value?: { __typename?: 'atom_values', person?: { __typename?: 'persons', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, thing?: { __typename?: 'things', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, organization?: { __typename?: 'organizations', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, account?: { __typename?: 'accounts', id: string, label: string, image?: string | null } | null } | null }, object: { __typename?: 'atoms', data?: string | null, term_id: string, image?: string | null, label?: string | null, emoji?: string | null, type: any, creator: { __typename?: 'accounts', label: string, image?: string | null, id: string, atom_id?: string | null, type: any }, value?: { __typename?: 'atom_values', person?: { __typename?: 'persons', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, thing?: { __typename?: 'things', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, organization?: { __typename?: 'organizations', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, account?: { __typename?: 'accounts', id: string, label: string, image?: string | null } | null } | null }, term?: { __typename?: 'terms', vaults: Array<{ __typename?: 'vaults', total_shares: any, current_share_price: any, allPositions: { __typename?: 'positions_aggregate', aggregate?: { __typename?: 'positions_aggregate_fields', count: number, sum?: { __typename?: 'positions_sum_fields', shares?: any | null } | null } | null }, positions: Array<{ __typename?: 'positions', shares: any, account?: { __typename?: 'accounts', id: string, label: string } | null, vault?: { __typename?: 'vaults', term_id: string, total_shares: any, current_share_price: any } | null }> }> } | null, counter_term?: { __typename?: 'terms', vaults: Array<{ __typename?: 'vaults', total_shares: any, current_share_price: any, allPositions: { __typename?: 'positions_aggregate', aggregate?: { __typename?: 'positions_aggregate_fields', count: number, sum?: { __typename?: 'positions_sum_fields', shares?: any | null } | null } | null }, positions: Array<{ __typename?: 'positions', shares: any, account?: { __typename?: 'accounts', id: string, label: string } | null, vault?: { __typename?: 'vaults', term_id: string, total_shares: any, current_share_price: any } | null }> }> } | null }; +export type AccountMetadataFragment = { + __typename?: 'accounts'; + label: string; + image?: string | null; + id: string; + atom_id?: string | null; + type: any; +}; -export type TripleTxnFragment = { __typename?: 'triples', block_number: any, created_at: any, transaction_hash: string, creator_id: string }; +export type AccountPositionsAggregateFragment = { + __typename?: 'accounts'; + positions_aggregate: { + __typename?: 'positions_aggregate'; + aggregate?: { __typename?: 'positions_aggregate_fields'; count: number } | null; + nodes: Array<{ + __typename?: 'positions'; + id: string; + shares: any; + vault?: { + __typename?: 'vaults'; + term_id: string; + total_shares: any; + current_share_price: any; + term: { + __typename?: 'terms'; + atom?: { __typename?: 'atoms'; term_id: string; label?: string | null } | null; + triple?: { __typename?: 'triples'; term_id: string } | null; + }; + } | null; + }>; + }; +}; + +export type AccountPositionsFragment = { + __typename?: 'accounts'; + positions: Array<{ + __typename?: 'positions'; + id: string; + shares: any; + vault?: { + __typename?: 'vaults'; + term_id: string; + total_shares: any; + current_share_price: any; + term: { + __typename?: 'terms'; + atom?: { __typename?: 'atoms'; term_id: string; label?: string | null } | null; + triple?: { __typename?: 'triples'; term_id: string } | null; + }; + } | null; + }>; +}; + +export type AccountAtomsFragment = { + __typename?: 'accounts'; + atoms: Array<{ + __typename?: 'atoms'; + term_id: string; + label?: string | null; + data?: string | null; + term: { + __typename?: 'terms'; + vaults: Array<{ + __typename?: 'vaults'; + total_shares: any; + positions_aggregate: { + __typename?: 'positions_aggregate'; + nodes: Array<{ + __typename?: 'positions'; + shares: any; + account?: { __typename?: 'accounts'; id: string } | null; + }>; + }; + }>; + }; + }>; +}; + +export type AccountAtomsAggregateFragment = { + __typename?: 'accounts'; + atoms_aggregate: { + __typename?: 'atoms_aggregate'; + aggregate?: { __typename?: 'atoms_aggregate_fields'; count: number } | null; + nodes: Array<{ + __typename?: 'atoms'; + term_id: string; + label?: string | null; + data?: string | null; + term: { + __typename?: 'terms'; + vaults: Array<{ + __typename?: 'vaults'; + total_shares: any; + positions_aggregate: { + __typename?: 'positions_aggregate'; + nodes: Array<{ + __typename?: 'positions'; + shares: any; + account?: { __typename?: 'accounts'; id: string } | null; + }>; + }; + }>; + }; + }>; + }; +}; + +export type AccountTriplesFragment = { + __typename?: 'accounts'; + triples_aggregate: { + __typename?: 'triples_aggregate'; + aggregate?: { __typename?: 'triples_aggregate_fields'; count: number } | null; + nodes: Array<{ + __typename?: 'triples'; + term_id: string; + subject: { __typename?: 'atoms'; term_id: string; label?: string | null }; + predicate: { __typename?: 'atoms'; term_id: string; label?: string | null }; + object: { __typename?: 'atoms'; term_id: string; label?: string | null }; + }>; + }; +}; + +export type AccountTriplesAggregateFragment = { + __typename?: 'accounts'; + triples_aggregate: { + __typename?: 'triples_aggregate'; + aggregate?: { __typename?: 'triples_aggregate_fields'; count: number } | null; + nodes: Array<{ + __typename?: 'triples'; + term_id: string; + subject: { __typename?: 'atoms'; term_id: string; label?: string | null }; + predicate: { __typename?: 'atoms'; term_id: string; label?: string | null }; + object: { __typename?: 'atoms'; term_id: string; label?: string | null }; + }>; + }; +}; + +export type AtomValueFragment = { + __typename?: 'atoms'; + value?: { + __typename?: 'atom_values'; + person?: { + __typename?: 'persons'; + name?: string | null; + image?: string | null; + description?: string | null; + url?: string | null; + } | null; + thing?: { + __typename?: 'things'; + name?: string | null; + image?: string | null; + description?: string | null; + url?: string | null; + } | null; + organization?: { + __typename?: 'organizations'; + name?: string | null; + image?: string | null; + description?: string | null; + url?: string | null; + } | null; + account?: { __typename?: 'accounts'; id: string; label: string; image?: string | null } | null; + } | null; +}; + +export type AtomMetadataFragment = { + __typename?: 'atoms'; + term_id: string; + data?: string | null; + image?: string | null; + label?: string | null; + emoji?: string | null; + type: any; + wallet_id: string; + creator: { __typename?: 'accounts'; id: string; label: string; image?: string | null }; + value?: { + __typename?: 'atom_values'; + person?: { + __typename?: 'persons'; + name?: string | null; + image?: string | null; + description?: string | null; + url?: string | null; + } | null; + thing?: { + __typename?: 'things'; + name?: string | null; + image?: string | null; + description?: string | null; + url?: string | null; + } | null; + organization?: { + __typename?: 'organizations'; + name?: string | null; + image?: string | null; + description?: string | null; + url?: string | null; + } | null; + account?: { __typename?: 'accounts'; id: string; label: string; image?: string | null } | null; + } | null; +}; + +export type AtomTxnFragment = { + __typename?: 'atoms'; + block_number: any; + created_at: any; + transaction_hash: string; + creator_id: string; +}; -export type TripleVaultDetailsFragment = { __typename?: 'triples', term_id: string, counter_term_id: string, term?: { __typename?: 'terms', vaults: Array<{ __typename?: 'vaults', positions: Array<{ __typename?: 'positions', id: string, shares: any, term_id: string, curve_id: any, account?: { __typename?: 'accounts', id: string, label: string, image?: string | null } | null, vault?: { __typename?: 'vaults', term_id: string, term: { __typename?: 'terms', atom?: { __typename?: 'atoms', term_id: string, label?: string | null, image?: string | null } | null, triple?: { __typename?: 'triples', term_id: string, term?: { __typename?: 'terms', vaults: Array<{ __typename?: 'vaults', term_id: string, position_count: number, positions_aggregate: { __typename?: 'positions_aggregate', aggregate?: { __typename?: 'positions_aggregate_fields', sum?: { __typename?: 'positions_sum_fields', shares?: any | null } | null } | null } }> } | null, counter_term?: { __typename?: 'terms', vaults: Array<{ __typename?: 'vaults', term_id: string, position_count: number, positions_aggregate: { __typename?: 'positions_aggregate', aggregate?: { __typename?: 'positions_aggregate_fields', sum?: { __typename?: 'positions_sum_fields', shares?: any | null } | null } | null } }> } | null, subject: { __typename?: 'atoms', data?: string | null, term_id: string, label?: string | null, image?: string | null, emoji?: string | null, type: any, creator: { __typename?: 'accounts', label: string, image?: string | null, id: string, atom_id?: string | null, type: any }, value?: { __typename?: 'atom_values', person?: { __typename?: 'persons', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, thing?: { __typename?: 'things', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, organization?: { __typename?: 'organizations', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, account?: { __typename?: 'accounts', id: string, label: string, image?: string | null } | null } | null }, predicate: { __typename?: 'atoms', data?: string | null, term_id: string, label?: string | null, image?: string | null, emoji?: string | null, type: any, creator: { __typename?: 'accounts', label: string, image?: string | null, id: string, atom_id?: string | null, type: any }, value?: { __typename?: 'atom_values', person?: { __typename?: 'persons', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, thing?: { __typename?: 'things', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, organization?: { __typename?: 'organizations', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, account?: { __typename?: 'accounts', id: string, label: string, image?: string | null } | null } | null }, object: { __typename?: 'atoms', data?: string | null, term_id: string, label?: string | null, image?: string | null, emoji?: string | null, type: any, creator: { __typename?: 'accounts', label: string, image?: string | null, id: string, atom_id?: string | null, type: any }, value?: { __typename?: 'atom_values', person?: { __typename?: 'persons', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, thing?: { __typename?: 'things', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, organization?: { __typename?: 'organizations', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, account?: { __typename?: 'accounts', id: string, label: string, image?: string | null } | null } | null } } | null } } | null }> }> } | null, counter_term?: { __typename?: 'terms', vaults: Array<{ __typename?: 'vaults', positions: Array<{ __typename?: 'positions', id: string, shares: any, term_id: string, curve_id: any, account?: { __typename?: 'accounts', id: string, label: string, image?: string | null } | null, vault?: { __typename?: 'vaults', term_id: string, term: { __typename?: 'terms', atom?: { __typename?: 'atoms', term_id: string, label?: string | null, image?: string | null } | null, triple?: { __typename?: 'triples', term_id: string, term?: { __typename?: 'terms', vaults: Array<{ __typename?: 'vaults', term_id: string, position_count: number, positions_aggregate: { __typename?: 'positions_aggregate', aggregate?: { __typename?: 'positions_aggregate_fields', sum?: { __typename?: 'positions_sum_fields', shares?: any | null } | null } | null } }> } | null, counter_term?: { __typename?: 'terms', vaults: Array<{ __typename?: 'vaults', term_id: string, position_count: number, positions_aggregate: { __typename?: 'positions_aggregate', aggregate?: { __typename?: 'positions_aggregate_fields', sum?: { __typename?: 'positions_sum_fields', shares?: any | null } | null } | null } }> } | null, subject: { __typename?: 'atoms', data?: string | null, term_id: string, label?: string | null, image?: string | null, emoji?: string | null, type: any, creator: { __typename?: 'accounts', label: string, image?: string | null, id: string, atom_id?: string | null, type: any }, value?: { __typename?: 'atom_values', person?: { __typename?: 'persons', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, thing?: { __typename?: 'things', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, organization?: { __typename?: 'organizations', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, account?: { __typename?: 'accounts', id: string, label: string, image?: string | null } | null } | null }, predicate: { __typename?: 'atoms', data?: string | null, term_id: string, label?: string | null, image?: string | null, emoji?: string | null, type: any, creator: { __typename?: 'accounts', label: string, image?: string | null, id: string, atom_id?: string | null, type: any }, value?: { __typename?: 'atom_values', person?: { __typename?: 'persons', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, thing?: { __typename?: 'things', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, organization?: { __typename?: 'organizations', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, account?: { __typename?: 'accounts', id: string, label: string, image?: string | null } | null } | null }, object: { __typename?: 'atoms', data?: string | null, term_id: string, label?: string | null, image?: string | null, emoji?: string | null, type: any, creator: { __typename?: 'accounts', label: string, image?: string | null, id: string, atom_id?: string | null, type: any }, value?: { __typename?: 'atom_values', person?: { __typename?: 'persons', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, thing?: { __typename?: 'things', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, organization?: { __typename?: 'organizations', name?: string | null, image?: string | null, description?: string | null, url?: string | null } | null, account?: { __typename?: 'accounts', id: string, label: string, image?: string | null } | null } | null } } | null } } | null }> }> } | null }; +export type AtomVaultDetailsFragment = { + __typename?: 'atoms'; + term_id: string; + wallet_id: string; + term: { + __typename?: 'terms'; + vaults: Array<{ + __typename?: 'vaults'; + position_count: number; + total_shares: any; + current_share_price: any; + positions_aggregate: { + __typename?: 'positions_aggregate'; + aggregate?: { + __typename?: 'positions_aggregate_fields'; + count: number; + sum?: { __typename?: 'positions_sum_fields'; shares?: any | null } | null; + } | null; + }; + positions: Array<{ + __typename?: 'positions'; + id: string; + shares: any; + account?: { __typename?: 'accounts'; label: string; id: string } | null; + }>; + }>; + }; +}; + +export type AtomTripleFragment = { + __typename?: 'atoms'; + as_subject_triples: Array<{ + __typename?: 'triples'; + term_id: string; + object: { + __typename?: 'atoms'; + data?: string | null; + term_id: string; + image?: string | null; + label?: string | null; + emoji?: string | null; + type: any; + creator: { + __typename?: 'accounts'; + label: string; + image?: string | null; + id: string; + atom_id?: string | null; + type: any; + }; + }; + predicate: { + __typename?: 'atoms'; + data?: string | null; + term_id: string; + image?: string | null; + label?: string | null; + emoji?: string | null; + type: any; + creator: { + __typename?: 'accounts'; + label: string; + image?: string | null; + id: string; + atom_id?: string | null; + type: any; + }; + }; + }>; + as_predicate_triples: Array<{ + __typename?: 'triples'; + term_id: string; + subject: { + __typename?: 'atoms'; + data?: string | null; + term_id: string; + image?: string | null; + label?: string | null; + emoji?: string | null; + type: any; + creator: { + __typename?: 'accounts'; + label: string; + image?: string | null; + id: string; + atom_id?: string | null; + type: any; + }; + }; + object: { + __typename?: 'atoms'; + data?: string | null; + term_id: string; + image?: string | null; + label?: string | null; + emoji?: string | null; + type: any; + creator: { + __typename?: 'accounts'; + label: string; + image?: string | null; + id: string; + atom_id?: string | null; + type: any; + }; + }; + }>; + as_object_triples: Array<{ + __typename?: 'triples'; + term_id: string; + subject: { + __typename?: 'atoms'; + data?: string | null; + term_id: string; + image?: string | null; + label?: string | null; + emoji?: string | null; + type: any; + creator: { + __typename?: 'accounts'; + label: string; + image?: string | null; + id: string; + atom_id?: string | null; + type: any; + }; + }; + predicate: { + __typename?: 'atoms'; + data?: string | null; + term_id: string; + image?: string | null; + label?: string | null; + emoji?: string | null; + type: any; + creator: { + __typename?: 'accounts'; + label: string; + image?: string | null; + id: string; + atom_id?: string | null; + type: any; + }; + }; + }>; +}; + +export type AtomVaultDetailsWithPositionsFragment = { + __typename?: 'atoms'; + term: { + __typename?: 'terms'; + vaults: Array<{ + __typename?: 'vaults'; + total_shares: any; + current_share_price: any; + positions_aggregate: { + __typename?: 'positions_aggregate'; + aggregate?: { + __typename?: 'positions_aggregate_fields'; + sum?: { __typename?: 'positions_sum_fields'; shares?: any | null } | null; + } | null; + nodes: Array<{ + __typename?: 'positions'; + shares: any; + account?: { __typename?: 'accounts'; id: string } | null; + }>; + }; + }>; + }; +}; + +export type DepositEventFragmentFragment = { + __typename?: 'events'; + deposit?: { + __typename?: 'deposits'; + term_id: string; + curve_id: any; + shares: any; + receiver: { __typename?: 'accounts'; id: string }; + sender?: { __typename?: 'accounts'; id: string } | null; + } | null; +}; -export type TripleVaultCouterVaultDetailsWithPositionsFragment = { __typename?: 'triples', term_id: string, counter_term_id: string, term?: { __typename?: 'terms', vaults: Array<{ __typename?: 'vaults', term_id: string, curve_id: any, current_share_price: any, total_shares: any, term: { __typename?: 'terms', atom?: { __typename?: 'atoms', term_id: string, label?: string | null } | null, triple?: { __typename?: 'triples', term_id: string, subject: { __typename?: 'atoms', term_id: string, label?: string | null }, predicate: { __typename?: 'atoms', term_id: string, label?: string | null }, object: { __typename?: 'atoms', term_id: string, label?: string | null } } | null }, positions: Array<{ __typename?: 'positions', shares: any, account?: { __typename?: 'accounts', id: string, label: string } | null, vault?: { __typename?: 'vaults', term_id: string, total_shares: any, current_share_price: any } | null }> }> } | null, counter_term?: { __typename?: 'terms', vaults: Array<{ __typename?: 'vaults', term_id: string, curve_id: any, current_share_price: any, total_shares: any, term: { __typename?: 'terms', atom?: { __typename?: 'atoms', term_id: string, label?: string | null } | null, triple?: { __typename?: 'triples', term_id: string, subject: { __typename?: 'atoms', term_id: string, label?: string | null }, predicate: { __typename?: 'atoms', term_id: string, label?: string | null }, object: { __typename?: 'atoms', term_id: string, label?: string | null } } | null }, positions: Array<{ __typename?: 'positions', shares: any, account?: { __typename?: 'accounts', id: string, label: string } | null, vault?: { __typename?: 'vaults', term_id: string, total_shares: any, current_share_price: any } | null }> }> } | null }; +export type EventDetailsFragment = { + __typename?: 'events'; + block_number: any; + created_at: any; + type: any; + transaction_hash: string; + atom_id?: string | null; + triple_id?: string | null; + deposit_id?: string | null; + redemption_id?: string | null; + atom?: { + __typename?: 'atoms'; + term_id: string; + data?: string | null; + image?: string | null; + label?: string | null; + emoji?: string | null; + type: any; + wallet_id: string; + term: { + __typename?: 'terms'; + vaults: Array<{ + __typename?: 'vaults'; + total_shares: any; + position_count: number; + positions: Array<{ + __typename?: 'positions'; + account_id: string; + shares: any; + account?: { + __typename?: 'accounts'; + id: string; + label: string; + image?: string | null; + } | null; + }>; + }>; + }; + creator: { __typename?: 'accounts'; id: string; label: string; image?: string | null }; + value?: { + __typename?: 'atom_values'; + person?: { + __typename?: 'persons'; + name?: string | null; + image?: string | null; + description?: string | null; + url?: string | null; + } | null; + thing?: { + __typename?: 'things'; + name?: string | null; + image?: string | null; + description?: string | null; + url?: string | null; + } | null; + organization?: { + __typename?: 'organizations'; + name?: string | null; + image?: string | null; + description?: string | null; + url?: string | null; + } | null; + account?: { + __typename?: 'accounts'; + id: string; + label: string; + image?: string | null; + } | null; + } | null; + } | null; + triple?: { + __typename?: 'triples'; + term_id: string; + subject_id: string; + predicate_id: string; + object_id: string; + term?: { + __typename?: 'terms'; + vaults: Array<{ + __typename?: 'vaults'; + total_shares: any; + position_count: number; + current_share_price: any; + positions: Array<{ + __typename?: 'positions'; + account_id: string; + shares: any; + account?: { + __typename?: 'accounts'; + id: string; + label: string; + image?: string | null; + } | null; + vault?: { + __typename?: 'vaults'; + term_id: string; + total_shares: any; + current_share_price: any; + } | null; + }>; + allPositions: { + __typename?: 'positions_aggregate'; + aggregate?: { + __typename?: 'positions_aggregate_fields'; + count: number; + sum?: { __typename?: 'positions_sum_fields'; shares?: any | null } | null; + } | null; + }; + }>; + } | null; + counter_term?: { + __typename?: 'terms'; + vaults: Array<{ + __typename?: 'vaults'; + total_shares: any; + position_count: number; + current_share_price: any; + positions: Array<{ + __typename?: 'positions'; + account_id: string; + shares: any; + account?: { + __typename?: 'accounts'; + id: string; + label: string; + image?: string | null; + } | null; + vault?: { + __typename?: 'vaults'; + term_id: string; + total_shares: any; + current_share_price: any; + } | null; + }>; + allPositions: { + __typename?: 'positions_aggregate'; + aggregate?: { + __typename?: 'positions_aggregate_fields'; + count: number; + sum?: { __typename?: 'positions_sum_fields'; shares?: any | null } | null; + } | null; + }; + }>; + } | null; + subject: { + __typename?: 'atoms'; + data?: string | null; + term_id: string; + image?: string | null; + label?: string | null; + emoji?: string | null; + type: any; + creator: { + __typename?: 'accounts'; + label: string; + image?: string | null; + id: string; + atom_id?: string | null; + type: any; + }; + value?: { + __typename?: 'atom_values'; + person?: { + __typename?: 'persons'; + name?: string | null; + image?: string | null; + description?: string | null; + url?: string | null; + } | null; + thing?: { + __typename?: 'things'; + name?: string | null; + image?: string | null; + description?: string | null; + url?: string | null; + } | null; + organization?: { + __typename?: 'organizations'; + name?: string | null; + image?: string | null; + description?: string | null; + url?: string | null; + } | null; + account?: { + __typename?: 'accounts'; + id: string; + label: string; + image?: string | null; + } | null; + } | null; + }; + predicate: { + __typename?: 'atoms'; + data?: string | null; + term_id: string; + image?: string | null; + label?: string | null; + emoji?: string | null; + type: any; + creator: { + __typename?: 'accounts'; + label: string; + image?: string | null; + id: string; + atom_id?: string | null; + type: any; + }; + value?: { + __typename?: 'atom_values'; + person?: { + __typename?: 'persons'; + name?: string | null; + image?: string | null; + description?: string | null; + url?: string | null; + } | null; + thing?: { + __typename?: 'things'; + name?: string | null; + image?: string | null; + description?: string | null; + url?: string | null; + } | null; + organization?: { + __typename?: 'organizations'; + name?: string | null; + image?: string | null; + description?: string | null; + url?: string | null; + } | null; + account?: { + __typename?: 'accounts'; + id: string; + label: string; + image?: string | null; + } | null; + } | null; + }; + object: { + __typename?: 'atoms'; + data?: string | null; + term_id: string; + image?: string | null; + label?: string | null; + emoji?: string | null; + type: any; + creator: { + __typename?: 'accounts'; + label: string; + image?: string | null; + id: string; + atom_id?: string | null; + type: any; + }; + value?: { + __typename?: 'atom_values'; + person?: { + __typename?: 'persons'; + name?: string | null; + image?: string | null; + description?: string | null; + url?: string | null; + } | null; + thing?: { + __typename?: 'things'; + name?: string | null; + image?: string | null; + description?: string | null; + url?: string | null; + } | null; + organization?: { + __typename?: 'organizations'; + name?: string | null; + image?: string | null; + description?: string | null; + url?: string | null; + } | null; + account?: { + __typename?: 'accounts'; + id: string; + label: string; + image?: string | null; + } | null; + } | null; + }; + } | null; + deposit?: { + __typename?: 'deposits'; + term_id: string; + curve_id: any; + shares: any; + receiver: { __typename?: 'accounts'; id: string }; + sender?: { __typename?: 'accounts'; id: string } | null; + } | null; + redemption?: { + __typename?: 'redemptions'; + term_id: string; + curve_id: any; + receiver_id: string; + shares: any; + } | null; +}; + +export type FollowMetadataFragment = { + __typename?: 'triples'; + term_id: string; + subject: { __typename?: 'atoms'; term_id: string; label?: string | null }; + predicate: { __typename?: 'atoms'; term_id: string; label?: string | null }; + object: { __typename?: 'atoms'; term_id: string; label?: string | null }; + term?: { + __typename?: 'terms'; + vaults: Array<{ + __typename?: 'vaults'; + term_id: string; + total_shares: any; + current_share_price: any; + positions_aggregate: { + __typename?: 'positions_aggregate'; + aggregate?: { + __typename?: 'positions_aggregate_fields'; + count: number; + sum?: { __typename?: 'positions_sum_fields'; shares?: any | null } | null; + } | null; + }; + positions: Array<{ + __typename?: 'positions'; + shares: any; + account?: { __typename?: 'accounts'; id: string; label: string } | null; + }>; + }>; + } | null; +}; + +export type FollowAggregateFragment = { + __typename?: 'triples_aggregate'; + aggregate?: { __typename?: 'triples_aggregate_fields'; count: number } | null; +}; -export type VaultBasicDetailsFragment = { __typename?: 'vaults', term_id: string, curve_id: any, current_share_price: any, total_shares: any, term: { __typename?: 'terms', atom?: { __typename?: 'atoms', term_id: string, label?: string | null } | null, triple?: { __typename?: 'triples', term_id: string, subject: { __typename?: 'atoms', term_id: string, label?: string | null }, predicate: { __typename?: 'atoms', term_id: string, label?: string | null }, object: { __typename?: 'atoms', term_id: string, label?: string | null } } | null } }; +export type PositionDetailsFragment = { + __typename?: 'positions'; + id: string; + shares: any; + term_id: string; + curve_id: any; + account?: { __typename?: 'accounts'; id: string; label: string; image?: string | null } | null; + vault?: { + __typename?: 'vaults'; + term_id: string; + term: { + __typename?: 'terms'; + atom?: { + __typename?: 'atoms'; + term_id: string; + label?: string | null; + image?: string | null; + } | null; + triple?: { + __typename?: 'triples'; + term_id: string; + term?: { + __typename?: 'terms'; + vaults: Array<{ + __typename?: 'vaults'; + term_id: string; + position_count: number; + positions_aggregate: { + __typename?: 'positions_aggregate'; + aggregate?: { + __typename?: 'positions_aggregate_fields'; + sum?: { __typename?: 'positions_sum_fields'; shares?: any | null } | null; + } | null; + }; + }>; + } | null; + counter_term?: { + __typename?: 'terms'; + vaults: Array<{ + __typename?: 'vaults'; + term_id: string; + position_count: number; + positions_aggregate: { + __typename?: 'positions_aggregate'; + aggregate?: { + __typename?: 'positions_aggregate_fields'; + sum?: { __typename?: 'positions_sum_fields'; shares?: any | null } | null; + } | null; + }; + }>; + } | null; + subject: { + __typename?: 'atoms'; + data?: string | null; + term_id: string; + label?: string | null; + image?: string | null; + emoji?: string | null; + type: any; + creator: { + __typename?: 'accounts'; + label: string; + image?: string | null; + id: string; + atom_id?: string | null; + type: any; + }; + value?: { + __typename?: 'atom_values'; + person?: { + __typename?: 'persons'; + name?: string | null; + image?: string | null; + description?: string | null; + url?: string | null; + } | null; + thing?: { + __typename?: 'things'; + name?: string | null; + image?: string | null; + description?: string | null; + url?: string | null; + } | null; + organization?: { + __typename?: 'organizations'; + name?: string | null; + image?: string | null; + description?: string | null; + url?: string | null; + } | null; + account?: { + __typename?: 'accounts'; + id: string; + label: string; + image?: string | null; + } | null; + } | null; + }; + predicate: { + __typename?: 'atoms'; + data?: string | null; + term_id: string; + label?: string | null; + image?: string | null; + emoji?: string | null; + type: any; + creator: { + __typename?: 'accounts'; + label: string; + image?: string | null; + id: string; + atom_id?: string | null; + type: any; + }; + value?: { + __typename?: 'atom_values'; + person?: { + __typename?: 'persons'; + name?: string | null; + image?: string | null; + description?: string | null; + url?: string | null; + } | null; + thing?: { + __typename?: 'things'; + name?: string | null; + image?: string | null; + description?: string | null; + url?: string | null; + } | null; + organization?: { + __typename?: 'organizations'; + name?: string | null; + image?: string | null; + description?: string | null; + url?: string | null; + } | null; + account?: { + __typename?: 'accounts'; + id: string; + label: string; + image?: string | null; + } | null; + } | null; + }; + object: { + __typename?: 'atoms'; + data?: string | null; + term_id: string; + label?: string | null; + image?: string | null; + emoji?: string | null; + type: any; + creator: { + __typename?: 'accounts'; + label: string; + image?: string | null; + id: string; + atom_id?: string | null; + type: any; + }; + value?: { + __typename?: 'atom_values'; + person?: { + __typename?: 'persons'; + name?: string | null; + image?: string | null; + description?: string | null; + url?: string | null; + } | null; + thing?: { + __typename?: 'things'; + name?: string | null; + image?: string | null; + description?: string | null; + url?: string | null; + } | null; + organization?: { + __typename?: 'organizations'; + name?: string | null; + image?: string | null; + description?: string | null; + url?: string | null; + } | null; + account?: { + __typename?: 'accounts'; + id: string; + label: string; + image?: string | null; + } | null; + } | null; + }; + } | null; + }; + } | null; +}; + +export type PositionFieldsFragment = { + __typename?: 'positions'; + shares: any; + account?: { __typename?: 'accounts'; id: string; label: string } | null; + vault?: { + __typename?: 'vaults'; + term_id: string; + total_shares: any; + current_share_price: any; + } | null; +}; -export type VaultPositionsAggregateFragment = { __typename?: 'vaults', positions_aggregate: { __typename?: 'positions_aggregate', aggregate?: { __typename?: 'positions_aggregate_fields', count: number, sum?: { __typename?: 'positions_sum_fields', shares?: any | null } | null } | null } }; +export type PositionAggregateFieldsFragment = { + __typename?: 'positions_aggregate'; + aggregate?: { + __typename?: 'positions_aggregate_fields'; + count: number; + sum?: { __typename?: 'positions_sum_fields'; shares?: any | null } | null; + } | null; +}; -export type VaultFilteredPositionsFragment = { __typename?: 'vaults', positions: Array<{ __typename?: 'positions', shares: any, account?: { __typename?: 'accounts', id: string, label: string } | null, vault?: { __typename?: 'vaults', term_id: string, total_shares: any, current_share_price: any } | null }> }; +export type RedemptionEventFragmentFragment = { + __typename?: 'events'; + redemption?: { + __typename?: 'redemptions'; + term_id: string; + curve_id: any; + receiver_id: string; + shares: any; + } | null; +}; -export type VaultUnfilteredPositionsFragment = { __typename?: 'vaults', positions: Array<{ __typename?: 'positions', shares: any, account?: { __typename?: 'accounts', id: string, label: string } | null, vault?: { __typename?: 'vaults', term_id: string, total_shares: any, current_share_price: any } | null }> }; +export type StatDetailsFragment = { + __typename?: 'stats'; + contract_balance?: any | null; + total_accounts?: number | null; + total_fees?: any | null; + total_atoms?: number | null; + total_triples?: number | null; + total_positions?: number | null; + total_signals?: number | null; +}; -export type VaultDetailsFragment = { __typename?: 'vaults', term_id: string, curve_id: any, current_share_price: any, total_shares: any, term: { __typename?: 'terms', atom?: { __typename?: 'atoms', term_id: string, label?: string | null } | null, triple?: { __typename?: 'triples', term_id: string, subject: { __typename?: 'atoms', term_id: string, label?: string | null }, predicate: { __typename?: 'atoms', term_id: string, label?: string | null }, object: { __typename?: 'atoms', term_id: string, label?: string | null } } | null } }; +export type TripleMetadataFragment = { + __typename?: 'triples'; + term_id: string; + subject_id: string; + predicate_id: string; + object_id: string; + subject: { + __typename?: 'atoms'; + data?: string | null; + term_id: string; + image?: string | null; + label?: string | null; + emoji?: string | null; + type: any; + creator: { + __typename?: 'accounts'; + label: string; + image?: string | null; + id: string; + atom_id?: string | null; + type: any; + }; + value?: { + __typename?: 'atom_values'; + person?: { + __typename?: 'persons'; + name?: string | null; + image?: string | null; + description?: string | null; + url?: string | null; + } | null; + thing?: { + __typename?: 'things'; + name?: string | null; + image?: string | null; + description?: string | null; + url?: string | null; + } | null; + organization?: { + __typename?: 'organizations'; + name?: string | null; + image?: string | null; + description?: string | null; + url?: string | null; + } | null; + account?: { + __typename?: 'accounts'; + id: string; + label: string; + image?: string | null; + } | null; + } | null; + }; + predicate: { + __typename?: 'atoms'; + data?: string | null; + term_id: string; + image?: string | null; + label?: string | null; + emoji?: string | null; + type: any; + creator: { + __typename?: 'accounts'; + label: string; + image?: string | null; + id: string; + atom_id?: string | null; + type: any; + }; + value?: { + __typename?: 'atom_values'; + person?: { + __typename?: 'persons'; + name?: string | null; + image?: string | null; + description?: string | null; + url?: string | null; + } | null; + thing?: { + __typename?: 'things'; + name?: string | null; + image?: string | null; + description?: string | null; + url?: string | null; + } | null; + organization?: { + __typename?: 'organizations'; + name?: string | null; + image?: string | null; + description?: string | null; + url?: string | null; + } | null; + account?: { + __typename?: 'accounts'; + id: string; + label: string; + image?: string | null; + } | null; + } | null; + }; + object: { + __typename?: 'atoms'; + data?: string | null; + term_id: string; + image?: string | null; + label?: string | null; + emoji?: string | null; + type: any; + creator: { + __typename?: 'accounts'; + label: string; + image?: string | null; + id: string; + atom_id?: string | null; + type: any; + }; + value?: { + __typename?: 'atom_values'; + person?: { + __typename?: 'persons'; + name?: string | null; + image?: string | null; + description?: string | null; + url?: string | null; + } | null; + thing?: { + __typename?: 'things'; + name?: string | null; + image?: string | null; + description?: string | null; + url?: string | null; + } | null; + organization?: { + __typename?: 'organizations'; + name?: string | null; + image?: string | null; + description?: string | null; + url?: string | null; + } | null; + account?: { + __typename?: 'accounts'; + id: string; + label: string; + image?: string | null; + } | null; + } | null; + }; + term?: { + __typename?: 'terms'; + vaults: Array<{ + __typename?: 'vaults'; + total_shares: any; + current_share_price: any; + allPositions: { + __typename?: 'positions_aggregate'; + aggregate?: { + __typename?: 'positions_aggregate_fields'; + count: number; + sum?: { __typename?: 'positions_sum_fields'; shares?: any | null } | null; + } | null; + }; + positions: Array<{ + __typename?: 'positions'; + shares: any; + account?: { __typename?: 'accounts'; id: string; label: string } | null; + vault?: { + __typename?: 'vaults'; + term_id: string; + total_shares: any; + current_share_price: any; + } | null; + }>; + }>; + } | null; + counter_term?: { + __typename?: 'terms'; + vaults: Array<{ + __typename?: 'vaults'; + total_shares: any; + current_share_price: any; + allPositions: { + __typename?: 'positions_aggregate'; + aggregate?: { + __typename?: 'positions_aggregate_fields'; + count: number; + sum?: { __typename?: 'positions_sum_fields'; shares?: any | null } | null; + } | null; + }; + positions: Array<{ + __typename?: 'positions'; + shares: any; + account?: { __typename?: 'accounts'; id: string; label: string } | null; + vault?: { + __typename?: 'vaults'; + term_id: string; + total_shares: any; + current_share_price: any; + } | null; + }>; + }>; + } | null; +}; + +export type TripleTxnFragment = { + __typename?: 'triples'; + block_number: any; + created_at: any; + transaction_hash: string; + creator_id: string; +}; -export type VaultDetailsWithFilteredPositionsFragment = { __typename?: 'vaults', term_id: string, curve_id: any, current_share_price: any, total_shares: any, term: { __typename?: 'terms', atom?: { __typename?: 'atoms', term_id: string, label?: string | null } | null, triple?: { __typename?: 'triples', term_id: string, subject: { __typename?: 'atoms', term_id: string, label?: string | null }, predicate: { __typename?: 'atoms', term_id: string, label?: string | null }, object: { __typename?: 'atoms', term_id: string, label?: string | null } } | null }, positions: Array<{ __typename?: 'positions', shares: any, account?: { __typename?: 'accounts', id: string, label: string } | null, vault?: { __typename?: 'vaults', term_id: string, total_shares: any, current_share_price: any } | null }> }; +export type TripleVaultDetailsFragment = { + __typename?: 'triples'; + term_id: string; + counter_term_id: string; + term?: { + __typename?: 'terms'; + vaults: Array<{ + __typename?: 'vaults'; + positions: Array<{ + __typename?: 'positions'; + id: string; + shares: any; + term_id: string; + curve_id: any; + account?: { + __typename?: 'accounts'; + id: string; + label: string; + image?: string | null; + } | null; + vault?: { + __typename?: 'vaults'; + term_id: string; + term: { + __typename?: 'terms'; + atom?: { + __typename?: 'atoms'; + term_id: string; + label?: string | null; + image?: string | null; + } | null; + triple?: { + __typename?: 'triples'; + term_id: string; + term?: { + __typename?: 'terms'; + vaults: Array<{ + __typename?: 'vaults'; + term_id: string; + position_count: number; + positions_aggregate: { + __typename?: 'positions_aggregate'; + aggregate?: { + __typename?: 'positions_aggregate_fields'; + sum?: { __typename?: 'positions_sum_fields'; shares?: any | null } | null; + } | null; + }; + }>; + } | null; + counter_term?: { + __typename?: 'terms'; + vaults: Array<{ + __typename?: 'vaults'; + term_id: string; + position_count: number; + positions_aggregate: { + __typename?: 'positions_aggregate'; + aggregate?: { + __typename?: 'positions_aggregate_fields'; + sum?: { __typename?: 'positions_sum_fields'; shares?: any | null } | null; + } | null; + }; + }>; + } | null; + subject: { + __typename?: 'atoms'; + data?: string | null; + term_id: string; + label?: string | null; + image?: string | null; + emoji?: string | null; + type: any; + creator: { + __typename?: 'accounts'; + label: string; + image?: string | null; + id: string; + atom_id?: string | null; + type: any; + }; + value?: { + __typename?: 'atom_values'; + person?: { + __typename?: 'persons'; + name?: string | null; + image?: string | null; + description?: string | null; + url?: string | null; + } | null; + thing?: { + __typename?: 'things'; + name?: string | null; + image?: string | null; + description?: string | null; + url?: string | null; + } | null; + organization?: { + __typename?: 'organizations'; + name?: string | null; + image?: string | null; + description?: string | null; + url?: string | null; + } | null; + account?: { + __typename?: 'accounts'; + id: string; + label: string; + image?: string | null; + } | null; + } | null; + }; + predicate: { + __typename?: 'atoms'; + data?: string | null; + term_id: string; + label?: string | null; + image?: string | null; + emoji?: string | null; + type: any; + creator: { + __typename?: 'accounts'; + label: string; + image?: string | null; + id: string; + atom_id?: string | null; + type: any; + }; + value?: { + __typename?: 'atom_values'; + person?: { + __typename?: 'persons'; + name?: string | null; + image?: string | null; + description?: string | null; + url?: string | null; + } | null; + thing?: { + __typename?: 'things'; + name?: string | null; + image?: string | null; + description?: string | null; + url?: string | null; + } | null; + organization?: { + __typename?: 'organizations'; + name?: string | null; + image?: string | null; + description?: string | null; + url?: string | null; + } | null; + account?: { + __typename?: 'accounts'; + id: string; + label: string; + image?: string | null; + } | null; + } | null; + }; + object: { + __typename?: 'atoms'; + data?: string | null; + term_id: string; + label?: string | null; + image?: string | null; + emoji?: string | null; + type: any; + creator: { + __typename?: 'accounts'; + label: string; + image?: string | null; + id: string; + atom_id?: string | null; + type: any; + }; + value?: { + __typename?: 'atom_values'; + person?: { + __typename?: 'persons'; + name?: string | null; + image?: string | null; + description?: string | null; + url?: string | null; + } | null; + thing?: { + __typename?: 'things'; + name?: string | null; + image?: string | null; + description?: string | null; + url?: string | null; + } | null; + organization?: { + __typename?: 'organizations'; + name?: string | null; + image?: string | null; + description?: string | null; + url?: string | null; + } | null; + account?: { + __typename?: 'accounts'; + id: string; + label: string; + image?: string | null; + } | null; + } | null; + }; + } | null; + }; + } | null; + }>; + }>; + } | null; + counter_term?: { + __typename?: 'terms'; + vaults: Array<{ + __typename?: 'vaults'; + positions: Array<{ + __typename?: 'positions'; + id: string; + shares: any; + term_id: string; + curve_id: any; + account?: { + __typename?: 'accounts'; + id: string; + label: string; + image?: string | null; + } | null; + vault?: { + __typename?: 'vaults'; + term_id: string; + term: { + __typename?: 'terms'; + atom?: { + __typename?: 'atoms'; + term_id: string; + label?: string | null; + image?: string | null; + } | null; + triple?: { + __typename?: 'triples'; + term_id: string; + term?: { + __typename?: 'terms'; + vaults: Array<{ + __typename?: 'vaults'; + term_id: string; + position_count: number; + positions_aggregate: { + __typename?: 'positions_aggregate'; + aggregate?: { + __typename?: 'positions_aggregate_fields'; + sum?: { __typename?: 'positions_sum_fields'; shares?: any | null } | null; + } | null; + }; + }>; + } | null; + counter_term?: { + __typename?: 'terms'; + vaults: Array<{ + __typename?: 'vaults'; + term_id: string; + position_count: number; + positions_aggregate: { + __typename?: 'positions_aggregate'; + aggregate?: { + __typename?: 'positions_aggregate_fields'; + sum?: { __typename?: 'positions_sum_fields'; shares?: any | null } | null; + } | null; + }; + }>; + } | null; + subject: { + __typename?: 'atoms'; + data?: string | null; + term_id: string; + label?: string | null; + image?: string | null; + emoji?: string | null; + type: any; + creator: { + __typename?: 'accounts'; + label: string; + image?: string | null; + id: string; + atom_id?: string | null; + type: any; + }; + value?: { + __typename?: 'atom_values'; + person?: { + __typename?: 'persons'; + name?: string | null; + image?: string | null; + description?: string | null; + url?: string | null; + } | null; + thing?: { + __typename?: 'things'; + name?: string | null; + image?: string | null; + description?: string | null; + url?: string | null; + } | null; + organization?: { + __typename?: 'organizations'; + name?: string | null; + image?: string | null; + description?: string | null; + url?: string | null; + } | null; + account?: { + __typename?: 'accounts'; + id: string; + label: string; + image?: string | null; + } | null; + } | null; + }; + predicate: { + __typename?: 'atoms'; + data?: string | null; + term_id: string; + label?: string | null; + image?: string | null; + emoji?: string | null; + type: any; + creator: { + __typename?: 'accounts'; + label: string; + image?: string | null; + id: string; + atom_id?: string | null; + type: any; + }; + value?: { + __typename?: 'atom_values'; + person?: { + __typename?: 'persons'; + name?: string | null; + image?: string | null; + description?: string | null; + url?: string | null; + } | null; + thing?: { + __typename?: 'things'; + name?: string | null; + image?: string | null; + description?: string | null; + url?: string | null; + } | null; + organization?: { + __typename?: 'organizations'; + name?: string | null; + image?: string | null; + description?: string | null; + url?: string | null; + } | null; + account?: { + __typename?: 'accounts'; + id: string; + label: string; + image?: string | null; + } | null; + } | null; + }; + object: { + __typename?: 'atoms'; + data?: string | null; + term_id: string; + label?: string | null; + image?: string | null; + emoji?: string | null; + type: any; + creator: { + __typename?: 'accounts'; + label: string; + image?: string | null; + id: string; + atom_id?: string | null; + type: any; + }; + value?: { + __typename?: 'atom_values'; + person?: { + __typename?: 'persons'; + name?: string | null; + image?: string | null; + description?: string | null; + url?: string | null; + } | null; + thing?: { + __typename?: 'things'; + name?: string | null; + image?: string | null; + description?: string | null; + url?: string | null; + } | null; + organization?: { + __typename?: 'organizations'; + name?: string | null; + image?: string | null; + description?: string | null; + url?: string | null; + } | null; + account?: { + __typename?: 'accounts'; + id: string; + label: string; + image?: string | null; + } | null; + } | null; + }; + } | null; + }; + } | null; + }>; + }>; + } | null; +}; + +export type TripleVaultCouterVaultDetailsWithPositionsFragment = { + __typename?: 'triples'; + term_id: string; + counter_term_id: string; + term?: { + __typename?: 'terms'; + vaults: Array<{ + __typename?: 'vaults'; + term_id: string; + curve_id: any; + current_share_price: any; + total_shares: any; + term: { + __typename?: 'terms'; + atom?: { __typename?: 'atoms'; term_id: string; label?: string | null } | null; + triple?: { + __typename?: 'triples'; + term_id: string; + subject: { __typename?: 'atoms'; term_id: string; label?: string | null }; + predicate: { __typename?: 'atoms'; term_id: string; label?: string | null }; + object: { __typename?: 'atoms'; term_id: string; label?: string | null }; + } | null; + }; + positions: Array<{ + __typename?: 'positions'; + shares: any; + account?: { __typename?: 'accounts'; id: string; label: string } | null; + vault?: { + __typename?: 'vaults'; + term_id: string; + total_shares: any; + current_share_price: any; + } | null; + }>; + }>; + } | null; + counter_term?: { + __typename?: 'terms'; + vaults: Array<{ + __typename?: 'vaults'; + term_id: string; + curve_id: any; + current_share_price: any; + total_shares: any; + term: { + __typename?: 'terms'; + atom?: { __typename?: 'atoms'; term_id: string; label?: string | null } | null; + triple?: { + __typename?: 'triples'; + term_id: string; + subject: { __typename?: 'atoms'; term_id: string; label?: string | null }; + predicate: { __typename?: 'atoms'; term_id: string; label?: string | null }; + object: { __typename?: 'atoms'; term_id: string; label?: string | null }; + } | null; + }; + positions: Array<{ + __typename?: 'positions'; + shares: any; + account?: { __typename?: 'accounts'; id: string; label: string } | null; + vault?: { + __typename?: 'vaults'; + term_id: string; + total_shares: any; + current_share_price: any; + } | null; + }>; + }>; + } | null; +}; + +export type VaultBasicDetailsFragment = { + __typename?: 'vaults'; + term_id: string; + curve_id: any; + current_share_price: any; + total_shares: any; + term: { + __typename?: 'terms'; + atom?: { __typename?: 'atoms'; term_id: string; label?: string | null } | null; + triple?: { + __typename?: 'triples'; + term_id: string; + subject: { __typename?: 'atoms'; term_id: string; label?: string | null }; + predicate: { __typename?: 'atoms'; term_id: string; label?: string | null }; + object: { __typename?: 'atoms'; term_id: string; label?: string | null }; + } | null; + }; +}; + +export type VaultPositionsAggregateFragment = { + __typename?: 'vaults'; + positions_aggregate: { + __typename?: 'positions_aggregate'; + aggregate?: { + __typename?: 'positions_aggregate_fields'; + count: number; + sum?: { __typename?: 'positions_sum_fields'; shares?: any | null } | null; + } | null; + }; +}; -export type VaultFieldsForTripleFragment = { __typename?: 'vaults', total_shares: any, current_share_price: any, positions_aggregate: { __typename?: 'positions_aggregate', aggregate?: { __typename?: 'positions_aggregate_fields', count: number, sum?: { __typename?: 'positions_sum_fields', shares?: any | null } | null } | null }, positions: Array<{ __typename?: 'positions', shares: any, account?: { __typename?: 'accounts', id: string, label: string } | null, vault?: { __typename?: 'vaults', term_id: string, total_shares: any, current_share_price: any } | null }> }; +export type VaultFilteredPositionsFragment = { + __typename?: 'vaults'; + positions: Array<{ + __typename?: 'positions'; + shares: any; + account?: { __typename?: 'accounts'; id: string; label: string } | null; + vault?: { + __typename?: 'vaults'; + term_id: string; + total_shares: any; + current_share_price: any; + } | null; + }>; +}; + +export type VaultUnfilteredPositionsFragment = { + __typename?: 'vaults'; + positions: Array<{ + __typename?: 'positions'; + shares: any; + account?: { __typename?: 'accounts'; id: string; label: string } | null; + vault?: { + __typename?: 'vaults'; + term_id: string; + total_shares: any; + current_share_price: any; + } | null; + }>; +}; + +export type VaultDetailsFragment = { + __typename?: 'vaults'; + term_id: string; + curve_id: any; + current_share_price: any; + total_shares: any; + term: { + __typename?: 'terms'; + atom?: { __typename?: 'atoms'; term_id: string; label?: string | null } | null; + triple?: { + __typename?: 'triples'; + term_id: string; + subject: { __typename?: 'atoms'; term_id: string; label?: string | null }; + predicate: { __typename?: 'atoms'; term_id: string; label?: string | null }; + object: { __typename?: 'atoms'; term_id: string; label?: string | null }; + } | null; + }; +}; + +export type VaultDetailsWithFilteredPositionsFragment = { + __typename?: 'vaults'; + term_id: string; + curve_id: any; + current_share_price: any; + total_shares: any; + term: { + __typename?: 'terms'; + atom?: { __typename?: 'atoms'; term_id: string; label?: string | null } | null; + triple?: { + __typename?: 'triples'; + term_id: string; + subject: { __typename?: 'atoms'; term_id: string; label?: string | null }; + predicate: { __typename?: 'atoms'; term_id: string; label?: string | null }; + object: { __typename?: 'atoms'; term_id: string; label?: string | null }; + } | null; + }; + positions: Array<{ + __typename?: 'positions'; + shares: any; + account?: { __typename?: 'accounts'; id: string; label: string } | null; + vault?: { + __typename?: 'vaults'; + term_id: string; + total_shares: any; + current_share_price: any; + } | null; + }>; +}; + +export type VaultFieldsForTripleFragment = { + __typename?: 'vaults'; + total_shares: any; + current_share_price: any; + positions_aggregate: { + __typename?: 'positions_aggregate'; + aggregate?: { + __typename?: 'positions_aggregate_fields'; + count: number; + sum?: { __typename?: 'positions_sum_fields'; shares?: any | null } | null; + } | null; + }; + positions: Array<{ + __typename?: 'positions'; + shares: any; + account?: { __typename?: 'accounts'; id: string; label: string } | null; + vault?: { + __typename?: 'vaults'; + term_id: string; + total_shares: any; + current_share_price: any; + } | null; + }>; +}; export type PinThingMutationVariables = Exact<{ name: Scalars['String']['input']; @@ -11611,15 +13019,26 @@ export type PinThingMutationVariables = Exact<{ url?: InputMaybe; }>; - -export type PinThingMutation = { __typename?: 'mutation_root', pinThing?: { __typename?: 'PinOutput', uri?: string | null } | null }; +export type PinThingMutation = { + __typename?: 'mutation_root'; + pinThing?: { __typename?: 'PinOutput'; uri?: string | null } | null; +}; export type GetAtomByCanonicalDataQueryVariables = Exact<{ uri: Scalars['String']['input']; }>; - -export type GetAtomByCanonicalDataQuery = { __typename?: 'query_root', atoms: Array<{ __typename?: 'atoms', term_id: string, data?: string | null, raw_data: string, label?: string | null, type: any }> }; +export type GetAtomByCanonicalDataQuery = { + __typename?: 'query_root'; + atoms: Array<{ + __typename?: 'atoms'; + term_id: string; + data?: string | null; + raw_data: string; + label?: string | null; + type: any; + }>; +}; export type GetTrustedListingTripleAggregatesQueryVariables = Exact<{ subjectId: Scalars['String']['input']; @@ -11629,9 +13048,57 @@ export type GetTrustedListingTripleAggregatesQueryVariables = Exact<{ accountIdLower: Scalars['String']['input']; }>; - -export type GetTrustedListingTripleAggregatesQuery = { __typename?: 'query_root', triples: Array<{ __typename?: 'triples', term_id: string, counter_term_id: string, subject: { __typename?: 'atoms', term_id: string, label?: string | null, image?: string | null }, predicate: { __typename?: 'atoms', term_id: string, label?: string | null, image?: string | null }, object: { __typename?: 'atoms', term_id: string, label?: string | null, image?: string | null }, term?: { __typename?: 'terms', vaults: Array<{ __typename?: 'vaults', positions_aggregate: { __typename?: 'positions_aggregate', aggregate?: { __typename?: 'positions_aggregate_fields', count: number, sum?: { __typename?: 'positions_sum_fields', shares?: any | null } | null } | null }, positions: Array<{ __typename?: 'positions', shares: any }> }> } | null, counter_term?: { __typename?: 'terms', vaults: Array<{ __typename?: 'vaults', positions_aggregate: { __typename?: 'positions_aggregate', aggregate?: { __typename?: 'positions_aggregate_fields', count: number, sum?: { __typename?: 'positions_sum_fields', shares?: any | null } | null } | null }, positions: Array<{ __typename?: 'positions', shares: any }> }> } | null }> }; - +export type GetTrustedListingTripleAggregatesQuery = { + __typename?: 'query_root'; + triples: Array<{ + __typename?: 'triples'; + term_id: string; + counter_term_id: string; + subject: { + __typename?: 'atoms'; + term_id: string; + label?: string | null; + image?: string | null; + }; + predicate: { + __typename?: 'atoms'; + term_id: string; + label?: string | null; + image?: string | null; + }; + object: { __typename?: 'atoms'; term_id: string; label?: string | null; image?: string | null }; + term?: { + __typename?: 'terms'; + vaults: Array<{ + __typename?: 'vaults'; + positions_aggregate: { + __typename?: 'positions_aggregate'; + aggregate?: { + __typename?: 'positions_aggregate_fields'; + count: number; + sum?: { __typename?: 'positions_sum_fields'; shares?: any | null } | null; + } | null; + }; + positions: Array<{ __typename?: 'positions'; shares: any }>; + }>; + } | null; + counter_term?: { + __typename?: 'terms'; + vaults: Array<{ + __typename?: 'vaults'; + positions_aggregate: { + __typename?: 'positions_aggregate'; + aggregate?: { + __typename?: 'positions_aggregate_fields'; + count: number; + sum?: { __typename?: 'positions_sum_fields'; shares?: any | null } | null; + } | null; + }; + positions: Array<{ __typename?: 'positions'; shares: any }>; + }>; + } | null; + }>; +}; export const AccountPositionsAggregateFragmentDoc = ` fragment AccountPositionsAggregate on accounts { @@ -12453,23 +13920,23 @@ export const PinThingDocument = ` } `; -export const usePinThingMutation = < - TError = unknown, - TContext = unknown - >(options?: UseMutationOptions) => { - - return useMutation( - { +export const usePinThingMutation = ( + options?: UseMutationOptions, +) => { + return useMutation({ mutationKey: ['pinThing'], - mutationFn: (variables?: PinThingMutationVariables) => fetcher(PinThingDocument, variables)(), - ...options - } - )}; + mutationFn: (variables?: PinThingMutationVariables) => + fetcher(PinThingDocument, variables)(), + ...options, + }); +}; usePinThingMutation.getKey = () => ['pinThing']; - -usePinThingMutation.fetcher = (variables: PinThingMutationVariables, options?: RequestInit['headers']) => fetcher(PinThingDocument, variables, options); +usePinThingMutation.fetcher = ( + variables: PinThingMutationVariables, + options?: RequestInit['headers'], +) => fetcher(PinThingDocument, variables, options); export const GetAtomByCanonicalDataDocument = ` query GetAtomByCanonicalData($uri: String!) { @@ -12484,48 +13951,69 @@ export const GetAtomByCanonicalDataDocument = ` `; export const useGetAtomByCanonicalDataQuery = < - TData = GetAtomByCanonicalDataQuery, - TError = unknown - >( - variables: GetAtomByCanonicalDataQueryVariables, - options?: Omit, 'queryKey'> & { queryKey?: UseQueryOptions['queryKey'] } - ) => { - - return useQuery( - { + TData = GetAtomByCanonicalDataQuery, + TError = unknown, +>( + variables: GetAtomByCanonicalDataQueryVariables, + options?: Omit, 'queryKey'> & { + queryKey?: UseQueryOptions['queryKey']; + }, +) => { + return useQuery({ queryKey: ['GetAtomByCanonicalData', variables], - queryFn: fetcher(GetAtomByCanonicalDataDocument, variables), - ...options - } - )}; + queryFn: fetcher( + GetAtomByCanonicalDataDocument, + variables, + ), + ...options, + }); +}; useGetAtomByCanonicalDataQuery.document = GetAtomByCanonicalDataDocument; -useGetAtomByCanonicalDataQuery.getKey = (variables: GetAtomByCanonicalDataQueryVariables) => ['GetAtomByCanonicalData', variables]; +useGetAtomByCanonicalDataQuery.getKey = (variables: GetAtomByCanonicalDataQueryVariables) => [ + 'GetAtomByCanonicalData', + variables, +]; export const useInfiniteGetAtomByCanonicalDataQuery = < - TData = InfiniteData, - TError = unknown - >( - variables: GetAtomByCanonicalDataQueryVariables, - options: Omit, 'queryKey'> & { queryKey?: UseInfiniteQueryOptions['queryKey'] } - ) => { - - return useInfiniteQuery( - (() => { - const { queryKey: optionsQueryKey, ...restOptions } = options; - return { - queryKey: optionsQueryKey ?? ['GetAtomByCanonicalData.infinite', variables], - queryFn: (metaData) => fetcher(GetAtomByCanonicalDataDocument, {...variables, ...(metaData.pageParam ?? {})})(), - ...restOptions - } - })() - )}; - -useInfiniteGetAtomByCanonicalDataQuery.getKey = (variables: GetAtomByCanonicalDataQueryVariables) => ['GetAtomByCanonicalData.infinite', variables]; - - -useGetAtomByCanonicalDataQuery.fetcher = (variables: GetAtomByCanonicalDataQueryVariables, options?: RequestInit['headers']) => fetcher(GetAtomByCanonicalDataDocument, variables, options); + TData = InfiniteData, + TError = unknown, +>( + variables: GetAtomByCanonicalDataQueryVariables, + options: Omit, 'queryKey'> & { + queryKey?: UseInfiniteQueryOptions['queryKey']; + }, +) => { + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options; + return { + queryKey: optionsQueryKey ?? ['GetAtomByCanonicalData.infinite', variables], + queryFn: (metaData) => + fetcher( + GetAtomByCanonicalDataDocument, + { ...variables, ...(metaData.pageParam ?? {}) }, + )(), + ...restOptions, + }; + })(), + ); +}; + +useInfiniteGetAtomByCanonicalDataQuery.getKey = ( + variables: GetAtomByCanonicalDataQueryVariables, +) => ['GetAtomByCanonicalData.infinite', variables]; + +useGetAtomByCanonicalDataQuery.fetcher = ( + variables: GetAtomByCanonicalDataQueryVariables, + options?: RequestInit['headers'], +) => + fetcher( + GetAtomByCanonicalDataDocument, + variables, + options, + ); export const GetTrustedListingTripleAggregatesDocument = ` query GetTrustedListingTripleAggregates($subjectId: String!, $listedOnId: String!, $trustswapId: String!, $curveId: numeric!, $accountIdLower: String!) { @@ -12585,82 +14073,5561 @@ export const GetTrustedListingTripleAggregatesDocument = ` `; export const useGetTrustedListingTripleAggregatesQuery = < - TData = GetTrustedListingTripleAggregatesQuery, - TError = unknown - >( - variables: GetTrustedListingTripleAggregatesQueryVariables, - options?: Omit, 'queryKey'> & { queryKey?: UseQueryOptions['queryKey'] } - ) => { - - return useQuery( - { + TData = GetTrustedListingTripleAggregatesQuery, + TError = unknown, +>( + variables: GetTrustedListingTripleAggregatesQueryVariables, + options?: Omit< + UseQueryOptions, + 'queryKey' + > & { + queryKey?: UseQueryOptions['queryKey']; + }, +) => { + return useQuery({ queryKey: ['GetTrustedListingTripleAggregates', variables], - queryFn: fetcher(GetTrustedListingTripleAggregatesDocument, variables), - ...options - } - )}; + queryFn: fetcher< + GetTrustedListingTripleAggregatesQuery, + GetTrustedListingTripleAggregatesQueryVariables + >(GetTrustedListingTripleAggregatesDocument, variables), + ...options, + }); +}; useGetTrustedListingTripleAggregatesQuery.document = GetTrustedListingTripleAggregatesDocument; -useGetTrustedListingTripleAggregatesQuery.getKey = (variables: GetTrustedListingTripleAggregatesQueryVariables) => ['GetTrustedListingTripleAggregates', variables]; +useGetTrustedListingTripleAggregatesQuery.getKey = ( + variables: GetTrustedListingTripleAggregatesQueryVariables, +) => ['GetTrustedListingTripleAggregates', variables]; export const useInfiniteGetTrustedListingTripleAggregatesQuery = < - TData = InfiniteData, - TError = unknown - >( - variables: GetTrustedListingTripleAggregatesQueryVariables, - options: Omit, 'queryKey'> & { queryKey?: UseInfiniteQueryOptions['queryKey'] } - ) => { - - return useInfiniteQuery( - (() => { - const { queryKey: optionsQueryKey, ...restOptions } = options; - return { - queryKey: optionsQueryKey ?? ['GetTrustedListingTripleAggregates.infinite', variables], - queryFn: (metaData) => fetcher(GetTrustedListingTripleAggregatesDocument, {...variables, ...(metaData.pageParam ?? {})})(), - ...restOptions - } - })() - )}; - -useInfiniteGetTrustedListingTripleAggregatesQuery.getKey = (variables: GetTrustedListingTripleAggregatesQueryVariables) => ['GetTrustedListingTripleAggregates.infinite', variables]; - - -useGetTrustedListingTripleAggregatesQuery.fetcher = (variables: GetTrustedListingTripleAggregatesQueryVariables, options?: RequestInit['headers']) => fetcher(GetTrustedListingTripleAggregatesDocument, variables, options); - -export const AccountPositionsAggregate = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountPositionsAggregate"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"accounts"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"positions_aggregate"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"order_by"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"shares"},"value":{"kind":"EnumValue","value":"desc"}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"count"}}]}},{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"shares"}},{"kind":"Field","name":{"kind":"Name","value":"vault"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"total_shares"}},{"kind":"Field","name":{"kind":"Name","value":"current_share_price"}},{"kind":"Field","name":{"kind":"Name","value":"term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"atom"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"triple"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}}]}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode; -export const AccountPositions = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountPositions"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"accounts"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"positions"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"order_by"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"shares"},"value":{"kind":"EnumValue","value":"desc"}}]}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"positionsLimit"}}},{"kind":"Argument","name":{"kind":"Name","value":"offset"},"value":{"kind":"Variable","name":{"kind":"Name","value":"positionsOffset"}}},{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"Variable","name":{"kind":"Name","value":"positionsWhere"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"shares"}},{"kind":"Field","name":{"kind":"Name","value":"vault"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"total_shares"}},{"kind":"Field","name":{"kind":"Name","value":"current_share_price"}},{"kind":"Field","name":{"kind":"Name","value":"term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"atom"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"triple"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode; -export const AccountAtoms = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountAtoms"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"accounts"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"atoms"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"Variable","name":{"kind":"Name","value":"atomsWhere"}}},{"kind":"Argument","name":{"kind":"Name","value":"order_by"},"value":{"kind":"Variable","name":{"kind":"Name","value":"atomsOrderBy"}}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"atomsLimit"}}},{"kind":"Argument","name":{"kind":"Name","value":"offset"},"value":{"kind":"Variable","name":{"kind":"Name","value":"atomsOffset"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vaults"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"curve_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"StringValue","value":"1","block":false}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total_shares"}},{"kind":"Field","name":{"kind":"Name","value":"positions_aggregate"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"account_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"Variable","name":{"kind":"Name","value":"address"}}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"shares"}}]}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode; -export const AccountAtomsAggregate = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountAtomsAggregate"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"accounts"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"atoms_aggregate"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"Variable","name":{"kind":"Name","value":"atomsWhere"}}},{"kind":"Argument","name":{"kind":"Name","value":"order_by"},"value":{"kind":"Variable","name":{"kind":"Name","value":"atomsOrderBy"}}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"atomsLimit"}}},{"kind":"Argument","name":{"kind":"Name","value":"offset"},"value":{"kind":"Variable","name":{"kind":"Name","value":"atomsOffset"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"count"}}]}},{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vaults"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"curve_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"StringValue","value":"1","block":false}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total_shares"}},{"kind":"Field","name":{"kind":"Name","value":"positions_aggregate"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"account_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"Variable","name":{"kind":"Name","value":"address"}}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"shares"}}]}}]}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode; -export const AccountTriples = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountTriples"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"accounts"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"triples_aggregate"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"Variable","name":{"kind":"Name","value":"triplesWhere"}}},{"kind":"Argument","name":{"kind":"Name","value":"order_by"},"value":{"kind":"Variable","name":{"kind":"Name","value":"triplesOrderBy"}}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"triplesLimit"}}},{"kind":"Argument","name":{"kind":"Name","value":"offset"},"value":{"kind":"Variable","name":{"kind":"Name","value":"triplesOffset"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"count"}}]}},{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"subject"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"predicate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"object"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}}]}}]}}]}}]} as unknown as DocumentNode; -export const AccountTriplesAggregate = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountTriplesAggregate"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"accounts"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"triples_aggregate"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"Variable","name":{"kind":"Name","value":"triplesWhere"}}},{"kind":"Argument","name":{"kind":"Name","value":"order_by"},"value":{"kind":"Variable","name":{"kind":"Name","value":"triplesOrderBy"}}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"triplesLimit"}}},{"kind":"Argument","name":{"kind":"Name","value":"offset"},"value":{"kind":"Variable","name":{"kind":"Name","value":"triplesOffset"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"count"}}]}},{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"subject"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"predicate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"object"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}}]}}]}}]}}]} as unknown as DocumentNode; -export const AtomTxn = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AtomTxn"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"atoms"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"block_number"}},{"kind":"Field","name":{"kind":"Name","value":"created_at"}},{"kind":"Field","name":{"kind":"Name","value":"transaction_hash"}},{"kind":"Field","name":{"kind":"Name","value":"creator_id"}}]}}]} as unknown as DocumentNode; -export const AtomVaultDetails = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AtomVaultDetails"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"atoms"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"wallet_id"}},{"kind":"Field","name":{"kind":"Name","value":"term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vaults"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"curve_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"StringValue","value":"1","block":false}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"position_count"}},{"kind":"Field","name":{"kind":"Name","value":"total_shares"}},{"kind":"Field","name":{"kind":"Name","value":"current_share_price"}},{"kind":"Field","name":{"kind":"Name","value":"positions_aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"count"}},{"kind":"Field","name":{"kind":"Name","value":"sum"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shares"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"positions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"shares"}}]}}]}}]}}]}}]} as unknown as DocumentNode; -export const AccountMetadata = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountMetadata"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"accounts"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"atom_id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}}]} as unknown as DocumentNode; -export const AtomTriple = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AtomTriple"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"atoms"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"as_subject_triples"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"object"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"emoji"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"creator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountMetadata"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"predicate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"emoji"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"creator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountMetadata"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"as_predicate_triples"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"subject"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"emoji"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"creator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountMetadata"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"object"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"emoji"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"creator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountMetadata"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"as_object_triples"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"subject"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"emoji"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"creator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountMetadata"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"predicate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"emoji"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"creator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountMetadata"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountMetadata"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"accounts"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"atom_id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}}]} as unknown as DocumentNode; -export const AtomVaultDetailsWithPositions = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AtomVaultDetailsWithPositions"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"atoms"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vaults"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"curve_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"StringValue","value":"1","block":false}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total_shares"}},{"kind":"Field","name":{"kind":"Name","value":"current_share_price"}},{"kind":"Field","name":{"kind":"Name","value":"positions_aggregate"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"account_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_in"},"value":{"kind":"Variable","name":{"kind":"Name","value":"addresses"}}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"sum"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shares"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"shares"}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode; -export const DepositEventFragment = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DepositEventFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"events"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deposit"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"curve_id"}},{"kind":"Field","name":{"kind":"Name","value":"shares"}},{"kind":"Field","name":{"kind":"Name","value":"receiver"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sender"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]} as unknown as DocumentNode; -export const RedemptionEventFragment = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RedemptionEventFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"events"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"redemption"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"curve_id"}},{"kind":"Field","name":{"kind":"Name","value":"receiver_id"}},{"kind":"Field","name":{"kind":"Name","value":"shares"}}]}}]}}]} as unknown as DocumentNode; -export const AtomValue = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AtomValue"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"atoms"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"value"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"person"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"thing"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"organization"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}}]}}]}}]}}]} as unknown as DocumentNode; -export const AtomMetadata = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AtomMetadata"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"atoms"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"emoji"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"wallet_id"}},{"kind":"Field","name":{"kind":"Name","value":"creator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AtomValue"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AtomValue"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"atoms"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"value"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"person"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"thing"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"organization"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}}]}}]}}]}}]} as unknown as DocumentNode; -export const PositionAggregateFields = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PositionAggregateFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"positions_aggregate"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"count"}},{"kind":"Field","name":{"kind":"Name","value":"sum"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shares"}}]}}]}}]}}]} as unknown as DocumentNode; -export const PositionFields = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PositionFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"positions"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"shares"}},{"kind":"Field","name":{"kind":"Name","value":"vault"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"total_shares"}},{"kind":"Field","name":{"kind":"Name","value":"current_share_price"}}]}}]}}]} as unknown as DocumentNode; -export const TripleMetadata = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TripleMetadata"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"triples"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"subject_id"}},{"kind":"Field","name":{"kind":"Name","value":"predicate_id"}},{"kind":"Field","name":{"kind":"Name","value":"object_id"}},{"kind":"Field","name":{"kind":"Name","value":"subject"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"emoji"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AtomValue"}},{"kind":"Field","name":{"kind":"Name","value":"creator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountMetadata"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"predicate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"emoji"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AtomValue"}},{"kind":"Field","name":{"kind":"Name","value":"creator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountMetadata"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"object"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"emoji"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AtomValue"}},{"kind":"Field","name":{"kind":"Name","value":"creator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountMetadata"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vaults"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"curve_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"StringValue","value":"1","block":false}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total_shares"}},{"kind":"Field","name":{"kind":"Name","value":"current_share_price"}},{"kind":"Field","alias":{"kind":"Name","value":"allPositions"},"name":{"kind":"Name","value":"positions_aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PositionAggregateFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"positions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PositionFields"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"counter_term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vaults"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"curve_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"StringValue","value":"1","block":false}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total_shares"}},{"kind":"Field","name":{"kind":"Name","value":"current_share_price"}},{"kind":"Field","alias":{"kind":"Name","value":"allPositions"},"name":{"kind":"Name","value":"positions_aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PositionAggregateFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"positions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PositionFields"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountMetadata"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"accounts"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"atom_id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AtomValue"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"atoms"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"value"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"person"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"thing"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"organization"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PositionFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"positions"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"shares"}},{"kind":"Field","name":{"kind":"Name","value":"vault"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"total_shares"}},{"kind":"Field","name":{"kind":"Name","value":"current_share_price"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PositionAggregateFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"positions_aggregate"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"count"}},{"kind":"Field","name":{"kind":"Name","value":"sum"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shares"}}]}}]}}]}}]} as unknown as DocumentNode; -export const EventDetails = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"EventDetails"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"events"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"block_number"}},{"kind":"Field","name":{"kind":"Name","value":"created_at"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"transaction_hash"}},{"kind":"Field","name":{"kind":"Name","value":"atom_id"}},{"kind":"Field","name":{"kind":"Name","value":"triple_id"}},{"kind":"Field","name":{"kind":"Name","value":"deposit_id"}},{"kind":"Field","name":{"kind":"Name","value":"redemption_id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"DepositEventFragment"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"RedemptionEventFragment"}},{"kind":"Field","name":{"kind":"Name","value":"atom"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AtomMetadata"}},{"kind":"Field","name":{"kind":"Name","value":"term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vaults"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"curve_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"StringValue","value":"1","block":false}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total_shares"}},{"kind":"Field","name":{"kind":"Name","value":"position_count"}},{"kind":"Field","name":{"kind":"Name","value":"positions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"account_id"}},{"kind":"Field","name":{"kind":"Name","value":"shares"}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}}]}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"triple"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"TripleMetadata"}},{"kind":"Field","name":{"kind":"Name","value":"term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vaults"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"curve_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"StringValue","value":"1","block":false}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total_shares"}},{"kind":"Field","name":{"kind":"Name","value":"position_count"}},{"kind":"Field","name":{"kind":"Name","value":"positions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"account_id"}},{"kind":"Field","name":{"kind":"Name","value":"shares"}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"counter_term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vaults"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"curve_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"StringValue","value":"1","block":false}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total_shares"}},{"kind":"Field","name":{"kind":"Name","value":"position_count"}},{"kind":"Field","name":{"kind":"Name","value":"positions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"account_id"}},{"kind":"Field","name":{"kind":"Name","value":"shares"}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}}]}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountMetadata"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"accounts"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"atom_id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AtomValue"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"atoms"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"value"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"person"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"thing"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"organization"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AtomMetadata"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"atoms"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"emoji"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"wallet_id"}},{"kind":"Field","name":{"kind":"Name","value":"creator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AtomValue"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DepositEventFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"events"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deposit"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"curve_id"}},{"kind":"Field","name":{"kind":"Name","value":"shares"}},{"kind":"Field","name":{"kind":"Name","value":"receiver"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sender"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PositionFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"positions"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"shares"}},{"kind":"Field","name":{"kind":"Name","value":"vault"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"total_shares"}},{"kind":"Field","name":{"kind":"Name","value":"current_share_price"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PositionAggregateFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"positions_aggregate"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"count"}},{"kind":"Field","name":{"kind":"Name","value":"sum"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shares"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RedemptionEventFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"events"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"redemption"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"curve_id"}},{"kind":"Field","name":{"kind":"Name","value":"receiver_id"}},{"kind":"Field","name":{"kind":"Name","value":"shares"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TripleMetadata"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"triples"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"subject_id"}},{"kind":"Field","name":{"kind":"Name","value":"predicate_id"}},{"kind":"Field","name":{"kind":"Name","value":"object_id"}},{"kind":"Field","name":{"kind":"Name","value":"subject"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"emoji"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AtomValue"}},{"kind":"Field","name":{"kind":"Name","value":"creator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountMetadata"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"predicate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"emoji"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AtomValue"}},{"kind":"Field","name":{"kind":"Name","value":"creator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountMetadata"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"object"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"emoji"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AtomValue"}},{"kind":"Field","name":{"kind":"Name","value":"creator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountMetadata"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vaults"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"curve_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"StringValue","value":"1","block":false}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total_shares"}},{"kind":"Field","name":{"kind":"Name","value":"current_share_price"}},{"kind":"Field","alias":{"kind":"Name","value":"allPositions"},"name":{"kind":"Name","value":"positions_aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PositionAggregateFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"positions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PositionFields"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"counter_term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vaults"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"curve_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"StringValue","value":"1","block":false}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total_shares"}},{"kind":"Field","name":{"kind":"Name","value":"current_share_price"}},{"kind":"Field","alias":{"kind":"Name","value":"allPositions"},"name":{"kind":"Name","value":"positions_aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PositionAggregateFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"positions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PositionFields"}}]}}]}}]}}]}}]} as unknown as DocumentNode; -export const FollowMetadata = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"FollowMetadata"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"triples"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"subject"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"predicate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"object"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vaults"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"curve_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"StringValue","value":"1","block":false}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"total_shares"}},{"kind":"Field","name":{"kind":"Name","value":"current_share_price"}},{"kind":"Field","name":{"kind":"Name","value":"positions_aggregate"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"Variable","name":{"kind":"Name","value":"positionsWhere"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"count"}},{"kind":"Field","name":{"kind":"Name","value":"sum"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shares"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"positions"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"positionsLimit"}}},{"kind":"Argument","name":{"kind":"Name","value":"offset"},"value":{"kind":"Variable","name":{"kind":"Name","value":"positionsOffset"}}},{"kind":"Argument","name":{"kind":"Name","value":"order_by"},"value":{"kind":"Variable","name":{"kind":"Name","value":"positionsOrderBy"}}},{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"Variable","name":{"kind":"Name","value":"positionsWhere"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"shares"}}]}}]}}]}}]}}]} as unknown as DocumentNode; -export const FollowAggregate = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"FollowAggregate"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"triples_aggregate"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"count"}}]}}]}}]} as unknown as DocumentNode; -export const StatDetails = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"StatDetails"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"stats"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"contract_balance"}},{"kind":"Field","name":{"kind":"Name","value":"total_accounts"}},{"kind":"Field","name":{"kind":"Name","value":"total_fees"}},{"kind":"Field","name":{"kind":"Name","value":"total_atoms"}},{"kind":"Field","name":{"kind":"Name","value":"total_triples"}},{"kind":"Field","name":{"kind":"Name","value":"total_positions"}},{"kind":"Field","name":{"kind":"Name","value":"total_signals"}}]}}]} as unknown as DocumentNode; -export const TripleTxn = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TripleTxn"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"triples"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"block_number"}},{"kind":"Field","name":{"kind":"Name","value":"created_at"}},{"kind":"Field","name":{"kind":"Name","value":"transaction_hash"}},{"kind":"Field","name":{"kind":"Name","value":"creator_id"}}]}}]} as unknown as DocumentNode; -export const PositionDetails = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PositionDetails"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"positions"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}}]}},{"kind":"Field","name":{"kind":"Name","value":"vault"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"atom"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}}]}},{"kind":"Field","name":{"kind":"Name","value":"triple"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vaults"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"curve_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"StringValue","value":"1","block":false}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"position_count"}},{"kind":"Field","name":{"kind":"Name","value":"positions_aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"sum"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shares"}}]}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"counter_term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vaults"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"curve_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"StringValue","value":"1","block":false}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"position_count"}},{"kind":"Field","name":{"kind":"Name","value":"positions_aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"sum"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shares"}}]}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"subject"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"emoji"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AtomValue"}},{"kind":"Field","name":{"kind":"Name","value":"creator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountMetadata"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"predicate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"emoji"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AtomValue"}},{"kind":"Field","name":{"kind":"Name","value":"creator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountMetadata"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"object"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"emoji"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AtomValue"}},{"kind":"Field","name":{"kind":"Name","value":"creator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountMetadata"}}]}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"shares"}},{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"curve_id"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountMetadata"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"accounts"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"atom_id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AtomValue"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"atoms"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"value"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"person"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"thing"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"organization"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}}]}}]}}]}}]} as unknown as DocumentNode; -export const TripleVaultDetails = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TripleVaultDetails"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"triples"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"counter_term_id"}},{"kind":"Field","name":{"kind":"Name","value":"term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vaults"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"curve_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"StringValue","value":"1","block":false}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"positions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PositionDetails"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"counter_term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vaults"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"curve_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"StringValue","value":"1","block":false}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"positions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PositionDetails"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountMetadata"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"accounts"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"atom_id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AtomValue"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"atoms"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"value"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"person"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"thing"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"organization"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PositionDetails"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"positions"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}}]}},{"kind":"Field","name":{"kind":"Name","value":"vault"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"atom"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}}]}},{"kind":"Field","name":{"kind":"Name","value":"triple"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vaults"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"curve_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"StringValue","value":"1","block":false}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"position_count"}},{"kind":"Field","name":{"kind":"Name","value":"positions_aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"sum"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shares"}}]}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"counter_term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vaults"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"curve_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"StringValue","value":"1","block":false}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"position_count"}},{"kind":"Field","name":{"kind":"Name","value":"positions_aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"sum"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shares"}}]}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"subject"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"emoji"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AtomValue"}},{"kind":"Field","name":{"kind":"Name","value":"creator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountMetadata"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"predicate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"emoji"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AtomValue"}},{"kind":"Field","name":{"kind":"Name","value":"creator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountMetadata"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"object"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"emoji"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AtomValue"}},{"kind":"Field","name":{"kind":"Name","value":"creator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountMetadata"}}]}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"shares"}},{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"curve_id"}}]}}]} as unknown as DocumentNode; -export const VaultBasicDetails = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VaultBasicDetails"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"vaults"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"curve_id"}},{"kind":"Field","name":{"kind":"Name","value":"term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"atom"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"triple"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"subject"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"predicate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"object"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"current_share_price"}},{"kind":"Field","name":{"kind":"Name","value":"total_shares"}}]}}]} as unknown as DocumentNode; -export const VaultFilteredPositions = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VaultFilteredPositions"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"vaults"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"positions"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"account_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_in"},"value":{"kind":"Variable","name":{"kind":"Name","value":"addresses"}}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PositionFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PositionFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"positions"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"shares"}},{"kind":"Field","name":{"kind":"Name","value":"vault"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"total_shares"}},{"kind":"Field","name":{"kind":"Name","value":"current_share_price"}}]}}]}}]} as unknown as DocumentNode; -export const VaultDetailsWithFilteredPositions = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VaultDetailsWithFilteredPositions"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"vaults"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"VaultBasicDetails"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"VaultFilteredPositions"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PositionFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"positions"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"shares"}},{"kind":"Field","name":{"kind":"Name","value":"vault"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"total_shares"}},{"kind":"Field","name":{"kind":"Name","value":"current_share_price"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VaultBasicDetails"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"vaults"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"curve_id"}},{"kind":"Field","name":{"kind":"Name","value":"term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"atom"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"triple"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"subject"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"predicate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"object"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"current_share_price"}},{"kind":"Field","name":{"kind":"Name","value":"total_shares"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VaultFilteredPositions"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"vaults"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"positions"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"account_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_in"},"value":{"kind":"Variable","name":{"kind":"Name","value":"addresses"}}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PositionFields"}}]}}]}}]} as unknown as DocumentNode; -export const TripleVaultCouterVaultDetailsWithPositions = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TripleVaultCouterVaultDetailsWithPositions"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"triples"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"counter_term_id"}},{"kind":"Field","name":{"kind":"Name","value":"term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vaults"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"curve_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"StringValue","value":"1","block":false}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"VaultDetailsWithFilteredPositions"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"counter_term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vaults"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"curve_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"StringValue","value":"1","block":false}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"VaultDetailsWithFilteredPositions"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PositionFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"positions"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"shares"}},{"kind":"Field","name":{"kind":"Name","value":"vault"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"total_shares"}},{"kind":"Field","name":{"kind":"Name","value":"current_share_price"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VaultBasicDetails"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"vaults"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"curve_id"}},{"kind":"Field","name":{"kind":"Name","value":"term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"atom"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"triple"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"subject"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"predicate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"object"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"current_share_price"}},{"kind":"Field","name":{"kind":"Name","value":"total_shares"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VaultFilteredPositions"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"vaults"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"positions"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"account_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_in"},"value":{"kind":"Variable","name":{"kind":"Name","value":"addresses"}}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PositionFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VaultDetailsWithFilteredPositions"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"vaults"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"VaultBasicDetails"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"VaultFilteredPositions"}}]}}]} as unknown as DocumentNode; -export const VaultUnfilteredPositions = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VaultUnfilteredPositions"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"vaults"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"positions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PositionFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PositionFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"positions"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"shares"}},{"kind":"Field","name":{"kind":"Name","value":"vault"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"total_shares"}},{"kind":"Field","name":{"kind":"Name","value":"current_share_price"}}]}}]}}]} as unknown as DocumentNode; -export const VaultDetails = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VaultDetails"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"vaults"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"VaultBasicDetails"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VaultBasicDetails"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"vaults"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"curve_id"}},{"kind":"Field","name":{"kind":"Name","value":"term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"atom"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"triple"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"subject"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"predicate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"object"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"current_share_price"}},{"kind":"Field","name":{"kind":"Name","value":"total_shares"}}]}}]} as unknown as DocumentNode; -export const VaultPositionsAggregate = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VaultPositionsAggregate"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"vaults"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"positions_aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PositionAggregateFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PositionAggregateFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"positions_aggregate"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"count"}},{"kind":"Field","name":{"kind":"Name","value":"sum"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shares"}}]}}]}}]}}]} as unknown as DocumentNode; -export const VaultFieldsForTriple = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VaultFieldsForTriple"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"vaults"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total_shares"}},{"kind":"Field","name":{"kind":"Name","value":"current_share_price"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"VaultPositionsAggregate"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"VaultFilteredPositions"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PositionFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"positions"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"shares"}},{"kind":"Field","name":{"kind":"Name","value":"vault"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"total_shares"}},{"kind":"Field","name":{"kind":"Name","value":"current_share_price"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PositionAggregateFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"positions_aggregate"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"count"}},{"kind":"Field","name":{"kind":"Name","value":"sum"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shares"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VaultPositionsAggregate"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"vaults"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"positions_aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PositionAggregateFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VaultFilteredPositions"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"vaults"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"positions"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"account_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_in"},"value":{"kind":"Variable","name":{"kind":"Name","value":"addresses"}}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PositionFields"}}]}}]}}]} as unknown as DocumentNode; -export const PinThing = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"pinThing"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"name"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"description"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"image"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"url"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"pinThing"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"thing"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"description"},"value":{"kind":"Variable","name":{"kind":"Name","value":"description"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"image"},"value":{"kind":"Variable","name":{"kind":"Name","value":"image"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"name"},"value":{"kind":"Variable","name":{"kind":"Name","value":"name"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"url"},"value":{"kind":"Variable","name":{"kind":"Name","value":"url"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"uri"}}]}}]}}]} as unknown as DocumentNode; -export const GetAtomByCanonicalData = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetAtomByCanonicalData"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"uri"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"atoms"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_or"},"value":{"kind":"ListValue","values":[{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"data"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"Variable","name":{"kind":"Name","value":"uri"}}}]}}]},{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"raw_data"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"Variable","name":{"kind":"Name","value":"uri"}}}]}}]}]}}]}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"IntValue","value":"1"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"raw_data"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}}]}}]} as unknown as DocumentNode; -export const GetTrustedListingTripleAggregates = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetTrustedListingTripleAggregates"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"subjectId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"listedOnId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"trustswapId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"curveId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"numeric"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"accountIdLower"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"triples"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"subject"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"term_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"Variable","name":{"kind":"Name","value":"subjectId"}}}]}}]}},{"kind":"ObjectField","name":{"kind":"Name","value":"predicate"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"term_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"Variable","name":{"kind":"Name","value":"listedOnId"}}}]}}]}},{"kind":"ObjectField","name":{"kind":"Name","value":"object"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"term_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"Variable","name":{"kind":"Name","value":"trustswapId"}}}]}}]}}]}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"IntValue","value":"1"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"counter_term_id"}},{"kind":"Field","name":{"kind":"Name","value":"subject"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}}]}},{"kind":"Field","name":{"kind":"Name","value":"predicate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}}]}},{"kind":"Field","name":{"kind":"Name","value":"object"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"term_id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"image"}}]}},{"kind":"Field","name":{"kind":"Name","value":"term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vaults"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"curve_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"Variable","name":{"kind":"Name","value":"curveId"}}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"positions_aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"count"}},{"kind":"Field","name":{"kind":"Name","value":"sum"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shares"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"positions"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"account_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_ilike"},"value":{"kind":"Variable","name":{"kind":"Name","value":"accountIdLower"}}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shares"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"counter_term"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vaults"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"curve_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_eq"},"value":{"kind":"Variable","name":{"kind":"Name","value":"curveId"}}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"positions_aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"count"}},{"kind":"Field","name":{"kind":"Name","value":"sum"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shares"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"positions"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"account_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_ilike"},"value":{"kind":"Variable","name":{"kind":"Name","value":"accountIdLower"}}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shares"}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode; \ No newline at end of file + TData = InfiniteData, + TError = unknown, +>( + variables: GetTrustedListingTripleAggregatesQueryVariables, + options: Omit< + UseInfiniteQueryOptions, + 'queryKey' + > & { + queryKey?: UseInfiniteQueryOptions< + GetTrustedListingTripleAggregatesQuery, + TError, + TData + >['queryKey']; + }, +) => { + return useInfiniteQuery( + (() => { + const { queryKey: optionsQueryKey, ...restOptions } = options; + return { + queryKey: optionsQueryKey ?? ['GetTrustedListingTripleAggregates.infinite', variables], + queryFn: (metaData) => + fetcher< + GetTrustedListingTripleAggregatesQuery, + GetTrustedListingTripleAggregatesQueryVariables + >(GetTrustedListingTripleAggregatesDocument, { + ...variables, + ...(metaData.pageParam ?? {}), + })(), + ...restOptions, + }; + })(), + ); +}; + +useInfiniteGetTrustedListingTripleAggregatesQuery.getKey = ( + variables: GetTrustedListingTripleAggregatesQueryVariables, +) => ['GetTrustedListingTripleAggregates.infinite', variables]; + +useGetTrustedListingTripleAggregatesQuery.fetcher = ( + variables: GetTrustedListingTripleAggregatesQueryVariables, + options?: RequestInit['headers'], +) => + fetcher( + GetTrustedListingTripleAggregatesDocument, + variables, + options, + ); + +export const AccountPositionsAggregate = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountPositionsAggregate' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'accounts' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'positions_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'shares' }, + value: { kind: 'EnumValue', value: 'desc' }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'count' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'nodes' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'vault' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total_shares' } }, + { kind: 'Field', name: { kind: 'Name', value: 'current_share_price' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'atom' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'triple' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AccountPositions = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountPositions' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'accounts' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'shares' }, + value: { kind: 'EnumValue', value: 'desc' }, + }, + ], + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'positionsLimit' } }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'offset' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'positionsOffset' } }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'positionsWhere' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'vault' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total_shares' } }, + { kind: 'Field', name: { kind: 'Name', value: 'current_share_price' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'atom' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'triple' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AccountAtoms = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountAtoms' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'accounts' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'atoms' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'atomsWhere' } }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'atomsOrderBy' } }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'atomsLimit' } }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'offset' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'atomsOffset' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { kind: 'StringValue', value: '1', block: false }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'total_shares' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'account_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'address' }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'nodes' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AccountAtomsAggregate = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountAtomsAggregate' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'accounts' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'atoms_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'atomsWhere' } }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'atomsOrderBy' } }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'atomsLimit' } }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'offset' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'atomsOffset' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'count' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'nodes' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'total_shares' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'account_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'address' }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'nodes' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AccountTriples = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountTriples' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'accounts' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'triples_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'triplesWhere' } }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'triplesOrderBy' } }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'triplesLimit' } }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'offset' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'triplesOffset' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'count' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'nodes' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AccountTriplesAggregate = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountTriplesAggregate' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'accounts' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'triples_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'triplesWhere' } }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'triplesOrderBy' } }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'triplesLimit' } }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'offset' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'triplesOffset' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'count' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'nodes' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AtomTxn = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomTxn' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'atoms' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'block_number' } }, + { kind: 'Field', name: { kind: 'Name', value: 'created_at' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transaction_hash' } }, + { kind: 'Field', name: { kind: 'Name', value: 'creator_id' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AtomVaultDetails = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomVaultDetails' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'atoms' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'wallet_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { kind: 'StringValue', value: '1', block: false }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'position_count' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total_shares' } }, + { kind: 'Field', name: { kind: 'Name', value: 'current_share_price' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions_aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sum' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AccountMetadata = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountMetadata' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'accounts' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AtomTriple = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomTriple' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'atoms' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'as_subject_triples' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'as_predicate_triples' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'as_object_triples' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountMetadata' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'accounts' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AtomVaultDetailsWithPositions = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomVaultDetailsWithPositions' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'atoms' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { kind: 'StringValue', value: '1', block: false }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'total_shares' } }, + { kind: 'Field', name: { kind: 'Name', value: 'current_share_price' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'account_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_in' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'addresses' }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'sum' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'nodes' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const DepositEventFragment = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'DepositEventFragment' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'events' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'deposit' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'curve_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'receiver' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sender' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const RedemptionEventFragment = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'RedemptionEventFragment' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'events' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'redemption' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'curve_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'receiver_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AtomValue = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomValue' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'atoms' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'value' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'person' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'thing' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'organization' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AtomMetadata = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomMetadata' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'atoms' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'wallet_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'AtomValue' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomValue' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'atoms' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'value' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'person' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'thing' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'organization' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const PositionAggregateFields = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PositionAggregateFields' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'positions_aggregate' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sum' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'shares' } }], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const PositionFields = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PositionFields' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'positions' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'vault' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total_shares' } }, + { kind: 'Field', name: { kind: 'Name', value: 'current_share_price' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const TripleMetadata = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'TripleMetadata' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'triples' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'subject_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'predicate_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'object_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'AtomValue' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'AccountMetadata' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'AtomValue' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'AccountMetadata' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'AtomValue' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'AccountMetadata' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { kind: 'StringValue', value: '1', block: false }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'total_shares' } }, + { kind: 'Field', name: { kind: 'Name', value: 'current_share_price' } }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'allPositions' }, + name: { kind: 'Name', value: 'positions_aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PositionAggregateFields' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PositionFields' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'counter_term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { kind: 'StringValue', value: '1', block: false }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'total_shares' } }, + { kind: 'Field', name: { kind: 'Name', value: 'current_share_price' } }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'allPositions' }, + name: { kind: 'Name', value: 'positions_aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PositionAggregateFields' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PositionFields' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountMetadata' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'accounts' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomValue' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'atoms' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'value' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'person' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'thing' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'organization' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PositionFields' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'positions' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'vault' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total_shares' } }, + { kind: 'Field', name: { kind: 'Name', value: 'current_share_price' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PositionAggregateFields' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'positions_aggregate' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sum' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'shares' } }], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const EventDetails = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'EventDetails' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'events' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'block_number' } }, + { kind: 'Field', name: { kind: 'Name', value: 'created_at' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transaction_hash' } }, + { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'triple_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'deposit_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'redemption_id' } }, + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'DepositEventFragment' } }, + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'RedemptionEventFragment' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'atom' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'AtomMetadata' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { kind: 'StringValue', value: '1', block: false }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'total_shares' } }, + { kind: 'Field', name: { kind: 'Name', value: 'position_count' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'account_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'triple' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'TripleMetadata' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { kind: 'StringValue', value: '1', block: false }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'total_shares' } }, + { kind: 'Field', name: { kind: 'Name', value: 'position_count' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'account_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'counter_term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { kind: 'StringValue', value: '1', block: false }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'total_shares' } }, + { kind: 'Field', name: { kind: 'Name', value: 'position_count' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'account_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountMetadata' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'accounts' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomValue' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'atoms' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'value' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'person' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'thing' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'organization' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomMetadata' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'atoms' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'wallet_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'AtomValue' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'DepositEventFragment' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'events' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'deposit' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'curve_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'receiver' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sender' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PositionFields' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'positions' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'vault' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total_shares' } }, + { kind: 'Field', name: { kind: 'Name', value: 'current_share_price' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PositionAggregateFields' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'positions_aggregate' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sum' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'shares' } }], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'RedemptionEventFragment' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'events' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'redemption' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'curve_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'receiver_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'TripleMetadata' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'triples' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'subject_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'predicate_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'object_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'AtomValue' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'AccountMetadata' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'AtomValue' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'AccountMetadata' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'AtomValue' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'AccountMetadata' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { kind: 'StringValue', value: '1', block: false }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'total_shares' } }, + { kind: 'Field', name: { kind: 'Name', value: 'current_share_price' } }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'allPositions' }, + name: { kind: 'Name', value: 'positions_aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PositionAggregateFields' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PositionFields' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'counter_term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { kind: 'StringValue', value: '1', block: false }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'total_shares' } }, + { kind: 'Field', name: { kind: 'Name', value: 'current_share_price' } }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'allPositions' }, + name: { kind: 'Name', value: 'positions_aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PositionAggregateFields' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PositionFields' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const FollowMetadata = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'FollowMetadata' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'triples' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { kind: 'StringValue', value: '1', block: false }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total_shares' } }, + { kind: 'Field', name: { kind: 'Name', value: 'current_share_price' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionsWhere' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sum' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionsLimit' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'offset' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionsOffset' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionsOrderBy' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'positionsWhere' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const FollowAggregate = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'FollowAggregate' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'triples_aggregate' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'count' } }], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const StatDetails = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'StatDetails' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'stats' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'contract_balance' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total_accounts' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total_fees' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total_atoms' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total_triples' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total_positions' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total_signals' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const TripleTxn = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'TripleTxn' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'triples' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'block_number' } }, + { kind: 'Field', name: { kind: 'Name', value: 'created_at' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transaction_hash' } }, + { kind: 'Field', name: { kind: 'Name', value: 'creator_id' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const PositionDetails = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PositionDetails' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'positions' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'vault' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'atom' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'triple' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'position_count' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions_aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'sum' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'counter_term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'position_count' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions_aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'sum' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'curve_id' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountMetadata' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'accounts' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomValue' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'atoms' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'value' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'person' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'thing' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'organization' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const TripleVaultDetails = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'TripleVaultDetails' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'triples' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'counter_term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { kind: 'StringValue', value: '1', block: false }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PositionDetails' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'counter_term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { kind: 'StringValue', value: '1', block: false }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PositionDetails' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountMetadata' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'accounts' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'atom_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AtomValue' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'atoms' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'value' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'person' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'thing' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'organization' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PositionDetails' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'positions' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'vault' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'atom' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'triple' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'position_count' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions_aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'sum' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'counter_term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: '1', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'position_count' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions_aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'sum' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emoji' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AtomValue' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AccountMetadata' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'curve_id' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const VaultBasicDetails = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'VaultBasicDetails' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'vaults' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'curve_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'atom' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'triple' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'current_share_price' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total_shares' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const VaultFilteredPositions = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'VaultFilteredPositions' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'vaults' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'account_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_in' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'addresses' } }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'PositionFields' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PositionFields' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'positions' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'vault' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total_shares' } }, + { kind: 'Field', name: { kind: 'Name', value: 'current_share_price' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const VaultDetailsWithFilteredPositions = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'VaultDetailsWithFilteredPositions' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'vaults' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'VaultBasicDetails' } }, + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'VaultFilteredPositions' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PositionFields' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'positions' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'vault' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total_shares' } }, + { kind: 'Field', name: { kind: 'Name', value: 'current_share_price' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'VaultBasicDetails' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'vaults' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'curve_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'atom' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'triple' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'current_share_price' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total_shares' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'VaultFilteredPositions' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'vaults' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'account_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_in' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'addresses' } }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'PositionFields' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const TripleVaultCouterVaultDetailsWithPositions = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'TripleVaultCouterVaultDetailsWithPositions' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'triples' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'counter_term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { kind: 'StringValue', value: '1', block: false }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'VaultDetailsWithFilteredPositions' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'counter_term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { kind: 'StringValue', value: '1', block: false }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'VaultDetailsWithFilteredPositions' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PositionFields' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'positions' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'vault' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total_shares' } }, + { kind: 'Field', name: { kind: 'Name', value: 'current_share_price' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'VaultBasicDetails' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'vaults' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'curve_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'atom' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'triple' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'current_share_price' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total_shares' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'VaultFilteredPositions' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'vaults' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'account_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_in' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'addresses' } }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'PositionFields' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'VaultDetailsWithFilteredPositions' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'vaults' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'VaultBasicDetails' } }, + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'VaultFilteredPositions' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const VaultUnfilteredPositions = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'VaultUnfilteredPositions' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'vaults' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'PositionFields' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PositionFields' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'positions' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'vault' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total_shares' } }, + { kind: 'Field', name: { kind: 'Name', value: 'current_share_price' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const VaultDetails = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'VaultDetails' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'vaults' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'VaultBasicDetails' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'VaultBasicDetails' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'vaults' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'curve_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'atom' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'triple' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'current_share_price' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total_shares' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const VaultPositionsAggregate = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'VaultPositionsAggregate' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'vaults' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'positions_aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PositionAggregateFields' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PositionAggregateFields' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'positions_aggregate' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sum' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'shares' } }], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const VaultFieldsForTriple = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'VaultFieldsForTriple' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'vaults' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'total_shares' } }, + { kind: 'Field', name: { kind: 'Name', value: 'current_share_price' } }, + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'VaultPositionsAggregate' } }, + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'VaultFilteredPositions' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PositionFields' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'positions' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'vault' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total_shares' } }, + { kind: 'Field', name: { kind: 'Name', value: 'current_share_price' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PositionAggregateFields' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'positions_aggregate' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sum' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'shares' } }], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'VaultPositionsAggregate' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'vaults' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'positions_aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PositionAggregateFields' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'VaultFilteredPositions' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'vaults' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'account_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_in' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'addresses' } }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'PositionFields' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const PinThing = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'pinThing' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'name' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } }, + }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'description' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'image' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'url' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'pinThing' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'thing' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'description' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'description' } }, + }, + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'image' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'image' } }, + }, + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'name' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'name' } }, + }, + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'url' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'url' } }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'uri' } }], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetAtomByCanonicalData = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetAtomByCanonicalData' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'uri' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'atoms' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_or' }, + value: { + kind: 'ListValue', + values: [ + { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'data' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'uri' }, + }, + }, + ], + }, + }, + ], + }, + { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'raw_data' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'uri' }, + }, + }, + ], + }, + }, + ], + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { kind: 'IntValue', value: '1' }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'raw_data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetTrustedListingTripleAggregates = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetTrustedListingTripleAggregates' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'subjectId' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } }, + }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'listedOnId' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } }, + }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'trustswapId' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } }, + }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'curveId' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'numeric' } }, + }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'accountIdLower' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'triples' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'subject' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'term_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'subjectId' }, + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'predicate' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'term_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'listedOnId' }, + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'object' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'term_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'trustswapId' }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { kind: 'IntValue', value: '1' }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'counter_term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'subject' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'curveId' }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'positions_aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sum' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'account_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_ilike' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'accountIdLower' }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'counter_term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'curve_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'curveId' }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'positions_aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sum' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'account_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_ilike' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'accountIdLower' }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'shares' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 02c839ea9..16ce1d1b5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -84,16 +84,16 @@ importers: version: 19.1.9(@types/react@19.1.12) '@vitejs/plugin-react': specifier: ^5.0.0 - version: 5.0.2(vite@7.1.4(@types/node@24.3.0)(tsx@4.20.5)) + version: 5.0.2(vite@7.1.4(@types/node@24.3.0)(jiti@2.6.1)(tsx@4.20.5)(yaml@2.8.1)) eslint: specifier: ^9.33.0 - version: 9.34.0 + version: 9.34.0(jiti@2.6.1) eslint-plugin-react-hooks: specifier: ^5.2.0 - version: 5.2.0(eslint@9.34.0) + version: 5.2.0(eslint@9.34.0(jiti@2.6.1)) eslint-plugin-react-refresh: specifier: ^0.4.20 - version: 0.4.20(eslint@9.34.0) + version: 0.4.20(eslint@9.34.0(jiti@2.6.1)) globals: specifier: ^16.3.0 version: 16.3.0 @@ -102,10 +102,10 @@ importers: version: 5.8.3 typescript-eslint: specifier: ^8.39.1 - version: 8.42.0(eslint@9.34.0)(typescript@5.8.3) + version: 8.42.0(eslint@9.34.0(jiti@2.6.1))(typescript@5.8.3) vite: specifier: ^7.1.2 - version: 7.1.4(@types/node@24.3.0)(tsx@4.20.5) + version: 7.1.4(@types/node@24.3.0)(jiti@2.6.1)(tsx@4.20.5)(yaml@2.8.1) packages/contracts: dependencies: @@ -168,6 +168,76 @@ importers: specifier: ^5.9.2 version: 5.9.2 + packages/intuition-graphql: + dependencies: + '@graphql-codegen/typescript-document-nodes': + specifier: ^4.0.11 + version: 4.0.16(encoding@0.1.13)(graphql@16.11.0) + '@tanstack/react-query': + specifier: ^5.32.0 + version: 5.85.9(react@19.1.1) + graphql: + specifier: ^16.9.0 + version: 16.11.0 + graphql-request: + specifier: ^7.1.0 + version: 7.2.0(graphql@16.11.0) + devDependencies: + '@0no-co/graphqlsp': + specifier: ^1.12.16 + version: 1.15.0(graphql@16.11.0)(typescript@5.9.2) + '@graphql-codegen/cli': + specifier: ^5.0.3 + version: 5.0.7(@parcel/watcher@2.5.1)(@types/node@24.3.0)(bufferutil@4.0.9)(crossws@0.3.5)(encoding@0.1.13)(enquirer@2.4.1)(graphql@16.11.0)(typescript@5.9.2)(utf-8-validate@5.0.10) + '@graphql-codegen/client-preset': + specifier: ^4.4.0 + version: 4.8.3(encoding@0.1.13)(graphql@16.11.0) + '@graphql-codegen/introspection': + specifier: ^4.0.3 + version: 4.0.3(encoding@0.1.13)(graphql@16.11.0) + '@graphql-codegen/plugin-helpers': + specifier: ^5.0.4 + version: 5.1.1(graphql@16.11.0) + '@graphql-codegen/schema-ast': + specifier: ^4.1.0 + version: 4.1.0(graphql@16.11.0) + '@graphql-codegen/typescript': + specifier: ^4.1.0 + version: 4.1.6(encoding@0.1.13)(graphql@16.11.0) + '@graphql-codegen/typescript-operations': + specifier: ^4.3.0 + version: 4.6.1(encoding@0.1.13)(graphql@16.11.0) + '@graphql-codegen/typescript-react-apollo': + specifier: ^4.3.2 + version: 4.3.3(encoding@0.1.13)(graphql@16.11.0) + '@graphql-codegen/typescript-react-query': + specifier: ^6.1.0 + version: 6.1.1(encoding@0.1.13)(graphql@16.11.0) + '@graphql-typed-document-node/core': + specifier: ^3.2.0 + version: 3.2.0(graphql@16.11.0) + '@parcel/watcher': + specifier: ^2.4.1 + version: 2.5.1 + concurrently: + specifier: ^8.2.2 + version: 8.2.2 + prettier: + specifier: ^3.6.2 + version: 3.6.2 + tsup: + specifier: ^6.7.0 + version: 6.7.0(postcss@8.5.6)(ts-node@10.9.2(@types/node@24.3.0)(typescript@5.9.2))(typescript@5.9.2) + typescript: + specifier: ^5.4.5 + version: 5.9.2 + vite: + specifier: ^5.2.11 + version: 5.4.20(@types/node@24.3.0) + vitest: + specifier: ^1.3.1 + version: 1.6.1(@types/node@24.3.0) + packages/sdk: dependencies: viem: @@ -225,6 +295,18 @@ packages: resolution: {integrity: sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==} engines: {node: '>=6.0.0'} + '@ardatan/relay-compiler@12.0.0': + resolution: {integrity: sha512-9anThAaj1dQr6IGmzBMcfzOQKTa5artjuPmw8NYK/fiGEMjADbSguBY2FMDykt+QhilR3wc9VA/3yVju7JHg7Q==} + hasBin: true + peerDependencies: + graphql: '*' + + '@ardatan/relay-compiler@12.0.3': + resolution: {integrity: sha512-mBDFOGvAoVlWaWqs3hm1AciGHSQE1rqFc/liZTyYz/Oek9yZdT5H26pH2zAFuEiTiBVPPyMuqf5VjOFPI2DGsQ==} + hasBin: true + peerDependencies: + graphql: '*' + '@babel/code-frame@7.27.1': resolution: {integrity: sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==} engines: {node: '>=6.9.0'} @@ -241,14 +323,28 @@ packages: resolution: {integrity: sha512-3lSpxGgvnmZznmBkCRnVREPUFJv2wrv9iAoFDvADJc0ypmdOxdUtcLeBgBJ6zE0PMeTKnxeQzyk0xTBq4Ep7zw==} engines: {node: '>=6.9.0'} + '@babel/helper-annotate-as-pure@7.27.3': + resolution: {integrity: sha512-fXSwMQqitTGeHLBC08Eq5yXz2m37E4pJX1qAU1+2cNedz/ifv/bVXft90VeSav5nFO61EcNgwr0aJxbyPaWBPg==} + engines: {node: '>=6.9.0'} + '@babel/helper-compilation-targets@7.27.2': resolution: {integrity: sha512-2+1thGUUWWjLTYTHZWK1n8Yga0ijBz1XAhUXcKy81rd5g6yh7hGqMp45v7cadSbEHc9G3OTv45SyneRN3ps4DQ==} engines: {node: '>=6.9.0'} + '@babel/helper-create-class-features-plugin@7.28.3': + resolution: {integrity: sha512-V9f6ZFIYSLNEbuGA/92uOvYsGCJNsuA8ESZ4ldc09bWk/j8H8TKiPw8Mk1eG6olpnO0ALHJmYfZvF4MEE4gajg==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0 + '@babel/helper-globals@7.28.0': resolution: {integrity: sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw==} engines: {node: '>=6.9.0'} + '@babel/helper-member-expression-to-functions@7.27.1': + resolution: {integrity: sha512-E5chM8eWjTp/aNoVpcbfM7mLxu9XGLWYise2eBKGQomAk/Mb4XoxyqXTZbuTohbsl8EKqdlMhnDI2CCLfcs9wA==} + engines: {node: '>=6.9.0'} + '@babel/helper-module-imports@7.27.1': resolution: {integrity: sha512-0gSFWUPNXNopqtIPQvlD5WgXYI5GY2kP2cCvoT8kczjbfcfuIljTbcWrulD1CIPIX2gt1wghbDy08yE1p+/r3w==} engines: {node: '>=6.9.0'} @@ -259,10 +355,24 @@ packages: peerDependencies: '@babel/core': ^7.0.0 + '@babel/helper-optimise-call-expression@7.27.1': + resolution: {integrity: sha512-URMGH08NzYFhubNSGJrpUEphGKQwMQYBySzat5cAByY1/YgIRkULnIy3tAMeszlL/so2HbeilYloUmSpd7GdVw==} + engines: {node: '>=6.9.0'} + '@babel/helper-plugin-utils@7.27.1': resolution: {integrity: sha512-1gn1Up5YXka3YYAHGKpbideQ5Yjf1tDa9qYcgysz+cNCXukyLl6DjPXhD3VRwSb8c0J9tA4b2+rHEZtc6R0tlw==} engines: {node: '>=6.9.0'} + '@babel/helper-replace-supers@7.27.1': + resolution: {integrity: sha512-7EHz6qDZc8RYS5ElPoShMheWvEgERonFCs7IAonWLLUTXW59DP14bCZt89/GKyreYn8g3S83m21FelHKbeDCKA==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0 + + '@babel/helper-skip-transparent-expression-wrappers@7.27.1': + resolution: {integrity: sha512-Tub4ZKEXqbPjXgWLl2+3JpQAYBJ8+ikpQ2Ocj/q/r0LwE3UhENh7EUabyHjz2kCEsrRY83ew2DQdHluuiDQFzg==} + engines: {node: '>=6.9.0'} + '@babel/helper-string-parser@7.27.1': resolution: {integrity: sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==} engines: {node: '>=6.9.0'} @@ -284,6 +394,149 @@ packages: engines: {node: '>=6.0.0'} hasBin: true + '@babel/parser@7.28.4': + resolution: {integrity: sha512-yZbBqeM6TkpP9du/I2pUZnJsRMGGvOuIrhjzC1AwHwW+6he4mni6Bp/m8ijn0iOuZuPI2BfkCoSRunpyjnrQKg==} + engines: {node: '>=6.0.0'} + hasBin: true + + '@babel/plugin-proposal-class-properties@7.18.6': + resolution: {integrity: sha512-cumfXOF0+nzZrrN8Rf0t7M+tF6sZc7vhQwYQck9q1/5w2OExlD+b4v4RpMJFaV1Z7WcDRgO6FqvxqxGlwo+RHQ==} + engines: {node: '>=6.9.0'} + deprecated: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead. + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-proposal-object-rest-spread@7.20.7': + resolution: {integrity: sha512-d2S98yCiLxDVmBmE8UjGcfPvNEUbA1U5q5WxaWFUGRzJSVAZqm5W6MbPct0jxnegUZ0niLeNX+IOzEs7wYg9Dg==} + engines: {node: '>=6.9.0'} + deprecated: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead. + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-syntax-class-properties@7.12.13': + resolution: {integrity: sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-syntax-flow@7.27.1': + resolution: {integrity: sha512-p9OkPbZ5G7UT1MofwYFigGebnrzGJacoBSQM0/6bi/PUMVE+qlWDD/OalvQKbwgQzU6dl0xAv6r4X7Jme0RYxA==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-syntax-import-assertions@7.27.1': + resolution: {integrity: sha512-UT/Jrhw57xg4ILHLFnzFpPDlMbcdEicaAtjPQpbj9wa8T4r5KVWCimHcL/460g8Ht0DMxDyjsLgiWSkVjnwPFg==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-syntax-jsx@7.27.1': + resolution: {integrity: sha512-y8YTNIeKoyhGd9O0Jiyzyyqk8gdjnumGTQPsz0xOZOQ2RmkVJeZ1vmmfIvFEKqucBG6axJGBZDE/7iI5suUI/w==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-syntax-object-rest-spread@7.8.3': + resolution: {integrity: sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-transform-arrow-functions@7.27.1': + resolution: {integrity: sha512-8Z4TGic6xW70FKThA5HYEKKyBpOOsucTOD1DjU3fZxDg+K3zBJcXMFnt/4yQiZnf5+MiOMSXQ9PaEK/Ilh1DeA==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-transform-block-scoped-functions@7.27.1': + resolution: {integrity: sha512-cnqkuOtZLapWYZUYM5rVIdv1nXYuFVIltZ6ZJ7nIj585QsjKM5dhL2Fu/lICXZ1OyIAFc7Qy+bvDAtTXqGrlhg==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-transform-block-scoping@7.28.4': + resolution: {integrity: sha512-1yxmvN0MJHOhPVmAsmoW5liWwoILobu/d/ShymZmj867bAdxGbehIrew1DuLpw2Ukv+qDSSPQdYW1dLNE7t11A==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-transform-classes@7.28.4': + resolution: {integrity: sha512-cFOlhIYPBv/iBoc+KS3M6et2XPtbT2HiCRfBXWtfpc9OAyostldxIf9YAYB6ypURBBbx+Qv6nyrLzASfJe+hBA==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-transform-computed-properties@7.27.1': + resolution: {integrity: sha512-lj9PGWvMTVksbWiDT2tW68zGS/cyo4AkZ/QTp0sQT0mjPopCmrSkzxeXkznjqBxzDI6TclZhOJbBmbBLjuOZUw==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-transform-destructuring@7.28.0': + resolution: {integrity: sha512-v1nrSMBiKcodhsyJ4Gf+Z0U/yawmJDBOTpEB3mcQY52r9RIyPneGyAS/yM6seP/8I+mWI3elOMtT5dB8GJVs+A==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-transform-flow-strip-types@7.27.1': + resolution: {integrity: sha512-G5eDKsu50udECw7DL2AcsysXiQyB7Nfg521t2OAJ4tbfTJ27doHLeF/vlI1NZGlLdbb/v+ibvtL1YBQqYOwJGg==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-transform-for-of@7.27.1': + resolution: {integrity: sha512-BfbWFFEJFQzLCQ5N8VocnCtA8J1CLkNTe2Ms2wocj75dd6VpiqS5Z5quTYcUoo4Yq+DN0rtikODccuv7RU81sw==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-transform-function-name@7.27.1': + resolution: {integrity: sha512-1bQeydJF9Nr1eBCMMbC+hdwmRlsv5XYOMu03YSWFwNs0HsAmtSxxF1fyuYPqemVldVyFmlCU7w8UE14LupUSZQ==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-transform-literals@7.27.1': + resolution: {integrity: sha512-0HCFSepIpLTkLcsi86GG3mTUzxV5jpmbv97hTETW3yzrAij8aqlD36toB1D0daVFJM8NK6GvKO0gslVQmm+zZA==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-transform-member-expression-literals@7.27.1': + resolution: {integrity: sha512-hqoBX4dcZ1I33jCSWcXrP+1Ku7kdqXf1oeah7ooKOIiAdKQ+uqftgCFNOSzA5AMS2XIHEYeGFg4cKRCdpxzVOQ==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-transform-modules-commonjs@7.27.1': + resolution: {integrity: sha512-OJguuwlTYlN0gBZFRPqwOGNWssZjfIUdS7HMYtN8c1KmwpwHFBwTeFZrg9XZa+DFTitWOW5iTAG7tyCUPsCCyw==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-transform-object-super@7.27.1': + resolution: {integrity: sha512-SFy8S9plRPbIcxlJ8A6mT/CxFdJx/c04JEctz4jf8YZaVS2px34j7NXRrlGlHkN/M2gnpL37ZpGRGVFLd3l8Ng==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-transform-parameters@7.27.7': + resolution: {integrity: sha512-qBkYTYCb76RRxUM6CcZA5KRu8K4SM8ajzVeUgVdMVO9NN9uI/GaVmBg/WKJJGnNokV9SY8FxNOVWGXzqzUidBg==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-transform-property-literals@7.27.1': + resolution: {integrity: sha512-oThy3BCuCha8kDZ8ZkgOg2exvPYUlprMukKQXI1r1pJ47NCvxfkEy8vK+r/hT9nF0Aa4H1WUPZZjHTFtAhGfmQ==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-transform-react-display-name@7.28.0': + resolution: {integrity: sha512-D6Eujc2zMxKjfa4Zxl4GHMsmhKKZ9VpcqIchJLvwTxad9zWIYulwYItBovpDOoNLISpcZSXoDJ5gaGbQUDqViA==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + '@babel/plugin-transform-react-jsx-self@7.27.1': resolution: {integrity: sha512-6UzkCs+ejGdZ5mFFC/OCUrv028ab2fp1znZmCZjAOBKiBK2jXD1O+BPSfX8X2qjJ75fZBMSnQn3Rq2mrBJK2mw==} engines: {node: '>=6.9.0'} @@ -296,6 +549,30 @@ packages: peerDependencies: '@babel/core': ^7.0.0-0 + '@babel/plugin-transform-react-jsx@7.27.1': + resolution: {integrity: sha512-2KH4LWGSrJIkVf5tSiBFYuXDAoWRq2MMwgivCf+93dd0GQi8RXLjKA/0EvRnVV5G0hrHczsquXuD01L8s6dmBw==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-transform-shorthand-properties@7.27.1': + resolution: {integrity: sha512-N/wH1vcn4oYawbJ13Y/FxcQrWk63jhfNa7jef0ih7PHSIHX2LB7GWE1rkPrOnka9kwMxb6hMl19p7lidA+EHmQ==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-transform-spread@7.27.1': + resolution: {integrity: sha512-kpb3HUqaILBJcRFVhFUs6Trdd4mkrzcGXss+6/mxUd273PfbWqSDHRzMT2234gIg2QYfAjvXLSquP1xECSg09Q==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-transform-template-literals@7.27.1': + resolution: {integrity: sha512-fBJKiV7F2DxZUkg5EtHKXQdbsbURW3DZKQUWphDum0uRP6eHGGa/He9mc0mypL680pb+e/lDIthRohlv8NCHkg==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + '@babel/runtime@7.28.3': resolution: {integrity: sha512-9uIQ10o0WGdpP6GDhXcdOJPJuDgFtIDtN/9+ArJQ2NAfAmiuhTQdzkaTGR33v43GYS2UrSA0eX2pPPHoFVvpxA==} engines: {node: '>=6.9.0'} @@ -308,10 +585,18 @@ packages: resolution: {integrity: sha512-7w4kZYHneL3A6NP2nxzHvT3HCZ7puDZZjFMqDpBPECub79sTtSO5CGXDkKrTQq8ksAwfD/XI2MRFX23njdDaIQ==} engines: {node: '>=6.9.0'} + '@babel/traverse@7.28.4': + resolution: {integrity: sha512-YEzuboP2qvQavAcjgQNVgsvHIDv6ZpwXvcvjmyySP2DIMuByS/6ioU5G9pYrWHM6T2YDfc7xga9iNzYOs12CFQ==} + engines: {node: '>=6.9.0'} + '@babel/types@7.28.2': resolution: {integrity: sha512-ruv7Ae4J5dUYULmeXw1gmb7rYRz57OWCPM57pHojnLq/3Z1CK2lNSLTCVjxVk1F/TZHwOZZrOWi0ur95BbLxNQ==} engines: {node: '>=6.9.0'} + '@babel/types@7.28.4': + resolution: {integrity: sha512-bkFqkLhh3pMBUQQkpVgWDWq/lqzc2678eUyDlTBhRqhCHFguYYGM0Efga7tYk4TogG/3x0EEl66/OQ+WGbWB/Q==} + engines: {node: '>=6.9.0'} + '@base-org/account@1.1.1': resolution: {integrity: sha512-IfVJPrDPhHfqXRDb89472hXkpvJuQQR7FDI9isLPHEqSYt/45whIoBxSPgZ0ssTt379VhQo4+87PWI1DoLSfAQ==} @@ -469,102 +754,312 @@ packages: '@emnapi/runtime@1.5.0': resolution: {integrity: sha512-97/BJ3iXHww3djw6hYIfErCZFee7qCtrneuLa20UXFCOTCfBM2cvQHjWJ2EG0s0MtdNwInarqCTz35i4wWXHsQ==} + '@envelop/core@5.3.2': + resolution: {integrity: sha512-06Mu7fmyKzk09P2i2kHpGfItqLLgCq7uO5/nX4fc/iHMplWPNuAx4iYR+WXUQoFHDnP6EUbceQNQ5iyeMz9f3g==} + engines: {node: '>=18.0.0'} + + '@envelop/instrumentation@1.0.0': + resolution: {integrity: sha512-cxgkB66RQB95H3X27jlnxCRNTmPuSTgmBAq6/4n2Dtv4hsk4yz8FadA1ggmd0uZzvKqWD6CR+WFgTjhDqg7eyw==} + engines: {node: '>=18.0.0'} + + '@envelop/types@5.2.1': + resolution: {integrity: sha512-CsFmA3u3c2QoLDTfEpGr4t25fjMU31nyvse7IzWTvb0ZycuPjMjb0fjlheh+PbhBYb9YLugnT2uY6Mwcg1o+Zg==} + engines: {node: '>=18.0.0'} + + '@esbuild/aix-ppc64@0.21.5': + resolution: {integrity: sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [aix] + '@esbuild/aix-ppc64@0.25.9': resolution: {integrity: sha512-OaGtL73Jck6pBKjNIe24BnFE6agGl+6KxDtTfHhy1HmhthfKouEcOhqpSL64K4/0WCtbKFLOdzD/44cJ4k9opA==} engines: {node: '>=18'} cpu: [ppc64] os: [aix] + '@esbuild/android-arm64@0.17.19': + resolution: {integrity: sha512-KBMWvEZooR7+kzY0BtbTQn0OAYY7CsiydT63pVEaPtVYF0hXbUaOyZog37DKxK7NF3XacBJOpYT4adIJh+avxA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + + '@esbuild/android-arm64@0.21.5': + resolution: {integrity: sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + '@esbuild/android-arm64@0.25.9': resolution: {integrity: sha512-IDrddSmpSv51ftWslJMvl3Q2ZT98fUSL2/rlUXuVqRXHCs5EUF1/f+jbjF5+NG9UffUDMCiTyh8iec7u8RlTLg==} engines: {node: '>=18'} cpu: [arm64] os: [android] + '@esbuild/android-arm@0.17.19': + resolution: {integrity: sha512-rIKddzqhmav7MSmoFCmDIb6e2W57geRsM94gV2l38fzhXMwq7hZoClug9USI2pFRGL06f4IOPHHpFNOkWieR8A==} + engines: {node: '>=12'} + cpu: [arm] + os: [android] + + '@esbuild/android-arm@0.21.5': + resolution: {integrity: sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==} + engines: {node: '>=12'} + cpu: [arm] + os: [android] + '@esbuild/android-arm@0.25.9': resolution: {integrity: sha512-5WNI1DaMtxQ7t7B6xa572XMXpHAaI/9Hnhk8lcxF4zVN4xstUgTlvuGDorBguKEnZO70qwEcLpfifMLoxiPqHQ==} engines: {node: '>=18'} cpu: [arm] os: [android] + '@esbuild/android-x64@0.17.19': + resolution: {integrity: sha512-uUTTc4xGNDT7YSArp/zbtmbhO0uEEK9/ETW29Wk1thYUJBz3IVnvgEiEwEa9IeLyvnpKrWK64Utw2bgUmDveww==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + + '@esbuild/android-x64@0.21.5': + resolution: {integrity: sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + '@esbuild/android-x64@0.25.9': resolution: {integrity: sha512-I853iMZ1hWZdNllhVZKm34f4wErd4lMyeV7BLzEExGEIZYsOzqDWDf+y082izYUE8gtJnYHdeDpN/6tUdwvfiw==} engines: {node: '>=18'} cpu: [x64] os: [android] + '@esbuild/darwin-arm64@0.17.19': + resolution: {integrity: sha512-80wEoCfF/hFKM6WE1FyBHc9SfUblloAWx6FJkFWTWiCoht9Mc0ARGEM47e67W9rI09YoUxJL68WHfDRYEAvOhg==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + + '@esbuild/darwin-arm64@0.21.5': + resolution: {integrity: sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + '@esbuild/darwin-arm64@0.25.9': resolution: {integrity: sha512-XIpIDMAjOELi/9PB30vEbVMs3GV1v2zkkPnuyRRURbhqjyzIINwj+nbQATh4H9GxUgH1kFsEyQMxwiLFKUS6Rg==} engines: {node: '>=18'} cpu: [arm64] os: [darwin] + '@esbuild/darwin-x64@0.17.19': + resolution: {integrity: sha512-IJM4JJsLhRYr9xdtLytPLSH9k/oxR3boaUIYiHkAawtwNOXKE8KoU8tMvryogdcT8AU+Bflmh81Xn6Q0vTZbQw==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + + '@esbuild/darwin-x64@0.21.5': + resolution: {integrity: sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + '@esbuild/darwin-x64@0.25.9': resolution: {integrity: sha512-jhHfBzjYTA1IQu8VyrjCX4ApJDnH+ez+IYVEoJHeqJm9VhG9Dh2BYaJritkYK3vMaXrf7Ogr/0MQ8/MeIefsPQ==} engines: {node: '>=18'} cpu: [x64] os: [darwin] + '@esbuild/freebsd-arm64@0.17.19': + resolution: {integrity: sha512-pBwbc7DufluUeGdjSU5Si+P3SoMF5DQ/F/UmTSb8HXO80ZEAJmrykPyzo1IfNbAoaqw48YRpv8shwd1NoI0jcQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + + '@esbuild/freebsd-arm64@0.21.5': + resolution: {integrity: sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + '@esbuild/freebsd-arm64@0.25.9': resolution: {integrity: sha512-z93DmbnY6fX9+KdD4Ue/H6sYs+bhFQJNCPZsi4XWJoYblUqT06MQUdBCpcSfuiN72AbqeBFu5LVQTjfXDE2A6Q==} engines: {node: '>=18'} cpu: [arm64] os: [freebsd] + '@esbuild/freebsd-x64@0.17.19': + resolution: {integrity: sha512-4lu+n8Wk0XlajEhbEffdy2xy53dpR06SlzvhGByyg36qJw6Kpfk7cp45DR/62aPH9mtJRmIyrXAS5UWBrJT6TQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + + '@esbuild/freebsd-x64@0.21.5': + resolution: {integrity: sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + '@esbuild/freebsd-x64@0.25.9': resolution: {integrity: sha512-mrKX6H/vOyo5v71YfXWJxLVxgy1kyt1MQaD8wZJgJfG4gq4DpQGpgTB74e5yBeQdyMTbgxp0YtNj7NuHN0PoZg==} engines: {node: '>=18'} cpu: [x64] os: [freebsd] + '@esbuild/linux-arm64@0.17.19': + resolution: {integrity: sha512-ct1Tg3WGwd3P+oZYqic+YZF4snNl2bsnMKRkb3ozHmnM0dGWuxcPTTntAF6bOP0Sp4x0PjSF+4uHQ1xvxfRKqg==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + + '@esbuild/linux-arm64@0.21.5': + resolution: {integrity: sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + '@esbuild/linux-arm64@0.25.9': resolution: {integrity: sha512-BlB7bIcLT3G26urh5Dmse7fiLmLXnRlopw4s8DalgZ8ef79Jj4aUcYbk90g8iCa2467HX8SAIidbL7gsqXHdRw==} engines: {node: '>=18'} cpu: [arm64] os: [linux] + '@esbuild/linux-arm@0.17.19': + resolution: {integrity: sha512-cdmT3KxjlOQ/gZ2cjfrQOtmhG4HJs6hhvm3mWSRDPtZ/lP5oe8FWceS10JaSJC13GBd4eH/haHnqf7hhGNLerA==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + + '@esbuild/linux-arm@0.21.5': + resolution: {integrity: sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + '@esbuild/linux-arm@0.25.9': resolution: {integrity: sha512-HBU2Xv78SMgaydBmdor38lg8YDnFKSARg1Q6AT0/y2ezUAKiZvc211RDFHlEZRFNRVhcMamiToo7bDx3VEOYQw==} engines: {node: '>=18'} cpu: [arm] os: [linux] + '@esbuild/linux-ia32@0.17.19': + resolution: {integrity: sha512-w4IRhSy1VbsNxHRQpeGCHEmibqdTUx61Vc38APcsRbuVgK0OPEnQ0YD39Brymn96mOx48Y2laBQGqgZ0j9w6SQ==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + + '@esbuild/linux-ia32@0.21.5': + resolution: {integrity: sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + '@esbuild/linux-ia32@0.25.9': resolution: {integrity: sha512-e7S3MOJPZGp2QW6AK6+Ly81rC7oOSerQ+P8L0ta4FhVi+/j/v2yZzx5CqqDaWjtPFfYz21Vi1S0auHrap3Ma3A==} engines: {node: '>=18'} cpu: [ia32] os: [linux] + '@esbuild/linux-loong64@0.17.19': + resolution: {integrity: sha512-2iAngUbBPMq439a+z//gE+9WBldoMp1s5GWsUSgqHLzLJ9WoZLZhpwWuym0u0u/4XmZ3gpHmzV84PonE+9IIdQ==} + engines: {node: '>=12'} + cpu: [loong64] + os: [linux] + + '@esbuild/linux-loong64@0.21.5': + resolution: {integrity: sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==} + engines: {node: '>=12'} + cpu: [loong64] + os: [linux] + '@esbuild/linux-loong64@0.25.9': resolution: {integrity: sha512-Sbe10Bnn0oUAB2AalYztvGcK+o6YFFA/9829PhOCUS9vkJElXGdphz0A3DbMdP8gmKkqPmPcMJmJOrI3VYB1JQ==} engines: {node: '>=18'} cpu: [loong64] os: [linux] + '@esbuild/linux-mips64el@0.17.19': + resolution: {integrity: sha512-LKJltc4LVdMKHsrFe4MGNPp0hqDFA1Wpt3jE1gEyM3nKUvOiO//9PheZZHfYRfYl6AwdTH4aTcXSqBerX0ml4A==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + + '@esbuild/linux-mips64el@0.21.5': + resolution: {integrity: sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + '@esbuild/linux-mips64el@0.25.9': resolution: {integrity: sha512-YcM5br0mVyZw2jcQeLIkhWtKPeVfAerES5PvOzaDxVtIyZ2NUBZKNLjC5z3/fUlDgT6w89VsxP2qzNipOaaDyA==} engines: {node: '>=18'} cpu: [mips64el] os: [linux] - '@esbuild/linux-ppc64@0.25.9': - resolution: {integrity: sha512-++0HQvasdo20JytyDpFvQtNrEsAgNG2CY1CLMwGXfFTKGBGQT3bOeLSYE2l1fYdvML5KUuwn9Z8L1EWe2tzs1w==} - engines: {node: '>=18'} + '@esbuild/linux-ppc64@0.17.19': + resolution: {integrity: sha512-/c/DGybs95WXNS8y3Ti/ytqETiW7EU44MEKuCAcpPto3YjQbyK3IQVKfF6nbghD7EcLUGl0NbiL5Rt5DMhn5tg==} + engines: {node: '>=12'} cpu: [ppc64] os: [linux] + '@esbuild/linux-ppc64@0.21.5': + resolution: {integrity: sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [linux] + + '@esbuild/linux-ppc64@0.25.9': + resolution: {integrity: sha512-++0HQvasdo20JytyDpFvQtNrEsAgNG2CY1CLMwGXfFTKGBGQT3bOeLSYE2l1fYdvML5KUuwn9Z8L1EWe2tzs1w==} + engines: {node: '>=18'} + cpu: [ppc64] + os: [linux] + + '@esbuild/linux-riscv64@0.17.19': + resolution: {integrity: sha512-FC3nUAWhvFoutlhAkgHf8f5HwFWUL6bYdvLc/TTuxKlvLi3+pPzdZiFKSWz/PF30TB1K19SuCxDTI5KcqASJqA==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + + '@esbuild/linux-riscv64@0.21.5': + resolution: {integrity: sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + '@esbuild/linux-riscv64@0.25.9': resolution: {integrity: sha512-uNIBa279Y3fkjV+2cUjx36xkx7eSjb8IvnL01eXUKXez/CBHNRw5ekCGMPM0BcmqBxBcdgUWuUXmVWwm4CH9kg==} engines: {node: '>=18'} cpu: [riscv64] os: [linux] + '@esbuild/linux-s390x@0.17.19': + resolution: {integrity: sha512-IbFsFbxMWLuKEbH+7sTkKzL6NJmG2vRyy6K7JJo55w+8xDk7RElYn6xvXtDW8HCfoKBFK69f3pgBJSUSQPr+4Q==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + + '@esbuild/linux-s390x@0.21.5': + resolution: {integrity: sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + '@esbuild/linux-s390x@0.25.9': resolution: {integrity: sha512-Mfiphvp3MjC/lctb+7D287Xw1DGzqJPb/J2aHHcHxflUo+8tmN/6d4k6I2yFR7BVo5/g7x2Monq4+Yew0EHRIA==} engines: {node: '>=18'} cpu: [s390x] os: [linux] + '@esbuild/linux-x64@0.17.19': + resolution: {integrity: sha512-68ngA9lg2H6zkZcyp22tsVt38mlhWde8l3eJLWkyLrp4HwMUr3c1s/M2t7+kHIhvMjglIBrFpncX1SzMckomGw==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + + '@esbuild/linux-x64@0.21.5': + resolution: {integrity: sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + '@esbuild/linux-x64@0.25.9': resolution: {integrity: sha512-iSwByxzRe48YVkmpbgoxVzn76BXjlYFXC7NvLYq+b+kDjyyk30J0JY47DIn8z1MO3K0oSl9fZoRmZPQI4Hklzg==} engines: {node: '>=18'} @@ -577,6 +1072,18 @@ packages: cpu: [arm64] os: [netbsd] + '@esbuild/netbsd-x64@0.17.19': + resolution: {integrity: sha512-CwFq42rXCR8TYIjIfpXCbRX0rp1jo6cPIUPSaWwzbVI4aOfX96OXY8M6KNmtPcg7QjYeDmN+DD0Wp3LaBOLf4Q==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + + '@esbuild/netbsd-x64@0.21.5': + resolution: {integrity: sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + '@esbuild/netbsd-x64@0.25.9': resolution: {integrity: sha512-RLLdkflmqRG8KanPGOU7Rpg829ZHu8nFy5Pqdi9U01VYtG9Y0zOG6Vr2z4/S+/3zIyOxiK6cCeYNWOFR9QP87g==} engines: {node: '>=18'} @@ -589,6 +1096,18 @@ packages: cpu: [arm64] os: [openbsd] + '@esbuild/openbsd-x64@0.17.19': + resolution: {integrity: sha512-cnq5brJYrSZ2CF6c35eCmviIN3k3RczmHz8eYaVlNasVqsNY+JKohZU5MKmaOI+KkllCdzOKKdPs762VCPC20g==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + + '@esbuild/openbsd-x64@0.21.5': + resolution: {integrity: sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + '@esbuild/openbsd-x64@0.25.9': resolution: {integrity: sha512-1MkgTCuvMGWuqVtAvkpkXFmtL8XhWy+j4jaSO2wxfJtilVCi0ZE37b8uOdMItIHz4I6z1bWWtEX4CJwcKYLcuA==} engines: {node: '>=18'} @@ -601,24 +1120,72 @@ packages: cpu: [arm64] os: [openharmony] + '@esbuild/sunos-x64@0.17.19': + resolution: {integrity: sha512-vCRT7yP3zX+bKWFeP/zdS6SqdWB8OIpaRq/mbXQxTGHnIxspRtigpkUcDMlSCOejlHowLqII7K2JKevwyRP2rg==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + + '@esbuild/sunos-x64@0.21.5': + resolution: {integrity: sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + '@esbuild/sunos-x64@0.25.9': resolution: {integrity: sha512-WjH4s6hzo00nNezhp3wFIAfmGZ8U7KtrJNlFMRKxiI9mxEK1scOMAaa9i4crUtu+tBr+0IN6JCuAcSBJZfnphw==} engines: {node: '>=18'} cpu: [x64] os: [sunos] + '@esbuild/win32-arm64@0.17.19': + resolution: {integrity: sha512-yYx+8jwowUstVdorcMdNlzklLYhPxjniHWFKgRqH7IFlUEa0Umu3KuYplf1HUZZ422e3NU9F4LGb+4O0Kdcaag==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + + '@esbuild/win32-arm64@0.21.5': + resolution: {integrity: sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + '@esbuild/win32-arm64@0.25.9': resolution: {integrity: sha512-mGFrVJHmZiRqmP8xFOc6b84/7xa5y5YvR1x8djzXpJBSv/UsNK6aqec+6JDjConTgvvQefdGhFDAs2DLAds6gQ==} engines: {node: '>=18'} cpu: [arm64] os: [win32] + '@esbuild/win32-ia32@0.17.19': + resolution: {integrity: sha512-eggDKanJszUtCdlVs0RB+h35wNlb5v4TWEkq4vZcmVt5u/HiDZrTXe2bWFQUez3RgNHwx/x4sk5++4NSSicKkw==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + + '@esbuild/win32-ia32@0.21.5': + resolution: {integrity: sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + '@esbuild/win32-ia32@0.25.9': resolution: {integrity: sha512-b33gLVU2k11nVx1OhX3C8QQP6UHQK4ZtN56oFWvVXvz2VkDoe6fbG8TOgHFxEvqeqohmRnIHe5A1+HADk4OQww==} engines: {node: '>=18'} cpu: [ia32] os: [win32] + '@esbuild/win32-x64@0.17.19': + resolution: {integrity: sha512-lAhycmKnVOuRYNtRtatQR1LPQf2oYCkRGkSFnseDAKPl8lu5SOsK/e1sXe5a0Pc5kHIHe6P2I/ilntNv2xf3cA==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + + '@esbuild/win32-x64@0.21.5': + resolution: {integrity: sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + '@esbuild/win32-x64@0.25.9': resolution: {integrity: sha512-PPOl1mi6lpLNQxnGoyAfschAodRFYXJ+9fs6WHXz7CSWKbOqiMZsubC+BQsVKuul+3vKLuwTHsS2c2y9EoKwxQ==} engines: {node: '>=18'} @@ -752,6 +1319,9 @@ packages: resolution: {integrity: sha512-vBZP4NlzfOlerQTnba4aqZoMhE/a9HY7HRqoOPaETQcSQuWEIyZMHGfVu6w9wGtGK5fED5qRs2DteVCjOH60sA==} engines: {node: '>=14'} + '@fastify/busboy@3.2.0': + resolution: {integrity: sha512-m9FVDXU3GT2ITSe0UaMA5rU3QkfC/UXtCU8y0gSN/GugTqtVldOBWIB5V6V3sbmenVZUIpU6f+mPEO2+m5iTaA==} + '@gemini-wallet/core@0.2.0': resolution: {integrity: sha512-vv9aozWnKrrPWQ3vIFcWk7yta4hQW1Ie0fsNNPeXnjAxkbXr2hqMagEptLuMxpEP2W3mnRu05VDNKzcvAuuZDw==} peerDependencies: @@ -777,6 +1347,291 @@ packages: graphql: ^15.5.0 || ^16.0.0 || ^17.0.0 typescript: ^5.0.0 + '@graphql-codegen/add@5.0.3': + resolution: {integrity: sha512-SxXPmramkth8XtBlAHu4H4jYcYXM/o3p01+psU+0NADQowA8jtYkK6MW5rV6T+CxkEaNZItfSmZRPgIuypcqnA==} + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + + '@graphql-codegen/cli@5.0.7': + resolution: {integrity: sha512-h/sxYvSaWtxZxo8GtaA8SvcHTyViaaPd7dweF/hmRDpaQU1o3iU3EZxlcJ+oLTunU0tSMFsnrIXm/mhXxI11Cw==} + engines: {node: '>=16'} + hasBin: true + peerDependencies: + '@parcel/watcher': ^2.1.0 + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + peerDependenciesMeta: + '@parcel/watcher': + optional: true + + '@graphql-codegen/client-preset@4.8.3': + resolution: {integrity: sha512-QpEsPSO9fnRxA6Z66AmBuGcwHjZ6dYSxYo5ycMlYgSPzAbyG8gn/kWljofjJfWqSY+T/lRn+r8IXTH14ml24vQ==} + engines: {node: '>=16'} + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + graphql-sock: ^1.0.0 + peerDependenciesMeta: + graphql-sock: + optional: true + + '@graphql-codegen/core@4.0.2': + resolution: {integrity: sha512-IZbpkhwVqgizcjNiaVzNAzm/xbWT6YnGgeOLwVjm4KbJn3V2jchVtuzHH09G5/WkkLSk2wgbXNdwjM41JxO6Eg==} + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + + '@graphql-codegen/gql-tag-operations@4.0.17': + resolution: {integrity: sha512-2pnvPdIG6W9OuxkrEZ6hvZd142+O3B13lvhrZ48yyEBh2ujtmKokw0eTwDHtlXUqjVS0I3q7+HB2y12G/m69CA==} + engines: {node: '>=16'} + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + + '@graphql-codegen/introspection@4.0.3': + resolution: {integrity: sha512-4cHRG15Zu4MXMF4wTQmywNf4+fkDYv5lTbzraVfliDnB8rJKcaurQpRBi11KVuQUe24YTq/Cfk4uwewfNikWoA==} + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + + '@graphql-codegen/plugin-helpers@3.1.2': + resolution: {integrity: sha512-emOQiHyIliVOIjKVKdsI5MXj312zmRDwmHpyUTZMjfpvxq/UVAHUJIVdVf+lnjjrI+LXBTgMlTWTgHQfmICxjg==} + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + + '@graphql-codegen/plugin-helpers@5.1.1': + resolution: {integrity: sha512-28GHODK2HY1NhdyRcPP3sCz0Kqxyfiz7boIZ8qIxFYmpLYnlDgiYok5fhFLVSZihyOpCs4Fa37gVHf/Q4I2FEg==} + engines: {node: '>=16'} + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + + '@graphql-codegen/schema-ast@4.1.0': + resolution: {integrity: sha512-kZVn0z+th9SvqxfKYgztA6PM7mhnSZaj4fiuBWvMTqA+QqQ9BBed6Pz41KuD/jr0gJtnlr2A4++/0VlpVbCTmQ==} + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + + '@graphql-codegen/typed-document-node@5.1.2': + resolution: {integrity: sha512-jaxfViDqFRbNQmfKwUY8hDyjnLTw2Z7DhGutxoOiiAI0gE/LfPe0LYaVFKVmVOOD7M3bWxoWfu4slrkbWbUbEw==} + engines: {node: '>=16'} + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + + '@graphql-codegen/typescript-document-nodes@4.0.16': + resolution: {integrity: sha512-mcWzJ7Na/GeePN9Aw+zBNTSEoXZ1iJ7b6jVEiAf99wD9Hah13eIbYoORZ31XqoGoGB/i86+H7bGbHGfY+aP+qQ==} + engines: {node: '>=16'} + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + + '@graphql-codegen/typescript-operations@4.6.1': + resolution: {integrity: sha512-k92laxhih7s0WZ8j5WMIbgKwhe64C0As6x+PdcvgZFMudDJ7rPJ/hFqJ9DCRxNjXoHmSjnr6VUuQZq4lT1RzCA==} + engines: {node: '>=16'} + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + graphql-sock: ^1.0.0 + peerDependenciesMeta: + graphql-sock: + optional: true + + '@graphql-codegen/typescript-react-apollo@4.3.3': + resolution: {integrity: sha512-ecuzzqoZEHCtlxaEXL1LQTrfzVYwNNtbVUBHc/KQDfkJIQZon+dG5ZXOoJ4BpbRA2L99yTx+TZc2VkpOVfSypw==} + engines: {node: '>= 16.0.0'} + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + + '@graphql-codegen/typescript-react-query@6.1.1': + resolution: {integrity: sha512-knSlUFmq7g7G2DIa5EGjOnwWtNfpU4k+sXWJkxdwJ7lU9nrw6pnDizJcjHCqKelRmk2xwfspVNzu0KoXP7LLsg==} + engines: {node: '>= 16.0.0'} + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + + '@graphql-codegen/typescript@4.1.6': + resolution: {integrity: sha512-vpw3sfwf9A7S+kIUjyFxuvrywGxd4lmwmyYnnDVjVE4kSQ6Td3DpqaPTy8aNQ6O96vFoi/bxbZS2BW49PwSUUA==} + engines: {node: '>=16'} + peerDependencies: + graphql: ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + + '@graphql-codegen/visitor-plugin-common@2.13.8': + resolution: {integrity: sha512-IQWu99YV4wt8hGxIbBQPtqRuaWZhkQRG2IZKbMoSvh0vGeWb3dB0n0hSgKaOOxDY+tljtOf9MTcUYvJslQucMQ==} + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + + '@graphql-codegen/visitor-plugin-common@5.8.0': + resolution: {integrity: sha512-lC1E1Kmuzi3WZUlYlqB4fP6+CvbKH9J+haU1iWmgsBx5/sO2ROeXJG4Dmt8gP03bI2BwjiwV5WxCEMlyeuzLnA==} + engines: {node: '>=16'} + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + + '@graphql-hive/signal@1.0.0': + resolution: {integrity: sha512-RiwLMc89lTjvyLEivZ/qxAC5nBHoS2CtsWFSOsN35sxG9zoo5Z+JsFHM8MlvmO9yt+MJNIyC5MLE1rsbOphlag==} + engines: {node: '>=18.0.0'} + + '@graphql-tools/apollo-engine-loader@8.0.22': + resolution: {integrity: sha512-ssD2wNxeOTRcUEkuGcp0KfZAGstL9YLTe/y3erTDZtOs2wL1TJESw8NVAp+3oUHPeHKBZQB4Z6RFEbPgMdT2wA==} + engines: {node: '>=16.0.0'} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-tools/batch-execute@9.0.19': + resolution: {integrity: sha512-VGamgY4PLzSx48IHPoblRw0oTaBa7S26RpZXt0Y4NN90ytoE0LutlpB2484RbkfcTjv9wa64QD474+YP1kEgGA==} + engines: {node: '>=18.0.0'} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-tools/code-file-loader@8.1.22': + resolution: {integrity: sha512-FSka29kqFkfFmw36CwoQ+4iyhchxfEzPbXOi37lCEjWLHudGaPkXc3RyB9LdmBxx3g3GHEu43a5n5W8gfcrMdA==} + engines: {node: '>=16.0.0'} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-tools/delegate@10.2.23': + resolution: {integrity: sha512-xrPtl7f1LxS+B6o+W7ueuQh67CwRkfl+UKJncaslnqYdkxKmNBB4wnzVcW8ZsRdwbsla/v43PtwAvSlzxCzq2w==} + engines: {node: '>=18.0.0'} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-tools/documents@1.0.1': + resolution: {integrity: sha512-aweoMH15wNJ8g7b2r4C4WRuJxZ0ca8HtNO54rkye/3duxTkW4fGBEutCx03jCIr5+a1l+4vFJNP859QnAVBVCA==} + engines: {node: '>=16.0.0'} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-tools/executor-common@0.0.4': + resolution: {integrity: sha512-SEH/OWR+sHbknqZyROCFHcRrbZeUAyjCsgpVWCRjqjqRbiJiXq6TxNIIOmpXgkrXWW/2Ev4Wms6YSGJXjdCs6Q==} + engines: {node: '>=18.0.0'} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-tools/executor-common@0.0.6': + resolution: {integrity: sha512-JAH/R1zf77CSkpYATIJw+eOJwsbWocdDjY+avY7G+P5HCXxwQjAjWVkJI1QJBQYjPQDVxwf1fmTZlIN3VOadow==} + engines: {node: '>=18.0.0'} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-tools/executor-graphql-ws@2.0.7': + resolution: {integrity: sha512-J27za7sKF6RjhmvSOwOQFeNhNHyP4f4niqPnerJmq73OtLx9Y2PGOhkXOEB0PjhvPJceuttkD2O1yMgEkTGs3Q==} + engines: {node: '>=18.0.0'} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-tools/executor-http@1.3.3': + resolution: {integrity: sha512-LIy+l08/Ivl8f8sMiHW2ebyck59JzyzO/yF9SFS4NH6MJZUezA1xThUXCDIKhHiD56h/gPojbkpcFvM2CbNE7A==} + engines: {node: '>=18.0.0'} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-tools/executor-legacy-ws@1.1.19': + resolution: {integrity: sha512-bEbv/SlEdhWQD0WZLUX1kOenEdVZk1yYtilrAWjRUgfHRZoEkY9s+oiqOxnth3z68wC2MWYx7ykkS5hhDamixg==} + engines: {node: '>=16.0.0'} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-tools/executor@1.4.9': + resolution: {integrity: sha512-SAUlDT70JAvXeqV87gGzvDzUGofn39nvaVcVhNf12Dt+GfWHtNNO/RCn/Ea4VJaSLGzraUd41ObnN3i80EBU7w==} + engines: {node: '>=16.0.0'} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-tools/git-loader@8.0.26': + resolution: {integrity: sha512-0g+9eng8DaT4ZmZvUmPgjLTgesUa6M8xrDjNBltRldZkB055rOeUgJiKmL6u8PjzI5VxkkVsn0wtAHXhDI2UXQ==} + engines: {node: '>=16.0.0'} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-tools/github-loader@8.0.22': + resolution: {integrity: sha512-uQ4JNcNPsyMkTIgzeSbsoT9hogLjYrZooLUYd173l5eUGUi49EAcsGdiBCKaKfEjanv410FE8hjaHr7fjSRkJw==} + engines: {node: '>=16.0.0'} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-tools/graphql-file-loader@8.1.2': + resolution: {integrity: sha512-VB6ttpwkqCu0KsA1/Wmev4qsu05Qfw49kgVSKkPjuyDQfVaqtr9ewEQRkX5CqnqHGEeLl6sOlNGEMM5fCVMWGQ==} + engines: {node: '>=16.0.0'} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-tools/graphql-tag-pluck@8.3.21': + resolution: {integrity: sha512-TJhELNvR1tmghXMi6HVKp/Swxbx1rcSp/zdkuJZT0DCM3vOY11FXY6NW3aoxumcuYDNN3jqXcCPKstYGFPi5GQ==} + engines: {node: '>=16.0.0'} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-tools/import@7.1.2': + resolution: {integrity: sha512-+tlNQbLEqAA4LdWoLwM1tckx95lo8WIKd8vhj99b9rLwN/KfLwHWzdS3jnUFK7+99vmHmN1oE5v5zmqJz0MTKw==} + engines: {node: '>=16.0.0'} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-tools/json-file-loader@8.0.20': + resolution: {integrity: sha512-5v6W+ZLBBML5SgntuBDLsYoqUvwfNboAwL6BwPHi3z/hH1f8BS9/0+MCW9OGY712g7E4pc3y9KqS67mWF753eA==} + engines: {node: '>=16.0.0'} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-tools/load@8.1.2': + resolution: {integrity: sha512-WhDPv25/jRND+0uripofMX0IEwo6mrv+tJg6HifRmDu8USCD7nZhufT0PP7lIcuutqjIQFyogqT70BQsy6wOgw==} + engines: {node: '>=16.0.0'} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-tools/merge@9.1.1': + resolution: {integrity: sha512-BJ5/7Y7GOhTuvzzO5tSBFL4NGr7PVqTJY3KeIDlVTT8YLcTXtBR+hlrC3uyEym7Ragn+zyWdHeJ9ev+nRX1X2w==} + engines: {node: '>=16.0.0'} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-tools/optimize@1.4.0': + resolution: {integrity: sha512-dJs/2XvZp+wgHH8T5J2TqptT9/6uVzIYvA6uFACha+ufvdMBedkfR4b4GbT8jAKLRARiqRTxy3dctnwkTM2tdw==} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-tools/optimize@2.0.0': + resolution: {integrity: sha512-nhdT+CRGDZ+bk68ic+Jw1OZ99YCDIKYA5AlVAnBHJvMawSx9YQqQAIj4refNc1/LRieGiuWvhbG3jvPVYho0Dg==} + engines: {node: '>=16.0.0'} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-tools/prisma-loader@8.0.17': + resolution: {integrity: sha512-fnuTLeQhqRbA156pAyzJYN0KxCjKYRU5bz1q/SKOwElSnAU4k7/G1kyVsWLh7fneY78LoMNH5n+KlFV8iQlnyg==} + engines: {node: '>=16.0.0'} + deprecated: 'This package was intended to be used with an older versions of Prisma.\nThe newer versions of Prisma has a different approach to GraphQL integration.\nTherefore, this package is no longer needed and has been deprecated and removed.\nLearn more: https://www.prisma.io/graphql' + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-tools/relay-operation-optimizer@6.5.18': + resolution: {integrity: sha512-mc5VPyTeV+LwiM+DNvoDQfPqwQYhPV/cl5jOBjTgSniyaq8/86aODfMkrE2OduhQ5E00hqrkuL2Fdrgk0w1QJg==} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-tools/relay-operation-optimizer@7.0.21': + resolution: {integrity: sha512-vMdU0+XfeBh9RCwPqRsr3A05hPA3MsahFn/7OAwXzMySA5EVnSH5R4poWNs3h1a0yT0tDPLhxORhK7qJdSWj2A==} + engines: {node: '>=16.0.0'} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-tools/schema@10.0.25': + resolution: {integrity: sha512-/PqE8US8kdQ7lB9M5+jlW8AyVjRGCKU7TSktuW3WNKSKmDO0MK1wakvb5gGdyT49MjAIb4a3LWxIpwo5VygZuw==} + engines: {node: '>=16.0.0'} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-tools/url-loader@8.0.33': + resolution: {integrity: sha512-Fu626qcNHcqAj8uYd7QRarcJn5XZ863kmxsg1sm0fyjyfBJnsvC7ddFt6Hayz5kxVKfsnjxiDfPMXanvsQVBKw==} + engines: {node: '>=16.0.0'} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-tools/utils@10.9.1': + resolution: {integrity: sha512-B1wwkXk9UvU7LCBkPs8513WxOQ2H8Fo5p8HR1+Id9WmYE5+bd51vqN+MbrqvWczHCH2gwkREgHJN88tE0n1FCw==} + engines: {node: '>=16.0.0'} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-tools/utils@9.2.1': + resolution: {integrity: sha512-WUw506Ql6xzmOORlriNrD6Ugx+HjVgYxt9KCXD9mHAak+eaXSwuGGPyE60hy9xaDEoXKBsG7SkG69ybitaVl6A==} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + + '@graphql-tools/wrap@10.1.4': + resolution: {integrity: sha512-7pyNKqXProRjlSdqOtrbnFRMQAVamCmEREilOXtZujxY6kYit3tvWWSjUrcIOheltTffoRh7EQSjpy2JDCzasg==} + engines: {node: '>=18.0.0'} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + '@graphql-typed-document-node/core@3.2.0': resolution: {integrity: sha512-mB9oAsNCm9aM3/SOv4YtBMqZbYj10R7dkq8byBqxGY/ncFwhf2oQzMV+LCRlWoDSEBJ3COiR1yeDvMtsoOsuFQ==} peerDependencies: @@ -933,6 +1788,15 @@ packages: cpu: [x64] os: [win32] + '@inquirer/external-editor@1.0.2': + resolution: {integrity: sha512-yy9cOoBnx58TlsPrIxauKIFQTiyH+0MK4e97y4sV9ERbI+zDxw7i2hxHLCIEGIE/8PPvDxGhgzIOTSOWcs6/MQ==} + engines: {node: '>=18'} + peerDependencies: + '@types/node': '>=18' + peerDependenciesMeta: + '@types/node': + optional: true + '@isaacs/balanced-match@4.0.1': resolution: {integrity: sha512-yzMTt9lEb8Gv7zRioUilSglI0c0smZ9k5D65677DLWLtWJaXIS3CqcGyUFByYKlnUj6TkjLVs54fBl6+TiGQDQ==} engines: {node: 20 || >=22} @@ -945,6 +1809,10 @@ packages: resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==} engines: {node: '>=12'} + '@jest/schemas@29.6.3': + resolution: {integrity: sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + '@jridgewell/gen-mapping@0.3.13': resolution: {integrity: sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==} @@ -1297,25 +2165,107 @@ packages: '@openzeppelin/contracts@5.4.0': resolution: {integrity: sha512-eCYgWnLg6WO+X52I16TZt8uEjbtdkgLC0SUX/xnAksjjrQI4Xfn4iBRoI5j55dmlOhDv1Y7BoR3cU7e3WWhC6A==} - '@paulmillr/qr@0.2.1': - resolution: {integrity: sha512-IHnV6A+zxU7XwmKFinmYjUcwlyK9+xkG3/s9KcQhI9BjQKycrJ1JRO+FbNYPwZiPKW3je/DR0k7w8/gLa5eaxQ==} - deprecated: 'The package is now available as "qr": npm install qr' - - '@pkgjs/parseargs@0.11.0': - resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==} - engines: {node: '>=14'} + '@parcel/watcher-android-arm64@2.5.1': + resolution: {integrity: sha512-KF8+j9nNbUN8vzOFDpRMsaKBHZ/mcjEjMToVMJOhTozkDonQFFrRcfdLWn6yWKCmJKmdVxSgHiYvTCef4/qcBA==} + engines: {node: '>= 10.0.0'} + cpu: [arm64] + os: [android] - '@reown/appkit-common@1.7.8': - resolution: {integrity: sha512-ridIhc/x6JOp7KbDdwGKY4zwf8/iK8EYBl+HtWrruutSLwZyVi5P8WaZa+8iajL6LcDcDF7LoyLwMTym7SRuwQ==} + '@parcel/watcher-darwin-arm64@2.5.1': + resolution: {integrity: sha512-eAzPv5osDmZyBhou8PoF4i6RQXAfeKL9tjb3QzYuccXFMQU0ruIc/POh30ePnaOyD1UXdlKguHBmsTs53tVoPw==} + engines: {node: '>= 10.0.0'} + cpu: [arm64] + os: [darwin] - '@reown/appkit-controllers@1.7.8': - resolution: {integrity: sha512-IdXlJlivrlj6m63VsGLsjtPHHsTWvKGVzWIP1fXZHVqmK+rZCBDjCi9j267Rb9/nYRGHWBtlFQhO8dK35WfeDA==} + '@parcel/watcher-darwin-x64@2.5.1': + resolution: {integrity: sha512-1ZXDthrnNmwv10A0/3AJNZ9JGlzrF82i3gNQcWOzd7nJ8aj+ILyW1MTxVk35Db0u91oD5Nlk9MBiujMlwmeXZg==} + engines: {node: '>= 10.0.0'} + cpu: [x64] + os: [darwin] - '@reown/appkit-pay@1.7.8': - resolution: {integrity: sha512-OSGQ+QJkXx0FEEjlpQqIhT8zGJKOoHzVnyy/0QFrl3WrQTjCzg0L6+i91Ad5Iy1zb6V5JjqtfIFpRVRWN4M3pw==} + '@parcel/watcher-freebsd-x64@2.5.1': + resolution: {integrity: sha512-SI4eljM7Flp9yPuKi8W0ird8TI/JK6CSxju3NojVI6BjHsTyK7zxA9urjVjEKJ5MBYC+bLmMcbAWlZ+rFkLpJQ==} + engines: {node: '>= 10.0.0'} + cpu: [x64] + os: [freebsd] - '@reown/appkit-polyfills@1.7.8': - resolution: {integrity: sha512-W/kq786dcHHAuJ3IV2prRLEgD/2iOey4ueMHf1sIFjhhCGMynMkhsOhQMUH0tzodPqUgAC494z4bpIDYjwWXaA==} + '@parcel/watcher-linux-arm-glibc@2.5.1': + resolution: {integrity: sha512-RCdZlEyTs8geyBkkcnPWvtXLY44BCeZKmGYRtSgtwwnHR4dxfHRG3gR99XdMEdQ7KeiDdasJwwvNSF5jKtDwdA==} + engines: {node: '>= 10.0.0'} + cpu: [arm] + os: [linux] + + '@parcel/watcher-linux-arm-musl@2.5.1': + resolution: {integrity: sha512-6E+m/Mm1t1yhB8X412stiKFG3XykmgdIOqhjWj+VL8oHkKABfu/gjFj8DvLrYVHSBNC+/u5PeNrujiSQ1zwd1Q==} + engines: {node: '>= 10.0.0'} + cpu: [arm] + os: [linux] + + '@parcel/watcher-linux-arm64-glibc@2.5.1': + resolution: {integrity: sha512-LrGp+f02yU3BN9A+DGuY3v3bmnFUggAITBGriZHUREfNEzZh/GO06FF5u2kx8x+GBEUYfyTGamol4j3m9ANe8w==} + engines: {node: '>= 10.0.0'} + cpu: [arm64] + os: [linux] + + '@parcel/watcher-linux-arm64-musl@2.5.1': + resolution: {integrity: sha512-cFOjABi92pMYRXS7AcQv9/M1YuKRw8SZniCDw0ssQb/noPkRzA+HBDkwmyOJYp5wXcsTrhxO0zq1U11cK9jsFg==} + engines: {node: '>= 10.0.0'} + cpu: [arm64] + os: [linux] + + '@parcel/watcher-linux-x64-glibc@2.5.1': + resolution: {integrity: sha512-GcESn8NZySmfwlTsIur+49yDqSny2IhPeZfXunQi48DMugKeZ7uy1FX83pO0X22sHntJ4Ub+9k34XQCX+oHt2A==} + engines: {node: '>= 10.0.0'} + cpu: [x64] + os: [linux] + + '@parcel/watcher-linux-x64-musl@2.5.1': + resolution: {integrity: sha512-n0E2EQbatQ3bXhcH2D1XIAANAcTZkQICBPVaxMeaCVBtOpBZpWJuf7LwyWPSBDITb7In8mqQgJ7gH8CILCURXg==} + engines: {node: '>= 10.0.0'} + cpu: [x64] + os: [linux] + + '@parcel/watcher-win32-arm64@2.5.1': + resolution: {integrity: sha512-RFzklRvmc3PkjKjry3hLF9wD7ppR4AKcWNzH7kXR7GUe0Igb3Nz8fyPwtZCSquGrhU5HhUNDr/mKBqj7tqA2Vw==} + engines: {node: '>= 10.0.0'} + cpu: [arm64] + os: [win32] + + '@parcel/watcher-win32-ia32@2.5.1': + resolution: {integrity: sha512-c2KkcVN+NJmuA7CGlaGD1qJh1cLfDnQsHjE89E60vUEMlqduHGCdCLJCID5geFVM0dOtA3ZiIO8BoEQmzQVfpQ==} + engines: {node: '>= 10.0.0'} + cpu: [ia32] + os: [win32] + + '@parcel/watcher-win32-x64@2.5.1': + resolution: {integrity: sha512-9lHBdJITeNR++EvSQVUcaZoWupyHfXe1jZvGZ06O/5MflPcuPLtEphScIBL+AiCWBO46tDSHzWyD0uDmmZqsgA==} + engines: {node: '>= 10.0.0'} + cpu: [x64] + os: [win32] + + '@parcel/watcher@2.5.1': + resolution: {integrity: sha512-dfUnCxiN9H4ap84DvD2ubjw+3vUNpstxa0TneY/Paat8a3R4uQZDLSvWjmznAY/DoahqTHl9V46HF/Zs3F29pg==} + engines: {node: '>= 10.0.0'} + + '@paulmillr/qr@0.2.1': + resolution: {integrity: sha512-IHnV6A+zxU7XwmKFinmYjUcwlyK9+xkG3/s9KcQhI9BjQKycrJ1JRO+FbNYPwZiPKW3je/DR0k7w8/gLa5eaxQ==} + deprecated: 'The package is now available as "qr": npm install qr' + + '@pkgjs/parseargs@0.11.0': + resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==} + engines: {node: '>=14'} + + '@reown/appkit-common@1.7.8': + resolution: {integrity: sha512-ridIhc/x6JOp7KbDdwGKY4zwf8/iK8EYBl+HtWrruutSLwZyVi5P8WaZa+8iajL6LcDcDF7LoyLwMTym7SRuwQ==} + + '@reown/appkit-controllers@1.7.8': + resolution: {integrity: sha512-IdXlJlivrlj6m63VsGLsjtPHHsTWvKGVzWIP1fXZHVqmK+rZCBDjCi9j267Rb9/nYRGHWBtlFQhO8dK35WfeDA==} + + '@reown/appkit-pay@1.7.8': + resolution: {integrity: sha512-OSGQ+QJkXx0FEEjlpQqIhT8zGJKOoHzVnyy/0QFrl3WrQTjCzg0L6+i91Ad5Iy1zb6V5JjqtfIFpRVRWN4M3pw==} + + '@reown/appkit-polyfills@1.7.8': + resolution: {integrity: sha512-W/kq786dcHHAuJ3IV2prRLEgD/2iOey4ueMHf1sIFjhhCGMynMkhsOhQMUH0tzodPqUgAC494z4bpIDYjwWXaA==} '@reown/appkit-scaffold-ui@1.7.8': resolution: {integrity: sha512-RCeHhAwOrIgcvHwYlNWMcIDibdI91waaoEYBGw71inE0kDB8uZbE7tE6DAXJmDkvl0qPh+DqlC4QbJLF1FVYdQ==} @@ -1334,6 +2284,9 @@ packages: '@reown/appkit@1.7.8': resolution: {integrity: sha512-51kTleozhA618T1UvMghkhKfaPcc9JlKwLJ5uV+riHyvSoWPKPRIa5A6M1Wano5puNyW0s3fwywhyqTHSilkaA==} + '@repeaterjs/repeater@3.0.6': + resolution: {integrity: sha512-Javneu5lsuhwNCryN+pXH93VPQ8g0dBX7wItHFgYiwQmzE1sVdg5tWHiOgHywzL2W21XQopa7IwIEnNbmeUJYA==} + '@rolldown/pluginutils@1.0.0-beta.34': resolution: {integrity: sha512-LyAREkZHP5pMom7c24meKmJCdhf2hEyvam2q0unr3or9ydwDL+DJ8chTF6Av/RFPb3rH8UFBdMzO5MxTZW97oA==} @@ -1520,6 +2473,9 @@ packages: resolution: {integrity: sha512-q6y8MkoV8V8jB4zzp18Uyj2I7oFp2/ONL8c3j8uT06AOWu3cIChc1au71QYHrP2b+xDapkGTiv+9lX7xkTlAsA==} deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. + '@sinclair/typebox@0.27.8': + resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==} + '@socket.io/component-emitter@3.1.2': resolution: {integrity: sha512-9BCxFwvbGg/RsZK9tjXd8s4UcwR0MWeFQ1XEKIQVVvAGJyINdrqKMcTRyLoK8Rse1GjzLV9cwjWV1olXRWEXVA==} @@ -1622,6 +2578,12 @@ packages: peerDependencies: react: ^18 || ^19 + '@theguild/federation-composition@0.20.1': + resolution: {integrity: sha512-lwYYKCeHmstOtbMtzxC0BQKWsUPYbEVRVdJ3EqR4jSpcF4gvNf3MOJv6yuvq6QsKqgYZURKRBszmg7VEDoi5Aw==} + engines: {node: '>=18'} + peerDependencies: + graphql: ^16.0.0 + '@thumbmarkjs/thumbmarkjs@0.16.0': resolution: {integrity: sha512-NKyqCvP6DZKlRf6aGfnKS6Kntn2gnuBxa/ztstjy+oo1t23EHzQ54shtli0yV5WAtygmK1tti/uL2C2p/kW3HQ==} deprecated: Please upgrade to v1 @@ -1735,6 +2697,9 @@ packages: '@types/glob@7.2.0': resolution: {integrity: sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==} + '@types/js-yaml@4.0.9': + resolution: {integrity: sha512-k4MGaQl5TGo/iipqb2UDG2UwjXziSWkh0uysQelTlJpX1qGlpUZYm8PnO4DxG1qBomtJUdYJ6qR6xdIah10JLg==} + '@types/json-schema@7.0.15': resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} @@ -1879,6 +2844,21 @@ packages: peerDependencies: vite: ^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 + '@vitest/expect@1.6.1': + resolution: {integrity: sha512-jXL+9+ZNIJKruofqXuuTClf44eSpcHlgj3CiuNihUF3Ioujtmc0zIa3UJOW5RjDK1YLBJZnWBlPuqhYycLioog==} + + '@vitest/runner@1.6.1': + resolution: {integrity: sha512-3nSnYXkVkf3mXFfE7vVyPmi3Sazhb/2cfZGGs0JRzFsPFvAMBEcrweV1V1GsrstdXeKCTXlJbvnQwGWgEIHmOA==} + + '@vitest/snapshot@1.6.1': + resolution: {integrity: sha512-WvidQuWAzU2p95u8GAKlRMqMyN1yOJkGHnx3M1PL9Raf7AQ1kwLKg04ADlCa3+OXUZE7BceOhVZiuWAbzCKcUQ==} + + '@vitest/spy@1.6.1': + resolution: {integrity: sha512-MGcMmpGkZebsMZhbQKkAf9CX5zGvjkBTqf8Zx3ApYWXr3wG+QvEu2eXWfnIIWYSJExIp4V9FCKDEeygzkYrXMw==} + + '@vitest/utils@1.6.1': + resolution: {integrity: sha512-jOrrUvXM4Av9ZWiG1EajNto0u96kWAhJ1LmPmJhXXQx/32MecEKd10pOLYgS2BQx1TgkGhloPU1ArDW2vvaY6g==} + '@vue/reactivity@3.5.21': resolution: {integrity: sha512-3ah7sa+Cwr9iiYEERt9JfZKPw4A2UlbY8RbbnH2mGCE8NwHkhmlZt2VsH0oDA3P08X3jJd29ohBDtX+TbD9AsA==} @@ -2039,6 +3019,22 @@ packages: '@walletconnect/window-metadata@1.0.1': resolution: {integrity: sha512-9koTqyGrM2cqFRW517BPY/iEtUDx2r1+Pwwu5m7sJ7ka79wi3EyqhqcICk/yDmv6jAS1rjKgTKXlEhanYjijcA==} + '@whatwg-node/disposablestack@0.0.6': + resolution: {integrity: sha512-LOtTn+JgJvX8WfBVJtF08TGrdjuFzGJc4mkP8EdDI8ADbvO7kiexYep1o8dwnt0okb0jYclCDXF13xU7Ge4zSw==} + engines: {node: '>=18.0.0'} + + '@whatwg-node/fetch@0.10.11': + resolution: {integrity: sha512-eR8SYtf9Nem1Tnl0IWrY33qJ5wCtIWlt3Fs3c6V4aAaTFLtkEQErXu3SSZg/XCHrj9hXSJ8/8t+CdMk5Qec/ZA==} + engines: {node: '>=18.0.0'} + + '@whatwg-node/node-fetch@0.8.0': + resolution: {integrity: sha512-+z00GpWxKV/q8eMETwbdi80TcOoVEVZ4xSRkxYOZpn3kbV3nej5iViNzXVke/j3v4y1YpO5zMS/CVDIASvJnZQ==} + engines: {node: '>=18.0.0'} + + '@whatwg-node/promise-helpers@1.3.2': + resolution: {integrity: sha512-Nst5JdK47VIl9UcGwtv2Rcgyn5lWtZ0/mhRQ4G8NN2isxpq2TO30iqHzmwoJycjWuyUfg3GFXqP/gFHXeV57IA==} + engines: {node: '>=16.0.0'} + abbrev@1.0.9: resolution: {integrity: sha512-LEyx4aLEC3x6T0UguF6YILf+ntvmOaWsVfENmIW0E9H09vKlLDGelMjjSm0jkDHALj8A8quZ/HapKNigzwge+Q==} @@ -2089,6 +3085,10 @@ packages: resolution: {integrity: sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==} engines: {node: '>= 6.0.0'} + agent-base@7.1.4: + resolution: {integrity: sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ==} + engines: {node: '>= 14'} + agentkeepalive@4.6.0: resolution: {integrity: sha512-kja8j7PjmncONqaTsB8fQ+wE2mSU2DJ9D4XKoJ5PFWIdRMa6SLSN1ff4mOr4jCbfRSsxR4keIiySJU0N9T5hIQ==} engines: {node: '>= 8.0.0'} @@ -2134,10 +3134,17 @@ packages: resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==} engines: {node: '>=8'} + ansi-styles@5.2.0: + resolution: {integrity: sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==} + engines: {node: '>=10'} + ansi-styles@6.2.1: resolution: {integrity: sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==} engines: {node: '>=12'} + any-promise@1.3.0: + resolution: {integrity: sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==} + anymatch@3.1.3: resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==} engines: {node: '>= 8'} @@ -2163,6 +3170,9 @@ packages: resolution: {integrity: sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==} engines: {node: '>=8'} + asap@2.0.6: + resolution: {integrity: sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==} + assertion-error@1.1.0: resolution: {integrity: sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==} @@ -2187,6 +3197,10 @@ packages: resolution: {integrity: sha512-kNOjDqAh7px0XWNI+4QbzoiR/nTkHAWNud2uvnJquD1/x5a7EQZMJT0AczqK0Qn67oY/TTQ1LbUKajZpp3I9tQ==} engines: {node: '>=8.0.0'} + auto-bind@4.0.0: + resolution: {integrity: sha512-Hdw8qdNiqdJ8LqT0iK0sVzkFbzg6fhnQqqfWhBDxcHZvU75+B+ayzTy8x+k5Ix0Y92XOhOUlx74ps+bA6BeYMQ==} + engines: {node: '>=8'} + available-typed-arrays@1.0.7: resolution: {integrity: sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==} engines: {node: '>= 0.4'} @@ -2197,6 +3211,14 @@ packages: axios@1.9.0: resolution: {integrity: sha512-re4CqKTJaURpzbLHtIi6XpDv20/CnpXOtjRY5/CU32L8gU8ek9UIivcfvSWvmKEngmVbrUtPpdDwWDWL7DNHvg==} + babel-plugin-syntax-trailing-function-commas@7.0.0-beta.0: + resolution: {integrity: sha512-Xj9XuRuz3nTSbaTXWv3itLOcxyF4oPD8douBBmj7U9BBC6nEBYfyOJYQMf/8PJAFotC62UY5dFfIGEPr7WswzQ==} + + babel-preset-fbjs@3.4.0: + resolution: {integrity: sha512-9ywCsCvo1ojrw0b+XYk7aFvTH6D9064t0RIL1rtMf3nsa02Xw41MS7sZw216Im35xj/UY0PDBQsa1brUDDF1Ow==} + peerDependencies: + '@babel/core': ^7.0.0 + balanced-match@1.0.2: resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} @@ -2229,6 +3251,9 @@ packages: bindings@1.5.0: resolution: {integrity: sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==} + bl@4.1.0: + resolution: {integrity: sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==} + blakejs@1.2.1: resolution: {integrity: sha512-QXUSXI3QVc/gJME0dBpXrag1kbzOqCjCX8/b54ntNyW6sjtoqxqRk3LTmXzaJoh71zMsDCjM+47jS7XiwN/+fQ==} @@ -2293,12 +3318,18 @@ packages: bs58check@4.0.0: resolution: {integrity: sha512-FsGDOnFg9aVI9erdriULkd/JjEWONV/lQE5aYziB5PoBsXRind56lh8doIZIc9X4HoxT5x4bLjMWN1/NB8Zp5g==} + bser@2.1.1: + resolution: {integrity: sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==} + buffer-from@1.1.2: resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==} buffer-xor@1.0.3: resolution: {integrity: sha512-571s0T7nZWK6vB67HI5dyUF7wXiNcfaPPPTl6zYCNApANjIvYJTg7hlud/+cJpdAhS7dVzqMLmfhfHR3rAcOjQ==} + buffer@5.7.1: + resolution: {integrity: sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==} + buffer@6.0.3: resolution: {integrity: sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==} @@ -2306,10 +3337,20 @@ packages: resolution: {integrity: sha512-WDtdLmJvAuNNPzByAYpRo2rF1Mmradw6gvWsQKf63476DDXmomT9zUiGypLcG4ibIM67vhAj8jJRdbmEws2Aqw==} engines: {node: '>=6.14.2'} + bundle-require@4.2.1: + resolution: {integrity: sha512-7Q/6vkyYAwOmQNRw75x+4yRtZCZJXUDmHHlFdkiV0wgv/reNjtJwpu1jPJ0w2kbEpIM0uoKI3S4/f39dU7AjSA==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + peerDependencies: + esbuild: '>=0.17' + bytes@3.1.2: resolution: {integrity: sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==} engines: {node: '>= 0.8'} + cac@6.7.14: + resolution: {integrity: sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==} + engines: {node: '>=8'} + call-bind-apply-helpers@1.0.2: resolution: {integrity: sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==} engines: {node: '>= 0.4'} @@ -2326,6 +3367,9 @@ packages: resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} engines: {node: '>=6'} + camel-case@4.1.2: + resolution: {integrity: sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==} + camelcase@5.3.1: resolution: {integrity: sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==} engines: {node: '>=6'} @@ -2337,6 +3381,9 @@ packages: caniuse-lite@1.0.30001739: resolution: {integrity: sha512-y+j60d6ulelrNSwpPyrHdl+9mJnQzHBr08xm48Qno0nSk4h3Qojh+ziv2qE6rXf4k3tadF4o1J/1tAbVm1NtnA==} + capital-case@1.0.4: + resolution: {integrity: sha512-ds37W8CytHgwnhGGTi88pcPyR15qoNkOpYwmMMfnWqqWgESapLqvDx6huFjQ5vqWSn2Z06173XNA7LtMOeUh1A==} + cbor@8.1.0: resolution: {integrity: sha512-DwGjNW9omn6EwP70aXsn7FQJx5kO12tX0bZkaTjzdVFM6/7nhA4t0EENocKGx6D2Bch9PE2KzCUf5SceBdeijg==} engines: {node: '>=12.19'} @@ -2366,6 +3413,15 @@ packages: resolution: {integrity: sha512-46QrSQFyVSEyYAgQ22hQ+zDa60YHA4fBstHmtSApj1Y5vKtG27fWowW03jCk5KcbXEWPZUIR894aARCA/G1kfQ==} engines: {node: ^12.17.0 || ^14.13 || >=16.0.0} + change-case-all@1.0.15: + resolution: {integrity: sha512-3+GIFhk3sNuvFAJKU46o26OdzudQlPNBCu1ZQi3cMeMHhty1bhDxu2WrEilVNYaGvqUtR1VSigFcJOiS13dRhQ==} + + change-case@4.1.2: + resolution: {integrity: sha512-bSxY2ws9OtviILG1EiY5K7NNxkqg/JnRnFxLtKQ96JaviiIxi7djMrSd0ECT9AC+lttClmYwKw53BWpOMblo7A==} + + chardet@2.1.0: + resolution: {integrity: sha512-bNFETTG/pM5ryzQ9Ad0lJOTa6HWD/YsScAR3EnCPZRPlQh77JocYktSHOUHelyhm8IARL+o4c4F1bP5KVOjiRA==} + charenc@0.0.2: resolution: {integrity: sha512-yrLQ/yVUFXkzg7EDQsPieE/53+0RlaWTs+wBrvW36cyilJ2SaDWfl4Yj7MtLTXleV9uEKefbAGUPv2/iWSooRA==} @@ -2395,16 +3451,40 @@ packages: resolution: {integrity: sha512-y4coMcylgSCdVinjiDBuR8PCC2bLjyGTwEmPb9NHR/QaNU6EUOXcTY/s6VjGMD6ENSEaeQYHCY0GNGS5jfMwPw==} engines: {node: '>=6'} + cli-cursor@3.1.0: + resolution: {integrity: sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==} + engines: {node: '>=8'} + + cli-spinners@2.9.2: + resolution: {integrity: sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==} + engines: {node: '>=6'} + cli-table3@0.6.5: resolution: {integrity: sha512-+W/5efTR7y5HRD7gACw9yQjqMVvEMLBHmboM/kPWam+H+Hmyrgjh6YncVKK122YZkXrLudzTuAukUw9FnMf7IQ==} engines: {node: 10.* || >= 12.*} + cli-truncate@2.1.0: + resolution: {integrity: sha512-n8fOixwDD6b/ObinzTrp1ZKFzbgvKZvuz/TvejnLn1aQfC6r52XEx85FmuC+3HI+JM7coBRXUvNqEU2PHVrHpg==} + engines: {node: '>=8'} + + cli-width@3.0.0: + resolution: {integrity: sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw==} + engines: {node: '>= 10'} + cliui@6.0.0: resolution: {integrity: sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==} cliui@7.0.4: resolution: {integrity: sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==} + cliui@8.0.1: + resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==} + engines: {node: '>=12'} + + clone@1.0.4: + resolution: {integrity: sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==} + engines: {node: '>=0.8'} + clsx@1.2.1: resolution: {integrity: sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg==} engines: {node: '>=6'} @@ -2429,6 +3509,9 @@ packages: resolution: {integrity: sha512-1rXeuUUiGGrykh+CeBdu5Ie7OJwinCgQY0bc7GCRxy5xVHy+moaqkpL/jqQq0MtQOeYcrqEz4abc5f0KtU7W4A==} engines: {node: '>=12.5.0'} + colorette@2.0.20: + resolution: {integrity: sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==} + combined-stream@1.0.8: resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==} engines: {node: '>= 0.8'} @@ -2459,13 +3542,32 @@ packages: commander@2.20.3: resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==} + commander@4.1.1: + resolution: {integrity: sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==} + engines: {node: '>= 6'} + commander@8.3.0: resolution: {integrity: sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==} engines: {node: '>= 12'} + common-tags@1.8.2: + resolution: {integrity: sha512-gk/Z852D2Wtb//0I+kRFNKKE9dIIVirjoqPoA1wJU+XePVXZfGeBpk45+A1rKO4Q43prqWBNY/MiIeRLbPWUaA==} + engines: {node: '>=4.0.0'} + concat-map@0.0.1: resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} + concurrently@8.2.2: + resolution: {integrity: sha512-1dP4gpXFhei8IOtlXRE/T/4H88ElHgTiUzh71YUmtjTEHMSRS2Z/fgOxHSxxusGHogsRfxNq1vyAwxSC+EVyDg==} + engines: {node: ^14.13.0 || >=16.0.0} + hasBin: true + + confbox@0.1.8: + resolution: {integrity: sha512-RMtmw0iFkeR4YV+fUOSucriAQNb9g8zFR52MWCtl+cCZOFRNL6zeB395vPzFhEjjn4fMxXudmELnl/KF/WrK6w==} + + constant-case@3.0.4: + resolution: {integrity: sha512-I2hSBi7Vvs7BEuJDr5dDHfzb/Ruj3FyvFyh7KLilAjNQw3Be+xgqUBA2W6scVEcL0hL1dwPRtIqEPVUCKkSsyQ==} + convert-source-map@2.0.0: resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==} @@ -2483,6 +3585,15 @@ packages: core-util-is@1.0.3: resolution: {integrity: sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==} + cosmiconfig@8.3.6: + resolution: {integrity: sha512-kcZ6+W5QzcJ3P1Mt+83OUv/oHFqZHIx8DuxG6eZ5RGMERoLqp4BuGjhHLYGK+Kf5XVkQvqBSmAy/nGWN3qDgEA==} + engines: {node: '>=14'} + peerDependencies: + typescript: '>=4.9.5' + peerDependenciesMeta: + typescript: + optional: true + country-list@2.3.0: resolution: {integrity: sha512-qZk66RlmQm7fQjMYWku1AyjlKPogjPEorAZJG88owPExoPV8EsyCcuFLvO2afTXHEhi9liVOoyd+5A6ZS5QwaA==} @@ -2509,6 +3620,10 @@ packages: cross-fetch@4.1.0: resolution: {integrity: sha512-uKm5PU+MHTootlWEY+mZ4vvXoCn4fLQxT9dSc1sXVMSFkINTJVN8cAQROpwcKm8bJ/c7rgZVIBWzH5T78sNZZw==} + cross-inspect@1.0.1: + resolution: {integrity: sha512-Pcw1JTvZLSJH83iiGWt6fRcT+BjZlCDRVwYLbUcHzv/CRpB7r0MlSrGbIyQvVSNyGnbt7G4AXuyCiDR3POvZ1A==} + engines: {node: '>=16.0.0'} + cross-spawn@7.0.6: resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==} engines: {node: '>= 8'} @@ -2522,6 +3637,13 @@ packages: csstype@3.1.3: resolution: {integrity: sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==} + data-uri-to-buffer@4.0.1: + resolution: {integrity: sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A==} + engines: {node: '>= 12'} + + dataloader@2.2.3: + resolution: {integrity: sha512-y2krtASINtPFS1rSDjacrFgn1dcUuoREVabwlOGOe4SdxenREqwjwjElAdwvbGM7kgZz9a3KVicWR7vcz8rnzA==} + date-fns@2.30.0: resolution: {integrity: sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw==} engines: {node: '>=0.11'} @@ -2532,6 +3654,9 @@ packages: death@1.1.0: resolution: {integrity: sha512-vsV6S4KVHvTGxbEcij7hkWRv0It+sGGWVOM67dQde/o5Xjnr+KmLjxWJii2uEObIrt1CcM9w0Yaovx+iOlIL+w==} + debounce@1.2.1: + resolution: {integrity: sha512-XRRe6Glud4rd/ZGQfiV1ruXSfbvfJedlV9Y6zOlP+2K04vBYiJEte6stfFkCP03aMnY5tsipamumUjL14fofug==} + debug@4.3.7: resolution: {integrity: sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==} engines: {node: '>=6.0'} @@ -2577,6 +3702,9 @@ packages: resolution: {integrity: sha512-R9hc1Xa/NOBi9WRVUWg19rl1UB7Tt4kuPd+thNJgFZoxXsTz7ncaPaeIm+40oSGuP33DfMb4sZt1QIGiJzC4EA==} engines: {node: '>=0.10.0'} + defaults@1.0.4: + resolution: {integrity: sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==} + define-data-property@1.1.4: resolution: {integrity: sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==} engines: {node: '>= 0.4'} @@ -2596,6 +3724,10 @@ packages: resolution: {integrity: sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==} engines: {node: '>= 0.8'} + dependency-graph@0.11.0: + resolution: {integrity: sha512-JeMq7fEshyepOWDfcfHK06N3MhyPhz++vtqWhMT5O9A3K42rdsEDpfdVqjaqaAhsw6a+ZqeDvQVtD0hFHQWrzg==} + engines: {node: '>= 0.6.0'} + derive-valtio@0.1.0: resolution: {integrity: sha512-OCg2UsLbXK7GmmpzMXhYkdO64vhJ1ROUUGaTFyHjVwEdMEcTTRj7W1TxLbSBxdY8QLBPCcp66MTyaSy0RpO17A==} peerDependencies: @@ -2607,6 +3739,15 @@ packages: detect-browser@5.3.0: resolution: {integrity: sha512-53rsFbGdwMwlF7qvCt0ypLM5V5/Mbl0szB7GPN8y9NCcbknYOeVVXdrXEq+90IwAfrrzt6Hd+u2E2ntakICU8w==} + detect-indent@6.1.0: + resolution: {integrity: sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==} + engines: {node: '>=8'} + + detect-libc@1.0.3: + resolution: {integrity: sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==} + engines: {node: '>=0.10'} + hasBin: true + detect-libc@2.0.4: resolution: {integrity: sha512-3UDv+G9CsCKO1WKMGw9fwq/SWJYbI0c5Y7LU1AXYoDdbhE2AHQ6N6Nb34sG8Fj7T5APy8qXDCKuuIHd1BR0tVA==} engines: {node: '>=8'} @@ -2614,6 +3755,10 @@ packages: detect-node-es@1.1.0: resolution: {integrity: sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ==} + diff-sequences@29.6.3: + 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'} @@ -2632,10 +3777,21 @@ packages: resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==} engines: {node: '>=8'} + dot-case@3.0.4: + resolution: {integrity: sha512-Kv5nKlh6yRrdrGvxeJ2e5y2eRUpkUosIW4A2AS38zwSz27zu7ufDwQPi5Jhs3XAlGNetl3bmnGhQsMtkKJnj3w==} + + dotenv@16.6.1: + resolution: {integrity: sha512-uBq4egWHTcTt33a72vpSG0z3HnPuIl6NqYcTrKEg2azoEyl2hpW0zqlxysq2pK9HlDIHyHyakeYaYnSAwd8bow==} + engines: {node: '>=12'} + dotenv@17.2.2: resolution: {integrity: sha512-Sf2LSQP+bOlhKWWyhFsn0UsfdK/kCWRv1iuA2gXAwt3dyNabr6QSj00I2V10pidqz69soatm9ZwZvpQMTIOd5Q==} engines: {node: '>=12'} + dset@3.1.4: + resolution: {integrity: sha512-2QF/g9/zTaPDc3BjNcVTGoBbXBgYfMTTceLaYcFJ/W9kggFUkhxD/hMEeuLKbugyef9SqAx8cpgwlIP/jinUTA==} + engines: {node: '>=4'} + dunder-proto@1.0.1: resolution: {integrity: sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==} engines: {node: '>= 0.4'} @@ -2686,6 +3842,9 @@ packages: resolution: {integrity: sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==} engines: {node: '>=6'} + error-ex@1.3.4: + resolution: {integrity: sha512-sqQamAnR14VgCr1A618A3sGrygcpK+HEbenA/HiEAkkUwcZIIB/tgWqHFxWgOyDh4nB4JCRimh79dR5Ywc9MDQ==} + es-define-property@1.0.1: resolution: {integrity: sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==} engines: {node: '>= 0.4'} @@ -2714,6 +3873,16 @@ packages: es6-promisify@5.0.0: resolution: {integrity: sha512-C+d6UdsYDk0lMebHNR4S2NybQMMngAOnOwYBQjTOiv0MkoJMP0Myw2mgpDLBcpfCmRLxyFqYhS/CfOENq4SJhQ==} + esbuild@0.17.19: + resolution: {integrity: sha512-XQ0jAPFkK/u3LcVRcvVHQcTIqD6E2H1fvZMA5dQPSOWb3suUbWbfbRf94pjc0bNzRYLfIrDRQXr7X+LHIm5oHw==} + engines: {node: '>=12'} + hasBin: true + + esbuild@0.21.5: + resolution: {integrity: sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==} + engines: {node: '>=12'} + hasBin: true + esbuild@0.25.9: resolution: {integrity: sha512-CRbODhYyQx3qp7ZEwzxOk4JBqmD/seJrzPa/cGjY1VtIn5E09Oi9/dB4JwctnfZ8Q8iT7rioVv5k/FNT/uf54g==} engines: {node: '>=18'} @@ -2799,6 +3968,9 @@ packages: resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==} engines: {node: '>=4.0'} + estree-walker@3.0.3: + resolution: {integrity: sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==} + esutils@2.0.3: resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==} engines: {node: '>=0.10.0'} @@ -2854,6 +4026,14 @@ packages: evp_bytestokey@1.0.3: resolution: {integrity: sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==} + execa@5.1.1: + resolution: {integrity: sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==} + engines: {node: '>=10'} + + execa@8.0.1: + resolution: {integrity: sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==} + engines: {node: '>=16.17'} + extension-port-stream@3.0.0: resolution: {integrity: sha512-an2S5quJMiy5bnZKEf6AkfH/7r8CzHvhchU40gxN+OM6HPhe7Z9T1FUychcf2M9PpPOO0Hf7BAEfJkw2TDIBDw==} engines: {node: '>=12.0.0'} @@ -2894,6 +4074,15 @@ packages: fastq@1.19.1: resolution: {integrity: sha512-GwLTyxkCXjXbxqIhTsMI2Nui8huMPtnxg7krajPJAjnEG/iiOS7i+zCtWGZR9G0NBKbXKh6X9m9UIsYX/N6vvQ==} + fb-watchman@2.0.2: + resolution: {integrity: sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA==} + + fbjs-css-vars@1.0.2: + resolution: {integrity: sha512-b2XGFAFdWZWg0phtAWLHCk836A1Xann+I+Dgd3Gk64MHKZO44FfoD1KxyvbSh0qZsIoXQGGlVztIY+oitJPpRQ==} + + fbjs@3.0.5: + resolution: {integrity: sha512-ztsSx77JBtkuMrEypfhgc3cI0+0h+svqeie7xHbh1k/IKdcydnvadp/mUaGgjAOXQmQSxsqgaRhS3q9fy+1kxg==} + fdir@6.5.0: resolution: {integrity: sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==} engines: {node: '>=12.0.0'} @@ -2903,6 +4092,14 @@ packages: picomatch: optional: true + fetch-blob@3.2.0: + resolution: {integrity: sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ==} + engines: {node: ^12.20 || >= 14.13} + + figures@3.2.0: + resolution: {integrity: sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==} + engines: {node: '>=8'} + file-entry-cache@8.0.0: resolution: {integrity: sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==} engines: {node: '>=16.0.0'} @@ -2966,6 +4163,10 @@ packages: resolution: {integrity: sha512-KrGhL9Q4zjj0kiUt5OO4Mr/A/jlI2jDYs5eHBpYHPcBEVSiipAvn2Ko2HnPe20rmcuuvMHNdZFp+4IlGTMF0Ow==} engines: {node: '>= 6'} + formdata-polyfill@4.0.10: + resolution: {integrity: sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g==} + engines: {node: '>=12.20.0'} + formik@2.2.9: resolution: {integrity: sha512-LQLcISMmf1r5at4/gyJigGn0gOwFbeEAlji+N9InZF6LIMXnFNkO42sCI8Jt84YZggpD4cPWObAZaxpEFtSzNA==} peerDependencies: @@ -3020,6 +4221,14 @@ packages: resolution: {integrity: sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==} engines: {node: '>= 0.4'} + get-stream@6.0.1: + resolution: {integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==} + engines: {node: '>=10'} + + get-stream@8.0.1: + resolution: {integrity: sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==} + engines: {node: '>=16'} + get-tsconfig@4.10.1: resolution: {integrity: sha512-auHyJ4AgMz7vgS8Hp3N6HXSmlMdUyhSUrfBF16w153rxtLIEOE+HGqaBppczZvnHLqQJfiHotCYpNhl0lUROFQ==} @@ -3076,6 +4285,10 @@ packages: resolution: {integrity: sha512-7dUi7RvCoT/xast/o/dLN53oqND4yk0nsHkhRgn9w65C4PofCLOoJ39iSOg+qVDdWQPIEj+eszMHQ+aLVwwQSg==} engines: {node: '>=8'} + globby@11.1.0: + resolution: {integrity: sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==} + engines: {node: '>=10'} + gopd@1.2.0: resolution: {integrity: sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==} engines: {node: '>= 0.4'} @@ -3092,6 +4305,51 @@ packages: graphemer@1.4.0: resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==} + graphql-config@5.1.5: + resolution: {integrity: sha512-mG2LL1HccpU8qg5ajLROgdsBzx/o2M6kgI3uAmoaXiSH9PCUbtIyLomLqUtCFaAeG2YCFsl0M5cfQ9rKmDoMVA==} + engines: {node: '>= 16.0.0'} + peerDependencies: + cosmiconfig-toml-loader: ^1.0.0 + graphql: ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + peerDependenciesMeta: + cosmiconfig-toml-loader: + optional: true + + graphql-request@6.1.0: + resolution: {integrity: sha512-p+XPfS4q7aIpKVcgmnZKhMNqhltk20hfXtkaIkTfjjmiKMJ5xrt5c743cL03y/K7y1rg3WrIC49xGiEQ4mxdNw==} + peerDependencies: + graphql: 14 - 16 + + graphql-request@7.2.0: + resolution: {integrity: sha512-0GR7eQHBFYz372u9lxS16cOtEekFlZYB2qOyq8wDvzRmdRSJ0mgUVX1tzNcIzk3G+4NY+mGtSz411wZdeDF/+A==} + peerDependencies: + graphql: 14 - 16 + + graphql-tag@2.12.6: + resolution: {integrity: sha512-FdSNcu2QQcWnM2VNvSCCDCVS5PpPqpzgFT8+GXzqJuoDd0CBncxCY278u4mhRO7tMgo2JjgJA5aZ+nWSQ/Z+xg==} + engines: {node: '>=10'} + peerDependencies: + graphql: ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + + graphql-ws@6.0.6: + resolution: {integrity: sha512-zgfER9s+ftkGKUZgc0xbx8T7/HMO4AV5/YuYiFc+AtgcO5T0v8AxYYNQ+ltzuzDZgNkYJaFspm5MMYLjQzrkmw==} + engines: {node: '>=20'} + peerDependencies: + '@fastify/websocket': ^10 || ^11 + crossws: ~0.3 + graphql: ^15.10.1 || ^16 + uWebSockets.js: ^20 + ws: ^8 + peerDependenciesMeta: + '@fastify/websocket': + optional: true + crossws: + optional: true + uWebSockets.js: + optional: true + ws: + optional: true + graphql@16.11.0: resolution: {integrity: sha512-mS1lbMsxgQj6hge1XZ6p7GPhbrtFwUFYi3wRzXAC/FmYnyXMTvvI3td3rjmQ2u8ewXueaSvRPWaEcgVVOT9Jnw==} engines: {node: ^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0} @@ -3162,6 +4420,9 @@ packages: resolution: {integrity: sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==} hasBin: true + header-case@2.0.4: + resolution: {integrity: sha512-H/vuk5TEEVZwrR0lp2zed9OCo1uAILMlx0JEMgC26rzyJJ3N1v6XkwHHXJQdR2doSjcGPM6OKPYoJgf0plJ11Q==} + heap@0.2.7: resolution: {integrity: sha512-2bsegYkkHO+h/9MGbn6KWcE45cHZgPANo5LXF7EvWdT0yT2EguSVO1nDgU5c8+ZOPwp2vMNa7YFsJhVcDR9Sdg==} @@ -3182,10 +4443,26 @@ packages: resolution: {integrity: sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==} engines: {node: '>= 0.8'} + http-proxy-agent@7.0.2: + resolution: {integrity: sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==} + engines: {node: '>= 14'} + https-proxy-agent@5.0.1: resolution: {integrity: sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==} engines: {node: '>= 6'} + https-proxy-agent@7.0.6: + resolution: {integrity: sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==} + engines: {node: '>= 14'} + + human-signals@2.1.0: + resolution: {integrity: sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==} + engines: {node: '>=10.17.0'} + + human-signals@5.0.0: + resolution: {integrity: sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==} + engines: {node: '>=16.17.0'} + humanize-ms@1.2.1: resolution: {integrity: sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ==} @@ -3200,6 +4477,10 @@ packages: resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==} engines: {node: '>=0.10.0'} + iconv-lite@0.7.0: + resolution: {integrity: sha512-cf6L2Ds3h57VVmkZe+Pn+5APsT7FpqJtEhhieDCvrE2MK5Qk9MyffgQyuxQTm6BChfeZNtcOLHp9IcWRVcIcBQ==} + engines: {node: '>=0.10.0'} + idb-keyval@6.2.1: resolution: {integrity: sha512-8Sb3veuYCyrZL+VBt9LJfZjLUPWVvqn8tG28VqYNFCo43KHcKuq+b4EiXGeuaLAQWL2YmyDgMp2aSpH9JHsEQg==} @@ -3220,6 +4501,10 @@ packages: immer@10.0.2: resolution: {integrity: sha512-Rx3CqeqQ19sxUtYV9CU911Vhy8/721wRFnJv3REVGWUmoAcIwzifTsdmJte/MV+0/XpM35LZdQMBGkRIoLPwQA==} + immutable@3.7.6: + resolution: {integrity: sha512-AizQPcaofEtO11RZhPPHBOJRdo/20MKQF9mBLnVkBoyHi1/zXK8fzVdnEpSV9gxqtnh6Qomfp3F0xT5qP/vThw==} + engines: {node: '>=0.8.0'} + immutable@4.3.7: resolution: {integrity: sha512-1hqclzwYwjRDFLjcFxOM5AYkkG0rpFPpr1RLPMEuGczoS7YA8gLhy8SWXYRAA/XwfEHpfo3cw5JGioS32fnMRw==} @@ -3227,6 +4512,10 @@ packages: resolution: {integrity: sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==} engines: {node: '>=6'} + import-from@4.0.0: + resolution: {integrity: sha512-P9J71vT5nLlDeV8FHs5nNxaLbrpfAV5cF5srvbZfpwpcJoM/xZR3hiv+q+SAnuSmuGbXMWud063iIMx/V/EWZQ==} + engines: {node: '>=12.2'} + imurmurhash@0.1.4: resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==} engines: {node: '>=0.8.19'} @@ -3245,20 +4534,34 @@ packages: ini@1.3.8: resolution: {integrity: sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==} + inquirer@8.2.7: + resolution: {integrity: sha512-UjOaSel/iddGZJ5xP/Eixh6dY1XghiBw4XK13rCCIJcJfyhhoul/7KhLLUGtebEj6GDYM6Vnx/mVsjx2L/mFIA==} + engines: {node: '>=12.0.0'} + interpret@1.4.0: resolution: {integrity: sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==} engines: {node: '>= 0.10'} + invariant@2.2.4: + resolution: {integrity: sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==} + io-ts@1.10.4: resolution: {integrity: sha512-b23PteSnYXSONJ6JQXRAlvJhuw8KOtkqa87W4wDtvMrud/DTJd5X+NpOOI+O/zZwVq6v0VLAaJ+1EDViKEuN9g==} iron-webcrypto@1.2.1: resolution: {integrity: sha512-feOM6FaSr6rEABp/eDfVseKyTMDt+KGpeB35SkVn9Tyn0CqvVsY3EwI0v5i8nMHyJnzCIQf7nsy3p41TPkJZhg==} + is-absolute@1.0.0: + resolution: {integrity: sha512-dOWoqflvcydARa360Gvv18DZ/gRuHKi2NU/wU5X1ZFzdYfH29nkiNZsF3mp4OJ3H4yo9Mx8A/uAGNzpzPN3yBA==} + engines: {node: '>=0.10.0'} + is-arguments@1.2.0: resolution: {integrity: sha512-7bVbi0huj/wrIAOzb8U1aszg9kdi3KN/CyU19CTI7tAoZYEZoL9yCDXpbXN+uPsuWnP02cyug1gleqq+TU+YCA==} engines: {node: '>= 0.4'} + is-arrayish@0.2.1: + resolution: {integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==} + is-arrayish@0.3.2: resolution: {integrity: sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==} @@ -3294,6 +4597,13 @@ packages: resolution: {integrity: sha512-WvtOiug1VFrE9v1Cydwm+FnXd3+w9GaeVUss5W4v/SLy3UW00vP+6iNF2SdnfiBoLy4bTqVdkftNGTUeOFVsbA==} engines: {node: '>=6.5.0', npm: '>=3'} + is-interactive@1.0.0: + resolution: {integrity: sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==} + engines: {node: '>=8'} + + is-lower-case@2.0.2: + resolution: {integrity: sha512-bVcMJy4X5Og6VZfdOZstSexlEy20Sr0k/p/b2IlQJlfdKAQuMpiv5w2Ccxb8sKdRUNAG1PnHVHjFSdRDVS6NlQ==} + is-number@7.0.0: resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==} engines: {node: '>=0.12.0'} @@ -3306,18 +4616,37 @@ packages: resolution: {integrity: sha512-MjYsKHO5O7mCsmRGxWcLWheFqN9DJ/2TmngvjKXihe6efViPqc274+Fx/4fYj/r03+ESvBdTXK0V6tA3rgez1g==} engines: {node: '>= 0.4'} + is-relative@1.0.0: + resolution: {integrity: sha512-Kw/ReK0iqwKeu0MITLFuj0jbPAmEiOsIwyIXvvbfa6QfmN9pkD1M+8pdk7Rl/dTKbH34/XBFMbgD4iMJhLQbGA==} + engines: {node: '>=0.10.0'} + is-stream@2.0.1: resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==} engines: {node: '>=8'} + is-stream@3.0.0: + resolution: {integrity: sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + is-typed-array@1.1.15: resolution: {integrity: sha512-p3EcsicXjit7SaskXHs1hA91QxgTw46Fv6EFKKGS5DRFLD8yKnohjF3hxoju94b/OcMZoQukzpPpBE9uLVKzgQ==} engines: {node: '>= 0.4'} + is-unc-path@1.0.0: + resolution: {integrity: sha512-mrGpVd0fs7WWLfVsStvgF6iEJnbjDFZh9/emhRDcGWTduTfNHd9CHeUwH3gYIjdbwo4On6hunkztwOaAw0yllQ==} + engines: {node: '>=0.10.0'} + is-unicode-supported@0.1.0: resolution: {integrity: sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==} engines: {node: '>=10'} + is-upper-case@2.0.2: + resolution: {integrity: sha512-44pxmxAvnnAOwBg4tHPnkfvgjPwbc5QIsSstNU+YcJ1ovxVzCWpSGosPJOZh/a1tdl81fbgnLc9LLv+x2ywbPQ==} + + is-windows@1.0.2: + resolution: {integrity: sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==} + engines: {node: '>=0.10.0'} + isarray@1.0.0: resolution: {integrity: sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==} @@ -3332,6 +4661,11 @@ packages: peerDependencies: ws: '*' + isomorphic-ws@5.0.0: + resolution: {integrity: sha512-muId7Zzn9ywDsyXgTIafTry2sV3nySZeUDe6YedVd1Hvuuep5AsIlqK+XefWpYTyJG5e503F2xIuT2lcU6rCSw==} + peerDependencies: + ws: '*' + isows@1.0.6: resolution: {integrity: sha512-lPHCayd40oW98/I0uvgaHKWCSvkzY27LjWLbtzOm64yQ+G3Q5npjjbdppU65iZXkK1Zt+kH9pfegli0AYfwYYw==} peerDependencies: @@ -3350,12 +4684,30 @@ packages: engines: {node: '>=8'} hasBin: true + jiti@1.21.7: + resolution: {integrity: sha512-/imKNG4EbWNrVjoNC/1H5/9GFy+tqjGBHCaSsN+P2RnPqjsLmv6UD3Ej+Kj8nBWaRAwyk7kK5ZUc+OEatnTR3A==} + hasBin: true + + jiti@2.6.1: + resolution: {integrity: sha512-ekilCSN1jwRvIbgeg/57YFh8qQDNbwDb9xT/qu2DAHbFFZUicIl4ygVaAvzveMhMVr3LnpSKTNnwt8PoOfmKhQ==} + hasBin: true + + jose@5.10.0: + resolution: {integrity: sha512-s+3Al/p9g32Iq+oqXxkW//7jk2Vig6FF1CFqzVXoTUXt2qz89YWbL+OwS17NFYEvxC35n0FKeGO2LGYSxeM2Gg==} + + joycon@3.1.1: + resolution: {integrity: sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==} + engines: {node: '>=10'} + js-sha3@0.8.0: resolution: {integrity: sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==} js-tokens@4.0.0: resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} + js-tokens@9.0.1: + resolution: {integrity: sha512-mxa9E9ITFOt0ban3j6L5MpjwegGz6lBQmM1IJkWeBZGcMxto50+eWdjC/52xDbS2vy0k7vIMK0Fe2wfL9OQSpQ==} + js-yaml@3.14.1: resolution: {integrity: sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==} hasBin: true @@ -3372,6 +4724,9 @@ packages: json-buffer@3.0.1: resolution: {integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==} + json-parse-even-better-errors@2.3.1: + resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==} + json-rpc-engine@6.1.0: resolution: {integrity: sha512-NEdLrtrq1jUZyfjkr9OCz9EzCNhnRyWtt1PAnvnhwy6e8XETS0Dtc+ZNCO2gvuAoKsIn2+vCSowXTYE4CkgnAQ==} engines: {node: '>=10.0.0'} @@ -3395,6 +4750,10 @@ packages: json-stringify-safe@5.0.1: resolution: {integrity: sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==} + json-to-pretty-yaml@1.2.2: + resolution: {integrity: sha512-rvm6hunfCcqegwYaG5T4yKJWxc9FXFgBVrcTZ4XfSVRwa5HA/Xs+vB/Eo9treYYHCeNM0nrSUr82V/M31Urc7A==} + engines: {node: '>= 0.2.0'} + json5@2.2.3: resolution: {integrity: sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==} engines: {node: '>=6'} @@ -3435,6 +4794,22 @@ packages: resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==} engines: {node: '>= 0.8.0'} + lilconfig@2.1.0: + resolution: {integrity: sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==} + engines: {node: '>=10'} + + lines-and-columns@1.2.4: + resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} + + listr2@4.0.5: + resolution: {integrity: sha512-juGHV1doQdpNT3GSTs9IUN43QJb7KHdF9uqg7Vufs/tG9VTzpFphqF4pm/ICdAABGQxsyNn9CiYA3StkI6jpwA==} + engines: {node: '>=12'} + peerDependencies: + enquirer: '>= 2.3.0 < 3' + peerDependenciesMeta: + enquirer: + optional: true + lit-element@4.2.1: resolution: {integrity: sha512-WGAWRGzirAgyphK2urmYOV72tlvnxw7YfyLDgQ+OZnM9vQQBQnumQ7jUJe6unEzwGU3ahFOjuz1iz1jjrpCPuw==} @@ -3444,6 +4819,14 @@ packages: lit@3.3.0: resolution: {integrity: sha512-DGVsqsOIHBww2DqnuZzW7QsuCdahp50ojuDaBPC7jUDRpYoH0z7kHBBYZewRzer75FwtrkmkKk7iOAwSaWdBmw==} + load-tsconfig@0.2.5: + resolution: {integrity: sha512-IXO6OCs9yg8tMKzfPZ1YmheJbZCiEsnBdcB03l0OcfK9prKnJb96siuHCr5Fl37/yo9DnKU+TLpxzTUspw9shg==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + + local-pkg@0.5.1: + resolution: {integrity: sha512-9rrA30MRRP3gBD3HTGnC6cDFpaE1kVDWxWgqWJUN0RvDNAo+Nz/9GxB+nHOH0ifbVFy0hSA1V6vFDvnx54lTEQ==} + engines: {node: '>=14'} + locate-path@5.0.0: resolution: {integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==} engines: {node: '>=8'} @@ -3468,6 +4851,9 @@ packages: lodash.merge@4.6.2: resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==} + lodash.sortby@4.7.0: + resolution: {integrity: sha512-HDWXG8isMntAyRF5vZ7xKuEvOhT4AhlRt/3czTSjvGUxjYCBVRQY48ViDHyfYz9VIoBkW4TMGQNapx+l3RUwdA==} + lodash.truncate@4.4.2: resolution: {integrity: sha512-jttmRe7bRse52OsWIMDLaXxWqRAmtIUccAQ3garviCqJjafXOfNMO0yMfNpdD6zbGaTU0P5Nz7e7gAT6cKmJRw==} @@ -3478,6 +4864,10 @@ packages: resolution: {integrity: sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==} engines: {node: '>=10'} + log-update@4.0.0: + resolution: {integrity: sha512-9fkkDevMefjg0mmzWFBW8YkFP91OrizzkW3diF7CpG+S2EYdy4+TVfGwz1zeF8x7hCx1ovSPTOE9Ngib74qqUg==} + engines: {node: '>=10'} + loose-envify@1.4.0: resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==} hasBin: true @@ -3485,6 +4875,12 @@ packages: loupe@2.3.7: resolution: {integrity: sha512-zSMINGVYkdpYSOBmLi0D1Uo7JU9nVdQKrHxC8eYlV+9YKK9WePqAlL7lSlorG/U2Fw1w0hTBmaa/jrQ3UbPHtA==} + lower-case-first@2.0.2: + resolution: {integrity: sha512-EVm/rR94FJTZi3zefZ82fLWab+GX14LJN4HrWBcuo6Evmsl9hEfnqxgcHCKb9q+mNf6EVdsjx/qucYFIIB84pg==} + + lower-case@2.0.2: + resolution: {integrity: sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==} + lru-cache@10.4.3: resolution: {integrity: sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==} @@ -3494,9 +4890,16 @@ packages: lru_map@0.3.3: resolution: {integrity: sha512-Pn9cox5CsMYngeDbmChANltQl+5pi6XmTrraMSzhPmMBbmgcxmqWry0U3PGapCU1yB4/LqCcom7qhHZiF/jGfQ==} + magic-string@0.30.19: + resolution: {integrity: sha512-2N21sPY9Ws53PZvsEpVtNuSW+ScYbQdp4b9qUaL+9QkHUrGFKo56Lg9Emg5s9V/qrtNBmiR01sYhUOwu3H+VOw==} + make-error@1.3.6: resolution: {integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==} + map-cache@0.2.2: + resolution: {integrity: sha512-8y/eV9QQZCiyn1SprXSrCmqJN0yNRATe+PO8ztwqrvrbdRLA3eYJF0yaR0YayLWkMbsQSKWS9N2gPcGEc4UsZg==} + engines: {node: '>=0.10.0'} + markdown-table@2.0.0: resolution: {integrity: sha512-Ezda85ToJUBhM6WGaG6veasyym+Tbs3cMAw/ZhOPqXiYsr0jgocBV3j3nx+4lk47plLlIqjwuTm/ywVI+zjJ/A==} @@ -3511,10 +4914,22 @@ packages: resolution: {integrity: sha512-S3UwM3yj5mtUSEfP41UZmt/0SCoVYUcU1rkXv+BQ5Ig8ndL4sPoJNBUJERafdPb5jjHJGuMgytgKvKIf58XNBw==} engines: {node: '>= 0.10.0'} + merge-stream@2.0.0: + resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==} + merge2@1.4.1: resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} engines: {node: '>= 8'} + meros@1.3.2: + resolution: {integrity: sha512-Q3mobPbvEx7XbwhnC1J1r60+5H6EZyNccdzSz0eGexJRwouUtTZxPVRGdqKtxlpD84ScK4+tIGldkqDtCKdI0A==} + engines: {node: '>=13'} + peerDependencies: + '@types/node': '>=13' + peerDependenciesMeta: + '@types/node': + optional: true + micro-eth-signer@0.14.0: resolution: {integrity: sha512-5PLLzHiVYPWClEvZIXXFu5yutzpadb73rnQCpUqIHu3No3coFuWQNfE5tkBQJ7djuLYl6aRLaS0MgWJYGoqiBw==} @@ -3536,6 +4951,14 @@ packages: resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==} engines: {node: '>= 0.6'} + mimic-fn@2.1.0: + resolution: {integrity: sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==} + engines: {node: '>=6'} + + mimic-fn@4.0.0: + resolution: {integrity: sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==} + engines: {node: '>=12'} + minimalistic-assert@1.0.1: resolution: {integrity: sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==} @@ -3581,6 +5004,9 @@ packages: engines: {node: '>=10'} hasBin: true + mlly@1.8.0: + resolution: {integrity: sha512-l8D9ODSRWLe2KHJSifWGwBqpTZXIXTeo8mlKjY+E2HAakaTeNpqAyBZ8GSqLzHgw4XmHmC8whvpjJNMbFZN7/g==} + mnemonist@0.38.5: resolution: {integrity: sha512-bZTFT5rrPKtPJxj8KSV0WkPyNxl72vQepqqVUAW2ARUpUSF2qXMB6jZj7hW5/k7C1rtpzqbD/IIbJwLXUjCHeg==} @@ -3595,6 +5021,12 @@ packages: multiformats@9.9.0: resolution: {integrity: sha512-HoMUjhH9T8DDBNT+6xzkrd9ga/XiBI4xLr58LJACwK6G3HTOPeMz4nB4KJs33L2BelrIJa7P0VuNaVF3hMYfjg==} + mute-stream@0.0.8: + resolution: {integrity: sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==} + + mz@2.7.0: + resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==} + nanoclone@0.2.1: resolution: {integrity: sha512-wynEP02LmIbLpcYw8uBKpcfF6dmg2vcpKqxeH5UcoKEYdExslsdUA4ugFauuaeYdTB76ez6gJW8XAZ6CgkXYxA==} @@ -3614,12 +5046,23 @@ packages: neo-async@2.6.2: resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==} + no-case@3.0.4: + resolution: {integrity: sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==} + node-addon-api@2.0.2: resolution: {integrity: sha512-Ntyt4AIXyaLIuMHF6IOoTakB3K+RWxwtsHNRxllEoA6vPwP9o4866g6YWDLUdnucilZhmkxiHwHr11gAENw+QA==} node-addon-api@5.1.0: resolution: {integrity: sha512-eh0GgfEkpnoWDq+VY8OyvYhFEzBk6jIYbRKdIlyTiAXIVJ8PyBaKb0rp7oDtoddbdoHWhq8wwr+XZ81F1rpNdA==} + node-addon-api@7.1.1: + resolution: {integrity: sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ==} + + node-domexception@1.0.0: + resolution: {integrity: sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==} + engines: {node: '>=10.5.0'} + deprecated: Use your platform's native DOMException instead + node-emoji@1.11.0: resolution: {integrity: sha512-wo2DpQkQp7Sjm2A0cq+sN7EHKO6Sl0ctXeBdFZrL9T9+UywORbufTcTZxom8YqpLQt/FqNMUkOpkZrJVYSKD3A==} @@ -3635,10 +5078,17 @@ packages: encoding: optional: true + node-fetch@3.3.2: + resolution: {integrity: sha512-dRB78srN/l6gqWulah9SrxeYnxeddIG30+GOqK/9OlLVyLg3HPnr6SqOWTWOXKRwC2eGYCkZ59NNuSgvSrpgOA==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + node-gyp-build@4.8.4: resolution: {integrity: sha512-LA4ZjwlnUblHVgq0oBF3Jl/6h/Nvs5fzBLwdEF4nuxnFdsfajde4WfxtJr3CaiH+F6ewcIB/q4jQ4UzPyid+CQ==} hasBin: true + node-int64@0.4.0: + resolution: {integrity: sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==} + node-mock-http@1.0.2: resolution: {integrity: sha512-zWaamgDUdo9SSLw47we78+zYw/bDr5gH8pH7oRRs8V3KmBtu8GLgGIbV2p/gRPd3LWpEOpjQj7X1FOU3VFMJ8g==} @@ -3653,10 +5103,25 @@ packages: resolution: {integrity: sha512-4GUt3kSEYmk4ITxzB/b9vaIDfUVWN/Ml1Fwl11IlnIG2iaJ9O6WXZ9SrYM9NLI8OCBieN2Y8SWC2oJV0RQ7qYg==} hasBin: true + normalize-path@2.1.1: + resolution: {integrity: sha512-3pKJwH184Xo/lnH6oyP1q2pMd7HcypqqmRs91/6/i2CGtWwIKGCkOOMTm/zXbgTEWHw1uNpNi/igc3ePOYHb6w==} + engines: {node: '>=0.10.0'} + normalize-path@3.0.0: resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==} engines: {node: '>=0.10.0'} + npm-run-path@4.0.1: + resolution: {integrity: sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==} + engines: {node: '>=8'} + + npm-run-path@5.3.0: + resolution: {integrity: sha512-ppwTtiJZq0O/ai0z7yfudtBpWIoxM8yE6nHi1X47eFR2EWORqfbu6CnPlNsjeN683eT0qG6H/Pyf9fCcvjnnnQ==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + + nullthrows@1.1.1: + resolution: {integrity: sha512-2vPPEi+Z7WqML2jZYddDIfy5Dqb0r2fze2zTxNNknZaFpVHU3mFB3R+DWeJWGVx0ecvttSGlJTI+WG+8Z4cDWw==} + number-to-bn@1.7.0: resolution: {integrity: sha512-wsJ9gfSz1/s4ZsJN01lyonwuxA1tml6X1yBDnfpMglypcBRFZZkus26EdPSlqS5GJfYddVZa22p3VNb3z5m5Ig==} engines: {node: '>=6.5.0', npm: '>=3'} @@ -3680,6 +5145,14 @@ packages: once@1.4.0: resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==} + onetime@5.1.2: + resolution: {integrity: sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==} + engines: {node: '>=6'} + + onetime@6.0.0: + resolution: {integrity: sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==} + engines: {node: '>=12'} + openapi-fetch@0.13.8: resolution: {integrity: sha512-yJ4QKRyNxE44baQ9mY5+r/kAzZ8yXMemtNAOFwOzRXJscdjSxxzWSNlyBAr+o5JjkUw9Lc3W7OIoca0cY3PYnQ==} @@ -3694,6 +5167,10 @@ packages: resolution: {integrity: sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==} engines: {node: '>= 0.8.0'} + ora@5.4.1: + resolution: {integrity: sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==} + engines: {node: '>=10'} + ordinal@1.0.3: resolution: {integrity: sha512-cMddMgb2QElm8G7vdaa02jhUNbTSrhsgAGUz1OokD83uJTwSUn+nKoNoKVVaRa08yF6sgfO7Maou1+bgLd9rdQ==} @@ -3741,6 +5218,10 @@ packages: resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==} engines: {node: '>=10'} + p-limit@5.0.0: + resolution: {integrity: sha512-/Eaoq+QyLSiXQ4lyYV23f14mZRQcXnxfHrN0vCai+ak9G0pp9iEQukIIZq5NccEvwRB8PUnZT0KsOoDCINS1qQ==} + engines: {node: '>=18'} + p-locate@4.1.0: resolution: {integrity: sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==} engines: {node: '>=8'} @@ -3760,10 +5241,27 @@ packages: package-json-from-dist@1.0.1: resolution: {integrity: sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==} + param-case@3.0.4: + resolution: {integrity: sha512-RXlj7zCYokReqWpOPH9oYivUzLYZ5vAPIfEmCTNViosC78F8F0H9y7T7gG2M39ymgutxF5gcFEsyZQSph9Bp3A==} + parent-module@1.0.1: resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==} engines: {node: '>=6'} + parse-filepath@1.0.2: + resolution: {integrity: sha512-FwdRXKCohSVeXqwtYonZTXtbGJKrn+HNyWDYVcp5yuJlesTwNH4rsmRZ+GrKAPJ5bLpRxESMeS+Rl0VCHRvB2Q==} + engines: {node: '>=0.8'} + + parse-json@5.2.0: + resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==} + engines: {node: '>=8'} + + pascal-case@3.1.2: + resolution: {integrity: sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==} + + path-case@3.0.4: + resolution: {integrity: sha512-qO4qCFjXqVTrcbPt/hQfhTQ+VhFsqNKOPtytgNKkKxSoEp3XPUQ8ObFuePylOIok5gjn69ry8XiULxCwot3Wfg==} + path-exists@4.0.0: resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} engines: {node: '>=8'} @@ -3776,9 +5274,21 @@ packages: resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==} engines: {node: '>=8'} + path-key@4.0.0: + resolution: {integrity: sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==} + engines: {node: '>=12'} + path-parse@1.0.7: resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} + path-root-regex@0.1.2: + resolution: {integrity: sha512-4GlJ6rZDhQZFE0DPVKh0e9jmZ5egZfxTkp7bcRDuPlJXbAwhxcl2dINPUAsjLdejqaLsCeg8axcLjIbvBjN4pQ==} + engines: {node: '>=0.10.0'} + + path-root@0.1.1: + resolution: {integrity: sha512-QLcPegTHF11axjfojBIoDygmS2E3Lf+8+jI6wOVmNVenrKSo3mFdSGiIgdSHenczw3wPtlVMQaFVwGmM7BJdtg==} + engines: {node: '>=0.10.0'} + path-scurry@1.11.1: resolution: {integrity: sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==} engines: {node: '>=16 || 14 >=14.18'} @@ -3787,6 +5297,12 @@ packages: resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} engines: {node: '>=8'} + pathe@1.1.2: + resolution: {integrity: sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ==} + + pathe@2.0.3: + resolution: {integrity: sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==} + pathval@1.1.1: resolution: {integrity: sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==} @@ -3827,6 +5343,13 @@ packages: resolution: {integrity: sha512-dMACeu63HtRLmCG8VKdy4cShCPKaYDR4youZqoSWLxl5Gu99HUw8bw75thbPv9Nip+H+QYX8o3ZJbTdVZZ2TVg==} hasBin: true + pirates@4.0.7: + resolution: {integrity: sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA==} + engines: {node: '>= 6'} + + pkg-types@1.3.1: + resolution: {integrity: sha512-/Jm5M4RvtBFVkKWRu2BLUTNP8/M2a+UwuAX+ae4770q1qVGtfjG+WTCupoZixokjmHiry8uI+dlY8KXYV5HVVQ==} + pngjs@5.0.0: resolution: {integrity: sha512-40QW5YalBNfQo5yRYmiw7Yz6TKKVr3h6970B2YE+3fQpsWcrbj1PzJgxeJ19DRQjhMbKPIuMY8rFaXc8moolVw==} engines: {node: '>=10.13.0'} @@ -3842,6 +5365,18 @@ packages: resolution: {integrity: sha512-/+5VFTchJDoVj3bhoqi6UeymcD00DAwb1nJwamzPvHEszJ4FpF6SNNbUbOS8yI56qHzdV8eK0qEfOSiodkTdxg==} engines: {node: '>= 0.4'} + postcss-load-config@3.1.4: + resolution: {integrity: sha512-6DiM4E7v4coTE4uzA8U//WhtPwyhiim3eyjEMFCnUpzbrkK9wJHgKDT2mR+HbtSrd/NubVaYTOpSpjUl8NQeRg==} + engines: {node: '>= 10'} + peerDependencies: + postcss: '>=8.0.9' + ts-node: '>=9.0.0' + peerDependenciesMeta: + postcss: + optional: true + ts-node: + optional: true + postcss@8.5.6: resolution: {integrity: sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==} engines: {node: ^10 || ^12 || >=14} @@ -3865,12 +5400,24 @@ packages: engines: {node: '>=10.13.0'} hasBin: true + prettier@3.6.2: + resolution: {integrity: sha512-I7AIg5boAr5R0FFtJ6rCfD+LFsWHp81dolrFD8S79U9tb8Az2nGrJncnMSnys+bpQJfRUzqs9hnA81OAA3hCuQ==} + engines: {node: '>=14'} + hasBin: true + + pretty-format@29.7.0: + resolution: {integrity: sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + process-nextick-args@2.0.1: resolution: {integrity: sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==} process-warning@1.0.0: resolution: {integrity: sha512-du4wfLyj4yCZq1VupnVSZmRsPJsNuxoDQFdCFHLaYiEbFBD7QE0a+I4D7hOxrVnh78QE/YipFAj9lXHiXocV+Q==} + promise@7.3.1: + resolution: {integrity: sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==} + prompts@2.4.2: resolution: {integrity: sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==} engines: {node: '>= 6'} @@ -3967,6 +5514,9 @@ packages: react-is@16.13.1: resolution: {integrity: sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==} + react-is@18.3.1: + resolution: {integrity: sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==} + react-refresh@0.17.0: resolution: {integrity: sha512-z6F7K9bV85EfseRCp2bzrpyQ0Gkw1uLoCel9XBVWPg/TjRj94SkJzUTGfOa4bs7iJvBWtQG0Wq7wnI0syw3EBQ==} engines: {node: '>=0.10.0'} @@ -4023,6 +5573,18 @@ packages: resolution: {integrity: sha512-EJ4UNY/U1t2P/2k6oqotuX2Cc3T6nxJwsM0N0asT7dhrtH1ltUxDn4NalSYmPE2rCkVpcf/X6R0wDwcFpzhd4w==} engines: {node: '>=6'} + relay-runtime@12.0.0: + resolution: {integrity: sha512-QU6JKr1tMsry22DXNy9Whsq5rmvwr3LSZiiWV/9+DFpuTWvp+WFhobWMc8TC4OjKFfNhEZy7mOiqUAn5atQtug==} + + remedial@1.0.8: + resolution: {integrity: sha512-/62tYiOe6DzS5BqVsNpH/nkGlX45C/Sp6V+NtiN6JQNS1Viay7cWkazmRkrQrdFj2eshDe96SIQNIoMxqhzBOg==} + + remove-trailing-separator@1.1.0: + resolution: {integrity: sha512-/hS+Y0u3aOfIETiaiirUFwDBDzmXPvO+jAfKTitUngIPzdKc6Z0LoFjM/CK5PL4C+eKwHohlHAb6H0VFfmmUsw==} + + remove-trailing-spaces@1.0.9: + resolution: {integrity: sha512-xzG7w5IRijvIkHIjDk65URsJJ7k4J95wmcArY5PRcmjldIOl7oTvG8+X2Ag690R7SfwiOcHrWZKVc1Pp5WIOzA==} + repeat-string@1.6.1: resolution: {integrity: sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w==} engines: {node: '>=0.10'} @@ -4042,6 +5604,10 @@ packages: resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==} engines: {node: '>=4'} + resolve-from@5.0.0: + resolution: {integrity: sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==} + engines: {node: '>=8'} + resolve-pkg-maps@1.0.0: resolution: {integrity: sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==} @@ -4056,10 +5622,17 @@ packages: engines: {node: '>= 0.4'} hasBin: true + restore-cursor@3.1.0: + resolution: {integrity: sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==} + engines: {node: '>=8'} + reusify@1.1.0: resolution: {integrity: sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==} engines: {iojs: '>=1.0.0', node: '>=0.10.0'} + rfdc@1.4.1: + resolution: {integrity: sha512-q1b3N5QkRUWUl7iyylaaj3kOpIT0N2i9MqIEQXP73GVsN9cw3fdx8X63cEmWhJGi2PPCF23Ijp7ktmd39rawIA==} + ripemd160@2.0.1: resolution: {integrity: sha512-J7f4wutN8mdbV08MJnXibYpCOPHR+yzy+iQ/AsjMv2j8cLavQ8VGagDFUwwTAdF8FmRKVeNpbTTEwNHCW1g94w==} @@ -4070,6 +5643,11 @@ packages: resolution: {integrity: sha512-d5gdPmgQ0Z+AklL2NVXr/IoSjNZFfTVvQWzL/AM2AOcSzYP2xjlb0AC8YyCLc41MSNf6P6QVtjgPdmVtzb+4lQ==} hasBin: true + rollup@3.29.5: + resolution: {integrity: sha512-GVsDdsbJzzy4S/v3dqWPJ7EfvZJfCHiDqe80IyrF59LYuP+e6U1LJoUqeuqRbwAWoMNoXivMNeNAOf5E22VA1w==} + engines: {node: '>=14.18.0', npm: '>=8.0.0'} + hasBin: true + rollup@4.50.0: resolution: {integrity: sha512-/Zl4D8zPifNmyGzJS+3kVoyXeDeT/GrsJM94sACNg9RtUE0hrHa1bNPtRSrfHTMH5HjRzce6K7rlTh3Khiw+pw==} engines: {node: '>=18.0.0', npm: '>=8.0.0'} @@ -4078,9 +5656,16 @@ packages: rpc-websockets@9.1.3: resolution: {integrity: sha512-I+kNjW0udB4Fetr3vvtRuYZJS0PcSPyyvBcH5sDdoV8DFs5E4W2pTr7aiMlKfPxANTClP9RlqCPolj9dd5MsEA==} + run-async@2.4.1: + resolution: {integrity: sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==} + engines: {node: '>=0.12.0'} + run-parallel@1.2.0: resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} + rxjs@7.8.2: + resolution: {integrity: sha512-dhKf903U/PQZY6boNNtAGdWbG85WAbjT/1xYoZIC7FAY0yWapOBQVsVrDl58W86//e1VpMNBtRV4MaXfdMySFA==} + safe-buffer@5.1.2: resolution: {integrity: sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==} @@ -4108,6 +5693,9 @@ packages: scrypt-js@3.0.1: resolution: {integrity: sha512-cdwTTnqPu0Hyvf5in5asVdZocVDTNRmR7XEcJuIzMjJeSHybHl7vpB66AzwTaIg6CLSbtjcxc8fqcySfnTkccA==} + scuid@1.1.0: + resolution: {integrity: sha512-MuCAyrGZcTLfQoH2XoBlQ8C6bzwN88XT/0slOGz0pn8+gIP85BOAfYa44ZXQUTOwRwPU0QvgU+V+OSajl/59Xg==} + secp256k1@4.0.4: resolution: {integrity: sha512-6JfvwvjUOn8F/jUoBY2Q1v5WY5XS+rj8qSe0v8Y4ezH4InLgTEeOOPQsRll9OV429Pvo6BCHGavIyJfr3TAhsw==} engines: {node: '>=18.0.0'} @@ -4125,6 +5713,9 @@ packages: engines: {node: '>=10'} hasBin: true + sentence-case@3.0.4: + resolution: {integrity: sha512-8LS0JInaQMCRoQ7YUytAo/xUu5W2XnQxV2HI/6uM6U7CITS1RqPElr30V6uIqyMKM9lJGRVFy5/4CuzcixNYSg==} + serialize-javascript@6.0.2: resolution: {integrity: sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g==} @@ -4167,15 +5758,28 @@ packages: resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==} engines: {node: '>=8'} + shell-quote@1.8.3: + resolution: {integrity: sha512-ObmnIF4hXNg1BqhnHmgbDETF8dLPCggZWBjkQfhZpbszZnYur5DUljTcCHii5LC3J5E0yeO/1LIMyH+UvHQgyw==} + engines: {node: '>= 0.4'} + shelljs@0.8.5: resolution: {integrity: sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow==} engines: {node: '>=4'} hasBin: true + siginfo@2.0.0: + resolution: {integrity: sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==} + + signal-exit@3.0.7: + resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==} + signal-exit@4.1.0: resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==} engines: {node: '>=14'} + signedsource@1.0.0: + resolution: {integrity: sha512-6+eerH9fEnNmi/hyM1DXcRK3pWdoMQtlkQ+ns0ntzunjKqp5i3sKCc80ym8Fib3iaYhdJUOPdhlJWj1tvge2Ww==} + simple-swizzle@0.2.2: resolution: {integrity: sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg==} @@ -4186,10 +5790,17 @@ packages: resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} engines: {node: '>=8'} + slice-ansi@3.0.0: + resolution: {integrity: sha512-pSyv7bSTC7ig9Dcgbw9AuRNUb5k5V6oDudjZoMBSr13qpLBG7tB+zgCkARjq7xIUgdz5P1Qe8u+rSGdouOOIyQ==} + engines: {node: '>=8'} + slice-ansi@4.0.0: resolution: {integrity: sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==} engines: {node: '>=10'} + snake-case@3.0.4: + resolution: {integrity: sha512-LAOh4z89bGQvl9pFfNF8V146i7o7/CqFPbqzYgP+yYzDIDeS9HaNFtXABamRW+AQzEVODcvE79ljJ+8a9YSdMg==} + socket.io-client@4.8.1: resolution: {integrity: sha512-hJVXfu3E28NmzGk8o1sHhN3om52tRvwYeidbj7xKy2eIIse5IoKX3USlS6Tqt3BHAtflLIkCQBkzVrEEfWUyYQ==} engines: {node: '>=10.0.0'} @@ -4227,6 +5838,14 @@ packages: resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} engines: {node: '>=0.10.0'} + source-map@0.8.0-beta.0: + resolution: {integrity: sha512-2ymg6oRBpebeZi9UUNsgQ89bhx01TcTkmNTGnNO88imTmbSgy4nfujrgVEFKWpMTEGA11EDkTt7mqObTPdigIA==} + engines: {node: '>= 8'} + deprecated: The work that was done in this beta branch won't be included in future versions + + spawn-command@0.0.2: + resolution: {integrity: sha512-zC8zGoGkmc8J9ndvml8Xksr1Amk9qBujgbF0JAIWO7kXr43w0h/0GJNM/Vustixu+YE8N/MTrQ7N31FvHUACxQ==} + split-on-first@1.1.0: resolution: {integrity: sha512-43ZssAJaMusuKWL8sKUBQXHWOpq8d6CfN/u1p4gUzfJkM05C8rxTmYrkIPTXapZpORA6LkkzcUulJ8FqA7Uudw==} engines: {node: '>=6'} @@ -4238,9 +5857,15 @@ packages: resolution: {integrity: sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==} engines: {node: '>= 10.x'} + sponge-case@1.0.1: + resolution: {integrity: sha512-dblb9Et4DAtiZ5YSUZHLl4XhH4uK80GhAZrVXdN4O2P4gQ40Wa5UIOPUHlA/nFd2PLblBZWUioLMMAVrgpoYcA==} + sprintf-js@1.0.3: resolution: {integrity: sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==} + stackback@0.0.2: + resolution: {integrity: sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==} + stacktrace-parser@0.1.11: resolution: {integrity: sha512-WjlahMgHmCJpqzU8bIBy4qtsZdU9lRlcZE3Lvyej6t4tuOuv1vk57OW3MBrj6hXBFx/nNoC9MPMTcr5YA7NQbg==} engines: {node: '>=6'} @@ -4249,6 +5874,9 @@ packages: resolution: {integrity: sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==} engines: {node: '>= 0.8'} + std-env@3.9.0: + resolution: {integrity: sha512-UGvjygr6F6tpH7o2qyqR6QYpwraIjKSdtzyBdyytFOHmPZY917kwdwLG0RbOjWOnKmnm3PeHjaoLLMie7kPLQw==} + stream-chain@2.2.5: resolution: {integrity: sha512-1TJmBx6aSWqZ4tx7aTpBDXK0/e2hhcNSTV8+CbFJtDjbb+I1mZ8lHit0Grw9GRT+6JbIrrDd8esncgBi8aBXGA==} @@ -4262,6 +5890,9 @@ packages: resolution: {integrity: sha512-QwiXZgpRcKkhTj2Scnn++4PKtWsH0kpzZ62L2R6c/LUVYv7hVnZqcg2+sMuT6R7Jusu1vviK/MFsu6kNJfWlEQ==} engines: {node: '>=4'} + string-env-interpolation@1.0.1: + resolution: {integrity: sha512-78lwMoCcn0nNu8LszbP1UA7g55OeE4v7rCeWnM5B453rnNr4aq+5it3FEYtZrSEiMvHZOZ9Jlqb0OD0M2VInqg==} + string-format@2.0.0: resolution: {integrity: sha512-bbEs3scLeYNXLecRRuk6uJxdXUSj6le/8rNPHChIJTn2V79aXVTR1EH2OH5zLKKoz0V02fOUKZZcw01pLUShZA==} @@ -4287,6 +5918,14 @@ packages: resolution: {integrity: sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==} engines: {node: '>=12'} + strip-final-newline@2.0.0: + resolution: {integrity: sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==} + engines: {node: '>=6'} + + strip-final-newline@3.0.0: + resolution: {integrity: sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==} + engines: {node: '>=12'} + strip-hex-prefix@1.0.0: resolution: {integrity: sha512-q8d4ue7JGEiVcypji1bALTos+0pWtyGlivAWyPuTkHzuTCJqrK9sWxYQZUq6Nq3cuyv3bm734IhHvHtGGURU6A==} engines: {node: '>=6.5.0', npm: '>=3'} @@ -4295,6 +5934,14 @@ packages: resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} engines: {node: '>=8'} + strip-literal@2.1.1: + resolution: {integrity: sha512-631UJ6O00eNGfMiWG78ck80dfBab8X6IVFB51jZK5Icd7XAs60Z5y7QdSd/wGIklnWvRbUNloVzhOKKmutxQ6Q==} + + sucrase@3.35.0: + resolution: {integrity: sha512-8EbVDiu9iN/nESwxeSxDKe0dunta1GOlHufmSSXxMD2z2/tMZpDMpvXQGsc+ajGo8y2uYUmixaSRUc/QPoQ0GA==} + engines: {node: '>=16 || 14 >=14.17'} + hasBin: true + superstruct@1.0.4: resolution: {integrity: sha512-7JpaAoX2NGyoFlI9NBh66BQXGONc+uE+MRS5i2iOBKuS4e+ccgMDjATgZldkah+33DakBxDHiss9kvUcGAO8UQ==} engines: {node: '>=14.0.0'} @@ -4323,6 +5970,13 @@ packages: resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} engines: {node: '>= 0.4'} + swap-case@2.0.2: + resolution: {integrity: sha512-kc6S2YS/2yXbtkSMunBtKdah4VFETZ8Oh6ONSmSd9bRxhqTrtARUCBUiWXH3xVPpvR7tz2CSnkuXVE42EcGnMw==} + + sync-fetch@0.6.0-2: + resolution: {integrity: sha512-c7AfkZ9udatCuAy9RSfiGPpeOKKUAUK5e1cXadLOGUjasdxqYqAK0jTNkM/FSEyJ3a5Ra27j/tw/PS0qLmaF/A==} + engines: {node: '>=18'} + table-layout@1.0.2: resolution: {integrity: sha512-qd/R7n5rQTRFi+Zf2sk5XVVd9UQl6ZkduPFC3S7WEGJAmetDTjY3qPN50eSKzwuzEyQKy5TN2TiZdkIjos2L6A==} engines: {node: '>=8.0.0'} @@ -4338,19 +5992,47 @@ packages: resolution: {integrity: sha512-oJQ3f1hrOnbRLOcwKz0Liq2IcrvDeZRHXhd9RgLrsT+DjWY/nty1Hi7v3dtkaEYbPYe0mUoOfzRrMwfXXwgPUA==} deprecated: no longer maintained + thenify-all@1.6.0: + resolution: {integrity: sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==} + engines: {node: '>=0.8'} + + thenify@3.3.1: + resolution: {integrity: sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==} + thread-stream@0.15.2: resolution: {integrity: sha512-UkEhKIg2pD+fjkHQKyJO3yoIvAP3N6RlNFt2dUhcS1FGvCD1cQa1M/PGknCLFIyZdtJOWQjejp7bdNqmN7zwdA==} through2@4.0.2: resolution: {integrity: sha512-iOqSav00cVxEEICeD7TjLB1sueEL+81Wpzp2bY17uZjZN0pWZPuo4suZ/61VujxmqSGFfgOcNuTZ85QJwNZQpw==} + through@2.3.8: + resolution: {integrity: sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==} + + timeout-signal@2.0.0: + resolution: {integrity: sha512-YBGpG4bWsHoPvofT6y/5iqulfXIiIErl5B0LdtHT1mGXDFTAhhRrbUpTvBgYbovr+3cKblya2WAOcpoy90XguA==} + engines: {node: '>=16'} + tiny-warning@1.0.3: resolution: {integrity: sha512-lBN9zLN/oAf68o3zNXYrdCt1kP8WsiGW8Oo2ka41b2IM5JL/S1CTyX1rW0mb/zSuJun0ZUrDxx4sqvYS2FWzPA==} + tinybench@2.9.0: + resolution: {integrity: sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==} + tinyglobby@0.2.14: resolution: {integrity: sha512-tX5e7OM1HnYr2+a2C/4V0htOcSQcoSTH9KgJnVvNm5zm/cyEWKJ7j7YutsH9CxMdtOkkLFy2AHrMci9IM8IPZQ==} engines: {node: '>=12.0.0'} + tinypool@0.8.4: + resolution: {integrity: sha512-i11VH5gS6IFeLY3gMBQ00/MmLncVP7JLXOw1vlgkytLmJK7QnEr7NXf0LBdxfmNPAeyetukOk0bOYrJrFGjYJQ==} + engines: {node: '>=14.0.0'} + + tinyspy@2.2.1: + resolution: {integrity: sha512-KYad6Vy5VDWV4GH3fjpseMQ/XU2BhIYP7Vzd0LG44qRWm/Yt2WCOTicFdvmgo6gWaqooMQCawTtILVQJupKu7A==} + engines: {node: '>=14.0.0'} + + title-case@3.0.3: + resolution: {integrity: sha512-e1zGYRvbffpcHIrnuqT0Dh+gEJtDaxDSoG4JAIpq4oDFyooziLBIiYQv0GBT4FUAnUop5uZ1hiIAj7oAF6sOCA==} + tldts-core@6.1.86: resolution: {integrity: sha512-Je6p7pkk+KMzMv2XXKmAE3McmolOQFdxkKw0R8EYNr7sELW46JqnNeTX8ybPiQgvg1ymCoF8LXs5fzFaZvJPTA==} @@ -4380,6 +6062,13 @@ packages: tr46@0.0.3: resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==} + tr46@1.0.1: + resolution: {integrity: sha512-dTpowEjclQ7Kgx5SdBkqRzVhERQXov8/l9Ft9dVM9fmg0W0KQSVaXX9T4i6twCPNtYiZM53lpSSUAwJbFPOHxA==} + + tree-kill@1.2.2: + resolution: {integrity: sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==} + hasBin: true + ts-api-utils@2.1.0: resolution: {integrity: sha512-CUgTZL1irw8u29bzrOD/nH85jqyc74D6SshFgujOIA7osm2Rz7dYH77agkx7H4FBNxDq7Cjf+IjaX/8zwFW+ZQ==} engines: {node: '>=18.12'} @@ -4395,6 +6084,12 @@ packages: peerDependencies: typescript: '>=3.7.0' + ts-interface-checker@0.1.13: + resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==} + + ts-log@2.2.7: + resolution: {integrity: sha512-320x5Ggei84AxzlXp91QkIGSw5wgaLT6GeAH0KsqDmRZdVWW2OiSeVvElVoatk3f7nicwXlElXsoFkARiGE2yg==} + ts-node@10.9.2: resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==} hasBin: true @@ -4415,6 +6110,9 @@ packages: tslib@2.4.1: resolution: {integrity: sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA==} + tslib@2.6.3: + resolution: {integrity: sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==} + tslib@2.7.0: resolution: {integrity: sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==} @@ -4424,6 +6122,22 @@ packages: tsort@0.0.1: resolution: {integrity: sha512-Tyrf5mxF8Ofs1tNoxA13lFeZ2Zrbd6cKbuH3V+MQ5sb6DtBj5FjrXVsRWT8YvNAQTqNoz66dz1WsbigI22aEnw==} + tsup@6.7.0: + resolution: {integrity: sha512-L3o8hGkaHnu5TdJns+mCqFsDBo83bJ44rlK7e6VdanIvpea4ArPcU3swWGsLVbXak1PqQx/V+SSmFPujBK+zEQ==} + engines: {node: '>=14.18'} + hasBin: true + peerDependencies: + '@swc/core': ^1 + postcss: ^8.4.12 + typescript: '>=4.1.0' + peerDependenciesMeta: + '@swc/core': + optional: true + postcss: + optional: true + typescript: + optional: true + tsx@4.20.5: resolution: {integrity: sha512-+wKjMNU9w/EaQayHXb7WA7ZaHY6hN8WgfvHNQ3t1PnU91/7O8TcTnIhCDYTZwnt8JsO9IBqZ30Ln1r7pPF52Aw==} engines: {node: '>=18.0.0'} @@ -4522,6 +6236,10 @@ packages: resolution: {integrity: sha512-dvdQgNDNJo+8B2uBQoqdb11eUCE1JQXhvjC/CZtgvZseVd5TYMXnq0+vuUemXbd/Se29cTaUuPX3YIc2xgbvIg==} engines: {node: '>=8'} + ua-parser-js@1.0.41: + resolution: {integrity: sha512-LbBDqdIC5s8iROCUjMbW1f5dJQTEFB1+KO9ogbvlb3nm9n4YHa5p4KTvFPWvh2Hs8gZMBuiB1/8+pdfe/tDPug==} + hasBin: true + ufo@1.6.1: resolution: {integrity: sha512-9a4/uxlTWJ4+a5i0ooc1rU7C7YOw3wT+UGqdeNNHWnOF9qcMBgLRS+4IYUqbczewFx4mLEig6gawh7X6mFlEkA==} @@ -4536,6 +6254,10 @@ packages: uint8arrays@3.1.1: resolution: {integrity: sha512-+QJa8QRnbdXVpHYjLoTpJIdCTiw9Ir62nocClWuXIq2JIh4Uta0cQsTSpFL678p2CN8B+XSApwcU+pQEqVpKWg==} + unc-path-regex@0.1.2: + resolution: {integrity: sha512-eXL4nmJT7oCpkZsHZUOJo8hcX3GbsiDOa0Qu9F646fi8dT3XuSVopVqAcEiVzSKKH7UoDti23wNX3qGFxcW5Qg==} + engines: {node: '>=0.10.0'} + uncrypto@0.1.3: resolution: {integrity: sha512-Ql87qFHB3s/De2ClA9e0gsnS6zXG27SkTiSJwjCc9MebbfapQfuPzumMIUMi38ezPZVNFcHI9sUIepeQfw8J8Q==} @@ -4557,6 +6279,10 @@ packages: resolution: {integrity: sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==} engines: {node: '>= 10.0.0'} + unixify@1.0.0: + resolution: {integrity: sha512-6bc58dPYhCMHHuwxldQxO3RRNZ4eCogZ/st++0+fcC1nr0jiGUtAdBJ2qzmLQWSxbtz42pWt4QQMiZ9HvZf5cg==} + engines: {node: '>=0.10.0'} + unpipe@1.0.0: resolution: {integrity: sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==} engines: {node: '>= 0.8'} @@ -4629,9 +6355,18 @@ packages: peerDependencies: browserslist: '>= 4.21.0' + upper-case-first@2.0.2: + resolution: {integrity: sha512-514ppYHBaKwfJRK/pNC6c/OxfGa0obSnAl106u97Ed0I625Nin96KAjttZF6ZL3e1XLtphxnqrOi9iWgm+u+bg==} + + upper-case@2.0.2: + resolution: {integrity: sha512-KgdgDGJt2TpuwBUIjgG6lzw2GWFRCW9Qkfkiv0DxqHHLYJHmtmdUIKcZd8rHgFSjopVTlw6ggzCm1b8MFQwikg==} + uri-js@4.4.1: resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==} + urlpattern-polyfill@10.1.0: + resolution: {integrity: sha512-IGjKp/o0NL3Bso1PymYURCJxMPNAf/ILOpendP9f5B6e1rTJgdgiOvgfoT8VxCAdY+Wisb9uhGaJJf3yZ2V9nw==} + use-callback-ref@1.3.3: resolution: {integrity: sha512-jQL3lRnocaFtu3V00JToYz/4QkNWswxijDaCVNZRiRTO3HQDLsdu1ZtmIUvV4yPp+rvWm5j0y0TG/S61cuijTg==} engines: {node: '>=10'} @@ -4729,6 +6464,42 @@ packages: typescript: optional: true + vite-node@1.6.1: + resolution: {integrity: sha512-YAXkfvGtuTzwWbDSACdJSg4A4DZiAqckWe90Zapc/sEX3XvHcw1NdurM/6od8J207tSDqNbSsgdCacBgvJKFuA==} + engines: {node: ^18.0.0 || >=20.0.0} + hasBin: true + + vite@5.4.20: + resolution: {integrity: sha512-j3lYzGC3P+B5Yfy/pfKNgVEg4+UtcIJcVRt2cDjIOmhLourAqPqf8P7acgxeiSgUB7E3p2P8/3gNIgDLpwzs4g==} + engines: {node: ^18.0.0 || >=20.0.0} + hasBin: true + peerDependencies: + '@types/node': ^18.0.0 || >=20.0.0 + less: '*' + lightningcss: ^1.21.0 + sass: '*' + sass-embedded: '*' + stylus: '*' + sugarss: '*' + terser: ^5.4.0 + peerDependenciesMeta: + '@types/node': + optional: true + less: + optional: true + lightningcss: + optional: true + sass: + optional: true + sass-embedded: + optional: true + stylus: + optional: true + sugarss: + optional: true + terser: + optional: true + vite@7.1.4: resolution: {integrity: sha512-X5QFK4SGynAeeIt+A7ZWnApdUyHYm+pzv/8/A57LqSGcI88U6R6ipOs3uCesdc6yl7nl+zNO0t8LmqAdXcQihw==} engines: {node: ^20.19.0 || >=22.12.0} @@ -4769,6 +6540,31 @@ packages: yaml: optional: true + vitest@1.6.1: + resolution: {integrity: sha512-Ljb1cnSJSivGN0LqXd/zmDbWEM0RNNg2t1QW/XUhYl/qPqyu7CsqeWtqQXHVaJsecLPuDoak2oJcZN2QoRIOag==} + engines: {node: ^18.0.0 || >=20.0.0} + hasBin: true + peerDependencies: + '@edge-runtime/vm': '*' + '@types/node': ^18.0.0 || >=20.0.0 + '@vitest/browser': 1.6.1 + '@vitest/ui': 1.6.1 + happy-dom: '*' + jsdom: '*' + peerDependenciesMeta: + '@edge-runtime/vm': + optional: true + '@types/node': + optional: true + '@vitest/browser': + optional: true + '@vitest/ui': + optional: true + happy-dom: + optional: true + jsdom: + optional: true + void-elements@3.1.0: resolution: {integrity: sha512-Dhxzh5HZuiHQhbvTW9AMetFfBHDMYpo23Uo9btPXgdYP+3T5S+p+jgNy7spra+veYhBP2dCSgxR/i2Y02h5/6w==} engines: {node: '>=0.10.0'} @@ -4784,6 +6580,13 @@ packages: typescript: optional: true + wcwidth@1.0.1: + resolution: {integrity: sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==} + + web-streams-polyfill@3.3.3: + resolution: {integrity: sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw==} + engines: {node: '>= 8'} + web3-utils@1.10.4: resolution: {integrity: sha512-tsu8FiKJLk2PzhDl9fXbGUWTkkVXYhtTA+SmEFkKft+9BgwLxfCRpU96sWv7ICC8zixBNd3JURVoiR3dUXgP8A==} engines: {node: '>=8.0.0'} @@ -4794,9 +6597,19 @@ packages: webidl-conversions@3.0.1: resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==} + webidl-conversions@4.0.2: + resolution: {integrity: sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==} + + whatwg-mimetype@4.0.0: + resolution: {integrity: sha512-QaKxh0eNIi2mE9p2vEdzfagOKHCcj1pJ56EEHGQOVxp8r9/iszLUUV7v89x9O1p/T+NlTM5W7jW6+cz4Fq1YVg==} + engines: {node: '>=18'} + whatwg-url@5.0.0: resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==} + whatwg-url@7.1.0: + resolution: {integrity: sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==} + which-module@2.0.1: resolution: {integrity: sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ==} @@ -4813,6 +6626,11 @@ packages: engines: {node: '>= 8'} hasBin: true + why-is-node-running@2.3.0: + resolution: {integrity: sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w==} + engines: {node: '>=8'} + hasBin: true + widest-line@3.1.0: resolution: {integrity: sha512-NsmoXalsWVDMGupxZ5R08ka9flZjjiLvHVAWYOKtiKM8ujtZWr9cRffak+uSE48+Ob8ObalXpwyeUiyDD6QFgg==} engines: {node: '>=8'} @@ -4924,6 +6742,18 @@ packages: yallist@3.1.1: resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==} + yaml-ast-parser@0.0.43: + resolution: {integrity: sha512-2PTINUwsRqSd+s8XxKaJWQlUuEMHJQyEuh2edBbW8KNJz0SJPwUSD2zRWqezFEdN7IzAgeuYHFUCF7o8zRdZ0A==} + + yaml@1.10.2: + resolution: {integrity: sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==} + engines: {node: '>= 6'} + + yaml@2.8.1: + resolution: {integrity: sha512-lcYcMxX2PO9XMGvAJkJ3OsNMw+/7FKes7/hgerGUYWIoWu5j/+YQqcZr5JnPZWzOsEBgMbSbiSTn/dv/69Mkpw==} + engines: {node: '>= 14.6'} + hasBin: true + yargs-parser@18.1.3: resolution: {integrity: sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==} engines: {node: '>=6'} @@ -4932,6 +6762,10 @@ packages: resolution: {integrity: sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==} engines: {node: '>=10'} + yargs-parser@21.1.1: + resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==} + engines: {node: '>=12'} + yargs-unparser@2.0.0: resolution: {integrity: sha512-7pRTIA9Qc1caZ0bZ6RYRGbHJthJWuakf+WmHK0rVeLkNrrGhfoabBNdue6kdINI6r4if7ocq9aD/n7xwKOdzOA==} engines: {node: '>=10'} @@ -4944,6 +6778,10 @@ packages: resolution: {integrity: sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==} engines: {node: '>=10'} + yargs@17.7.2: + resolution: {integrity: sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==} + engines: {node: '>=12'} + yn@3.1.1: resolution: {integrity: sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==} engines: {node: '>=6'} @@ -4952,6 +6790,10 @@ packages: resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} engines: {node: '>=10'} + yocto-queue@1.2.1: + resolution: {integrity: sha512-AyeEbWOu/TAXdxlV9wmGcR0+yh2j3vYPGOECcIj2S7MkrLyC7ne+oye2BKTItt0ii2PHk4cDy+95+LshzbXnGg==} + engines: {node: '>=12.20'} + yup@0.32.11: resolution: {integrity: sha512-Z2Fe1bn+eLstG8DRR6FTavGD+MeAwyfmouhHsIUgaADz8jvFKbO/fXc2trJKZg+5EBjh4gGm3iU/t3onKlXHIg==} engines: {node: '>=10'} @@ -5013,6 +6855,12 @@ snapshots: graphql: 16.11.0 typescript: 5.8.3 + '@0no-co/graphqlsp@1.15.0(graphql@16.11.0)(typescript@5.9.2)': + dependencies: + '@gql.tada/internal': 1.0.8(graphql@16.11.0)(typescript@5.9.2) + graphql: 16.11.0 + typescript: 5.9.2 + '@adraffy/ens-normalize@1.10.1': {} '@adraffy/ens-normalize@1.11.0': {} @@ -5022,6 +6870,46 @@ snapshots: '@jridgewell/gen-mapping': 0.3.13 '@jridgewell/trace-mapping': 0.3.30 + '@ardatan/relay-compiler@12.0.0(encoding@0.1.13)(graphql@16.11.0)': + dependencies: + '@babel/core': 7.28.3 + '@babel/generator': 7.28.3 + '@babel/parser': 7.28.3 + '@babel/runtime': 7.28.3 + '@babel/traverse': 7.28.3 + '@babel/types': 7.28.2 + babel-preset-fbjs: 3.4.0(@babel/core@7.28.3) + chalk: 4.1.2 + fb-watchman: 2.0.2 + fbjs: 3.0.5(encoding@0.1.13) + glob: 7.2.3 + graphql: 16.11.0 + immutable: 3.7.6 + invariant: 2.2.4 + nullthrows: 1.1.1 + relay-runtime: 12.0.0(encoding@0.1.13) + signedsource: 1.0.0 + yargs: 15.4.1 + transitivePeerDependencies: + - encoding + - supports-color + + '@ardatan/relay-compiler@12.0.3(encoding@0.1.13)(graphql@16.11.0)': + dependencies: + '@babel/generator': 7.28.3 + '@babel/parser': 7.28.3 + '@babel/runtime': 7.28.3 + chalk: 4.1.2 + fb-watchman: 2.0.2 + graphql: 16.11.0 + immutable: 3.7.6 + invariant: 2.2.4 + nullthrows: 1.1.1 + relay-runtime: 12.0.0(encoding@0.1.13) + signedsource: 1.0.0 + transitivePeerDependencies: + - encoding + '@babel/code-frame@7.27.1': dependencies: '@babel/helper-validator-identifier': 7.27.1 @@ -5058,6 +6946,10 @@ snapshots: '@jridgewell/trace-mapping': 0.3.30 jsesc: 3.1.0 + '@babel/helper-annotate-as-pure@7.27.3': + dependencies: + '@babel/types': 7.28.2 + '@babel/helper-compilation-targets@7.27.2': dependencies: '@babel/compat-data': 7.28.0 @@ -5066,8 +6958,28 @@ snapshots: lru-cache: 5.1.1 semver: 6.3.1 + '@babel/helper-create-class-features-plugin@7.28.3(@babel/core@7.28.3)': + dependencies: + '@babel/core': 7.28.3 + '@babel/helper-annotate-as-pure': 7.27.3 + '@babel/helper-member-expression-to-functions': 7.27.1 + '@babel/helper-optimise-call-expression': 7.27.1 + '@babel/helper-replace-supers': 7.27.1(@babel/core@7.28.3) + '@babel/helper-skip-transparent-expression-wrappers': 7.27.1 + '@babel/traverse': 7.28.3 + semver: 6.3.1 + transitivePeerDependencies: + - supports-color + '@babel/helper-globals@7.28.0': {} + '@babel/helper-member-expression-to-functions@7.27.1': + dependencies: + '@babel/traverse': 7.28.3 + '@babel/types': 7.28.2 + transitivePeerDependencies: + - supports-color + '@babel/helper-module-imports@7.27.1': dependencies: '@babel/traverse': 7.28.3 @@ -5084,8 +6996,28 @@ snapshots: transitivePeerDependencies: - supports-color + '@babel/helper-optimise-call-expression@7.27.1': + dependencies: + '@babel/types': 7.28.2 + '@babel/helper-plugin-utils@7.27.1': {} + '@babel/helper-replace-supers@7.27.1(@babel/core@7.28.3)': + dependencies: + '@babel/core': 7.28.3 + '@babel/helper-member-expression-to-functions': 7.27.1 + '@babel/helper-optimise-call-expression': 7.27.1 + '@babel/traverse': 7.28.4 + transitivePeerDependencies: + - supports-color + + '@babel/helper-skip-transparent-expression-wrappers@7.27.1': + dependencies: + '@babel/traverse': 7.28.3 + '@babel/types': 7.28.2 + transitivePeerDependencies: + - supports-color + '@babel/helper-string-parser@7.27.1': {} '@babel/helper-validator-identifier@7.27.1': {} @@ -5101,21 +7033,201 @@ snapshots: dependencies: '@babel/types': 7.28.2 - '@babel/plugin-transform-react-jsx-self@7.27.1(@babel/core@7.28.3)': + '@babel/parser@7.28.4': + dependencies: + '@babel/types': 7.28.4 + + '@babel/plugin-proposal-class-properties@7.18.6(@babel/core@7.28.3)': dependencies: '@babel/core': 7.28.3 + '@babel/helper-create-class-features-plugin': 7.28.3(@babel/core@7.28.3) '@babel/helper-plugin-utils': 7.27.1 + transitivePeerDependencies: + - supports-color - '@babel/plugin-transform-react-jsx-source@7.27.1(@babel/core@7.28.3)': + '@babel/plugin-proposal-object-rest-spread@7.20.7(@babel/core@7.28.3)': dependencies: + '@babel/compat-data': 7.28.0 '@babel/core': 7.28.3 + '@babel/helper-compilation-targets': 7.27.2 '@babel/helper-plugin-utils': 7.27.1 + '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.28.3) + '@babel/plugin-transform-parameters': 7.27.7(@babel/core@7.28.3) - '@babel/runtime@7.28.3': {} + '@babel/plugin-syntax-class-properties@7.12.13(@babel/core@7.28.3)': + dependencies: + '@babel/core': 7.28.3 + '@babel/helper-plugin-utils': 7.27.1 - '@babel/template@7.27.2': + '@babel/plugin-syntax-flow@7.27.1(@babel/core@7.28.3)': dependencies: - '@babel/code-frame': 7.27.1 + '@babel/core': 7.28.3 + '@babel/helper-plugin-utils': 7.27.1 + + '@babel/plugin-syntax-import-assertions@7.27.1(@babel/core@7.28.3)': + dependencies: + '@babel/core': 7.28.3 + '@babel/helper-plugin-utils': 7.27.1 + + '@babel/plugin-syntax-jsx@7.27.1(@babel/core@7.28.3)': + dependencies: + '@babel/core': 7.28.3 + '@babel/helper-plugin-utils': 7.27.1 + + '@babel/plugin-syntax-object-rest-spread@7.8.3(@babel/core@7.28.3)': + dependencies: + '@babel/core': 7.28.3 + '@babel/helper-plugin-utils': 7.27.1 + + '@babel/plugin-transform-arrow-functions@7.27.1(@babel/core@7.28.3)': + dependencies: + '@babel/core': 7.28.3 + '@babel/helper-plugin-utils': 7.27.1 + + '@babel/plugin-transform-block-scoped-functions@7.27.1(@babel/core@7.28.3)': + dependencies: + '@babel/core': 7.28.3 + '@babel/helper-plugin-utils': 7.27.1 + + '@babel/plugin-transform-block-scoping@7.28.4(@babel/core@7.28.3)': + dependencies: + '@babel/core': 7.28.3 + '@babel/helper-plugin-utils': 7.27.1 + + '@babel/plugin-transform-classes@7.28.4(@babel/core@7.28.3)': + dependencies: + '@babel/core': 7.28.3 + '@babel/helper-annotate-as-pure': 7.27.3 + '@babel/helper-compilation-targets': 7.27.2 + '@babel/helper-globals': 7.28.0 + '@babel/helper-plugin-utils': 7.27.1 + '@babel/helper-replace-supers': 7.27.1(@babel/core@7.28.3) + '@babel/traverse': 7.28.4 + transitivePeerDependencies: + - supports-color + + '@babel/plugin-transform-computed-properties@7.27.1(@babel/core@7.28.3)': + dependencies: + '@babel/core': 7.28.3 + '@babel/helper-plugin-utils': 7.27.1 + '@babel/template': 7.27.2 + + '@babel/plugin-transform-destructuring@7.28.0(@babel/core@7.28.3)': + dependencies: + '@babel/core': 7.28.3 + '@babel/helper-plugin-utils': 7.27.1 + '@babel/traverse': 7.28.3 + transitivePeerDependencies: + - supports-color + + '@babel/plugin-transform-flow-strip-types@7.27.1(@babel/core@7.28.3)': + dependencies: + '@babel/core': 7.28.3 + '@babel/helper-plugin-utils': 7.27.1 + '@babel/plugin-syntax-flow': 7.27.1(@babel/core@7.28.3) + + '@babel/plugin-transform-for-of@7.27.1(@babel/core@7.28.3)': + dependencies: + '@babel/core': 7.28.3 + '@babel/helper-plugin-utils': 7.27.1 + '@babel/helper-skip-transparent-expression-wrappers': 7.27.1 + transitivePeerDependencies: + - supports-color + + '@babel/plugin-transform-function-name@7.27.1(@babel/core@7.28.3)': + dependencies: + '@babel/core': 7.28.3 + '@babel/helper-compilation-targets': 7.27.2 + '@babel/helper-plugin-utils': 7.27.1 + '@babel/traverse': 7.28.3 + transitivePeerDependencies: + - supports-color + + '@babel/plugin-transform-literals@7.27.1(@babel/core@7.28.3)': + dependencies: + '@babel/core': 7.28.3 + '@babel/helper-plugin-utils': 7.27.1 + + '@babel/plugin-transform-member-expression-literals@7.27.1(@babel/core@7.28.3)': + dependencies: + '@babel/core': 7.28.3 + '@babel/helper-plugin-utils': 7.27.1 + + '@babel/plugin-transform-modules-commonjs@7.27.1(@babel/core@7.28.3)': + dependencies: + '@babel/core': 7.28.3 + '@babel/helper-module-transforms': 7.28.3(@babel/core@7.28.3) + '@babel/helper-plugin-utils': 7.27.1 + transitivePeerDependencies: + - supports-color + + '@babel/plugin-transform-object-super@7.27.1(@babel/core@7.28.3)': + dependencies: + '@babel/core': 7.28.3 + '@babel/helper-plugin-utils': 7.27.1 + '@babel/helper-replace-supers': 7.27.1(@babel/core@7.28.3) + transitivePeerDependencies: + - supports-color + + '@babel/plugin-transform-parameters@7.27.7(@babel/core@7.28.3)': + dependencies: + '@babel/core': 7.28.3 + '@babel/helper-plugin-utils': 7.27.1 + + '@babel/plugin-transform-property-literals@7.27.1(@babel/core@7.28.3)': + dependencies: + '@babel/core': 7.28.3 + '@babel/helper-plugin-utils': 7.27.1 + + '@babel/plugin-transform-react-display-name@7.28.0(@babel/core@7.28.3)': + dependencies: + '@babel/core': 7.28.3 + '@babel/helper-plugin-utils': 7.27.1 + + '@babel/plugin-transform-react-jsx-self@7.27.1(@babel/core@7.28.3)': + dependencies: + '@babel/core': 7.28.3 + '@babel/helper-plugin-utils': 7.27.1 + + '@babel/plugin-transform-react-jsx-source@7.27.1(@babel/core@7.28.3)': + dependencies: + '@babel/core': 7.28.3 + '@babel/helper-plugin-utils': 7.27.1 + + '@babel/plugin-transform-react-jsx@7.27.1(@babel/core@7.28.3)': + dependencies: + '@babel/core': 7.28.3 + '@babel/helper-annotate-as-pure': 7.27.3 + '@babel/helper-module-imports': 7.27.1 + '@babel/helper-plugin-utils': 7.27.1 + '@babel/plugin-syntax-jsx': 7.27.1(@babel/core@7.28.3) + '@babel/types': 7.28.2 + transitivePeerDependencies: + - supports-color + + '@babel/plugin-transform-shorthand-properties@7.27.1(@babel/core@7.28.3)': + dependencies: + '@babel/core': 7.28.3 + '@babel/helper-plugin-utils': 7.27.1 + + '@babel/plugin-transform-spread@7.27.1(@babel/core@7.28.3)': + dependencies: + '@babel/core': 7.28.3 + '@babel/helper-plugin-utils': 7.27.1 + '@babel/helper-skip-transparent-expression-wrappers': 7.27.1 + transitivePeerDependencies: + - supports-color + + '@babel/plugin-transform-template-literals@7.27.1(@babel/core@7.28.3)': + dependencies: + '@babel/core': 7.28.3 + '@babel/helper-plugin-utils': 7.27.1 + + '@babel/runtime@7.28.3': {} + + '@babel/template@7.27.2': + dependencies: + '@babel/code-frame': 7.27.1 '@babel/parser': 7.28.3 '@babel/types': 7.28.2 @@ -5131,11 +7243,28 @@ snapshots: transitivePeerDependencies: - supports-color + '@babel/traverse@7.28.4': + dependencies: + '@babel/code-frame': 7.27.1 + '@babel/generator': 7.28.3 + '@babel/helper-globals': 7.28.0 + '@babel/parser': 7.28.4 + '@babel/template': 7.27.2 + '@babel/types': 7.28.4 + debug: 4.4.1(supports-color@8.1.1) + transitivePeerDependencies: + - supports-color + '@babel/types@7.28.2': dependencies: '@babel/helper-string-parser': 7.27.1 '@babel/helper-validator-identifier': 7.27.1 + '@babel/types@7.28.4': + dependencies: + '@babel/helper-string-parser': 7.27.1 + '@babel/helper-validator-identifier': 7.27.1 + '@base-org/account@1.1.1(@types/react@19.1.12)(bufferutil@4.0.9)(immer@10.0.2)(react@19.1.1)(typescript@5.8.3)(use-sync-external-store@1.4.0(react@19.1.1))(utf-8-validate@5.0.10)(zod@3.25.76)': dependencies: '@noble/hashes': 1.4.0 @@ -5634,87 +7763,239 @@ snapshots: tslib: 2.8.1 optional: true + '@envelop/core@5.3.2': + dependencies: + '@envelop/instrumentation': 1.0.0 + '@envelop/types': 5.2.1 + '@whatwg-node/promise-helpers': 1.3.2 + tslib: 2.8.1 + + '@envelop/instrumentation@1.0.0': + dependencies: + '@whatwg-node/promise-helpers': 1.3.2 + tslib: 2.8.1 + + '@envelop/types@5.2.1': + dependencies: + '@whatwg-node/promise-helpers': 1.3.2 + tslib: 2.8.1 + + '@esbuild/aix-ppc64@0.21.5': + optional: true + '@esbuild/aix-ppc64@0.25.9': optional: true + '@esbuild/android-arm64@0.17.19': + optional: true + + '@esbuild/android-arm64@0.21.5': + optional: true + '@esbuild/android-arm64@0.25.9': optional: true + '@esbuild/android-arm@0.17.19': + optional: true + + '@esbuild/android-arm@0.21.5': + optional: true + '@esbuild/android-arm@0.25.9': optional: true + '@esbuild/android-x64@0.17.19': + optional: true + + '@esbuild/android-x64@0.21.5': + optional: true + '@esbuild/android-x64@0.25.9': optional: true + '@esbuild/darwin-arm64@0.17.19': + optional: true + + '@esbuild/darwin-arm64@0.21.5': + optional: true + '@esbuild/darwin-arm64@0.25.9': optional: true + '@esbuild/darwin-x64@0.17.19': + optional: true + + '@esbuild/darwin-x64@0.21.5': + optional: true + '@esbuild/darwin-x64@0.25.9': optional: true + '@esbuild/freebsd-arm64@0.17.19': + optional: true + + '@esbuild/freebsd-arm64@0.21.5': + optional: true + '@esbuild/freebsd-arm64@0.25.9': optional: true + '@esbuild/freebsd-x64@0.17.19': + optional: true + + '@esbuild/freebsd-x64@0.21.5': + optional: true + '@esbuild/freebsd-x64@0.25.9': optional: true + '@esbuild/linux-arm64@0.17.19': + optional: true + + '@esbuild/linux-arm64@0.21.5': + optional: true + '@esbuild/linux-arm64@0.25.9': optional: true + '@esbuild/linux-arm@0.17.19': + optional: true + + '@esbuild/linux-arm@0.21.5': + optional: true + '@esbuild/linux-arm@0.25.9': optional: true + '@esbuild/linux-ia32@0.17.19': + optional: true + + '@esbuild/linux-ia32@0.21.5': + optional: true + '@esbuild/linux-ia32@0.25.9': optional: true + '@esbuild/linux-loong64@0.17.19': + optional: true + + '@esbuild/linux-loong64@0.21.5': + optional: true + '@esbuild/linux-loong64@0.25.9': optional: true + '@esbuild/linux-mips64el@0.17.19': + optional: true + + '@esbuild/linux-mips64el@0.21.5': + optional: true + '@esbuild/linux-mips64el@0.25.9': optional: true + '@esbuild/linux-ppc64@0.17.19': + optional: true + + '@esbuild/linux-ppc64@0.21.5': + optional: true + '@esbuild/linux-ppc64@0.25.9': optional: true + '@esbuild/linux-riscv64@0.17.19': + optional: true + + '@esbuild/linux-riscv64@0.21.5': + optional: true + '@esbuild/linux-riscv64@0.25.9': optional: true + '@esbuild/linux-s390x@0.17.19': + optional: true + + '@esbuild/linux-s390x@0.21.5': + optional: true + '@esbuild/linux-s390x@0.25.9': optional: true + '@esbuild/linux-x64@0.17.19': + optional: true + + '@esbuild/linux-x64@0.21.5': + optional: true + '@esbuild/linux-x64@0.25.9': optional: true '@esbuild/netbsd-arm64@0.25.9': optional: true + '@esbuild/netbsd-x64@0.17.19': + optional: true + + '@esbuild/netbsd-x64@0.21.5': + optional: true + '@esbuild/netbsd-x64@0.25.9': optional: true '@esbuild/openbsd-arm64@0.25.9': optional: true + '@esbuild/openbsd-x64@0.17.19': + optional: true + + '@esbuild/openbsd-x64@0.21.5': + optional: true + '@esbuild/openbsd-x64@0.25.9': optional: true '@esbuild/openharmony-arm64@0.25.9': optional: true + '@esbuild/sunos-x64@0.17.19': + optional: true + + '@esbuild/sunos-x64@0.21.5': + optional: true + '@esbuild/sunos-x64@0.25.9': optional: true + '@esbuild/win32-arm64@0.17.19': + optional: true + + '@esbuild/win32-arm64@0.21.5': + optional: true + '@esbuild/win32-arm64@0.25.9': optional: true + '@esbuild/win32-ia32@0.17.19': + optional: true + + '@esbuild/win32-ia32@0.21.5': + optional: true + '@esbuild/win32-ia32@0.25.9': optional: true + '@esbuild/win32-x64@0.17.19': + optional: true + + '@esbuild/win32-x64@0.21.5': + optional: true + '@esbuild/win32-x64@0.25.9': optional: true - '@eslint-community/eslint-utils@4.8.0(eslint@9.34.0)': + '@eslint-community/eslint-utils@4.8.0(eslint@9.34.0(jiti@2.6.1))': dependencies: - eslint: 9.34.0 + eslint: 9.34.0(jiti@2.6.1) eslint-visitor-keys: 3.4.3 '@eslint-community/regexpp@4.12.1': {} @@ -5765,183 +8046,733 @@ snapshots: '@ethereumjs/rlp@5.0.2': {} - '@ethereumjs/tx@4.2.0': + '@ethereumjs/tx@4.2.0': + dependencies: + '@ethereumjs/common': 3.2.0 + '@ethereumjs/rlp': 4.0.1 + '@ethereumjs/util': 8.1.0 + ethereum-cryptography: 2.2.1 + + '@ethereumjs/util@8.1.0': + dependencies: + '@ethereumjs/rlp': 4.0.1 + ethereum-cryptography: 2.2.1 + micro-ftch: 0.3.1 + + '@ethereumjs/util@9.1.0': + dependencies: + '@ethereumjs/rlp': 5.0.2 + ethereum-cryptography: 2.2.1 + + '@ethersproject/abi@5.8.0': + dependencies: + '@ethersproject/address': 5.8.0 + '@ethersproject/bignumber': 5.8.0 + '@ethersproject/bytes': 5.8.0 + '@ethersproject/constants': 5.8.0 + '@ethersproject/hash': 5.8.0 + '@ethersproject/keccak256': 5.8.0 + '@ethersproject/logger': 5.8.0 + '@ethersproject/properties': 5.8.0 + '@ethersproject/strings': 5.8.0 + + '@ethersproject/abstract-provider@5.8.0': + dependencies: + '@ethersproject/bignumber': 5.8.0 + '@ethersproject/bytes': 5.8.0 + '@ethersproject/logger': 5.8.0 + '@ethersproject/networks': 5.8.0 + '@ethersproject/properties': 5.8.0 + '@ethersproject/transactions': 5.8.0 + '@ethersproject/web': 5.8.0 + + '@ethersproject/abstract-signer@5.8.0': + dependencies: + '@ethersproject/abstract-provider': 5.8.0 + '@ethersproject/bignumber': 5.8.0 + '@ethersproject/bytes': 5.8.0 + '@ethersproject/logger': 5.8.0 + '@ethersproject/properties': 5.8.0 + + '@ethersproject/address@5.6.1': + dependencies: + '@ethersproject/bignumber': 5.8.0 + '@ethersproject/bytes': 5.8.0 + '@ethersproject/keccak256': 5.8.0 + '@ethersproject/logger': 5.8.0 + '@ethersproject/rlp': 5.8.0 + + '@ethersproject/address@5.8.0': + dependencies: + '@ethersproject/bignumber': 5.8.0 + '@ethersproject/bytes': 5.8.0 + '@ethersproject/keccak256': 5.8.0 + '@ethersproject/logger': 5.8.0 + '@ethersproject/rlp': 5.8.0 + + '@ethersproject/base64@5.8.0': + dependencies: + '@ethersproject/bytes': 5.8.0 + + '@ethersproject/bignumber@5.8.0': + dependencies: + '@ethersproject/bytes': 5.8.0 + '@ethersproject/logger': 5.8.0 + bn.js: 5.2.2 + + '@ethersproject/bytes@5.8.0': + dependencies: + '@ethersproject/logger': 5.8.0 + + '@ethersproject/constants@5.8.0': + dependencies: + '@ethersproject/bignumber': 5.8.0 + + '@ethersproject/hash@5.8.0': + dependencies: + '@ethersproject/abstract-signer': 5.8.0 + '@ethersproject/address': 5.8.0 + '@ethersproject/base64': 5.8.0 + '@ethersproject/bignumber': 5.8.0 + '@ethersproject/bytes': 5.8.0 + '@ethersproject/keccak256': 5.8.0 + '@ethersproject/logger': 5.8.0 + '@ethersproject/properties': 5.8.0 + '@ethersproject/strings': 5.8.0 + + '@ethersproject/keccak256@5.8.0': + dependencies: + '@ethersproject/bytes': 5.8.0 + js-sha3: 0.8.0 + + '@ethersproject/logger@5.8.0': {} + + '@ethersproject/networks@5.8.0': + dependencies: + '@ethersproject/logger': 5.8.0 + + '@ethersproject/properties@5.8.0': + dependencies: + '@ethersproject/logger': 5.8.0 + + '@ethersproject/rlp@5.8.0': + dependencies: + '@ethersproject/bytes': 5.8.0 + '@ethersproject/logger': 5.8.0 + + '@ethersproject/signing-key@5.8.0': + dependencies: + '@ethersproject/bytes': 5.8.0 + '@ethersproject/logger': 5.8.0 + '@ethersproject/properties': 5.8.0 + bn.js: 5.2.2 + elliptic: 6.6.1 + hash.js: 1.1.7 + + '@ethersproject/strings@5.8.0': + dependencies: + '@ethersproject/bytes': 5.8.0 + '@ethersproject/constants': 5.8.0 + '@ethersproject/logger': 5.8.0 + + '@ethersproject/transactions@5.8.0': + dependencies: + '@ethersproject/address': 5.8.0 + '@ethersproject/bignumber': 5.8.0 + '@ethersproject/bytes': 5.8.0 + '@ethersproject/constants': 5.8.0 + '@ethersproject/keccak256': 5.8.0 + '@ethersproject/logger': 5.8.0 + '@ethersproject/properties': 5.8.0 + '@ethersproject/rlp': 5.8.0 + '@ethersproject/signing-key': 5.8.0 + + '@ethersproject/units@5.8.0': + dependencies: + '@ethersproject/bignumber': 5.8.0 + '@ethersproject/constants': 5.8.0 + '@ethersproject/logger': 5.8.0 + + '@ethersproject/web@5.8.0': + dependencies: + '@ethersproject/base64': 5.8.0 + '@ethersproject/bytes': 5.8.0 + '@ethersproject/logger': 5.8.0 + '@ethersproject/properties': 5.8.0 + '@ethersproject/strings': 5.8.0 + + '@fastify/busboy@2.1.1': {} + + '@fastify/busboy@3.2.0': {} + + '@gemini-wallet/core@0.2.0(viem@2.37.2(bufferutil@4.0.9)(typescript@5.8.3)(utf-8-validate@5.0.10)(zod@3.25.76))': + dependencies: + '@metamask/rpc-errors': 7.0.2 + eventemitter3: 5.0.1 + viem: 2.37.2(bufferutil@4.0.9)(typescript@5.8.3)(utf-8-validate@5.0.10)(zod@3.25.76) + transitivePeerDependencies: + - supports-color + + '@gql.tada/cli-utils@1.7.1(@0no-co/graphqlsp@1.15.0(graphql@16.11.0)(typescript@5.8.3))(graphql@16.11.0)(typescript@5.8.3)': + dependencies: + '@0no-co/graphqlsp': 1.15.0(graphql@16.11.0)(typescript@5.8.3) + '@gql.tada/internal': 1.0.8(graphql@16.11.0)(typescript@5.8.3) + graphql: 16.11.0 + typescript: 5.8.3 + + '@gql.tada/internal@1.0.8(graphql@16.11.0)(typescript@5.8.3)': + dependencies: + '@0no-co/graphql.web': 1.2.0(graphql@16.11.0) + graphql: 16.11.0 + typescript: 5.8.3 + + '@gql.tada/internal@1.0.8(graphql@16.11.0)(typescript@5.9.2)': + dependencies: + '@0no-co/graphql.web': 1.2.0(graphql@16.11.0) + graphql: 16.11.0 + typescript: 5.9.2 + + '@graphql-codegen/add@5.0.3(graphql@16.11.0)': + dependencies: + '@graphql-codegen/plugin-helpers': 5.1.1(graphql@16.11.0) + graphql: 16.11.0 + tslib: 2.6.3 + + '@graphql-codegen/cli@5.0.7(@parcel/watcher@2.5.1)(@types/node@24.3.0)(bufferutil@4.0.9)(crossws@0.3.5)(encoding@0.1.13)(enquirer@2.4.1)(graphql@16.11.0)(typescript@5.9.2)(utf-8-validate@5.0.10)': + dependencies: + '@babel/generator': 7.28.3 + '@babel/template': 7.27.2 + '@babel/types': 7.28.2 + '@graphql-codegen/client-preset': 4.8.3(encoding@0.1.13)(graphql@16.11.0) + '@graphql-codegen/core': 4.0.2(graphql@16.11.0) + '@graphql-codegen/plugin-helpers': 5.1.1(graphql@16.11.0) + '@graphql-tools/apollo-engine-loader': 8.0.22(graphql@16.11.0) + '@graphql-tools/code-file-loader': 8.1.22(graphql@16.11.0) + '@graphql-tools/git-loader': 8.0.26(graphql@16.11.0) + '@graphql-tools/github-loader': 8.0.22(@types/node@24.3.0)(graphql@16.11.0) + '@graphql-tools/graphql-file-loader': 8.1.2(graphql@16.11.0) + '@graphql-tools/json-file-loader': 8.0.20(graphql@16.11.0) + '@graphql-tools/load': 8.1.2(graphql@16.11.0) + '@graphql-tools/prisma-loader': 8.0.17(@types/node@24.3.0)(bufferutil@4.0.9)(crossws@0.3.5)(encoding@0.1.13)(graphql@16.11.0)(utf-8-validate@5.0.10) + '@graphql-tools/url-loader': 8.0.33(@types/node@24.3.0)(bufferutil@4.0.9)(crossws@0.3.5)(graphql@16.11.0)(utf-8-validate@5.0.10) + '@graphql-tools/utils': 10.9.1(graphql@16.11.0) + '@whatwg-node/fetch': 0.10.11 + chalk: 4.1.2 + cosmiconfig: 8.3.6(typescript@5.9.2) + debounce: 1.2.1 + detect-indent: 6.1.0 + graphql: 16.11.0 + graphql-config: 5.1.5(@types/node@24.3.0)(bufferutil@4.0.9)(crossws@0.3.5)(graphql@16.11.0)(typescript@5.9.2)(utf-8-validate@5.0.10) + inquirer: 8.2.7(@types/node@24.3.0) + is-glob: 4.0.3 + jiti: 1.21.7 + json-to-pretty-yaml: 1.2.2 + listr2: 4.0.5(enquirer@2.4.1) + log-symbols: 4.1.0 + micromatch: 4.0.8 + shell-quote: 1.8.3 + string-env-interpolation: 1.0.1 + ts-log: 2.2.7 + tslib: 2.8.1 + yaml: 2.8.1 + yargs: 17.7.2 + optionalDependencies: + '@parcel/watcher': 2.5.1 + transitivePeerDependencies: + - '@fastify/websocket' + - '@types/node' + - bufferutil + - cosmiconfig-toml-loader + - crossws + - encoding + - enquirer + - graphql-sock + - supports-color + - typescript + - uWebSockets.js + - utf-8-validate + + '@graphql-codegen/client-preset@4.8.3(encoding@0.1.13)(graphql@16.11.0)': + dependencies: + '@babel/helper-plugin-utils': 7.27.1 + '@babel/template': 7.27.2 + '@graphql-codegen/add': 5.0.3(graphql@16.11.0) + '@graphql-codegen/gql-tag-operations': 4.0.17(encoding@0.1.13)(graphql@16.11.0) + '@graphql-codegen/plugin-helpers': 5.1.1(graphql@16.11.0) + '@graphql-codegen/typed-document-node': 5.1.2(encoding@0.1.13)(graphql@16.11.0) + '@graphql-codegen/typescript': 4.1.6(encoding@0.1.13)(graphql@16.11.0) + '@graphql-codegen/typescript-operations': 4.6.1(encoding@0.1.13)(graphql@16.11.0) + '@graphql-codegen/visitor-plugin-common': 5.8.0(encoding@0.1.13)(graphql@16.11.0) + '@graphql-tools/documents': 1.0.1(graphql@16.11.0) + '@graphql-tools/utils': 10.9.1(graphql@16.11.0) + '@graphql-typed-document-node/core': 3.2.0(graphql@16.11.0) + graphql: 16.11.0 + tslib: 2.6.3 + transitivePeerDependencies: + - encoding + + '@graphql-codegen/core@4.0.2(graphql@16.11.0)': + dependencies: + '@graphql-codegen/plugin-helpers': 5.1.1(graphql@16.11.0) + '@graphql-tools/schema': 10.0.25(graphql@16.11.0) + '@graphql-tools/utils': 10.9.1(graphql@16.11.0) + graphql: 16.11.0 + tslib: 2.6.3 + + '@graphql-codegen/gql-tag-operations@4.0.17(encoding@0.1.13)(graphql@16.11.0)': + dependencies: + '@graphql-codegen/plugin-helpers': 5.1.1(graphql@16.11.0) + '@graphql-codegen/visitor-plugin-common': 5.8.0(encoding@0.1.13)(graphql@16.11.0) + '@graphql-tools/utils': 10.9.1(graphql@16.11.0) + auto-bind: 4.0.0 + graphql: 16.11.0 + tslib: 2.6.3 + transitivePeerDependencies: + - encoding + + '@graphql-codegen/introspection@4.0.3(encoding@0.1.13)(graphql@16.11.0)': + dependencies: + '@graphql-codegen/plugin-helpers': 5.1.1(graphql@16.11.0) + '@graphql-codegen/visitor-plugin-common': 5.8.0(encoding@0.1.13)(graphql@16.11.0) + graphql: 16.11.0 + tslib: 2.6.3 + transitivePeerDependencies: + - encoding + + '@graphql-codegen/plugin-helpers@3.1.2(graphql@16.11.0)': + dependencies: + '@graphql-tools/utils': 9.2.1(graphql@16.11.0) + change-case-all: 1.0.15 + common-tags: 1.8.2 + graphql: 16.11.0 + import-from: 4.0.0 + lodash: 4.17.21 + tslib: 2.4.1 + + '@graphql-codegen/plugin-helpers@5.1.1(graphql@16.11.0)': + dependencies: + '@graphql-tools/utils': 10.9.1(graphql@16.11.0) + change-case-all: 1.0.15 + common-tags: 1.8.2 + graphql: 16.11.0 + import-from: 4.0.0 + lodash: 4.17.21 + tslib: 2.6.3 + + '@graphql-codegen/schema-ast@4.1.0(graphql@16.11.0)': + dependencies: + '@graphql-codegen/plugin-helpers': 5.1.1(graphql@16.11.0) + '@graphql-tools/utils': 10.9.1(graphql@16.11.0) + graphql: 16.11.0 + tslib: 2.6.3 + + '@graphql-codegen/typed-document-node@5.1.2(encoding@0.1.13)(graphql@16.11.0)': + dependencies: + '@graphql-codegen/plugin-helpers': 5.1.1(graphql@16.11.0) + '@graphql-codegen/visitor-plugin-common': 5.8.0(encoding@0.1.13)(graphql@16.11.0) + auto-bind: 4.0.0 + change-case-all: 1.0.15 + graphql: 16.11.0 + tslib: 2.6.3 + transitivePeerDependencies: + - encoding + + '@graphql-codegen/typescript-document-nodes@4.0.16(encoding@0.1.13)(graphql@16.11.0)': + dependencies: + '@graphql-codegen/plugin-helpers': 5.1.1(graphql@16.11.0) + '@graphql-codegen/visitor-plugin-common': 5.8.0(encoding@0.1.13)(graphql@16.11.0) + auto-bind: 4.0.0 + graphql: 16.11.0 + tslib: 2.6.3 + transitivePeerDependencies: + - encoding + + '@graphql-codegen/typescript-operations@4.6.1(encoding@0.1.13)(graphql@16.11.0)': + dependencies: + '@graphql-codegen/plugin-helpers': 5.1.1(graphql@16.11.0) + '@graphql-codegen/typescript': 4.1.6(encoding@0.1.13)(graphql@16.11.0) + '@graphql-codegen/visitor-plugin-common': 5.8.0(encoding@0.1.13)(graphql@16.11.0) + auto-bind: 4.0.0 + graphql: 16.11.0 + tslib: 2.6.3 + transitivePeerDependencies: + - encoding + + '@graphql-codegen/typescript-react-apollo@4.3.3(encoding@0.1.13)(graphql@16.11.0)': + dependencies: + '@graphql-codegen/plugin-helpers': 3.1.2(graphql@16.11.0) + '@graphql-codegen/visitor-plugin-common': 2.13.8(encoding@0.1.13)(graphql@16.11.0) + auto-bind: 4.0.0 + change-case-all: 1.0.15 + graphql: 16.11.0 + tslib: 2.8.1 + transitivePeerDependencies: + - encoding + - supports-color + + '@graphql-codegen/typescript-react-query@6.1.1(encoding@0.1.13)(graphql@16.11.0)': + dependencies: + '@graphql-codegen/plugin-helpers': 3.1.2(graphql@16.11.0) + '@graphql-codegen/visitor-plugin-common': 2.13.8(encoding@0.1.13)(graphql@16.11.0) + auto-bind: 4.0.0 + change-case-all: 1.0.15 + graphql: 16.11.0 + tslib: 2.8.1 + transitivePeerDependencies: + - encoding + - supports-color + + '@graphql-codegen/typescript@4.1.6(encoding@0.1.13)(graphql@16.11.0)': + dependencies: + '@graphql-codegen/plugin-helpers': 5.1.1(graphql@16.11.0) + '@graphql-codegen/schema-ast': 4.1.0(graphql@16.11.0) + '@graphql-codegen/visitor-plugin-common': 5.8.0(encoding@0.1.13)(graphql@16.11.0) + auto-bind: 4.0.0 + graphql: 16.11.0 + tslib: 2.6.3 + transitivePeerDependencies: + - encoding + + '@graphql-codegen/visitor-plugin-common@2.13.8(encoding@0.1.13)(graphql@16.11.0)': + dependencies: + '@graphql-codegen/plugin-helpers': 3.1.2(graphql@16.11.0) + '@graphql-tools/optimize': 1.4.0(graphql@16.11.0) + '@graphql-tools/relay-operation-optimizer': 6.5.18(encoding@0.1.13)(graphql@16.11.0) + '@graphql-tools/utils': 9.2.1(graphql@16.11.0) + auto-bind: 4.0.0 + change-case-all: 1.0.15 + dependency-graph: 0.11.0 + graphql: 16.11.0 + graphql-tag: 2.12.6(graphql@16.11.0) + parse-filepath: 1.0.2 + tslib: 2.4.1 + transitivePeerDependencies: + - encoding + - supports-color + + '@graphql-codegen/visitor-plugin-common@5.8.0(encoding@0.1.13)(graphql@16.11.0)': + dependencies: + '@graphql-codegen/plugin-helpers': 5.1.1(graphql@16.11.0) + '@graphql-tools/optimize': 2.0.0(graphql@16.11.0) + '@graphql-tools/relay-operation-optimizer': 7.0.21(encoding@0.1.13)(graphql@16.11.0) + '@graphql-tools/utils': 10.9.1(graphql@16.11.0) + auto-bind: 4.0.0 + change-case-all: 1.0.15 + dependency-graph: 0.11.0 + graphql: 16.11.0 + graphql-tag: 2.12.6(graphql@16.11.0) + parse-filepath: 1.0.2 + tslib: 2.6.3 + transitivePeerDependencies: + - encoding + + '@graphql-hive/signal@1.0.0': {} + + '@graphql-tools/apollo-engine-loader@8.0.22(graphql@16.11.0)': + dependencies: + '@graphql-tools/utils': 10.9.1(graphql@16.11.0) + '@whatwg-node/fetch': 0.10.11 + graphql: 16.11.0 + sync-fetch: 0.6.0-2 + tslib: 2.8.1 + + '@graphql-tools/batch-execute@9.0.19(graphql@16.11.0)': dependencies: - '@ethereumjs/common': 3.2.0 - '@ethereumjs/rlp': 4.0.1 - '@ethereumjs/util': 8.1.0 - ethereum-cryptography: 2.2.1 + '@graphql-tools/utils': 10.9.1(graphql@16.11.0) + '@whatwg-node/promise-helpers': 1.3.2 + dataloader: 2.2.3 + graphql: 16.11.0 + tslib: 2.8.1 - '@ethereumjs/util@8.1.0': + '@graphql-tools/code-file-loader@8.1.22(graphql@16.11.0)': dependencies: - '@ethereumjs/rlp': 4.0.1 - ethereum-cryptography: 2.2.1 - micro-ftch: 0.3.1 + '@graphql-tools/graphql-tag-pluck': 8.3.21(graphql@16.11.0) + '@graphql-tools/utils': 10.9.1(graphql@16.11.0) + globby: 11.1.0 + graphql: 16.11.0 + tslib: 2.8.1 + unixify: 1.0.0 + transitivePeerDependencies: + - supports-color - '@ethereumjs/util@9.1.0': + '@graphql-tools/delegate@10.2.23(graphql@16.11.0)': dependencies: - '@ethereumjs/rlp': 5.0.2 - ethereum-cryptography: 2.2.1 + '@graphql-tools/batch-execute': 9.0.19(graphql@16.11.0) + '@graphql-tools/executor': 1.4.9(graphql@16.11.0) + '@graphql-tools/schema': 10.0.25(graphql@16.11.0) + '@graphql-tools/utils': 10.9.1(graphql@16.11.0) + '@repeaterjs/repeater': 3.0.6 + '@whatwg-node/promise-helpers': 1.3.2 + dataloader: 2.2.3 + dset: 3.1.4 + graphql: 16.11.0 + tslib: 2.8.1 - '@ethersproject/abi@5.8.0': + '@graphql-tools/documents@1.0.1(graphql@16.11.0)': dependencies: - '@ethersproject/address': 5.8.0 - '@ethersproject/bignumber': 5.8.0 - '@ethersproject/bytes': 5.8.0 - '@ethersproject/constants': 5.8.0 - '@ethersproject/hash': 5.8.0 - '@ethersproject/keccak256': 5.8.0 - '@ethersproject/logger': 5.8.0 - '@ethersproject/properties': 5.8.0 - '@ethersproject/strings': 5.8.0 + graphql: 16.11.0 + lodash.sortby: 4.7.0 + tslib: 2.8.1 - '@ethersproject/abstract-provider@5.8.0': + '@graphql-tools/executor-common@0.0.4(graphql@16.11.0)': dependencies: - '@ethersproject/bignumber': 5.8.0 - '@ethersproject/bytes': 5.8.0 - '@ethersproject/logger': 5.8.0 - '@ethersproject/networks': 5.8.0 - '@ethersproject/properties': 5.8.0 - '@ethersproject/transactions': 5.8.0 - '@ethersproject/web': 5.8.0 + '@envelop/core': 5.3.2 + '@graphql-tools/utils': 10.9.1(graphql@16.11.0) + graphql: 16.11.0 - '@ethersproject/abstract-signer@5.8.0': + '@graphql-tools/executor-common@0.0.6(graphql@16.11.0)': dependencies: - '@ethersproject/abstract-provider': 5.8.0 - '@ethersproject/bignumber': 5.8.0 - '@ethersproject/bytes': 5.8.0 - '@ethersproject/logger': 5.8.0 - '@ethersproject/properties': 5.8.0 + '@envelop/core': 5.3.2 + '@graphql-tools/utils': 10.9.1(graphql@16.11.0) + graphql: 16.11.0 - '@ethersproject/address@5.6.1': + '@graphql-tools/executor-graphql-ws@2.0.7(bufferutil@4.0.9)(crossws@0.3.5)(graphql@16.11.0)(utf-8-validate@5.0.10)': dependencies: - '@ethersproject/bignumber': 5.8.0 - '@ethersproject/bytes': 5.8.0 - '@ethersproject/keccak256': 5.8.0 - '@ethersproject/logger': 5.8.0 - '@ethersproject/rlp': 5.8.0 + '@graphql-tools/executor-common': 0.0.6(graphql@16.11.0) + '@graphql-tools/utils': 10.9.1(graphql@16.11.0) + '@whatwg-node/disposablestack': 0.0.6 + graphql: 16.11.0 + graphql-ws: 6.0.6(crossws@0.3.5)(graphql@16.11.0)(ws@8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + isomorphic-ws: 5.0.0(ws@8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + tslib: 2.8.1 + ws: 8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10) + transitivePeerDependencies: + - '@fastify/websocket' + - bufferutil + - crossws + - uWebSockets.js + - utf-8-validate - '@ethersproject/address@5.8.0': + '@graphql-tools/executor-http@1.3.3(@types/node@24.3.0)(graphql@16.11.0)': dependencies: - '@ethersproject/bignumber': 5.8.0 - '@ethersproject/bytes': 5.8.0 - '@ethersproject/keccak256': 5.8.0 - '@ethersproject/logger': 5.8.0 - '@ethersproject/rlp': 5.8.0 + '@graphql-hive/signal': 1.0.0 + '@graphql-tools/executor-common': 0.0.4(graphql@16.11.0) + '@graphql-tools/utils': 10.9.1(graphql@16.11.0) + '@repeaterjs/repeater': 3.0.6 + '@whatwg-node/disposablestack': 0.0.6 + '@whatwg-node/fetch': 0.10.11 + '@whatwg-node/promise-helpers': 1.3.2 + graphql: 16.11.0 + meros: 1.3.2(@types/node@24.3.0) + tslib: 2.8.1 + transitivePeerDependencies: + - '@types/node' - '@ethersproject/base64@5.8.0': + '@graphql-tools/executor-legacy-ws@1.1.19(bufferutil@4.0.9)(graphql@16.11.0)(utf-8-validate@5.0.10)': dependencies: - '@ethersproject/bytes': 5.8.0 + '@graphql-tools/utils': 10.9.1(graphql@16.11.0) + '@types/ws': 8.18.1 + graphql: 16.11.0 + isomorphic-ws: 5.0.0(ws@8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + tslib: 2.8.1 + ws: 8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10) + transitivePeerDependencies: + - bufferutil + - utf-8-validate - '@ethersproject/bignumber@5.8.0': + '@graphql-tools/executor@1.4.9(graphql@16.11.0)': dependencies: - '@ethersproject/bytes': 5.8.0 - '@ethersproject/logger': 5.8.0 - bn.js: 5.2.2 + '@graphql-tools/utils': 10.9.1(graphql@16.11.0) + '@graphql-typed-document-node/core': 3.2.0(graphql@16.11.0) + '@repeaterjs/repeater': 3.0.6 + '@whatwg-node/disposablestack': 0.0.6 + '@whatwg-node/promise-helpers': 1.3.2 + graphql: 16.11.0 + tslib: 2.8.1 - '@ethersproject/bytes@5.8.0': + '@graphql-tools/git-loader@8.0.26(graphql@16.11.0)': dependencies: - '@ethersproject/logger': 5.8.0 + '@graphql-tools/graphql-tag-pluck': 8.3.21(graphql@16.11.0) + '@graphql-tools/utils': 10.9.1(graphql@16.11.0) + graphql: 16.11.0 + is-glob: 4.0.3 + micromatch: 4.0.8 + tslib: 2.8.1 + unixify: 1.0.0 + transitivePeerDependencies: + - supports-color - '@ethersproject/constants@5.8.0': + '@graphql-tools/github-loader@8.0.22(@types/node@24.3.0)(graphql@16.11.0)': dependencies: - '@ethersproject/bignumber': 5.8.0 + '@graphql-tools/executor-http': 1.3.3(@types/node@24.3.0)(graphql@16.11.0) + '@graphql-tools/graphql-tag-pluck': 8.3.21(graphql@16.11.0) + '@graphql-tools/utils': 10.9.1(graphql@16.11.0) + '@whatwg-node/fetch': 0.10.11 + '@whatwg-node/promise-helpers': 1.3.2 + graphql: 16.11.0 + sync-fetch: 0.6.0-2 + tslib: 2.8.1 + transitivePeerDependencies: + - '@types/node' + - supports-color - '@ethersproject/hash@5.8.0': + '@graphql-tools/graphql-file-loader@8.1.2(graphql@16.11.0)': dependencies: - '@ethersproject/abstract-signer': 5.8.0 - '@ethersproject/address': 5.8.0 - '@ethersproject/base64': 5.8.0 - '@ethersproject/bignumber': 5.8.0 - '@ethersproject/bytes': 5.8.0 - '@ethersproject/keccak256': 5.8.0 - '@ethersproject/logger': 5.8.0 - '@ethersproject/properties': 5.8.0 - '@ethersproject/strings': 5.8.0 + '@graphql-tools/import': 7.1.2(graphql@16.11.0) + '@graphql-tools/utils': 10.9.1(graphql@16.11.0) + globby: 11.1.0 + graphql: 16.11.0 + tslib: 2.8.1 + unixify: 1.0.0 + transitivePeerDependencies: + - supports-color - '@ethersproject/keccak256@5.8.0': + '@graphql-tools/graphql-tag-pluck@8.3.21(graphql@16.11.0)': dependencies: - '@ethersproject/bytes': 5.8.0 - js-sha3: 0.8.0 + '@babel/core': 7.28.3 + '@babel/parser': 7.28.3 + '@babel/plugin-syntax-import-assertions': 7.27.1(@babel/core@7.28.3) + '@babel/traverse': 7.28.3 + '@babel/types': 7.28.2 + '@graphql-tools/utils': 10.9.1(graphql@16.11.0) + graphql: 16.11.0 + tslib: 2.8.1 + transitivePeerDependencies: + - supports-color - '@ethersproject/logger@5.8.0': {} + '@graphql-tools/import@7.1.2(graphql@16.11.0)': + dependencies: + '@graphql-tools/utils': 10.9.1(graphql@16.11.0) + '@theguild/federation-composition': 0.20.1(graphql@16.11.0) + graphql: 16.11.0 + resolve-from: 5.0.0 + tslib: 2.8.1 + transitivePeerDependencies: + - supports-color - '@ethersproject/networks@5.8.0': + '@graphql-tools/json-file-loader@8.0.20(graphql@16.11.0)': dependencies: - '@ethersproject/logger': 5.8.0 + '@graphql-tools/utils': 10.9.1(graphql@16.11.0) + globby: 11.1.0 + graphql: 16.11.0 + tslib: 2.8.1 + unixify: 1.0.0 - '@ethersproject/properties@5.8.0': + '@graphql-tools/load@8.1.2(graphql@16.11.0)': dependencies: - '@ethersproject/logger': 5.8.0 + '@graphql-tools/schema': 10.0.25(graphql@16.11.0) + '@graphql-tools/utils': 10.9.1(graphql@16.11.0) + graphql: 16.11.0 + p-limit: 3.1.0 + tslib: 2.8.1 - '@ethersproject/rlp@5.8.0': + '@graphql-tools/merge@9.1.1(graphql@16.11.0)': dependencies: - '@ethersproject/bytes': 5.8.0 - '@ethersproject/logger': 5.8.0 + '@graphql-tools/utils': 10.9.1(graphql@16.11.0) + graphql: 16.11.0 + tslib: 2.8.1 - '@ethersproject/signing-key@5.8.0': + '@graphql-tools/optimize@1.4.0(graphql@16.11.0)': dependencies: - '@ethersproject/bytes': 5.8.0 - '@ethersproject/logger': 5.8.0 - '@ethersproject/properties': 5.8.0 - bn.js: 5.2.2 - elliptic: 6.6.1 - hash.js: 1.1.7 + graphql: 16.11.0 + tslib: 2.8.1 - '@ethersproject/strings@5.8.0': + '@graphql-tools/optimize@2.0.0(graphql@16.11.0)': dependencies: - '@ethersproject/bytes': 5.8.0 - '@ethersproject/constants': 5.8.0 - '@ethersproject/logger': 5.8.0 + graphql: 16.11.0 + tslib: 2.8.1 - '@ethersproject/transactions@5.8.0': + '@graphql-tools/prisma-loader@8.0.17(@types/node@24.3.0)(bufferutil@4.0.9)(crossws@0.3.5)(encoding@0.1.13)(graphql@16.11.0)(utf-8-validate@5.0.10)': dependencies: - '@ethersproject/address': 5.8.0 - '@ethersproject/bignumber': 5.8.0 - '@ethersproject/bytes': 5.8.0 - '@ethersproject/constants': 5.8.0 - '@ethersproject/keccak256': 5.8.0 - '@ethersproject/logger': 5.8.0 - '@ethersproject/properties': 5.8.0 - '@ethersproject/rlp': 5.8.0 - '@ethersproject/signing-key': 5.8.0 + '@graphql-tools/url-loader': 8.0.33(@types/node@24.3.0)(bufferutil@4.0.9)(crossws@0.3.5)(graphql@16.11.0)(utf-8-validate@5.0.10) + '@graphql-tools/utils': 10.9.1(graphql@16.11.0) + '@types/js-yaml': 4.0.9 + '@whatwg-node/fetch': 0.10.11 + chalk: 4.1.2 + debug: 4.4.1(supports-color@8.1.1) + dotenv: 16.6.1 + graphql: 16.11.0 + graphql-request: 6.1.0(encoding@0.1.13)(graphql@16.11.0) + http-proxy-agent: 7.0.2 + https-proxy-agent: 7.0.6 + jose: 5.10.0 + js-yaml: 4.1.0 + lodash: 4.17.21 + scuid: 1.1.0 + tslib: 2.8.1 + yaml-ast-parser: 0.0.43 + transitivePeerDependencies: + - '@fastify/websocket' + - '@types/node' + - bufferutil + - crossws + - encoding + - supports-color + - uWebSockets.js + - utf-8-validate - '@ethersproject/units@5.8.0': + '@graphql-tools/relay-operation-optimizer@6.5.18(encoding@0.1.13)(graphql@16.11.0)': dependencies: - '@ethersproject/bignumber': 5.8.0 - '@ethersproject/constants': 5.8.0 - '@ethersproject/logger': 5.8.0 + '@ardatan/relay-compiler': 12.0.0(encoding@0.1.13)(graphql@16.11.0) + '@graphql-tools/utils': 9.2.1(graphql@16.11.0) + graphql: 16.11.0 + tslib: 2.8.1 + transitivePeerDependencies: + - encoding + - supports-color - '@ethersproject/web@5.8.0': + '@graphql-tools/relay-operation-optimizer@7.0.21(encoding@0.1.13)(graphql@16.11.0)': dependencies: - '@ethersproject/base64': 5.8.0 - '@ethersproject/bytes': 5.8.0 - '@ethersproject/logger': 5.8.0 - '@ethersproject/properties': 5.8.0 - '@ethersproject/strings': 5.8.0 + '@ardatan/relay-compiler': 12.0.3(encoding@0.1.13)(graphql@16.11.0) + '@graphql-tools/utils': 10.9.1(graphql@16.11.0) + graphql: 16.11.0 + tslib: 2.8.1 + transitivePeerDependencies: + - encoding - '@fastify/busboy@2.1.1': {} + '@graphql-tools/schema@10.0.25(graphql@16.11.0)': + dependencies: + '@graphql-tools/merge': 9.1.1(graphql@16.11.0) + '@graphql-tools/utils': 10.9.1(graphql@16.11.0) + graphql: 16.11.0 + tslib: 2.8.1 - '@gemini-wallet/core@0.2.0(viem@2.37.2(bufferutil@4.0.9)(typescript@5.8.3)(utf-8-validate@5.0.10)(zod@3.25.76))': + '@graphql-tools/url-loader@8.0.33(@types/node@24.3.0)(bufferutil@4.0.9)(crossws@0.3.5)(graphql@16.11.0)(utf-8-validate@5.0.10)': dependencies: - '@metamask/rpc-errors': 7.0.2 - eventemitter3: 5.0.1 - viem: 2.37.2(bufferutil@4.0.9)(typescript@5.8.3)(utf-8-validate@5.0.10)(zod@3.25.76) + '@graphql-tools/executor-graphql-ws': 2.0.7(bufferutil@4.0.9)(crossws@0.3.5)(graphql@16.11.0)(utf-8-validate@5.0.10) + '@graphql-tools/executor-http': 1.3.3(@types/node@24.3.0)(graphql@16.11.0) + '@graphql-tools/executor-legacy-ws': 1.1.19(bufferutil@4.0.9)(graphql@16.11.0)(utf-8-validate@5.0.10) + '@graphql-tools/utils': 10.9.1(graphql@16.11.0) + '@graphql-tools/wrap': 10.1.4(graphql@16.11.0) + '@types/ws': 8.18.1 + '@whatwg-node/fetch': 0.10.11 + '@whatwg-node/promise-helpers': 1.3.2 + graphql: 16.11.0 + isomorphic-ws: 5.0.0(ws@8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + sync-fetch: 0.6.0-2 + tslib: 2.8.1 + ws: 8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10) transitivePeerDependencies: - - supports-color + - '@fastify/websocket' + - '@types/node' + - bufferutil + - crossws + - uWebSockets.js + - utf-8-validate - '@gql.tada/cli-utils@1.7.1(@0no-co/graphqlsp@1.15.0(graphql@16.11.0)(typescript@5.8.3))(graphql@16.11.0)(typescript@5.8.3)': + '@graphql-tools/utils@10.9.1(graphql@16.11.0)': dependencies: - '@0no-co/graphqlsp': 1.15.0(graphql@16.11.0)(typescript@5.8.3) - '@gql.tada/internal': 1.0.8(graphql@16.11.0)(typescript@5.8.3) + '@graphql-typed-document-node/core': 3.2.0(graphql@16.11.0) + '@whatwg-node/promise-helpers': 1.3.2 + cross-inspect: 1.0.1 + dset: 3.1.4 graphql: 16.11.0 - typescript: 5.8.3 + tslib: 2.8.1 - '@gql.tada/internal@1.0.8(graphql@16.11.0)(typescript@5.8.3)': + '@graphql-tools/utils@9.2.1(graphql@16.11.0)': dependencies: - '@0no-co/graphql.web': 1.2.0(graphql@16.11.0) + '@graphql-typed-document-node/core': 3.2.0(graphql@16.11.0) graphql: 16.11.0 - typescript: 5.8.3 + tslib: 2.8.1 + + '@graphql-tools/wrap@10.1.4(graphql@16.11.0)': + dependencies: + '@graphql-tools/delegate': 10.2.23(graphql@16.11.0) + '@graphql-tools/schema': 10.0.25(graphql@16.11.0) + '@graphql-tools/utils': 10.9.1(graphql@16.11.0) + '@whatwg-node/promise-helpers': 1.3.2 + graphql: 16.11.0 + tslib: 2.8.1 '@graphql-typed-document-node/core@3.2.0(graphql@16.11.0)': dependencies: @@ -6059,6 +8890,13 @@ snapshots: '@img/sharp-win32-x64@0.33.5': optional: true + '@inquirer/external-editor@1.0.2(@types/node@24.3.0)': + dependencies: + chardet: 2.1.0 + iconv-lite: 0.7.0 + optionalDependencies: + '@types/node': 24.3.0 + '@isaacs/balanced-match@4.0.1': {} '@isaacs/brace-expansion@5.0.0': @@ -6074,6 +8912,10 @@ snapshots: wrap-ansi: 8.1.0 wrap-ansi-cjs: wrap-ansi@7.0.0 + '@jest/schemas@29.6.3': + dependencies: + '@sinclair/typebox': 0.27.8 + '@jridgewell/gen-mapping@0.3.13': dependencies: '@jridgewell/sourcemap-codec': 1.5.5 @@ -6589,9 +9431,69 @@ snapshots: '@nomicfoundation/solidity-analyzer-linux-x64-musl': 0.1.2 '@nomicfoundation/solidity-analyzer-win32-x64-msvc': 0.1.2 - '@openzeppelin/contracts@4.9.6': {} + '@openzeppelin/contracts@4.9.6': {} + + '@openzeppelin/contracts@5.4.0': {} + + '@parcel/watcher-android-arm64@2.5.1': + optional: true + + '@parcel/watcher-darwin-arm64@2.5.1': + optional: true + + '@parcel/watcher-darwin-x64@2.5.1': + optional: true + + '@parcel/watcher-freebsd-x64@2.5.1': + optional: true + + '@parcel/watcher-linux-arm-glibc@2.5.1': + optional: true + + '@parcel/watcher-linux-arm-musl@2.5.1': + optional: true + + '@parcel/watcher-linux-arm64-glibc@2.5.1': + optional: true + + '@parcel/watcher-linux-arm64-musl@2.5.1': + optional: true + + '@parcel/watcher-linux-x64-glibc@2.5.1': + optional: true + + '@parcel/watcher-linux-x64-musl@2.5.1': + optional: true - '@openzeppelin/contracts@5.4.0': {} + '@parcel/watcher-win32-arm64@2.5.1': + optional: true + + '@parcel/watcher-win32-ia32@2.5.1': + optional: true + + '@parcel/watcher-win32-x64@2.5.1': + optional: true + + '@parcel/watcher@2.5.1': + dependencies: + detect-libc: 1.0.3 + is-glob: 4.0.3 + micromatch: 4.0.8 + node-addon-api: 7.1.1 + optionalDependencies: + '@parcel/watcher-android-arm64': 2.5.1 + '@parcel/watcher-darwin-arm64': 2.5.1 + '@parcel/watcher-darwin-x64': 2.5.1 + '@parcel/watcher-freebsd-x64': 2.5.1 + '@parcel/watcher-linux-arm-glibc': 2.5.1 + '@parcel/watcher-linux-arm-musl': 2.5.1 + '@parcel/watcher-linux-arm64-glibc': 2.5.1 + '@parcel/watcher-linux-arm64-musl': 2.5.1 + '@parcel/watcher-linux-x64-glibc': 2.5.1 + '@parcel/watcher-linux-x64-musl': 2.5.1 + '@parcel/watcher-win32-arm64': 2.5.1 + '@parcel/watcher-win32-ia32': 2.5.1 + '@parcel/watcher-win32-x64': 2.5.1 '@paulmillr/qr@0.2.1': {} @@ -6859,6 +9761,8 @@ snapshots: - utf-8-validate - zod + '@repeaterjs/repeater@3.0.6': {} + '@rolldown/pluginutils@1.0.0-beta.34': {} '@rollup/rollup-android-arm-eabi@4.50.0': @@ -7049,6 +9953,8 @@ snapshots: '@simplewebauthn/types@12.0.0': {} + '@sinclair/typebox@0.27.8': {} + '@socket.io/component-emitter@3.1.2': {} '@solana/buffer-layout-utils@0.2.0(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.8.3)(utf-8-validate@5.0.10)': @@ -7205,6 +10111,16 @@ snapshots: '@tanstack/query-core': 5.85.9 react: 19.1.1 + '@theguild/federation-composition@0.20.1(graphql@16.11.0)': + dependencies: + constant-case: 3.0.4 + debug: 4.4.1(supports-color@8.1.1) + graphql: 16.11.0 + json5: 2.2.3 + lodash.sortby: 4.7.0 + transitivePeerDependencies: + - supports-color + '@thumbmarkjs/thumbmarkjs@0.16.0': {} '@tsconfig/node10@1.0.11': {} @@ -7381,6 +10297,8 @@ snapshots: '@types/minimatch': 6.0.0 '@types/node': 24.3.0 + '@types/js-yaml@4.0.9': {} + '@types/json-schema@7.0.15': {} '@types/lodash@4.17.20': {} @@ -7433,15 +10351,15 @@ snapshots: dependencies: '@types/node': 24.3.0 - '@typescript-eslint/eslint-plugin@8.42.0(@typescript-eslint/parser@8.42.0(eslint@9.34.0)(typescript@5.8.3))(eslint@9.34.0)(typescript@5.8.3)': + '@typescript-eslint/eslint-plugin@8.42.0(@typescript-eslint/parser@8.42.0(eslint@9.34.0(jiti@2.6.1))(typescript@5.8.3))(eslint@9.34.0(jiti@2.6.1))(typescript@5.8.3)': dependencies: '@eslint-community/regexpp': 4.12.1 - '@typescript-eslint/parser': 8.42.0(eslint@9.34.0)(typescript@5.8.3) + '@typescript-eslint/parser': 8.42.0(eslint@9.34.0(jiti@2.6.1))(typescript@5.8.3) '@typescript-eslint/scope-manager': 8.42.0 - '@typescript-eslint/type-utils': 8.42.0(eslint@9.34.0)(typescript@5.8.3) - '@typescript-eslint/utils': 8.42.0(eslint@9.34.0)(typescript@5.8.3) + '@typescript-eslint/type-utils': 8.42.0(eslint@9.34.0(jiti@2.6.1))(typescript@5.8.3) + '@typescript-eslint/utils': 8.42.0(eslint@9.34.0(jiti@2.6.1))(typescript@5.8.3) '@typescript-eslint/visitor-keys': 8.42.0 - eslint: 9.34.0 + eslint: 9.34.0(jiti@2.6.1) graphemer: 1.4.0 ignore: 7.0.5 natural-compare: 1.4.0 @@ -7450,14 +10368,14 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@8.42.0(eslint@9.34.0)(typescript@5.8.3)': + '@typescript-eslint/parser@8.42.0(eslint@9.34.0(jiti@2.6.1))(typescript@5.8.3)': dependencies: '@typescript-eslint/scope-manager': 8.42.0 '@typescript-eslint/types': 8.42.0 '@typescript-eslint/typescript-estree': 8.42.0(typescript@5.8.3) '@typescript-eslint/visitor-keys': 8.42.0 debug: 4.4.1(supports-color@8.1.1) - eslint: 9.34.0 + eslint: 9.34.0(jiti@2.6.1) typescript: 5.8.3 transitivePeerDependencies: - supports-color @@ -7480,13 +10398,13 @@ snapshots: dependencies: typescript: 5.8.3 - '@typescript-eslint/type-utils@8.42.0(eslint@9.34.0)(typescript@5.8.3)': + '@typescript-eslint/type-utils@8.42.0(eslint@9.34.0(jiti@2.6.1))(typescript@5.8.3)': dependencies: '@typescript-eslint/types': 8.42.0 '@typescript-eslint/typescript-estree': 8.42.0(typescript@5.8.3) - '@typescript-eslint/utils': 8.42.0(eslint@9.34.0)(typescript@5.8.3) + '@typescript-eslint/utils': 8.42.0(eslint@9.34.0(jiti@2.6.1))(typescript@5.8.3) debug: 4.4.1(supports-color@8.1.1) - eslint: 9.34.0 + eslint: 9.34.0(jiti@2.6.1) ts-api-utils: 2.1.0(typescript@5.8.3) typescript: 5.8.3 transitivePeerDependencies: @@ -7510,13 +10428,13 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@8.42.0(eslint@9.34.0)(typescript@5.8.3)': + '@typescript-eslint/utils@8.42.0(eslint@9.34.0(jiti@2.6.1))(typescript@5.8.3)': dependencies: - '@eslint-community/eslint-utils': 4.8.0(eslint@9.34.0) + '@eslint-community/eslint-utils': 4.8.0(eslint@9.34.0(jiti@2.6.1)) '@typescript-eslint/scope-manager': 8.42.0 '@typescript-eslint/types': 8.42.0 '@typescript-eslint/typescript-estree': 8.42.0(typescript@5.8.3) - eslint: 9.34.0 + eslint: 9.34.0(jiti@2.6.1) typescript: 5.8.3 transitivePeerDependencies: - supports-color @@ -7541,7 +10459,7 @@ snapshots: '@uniswap/lib': 1.1.1 '@uniswap/v2-core': 1.0.0 - '@vitejs/plugin-react@5.0.2(vite@7.1.4(@types/node@24.3.0)(tsx@4.20.5))': + '@vitejs/plugin-react@5.0.2(vite@7.1.4(@types/node@24.3.0)(jiti@2.6.1)(tsx@4.20.5)(yaml@2.8.1))': dependencies: '@babel/core': 7.28.3 '@babel/plugin-transform-react-jsx-self': 7.27.1(@babel/core@7.28.3) @@ -7549,10 +10467,39 @@ snapshots: '@rolldown/pluginutils': 1.0.0-beta.34 '@types/babel__core': 7.20.5 react-refresh: 0.17.0 - vite: 7.1.4(@types/node@24.3.0)(tsx@4.20.5) + vite: 7.1.4(@types/node@24.3.0)(jiti@2.6.1)(tsx@4.20.5)(yaml@2.8.1) transitivePeerDependencies: - supports-color + '@vitest/expect@1.6.1': + dependencies: + '@vitest/spy': 1.6.1 + '@vitest/utils': 1.6.1 + chai: 4.5.0 + + '@vitest/runner@1.6.1': + dependencies: + '@vitest/utils': 1.6.1 + p-limit: 5.0.0 + pathe: 1.1.2 + + '@vitest/snapshot@1.6.1': + dependencies: + magic-string: 0.30.19 + pathe: 1.1.2 + pretty-format: 29.7.0 + + '@vitest/spy@1.6.1': + dependencies: + tinyspy: 2.2.1 + + '@vitest/utils@1.6.1': + dependencies: + diff-sequences: 29.6.3 + estree-walker: 3.0.3 + loupe: 2.3.7 + pretty-format: 29.7.0 + '@vue/reactivity@3.5.21': dependencies: '@vue/shared': 3.5.21 @@ -8419,6 +11366,27 @@ snapshots: '@walletconnect/window-getters': 1.0.1 tslib: 1.14.1 + '@whatwg-node/disposablestack@0.0.6': + dependencies: + '@whatwg-node/promise-helpers': 1.3.2 + tslib: 2.8.1 + + '@whatwg-node/fetch@0.10.11': + dependencies: + '@whatwg-node/node-fetch': 0.8.0 + urlpattern-polyfill: 10.1.0 + + '@whatwg-node/node-fetch@0.8.0': + dependencies: + '@fastify/busboy': 3.2.0 + '@whatwg-node/disposablestack': 0.0.6 + '@whatwg-node/promise-helpers': 1.3.2 + tslib: 2.8.1 + + '@whatwg-node/promise-helpers@1.3.2': + dependencies: + tslib: 2.8.1 + abbrev@1.0.9: {} abitype@1.0.8(typescript@5.8.3)(zod@3.25.76): @@ -8461,6 +11429,8 @@ snapshots: transitivePeerDependencies: - supports-color + agent-base@7.1.4: {} + agentkeepalive@4.6.0: dependencies: humanize-ms: 1.2.1 @@ -8509,8 +11479,12 @@ snapshots: dependencies: color-convert: 2.0.1 + ansi-styles@5.2.0: {} + ansi-styles@6.2.1: {} + any-promise@1.3.0: {} + anymatch@3.1.3: dependencies: normalize-path: 3.0.0 @@ -8530,6 +11504,8 @@ snapshots: array-union@2.1.0: {} + asap@2.0.6: {} + assertion-error@1.1.0: {} astral-regex@2.0.0: {} @@ -8546,6 +11522,8 @@ snapshots: atomic-sleep@1.0.0: {} + auto-bind@4.0.0: {} + available-typed-arrays@1.0.7: dependencies: possible-typed-array-names: 1.1.0 @@ -8566,6 +11544,41 @@ snapshots: transitivePeerDependencies: - debug + babel-plugin-syntax-trailing-function-commas@7.0.0-beta.0: {} + + babel-preset-fbjs@3.4.0(@babel/core@7.28.3): + dependencies: + '@babel/core': 7.28.3 + '@babel/plugin-proposal-class-properties': 7.18.6(@babel/core@7.28.3) + '@babel/plugin-proposal-object-rest-spread': 7.20.7(@babel/core@7.28.3) + '@babel/plugin-syntax-class-properties': 7.12.13(@babel/core@7.28.3) + '@babel/plugin-syntax-flow': 7.27.1(@babel/core@7.28.3) + '@babel/plugin-syntax-jsx': 7.27.1(@babel/core@7.28.3) + '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.28.3) + '@babel/plugin-transform-arrow-functions': 7.27.1(@babel/core@7.28.3) + '@babel/plugin-transform-block-scoped-functions': 7.27.1(@babel/core@7.28.3) + '@babel/plugin-transform-block-scoping': 7.28.4(@babel/core@7.28.3) + '@babel/plugin-transform-classes': 7.28.4(@babel/core@7.28.3) + '@babel/plugin-transform-computed-properties': 7.27.1(@babel/core@7.28.3) + '@babel/plugin-transform-destructuring': 7.28.0(@babel/core@7.28.3) + '@babel/plugin-transform-flow-strip-types': 7.27.1(@babel/core@7.28.3) + '@babel/plugin-transform-for-of': 7.27.1(@babel/core@7.28.3) + '@babel/plugin-transform-function-name': 7.27.1(@babel/core@7.28.3) + '@babel/plugin-transform-literals': 7.27.1(@babel/core@7.28.3) + '@babel/plugin-transform-member-expression-literals': 7.27.1(@babel/core@7.28.3) + '@babel/plugin-transform-modules-commonjs': 7.27.1(@babel/core@7.28.3) + '@babel/plugin-transform-object-super': 7.27.1(@babel/core@7.28.3) + '@babel/plugin-transform-parameters': 7.27.7(@babel/core@7.28.3) + '@babel/plugin-transform-property-literals': 7.27.1(@babel/core@7.28.3) + '@babel/plugin-transform-react-display-name': 7.28.0(@babel/core@7.28.3) + '@babel/plugin-transform-react-jsx': 7.27.1(@babel/core@7.28.3) + '@babel/plugin-transform-shorthand-properties': 7.27.1(@babel/core@7.28.3) + '@babel/plugin-transform-spread': 7.27.1(@babel/core@7.28.3) + '@babel/plugin-transform-template-literals': 7.27.1(@babel/core@7.28.3) + babel-plugin-syntax-trailing-function-commas: 7.0.0-beta.0 + transitivePeerDependencies: + - supports-color + balanced-match@1.0.2: {} base-x@3.0.11: @@ -8592,6 +11605,12 @@ snapshots: dependencies: file-uri-to-path: 1.0.0 + bl@4.1.0: + dependencies: + buffer: 5.7.1 + inherits: 2.0.4 + readable-stream: 3.6.2 + blakejs@1.2.1: {} bn.js@4.11.6: {} @@ -8677,10 +11696,19 @@ snapshots: '@noble/hashes': 1.8.0 bs58: 6.0.0 + bser@2.1.1: + dependencies: + node-int64: 0.4.0 + buffer-from@1.1.2: {} buffer-xor@1.0.3: {} + buffer@5.7.1: + dependencies: + base64-js: 1.5.1 + ieee754: 1.2.1 + buffer@6.0.3: dependencies: base64-js: 1.5.1 @@ -8690,8 +11718,15 @@ snapshots: dependencies: node-gyp-build: 4.8.4 + bundle-require@4.2.1(esbuild@0.17.19): + dependencies: + esbuild: 0.17.19 + load-tsconfig: 0.2.5 + bytes@3.1.2: {} + cac@6.7.14: {} + call-bind-apply-helpers@1.0.2: dependencies: es-errors: 1.3.0 @@ -8711,12 +11746,23 @@ snapshots: callsites@3.1.0: {} + camel-case@4.1.2: + dependencies: + pascal-case: 3.1.2 + tslib: 2.8.1 + camelcase@5.3.1: {} camelcase@6.3.0: {} caniuse-lite@1.0.30001739: {} + capital-case@1.0.4: + dependencies: + no-case: 3.0.4 + tslib: 2.8.1 + upper-case-first: 2.0.2 + cbor@8.1.0: dependencies: nofilter: 3.1.0 @@ -8753,6 +11799,36 @@ snapshots: chalk@5.6.0: {} + change-case-all@1.0.15: + dependencies: + change-case: 4.1.2 + is-lower-case: 2.0.2 + is-upper-case: 2.0.2 + lower-case: 2.0.2 + lower-case-first: 2.0.2 + sponge-case: 1.0.1 + swap-case: 2.0.2 + title-case: 3.0.3 + upper-case: 2.0.2 + upper-case-first: 2.0.2 + + change-case@4.1.2: + dependencies: + camel-case: 4.1.2 + capital-case: 1.0.4 + constant-case: 3.0.4 + dot-case: 3.0.4 + header-case: 2.0.4 + no-case: 3.0.4 + param-case: 3.0.4 + pascal-case: 3.1.2 + path-case: 3.0.4 + sentence-case: 3.0.4 + snake-case: 3.0.4 + tslib: 2.8.1 + + chardet@2.1.0: {} + charenc@0.0.2: {} check-error@1.0.3: @@ -8786,12 +11862,25 @@ snapshots: cli-boxes@2.2.1: {} + cli-cursor@3.1.0: + dependencies: + restore-cursor: 3.1.0 + + cli-spinners@2.9.2: {} + cli-table3@0.6.5: dependencies: string-width: 4.2.3 optionalDependencies: '@colors/colors': 1.5.0 + cli-truncate@2.1.0: + dependencies: + slice-ansi: 3.0.0 + string-width: 4.2.3 + + cli-width@3.0.0: {} + cliui@6.0.0: dependencies: string-width: 4.2.3 @@ -8804,6 +11893,14 @@ snapshots: strip-ansi: 6.0.1 wrap-ansi: 7.0.0 + cliui@8.0.1: + dependencies: + string-width: 4.2.3 + strip-ansi: 6.0.1 + wrap-ansi: 7.0.0 + + clone@1.0.4: {} + clsx@1.2.1: {} color-convert@1.9.3: @@ -8828,6 +11925,8 @@ snapshots: color-convert: 2.0.1 color-string: 1.9.1 + colorette@2.0.20: {} + combined-stream@1.0.8: dependencies: delayed-stream: 1.0.0 @@ -8856,10 +11955,34 @@ snapshots: commander@2.20.3: {} + commander@4.1.1: {} + commander@8.3.0: {} + common-tags@1.8.2: {} + concat-map@0.0.1: {} + concurrently@8.2.2: + dependencies: + chalk: 4.1.2 + date-fns: 2.30.0 + lodash: 4.17.21 + rxjs: 7.8.2 + shell-quote: 1.8.3 + spawn-command: 0.0.2 + supports-color: 8.1.1 + tree-kill: 1.2.2 + yargs: 17.7.2 + + confbox@0.1.8: {} + + constant-case@3.0.4: + dependencies: + no-case: 3.0.4 + tslib: 2.8.1 + upper-case: 2.0.2 + convert-source-map@2.0.0: {} cookie-es@1.2.2: {} @@ -8870,6 +11993,15 @@ snapshots: core-util-is@1.0.3: {} + cosmiconfig@8.3.6(typescript@5.9.2): + dependencies: + import-fresh: 3.3.1 + js-yaml: 4.1.0 + parse-json: 5.2.0 + path-type: 4.0.0 + optionalDependencies: + typescript: 5.9.2 + country-list@2.3.0: {} crc-32@1.2.2: {} @@ -8912,6 +12044,10 @@ snapshots: transitivePeerDependencies: - encoding + cross-inspect@1.0.1: + dependencies: + tslib: 2.8.1 + cross-spawn@7.0.6: dependencies: path-key: 3.1.1 @@ -8926,6 +12062,10 @@ snapshots: csstype@3.1.3: {} + data-uri-to-buffer@4.0.1: {} + + dataloader@2.2.3: {} + date-fns@2.30.0: dependencies: '@babel/runtime': 7.28.3 @@ -8934,6 +12074,8 @@ snapshots: death@1.1.0: {} + debounce@1.2.1: {} + debug@4.3.7: dependencies: ms: 2.1.3 @@ -8960,6 +12102,10 @@ snapshots: deepmerge@2.2.1: {} + defaults@1.0.4: + dependencies: + clone: 1.0.4 + define-data-property@1.1.4: dependencies: es-define-property: 1.0.1 @@ -8974,6 +12120,8 @@ snapshots: depd@2.0.0: {} + dependency-graph@0.11.0: {} + derive-valtio@0.1.0(valtio@1.13.2(@types/react@19.1.12)(react@19.1.1)): dependencies: valtio: 1.13.2(@types/react@19.1.12)(react@19.1.1) @@ -8982,10 +12130,16 @@ snapshots: detect-browser@5.3.0: {} + detect-indent@6.1.0: {} + + detect-libc@1.0.3: {} + detect-libc@2.0.4: {} detect-node-es@1.1.0: {} + diff-sequences@29.6.3: {} + diff@4.0.2: {} diff@5.2.0: {} @@ -9000,8 +12154,17 @@ snapshots: dependencies: path-type: 4.0.0 + dot-case@3.0.4: + dependencies: + no-case: 3.0.4 + tslib: 2.8.1 + + dotenv@16.6.1: {} + dotenv@17.2.2: {} + dset@3.1.4: {} + dunder-proto@1.0.1: dependencies: call-bind-apply-helpers: 1.0.2 @@ -9072,6 +12235,10 @@ snapshots: env-paths@2.2.1: {} + error-ex@1.3.4: + dependencies: + is-arrayish: 0.2.1 + es-define-property@1.0.1: {} es-errors@1.3.0: {} @@ -9097,6 +12264,57 @@ snapshots: dependencies: es6-promise: 4.2.8 + esbuild@0.17.19: + optionalDependencies: + '@esbuild/android-arm': 0.17.19 + '@esbuild/android-arm64': 0.17.19 + '@esbuild/android-x64': 0.17.19 + '@esbuild/darwin-arm64': 0.17.19 + '@esbuild/darwin-x64': 0.17.19 + '@esbuild/freebsd-arm64': 0.17.19 + '@esbuild/freebsd-x64': 0.17.19 + '@esbuild/linux-arm': 0.17.19 + '@esbuild/linux-arm64': 0.17.19 + '@esbuild/linux-ia32': 0.17.19 + '@esbuild/linux-loong64': 0.17.19 + '@esbuild/linux-mips64el': 0.17.19 + '@esbuild/linux-ppc64': 0.17.19 + '@esbuild/linux-riscv64': 0.17.19 + '@esbuild/linux-s390x': 0.17.19 + '@esbuild/linux-x64': 0.17.19 + '@esbuild/netbsd-x64': 0.17.19 + '@esbuild/openbsd-x64': 0.17.19 + '@esbuild/sunos-x64': 0.17.19 + '@esbuild/win32-arm64': 0.17.19 + '@esbuild/win32-ia32': 0.17.19 + '@esbuild/win32-x64': 0.17.19 + + esbuild@0.21.5: + optionalDependencies: + '@esbuild/aix-ppc64': 0.21.5 + '@esbuild/android-arm': 0.21.5 + '@esbuild/android-arm64': 0.21.5 + '@esbuild/android-x64': 0.21.5 + '@esbuild/darwin-arm64': 0.21.5 + '@esbuild/darwin-x64': 0.21.5 + '@esbuild/freebsd-arm64': 0.21.5 + '@esbuild/freebsd-x64': 0.21.5 + '@esbuild/linux-arm': 0.21.5 + '@esbuild/linux-arm64': 0.21.5 + '@esbuild/linux-ia32': 0.21.5 + '@esbuild/linux-loong64': 0.21.5 + '@esbuild/linux-mips64el': 0.21.5 + '@esbuild/linux-ppc64': 0.21.5 + '@esbuild/linux-riscv64': 0.21.5 + '@esbuild/linux-s390x': 0.21.5 + '@esbuild/linux-x64': 0.21.5 + '@esbuild/netbsd-x64': 0.21.5 + '@esbuild/openbsd-x64': 0.21.5 + '@esbuild/sunos-x64': 0.21.5 + '@esbuild/win32-arm64': 0.21.5 + '@esbuild/win32-ia32': 0.21.5 + '@esbuild/win32-x64': 0.21.5 + esbuild@0.25.9: optionalDependencies: '@esbuild/aix-ppc64': 0.25.9 @@ -9141,13 +12359,13 @@ snapshots: optionalDependencies: source-map: 0.2.0 - eslint-plugin-react-hooks@5.2.0(eslint@9.34.0): + eslint-plugin-react-hooks@5.2.0(eslint@9.34.0(jiti@2.6.1)): dependencies: - eslint: 9.34.0 + eslint: 9.34.0(jiti@2.6.1) - eslint-plugin-react-refresh@0.4.20(eslint@9.34.0): + eslint-plugin-react-refresh@0.4.20(eslint@9.34.0(jiti@2.6.1)): dependencies: - eslint: 9.34.0 + eslint: 9.34.0(jiti@2.6.1) eslint-scope@8.4.0: dependencies: @@ -9158,9 +12376,9 @@ snapshots: eslint-visitor-keys@4.2.1: {} - eslint@9.34.0: + eslint@9.34.0(jiti@2.6.1): dependencies: - '@eslint-community/eslint-utils': 4.8.0(eslint@9.34.0) + '@eslint-community/eslint-utils': 4.8.0(eslint@9.34.0(jiti@2.6.1)) '@eslint-community/regexpp': 4.12.1 '@eslint/config-array': 0.21.0 '@eslint/config-helpers': 0.3.1 @@ -9195,6 +12413,8 @@ snapshots: minimatch: 3.1.2 natural-compare: 1.4.0 optionator: 0.9.4 + optionalDependencies: + jiti: 2.6.1 transitivePeerDependencies: - supports-color @@ -9220,6 +12440,10 @@ snapshots: estraverse@5.3.0: {} + estree-walker@3.0.3: + dependencies: + '@types/estree': 1.0.8 + esutils@2.0.3: {} eth-block-tracker@7.1.0: @@ -9322,6 +12546,30 @@ snapshots: md5.js: 1.3.5 safe-buffer: 5.2.1 + execa@5.1.1: + dependencies: + cross-spawn: 7.0.6 + get-stream: 6.0.1 + human-signals: 2.1.0 + is-stream: 2.0.1 + merge-stream: 2.0.0 + npm-run-path: 4.0.1 + onetime: 5.1.2 + signal-exit: 3.0.7 + strip-final-newline: 2.0.0 + + execa@8.0.1: + dependencies: + cross-spawn: 7.0.6 + get-stream: 8.0.1 + human-signals: 5.0.0 + is-stream: 3.0.0 + merge-stream: 2.0.0 + npm-run-path: 5.3.0 + onetime: 6.0.0 + signal-exit: 4.1.0 + strip-final-newline: 3.0.0 + extension-port-stream@3.0.0: dependencies: readable-stream: 3.6.2 @@ -9357,10 +12605,37 @@ snapshots: dependencies: reusify: 1.1.0 + fb-watchman@2.0.2: + dependencies: + bser: 2.1.1 + + fbjs-css-vars@1.0.2: {} + + fbjs@3.0.5(encoding@0.1.13): + dependencies: + cross-fetch: 3.2.0(encoding@0.1.13) + fbjs-css-vars: 1.0.2 + loose-envify: 1.4.0 + object-assign: 4.1.1 + promise: 7.3.1 + setimmediate: 1.0.5 + ua-parser-js: 1.0.41 + transitivePeerDependencies: + - encoding + fdir@6.5.0(picomatch@4.0.3): optionalDependencies: picomatch: 4.0.3 + fetch-blob@3.2.0: + dependencies: + node-domexception: 1.0.0 + web-streams-polyfill: 3.3.3 + + figures@3.2.0: + dependencies: + escape-string-regexp: 1.0.5 + file-entry-cache@8.0.0: dependencies: flat-cache: 4.0.1 @@ -9421,6 +12696,10 @@ snapshots: hasown: 2.0.2 mime-types: 2.1.35 + formdata-polyfill@4.0.10: + dependencies: + fetch-blob: 3.2.0 + formik@2.2.9(react@19.1.1): dependencies: deepmerge: 2.2.1 @@ -9490,6 +12769,10 @@ snapshots: dunder-proto: 1.0.1 es-object-atoms: 1.1.1 + get-stream@6.0.1: {} + + get-stream@8.0.1: {} + get-tsconfig@4.10.1: dependencies: resolve-pkg-maps: 1.0.0 @@ -9575,6 +12858,15 @@ snapshots: merge2: 1.4.1 slash: 3.0.0 + globby@11.1.0: + dependencies: + array-union: 2.1.0 + dir-glob: 3.0.1 + fast-glob: 3.3.3 + ignore: 5.3.2 + merge2: 1.4.1 + slash: 3.0.0 + gopd@1.2.0: {} gql.tada@1.8.13(graphql@16.11.0)(typescript@5.8.3): @@ -9593,6 +12885,55 @@ snapshots: graphemer@1.4.0: {} + graphql-config@5.1.5(@types/node@24.3.0)(bufferutil@4.0.9)(crossws@0.3.5)(graphql@16.11.0)(typescript@5.9.2)(utf-8-validate@5.0.10): + dependencies: + '@graphql-tools/graphql-file-loader': 8.1.2(graphql@16.11.0) + '@graphql-tools/json-file-loader': 8.0.20(graphql@16.11.0) + '@graphql-tools/load': 8.1.2(graphql@16.11.0) + '@graphql-tools/merge': 9.1.1(graphql@16.11.0) + '@graphql-tools/url-loader': 8.0.33(@types/node@24.3.0)(bufferutil@4.0.9)(crossws@0.3.5)(graphql@16.11.0)(utf-8-validate@5.0.10) + '@graphql-tools/utils': 10.9.1(graphql@16.11.0) + cosmiconfig: 8.3.6(typescript@5.9.2) + graphql: 16.11.0 + jiti: 2.6.1 + minimatch: 9.0.5 + string-env-interpolation: 1.0.1 + tslib: 2.8.1 + transitivePeerDependencies: + - '@fastify/websocket' + - '@types/node' + - bufferutil + - crossws + - supports-color + - typescript + - uWebSockets.js + - utf-8-validate + + graphql-request@6.1.0(encoding@0.1.13)(graphql@16.11.0): + dependencies: + '@graphql-typed-document-node/core': 3.2.0(graphql@16.11.0) + cross-fetch: 3.2.0(encoding@0.1.13) + graphql: 16.11.0 + transitivePeerDependencies: + - encoding + + graphql-request@7.2.0(graphql@16.11.0): + dependencies: + '@graphql-typed-document-node/core': 3.2.0(graphql@16.11.0) + graphql: 16.11.0 + + graphql-tag@2.12.6(graphql@16.11.0): + dependencies: + graphql: 16.11.0 + tslib: 2.8.1 + + graphql-ws@6.0.6(crossws@0.3.5)(graphql@16.11.0)(ws@8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10)): + dependencies: + graphql: 16.11.0 + optionalDependencies: + crossws: 0.3.5 + ws: 8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10) + graphql@16.11.0: {} h3@1.15.4: @@ -9727,6 +13068,11 @@ snapshots: he@1.2.0: {} + header-case@2.0.4: + dependencies: + capital-case: 1.0.4 + tslib: 2.8.1 + heap@0.2.7: {} hmac-drbg@1.0.1: @@ -9759,6 +13105,13 @@ snapshots: statuses: 2.0.1 toidentifier: 1.0.1 + http-proxy-agent@7.0.2: + dependencies: + agent-base: 7.1.4 + debug: 4.4.1(supports-color@8.1.1) + transitivePeerDependencies: + - supports-color + https-proxy-agent@5.0.1: dependencies: agent-base: 6.0.2 @@ -9766,6 +13119,17 @@ snapshots: transitivePeerDependencies: - supports-color + https-proxy-agent@7.0.6: + dependencies: + agent-base: 7.1.4 + debug: 4.4.1(supports-color@8.1.1) + transitivePeerDependencies: + - supports-color + + human-signals@2.1.0: {} + + human-signals@5.0.0: {} + humanize-ms@1.2.1: dependencies: ms: 2.1.3 @@ -9783,6 +13147,10 @@ snapshots: safer-buffer: 2.1.2 optional: true + iconv-lite@0.7.0: + dependencies: + safer-buffer: 2.1.2 + idb-keyval@6.2.1: {} idb-keyval@6.2.2: {} @@ -9795,6 +13163,8 @@ snapshots: immer@10.0.2: {} + immutable@3.7.6: {} + immutable@4.3.7: {} import-fresh@3.3.1: @@ -9802,6 +13172,8 @@ snapshots: parent-module: 1.0.1 resolve-from: 4.0.0 + import-from@4.0.0: {} + imurmurhash@0.1.4: {} indent-string@4.0.0: {} @@ -9815,19 +13187,50 @@ snapshots: ini@1.3.8: {} + inquirer@8.2.7(@types/node@24.3.0): + dependencies: + '@inquirer/external-editor': 1.0.2(@types/node@24.3.0) + ansi-escapes: 4.3.2 + chalk: 4.1.2 + cli-cursor: 3.1.0 + cli-width: 3.0.0 + figures: 3.2.0 + lodash: 4.17.21 + mute-stream: 0.0.8 + ora: 5.4.1 + run-async: 2.4.1 + rxjs: 7.8.2 + string-width: 4.2.3 + strip-ansi: 6.0.1 + through: 2.3.8 + wrap-ansi: 6.2.0 + transitivePeerDependencies: + - '@types/node' + interpret@1.4.0: {} + invariant@2.2.4: + dependencies: + loose-envify: 1.4.0 + io-ts@1.10.4: dependencies: fp-ts: 1.19.3 iron-webcrypto@1.2.1: {} + is-absolute@1.0.0: + dependencies: + is-relative: 1.0.0 + is-windows: 1.0.2 + is-arguments@1.2.0: dependencies: call-bound: 1.0.4 has-tostringtag: 1.0.2 + is-arrayish@0.2.1: {} + is-arrayish@0.3.2: {} is-binary-path@2.1.0: @@ -9857,6 +13260,12 @@ snapshots: is-hex-prefixed@1.0.0: {} + is-interactive@1.0.0: {} + + is-lower-case@2.0.2: + dependencies: + tslib: 2.8.1 + is-number@7.0.0: {} is-plain-obj@2.1.0: {} @@ -9868,13 +13277,29 @@ snapshots: has-tostringtag: 1.0.2 hasown: 2.0.2 + is-relative@1.0.0: + dependencies: + is-unc-path: 1.0.0 + is-stream@2.0.1: {} + is-stream@3.0.0: {} + is-typed-array@1.1.15: dependencies: - which-typed-array: 1.1.19 + which-typed-array: 1.1.19 + + is-unc-path@1.0.0: + dependencies: + unc-path-regex: 0.1.2 + + is-unicode-supported@0.1.0: {} + + is-upper-case@2.0.2: + dependencies: + tslib: 2.8.1 - is-unicode-supported@0.1.0: {} + is-windows@1.0.2: {} isarray@1.0.0: {} @@ -9886,6 +13311,10 @@ snapshots: dependencies: ws: 7.5.10(bufferutil@4.0.9)(utf-8-validate@5.0.10) + isomorphic-ws@5.0.0(ws@8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10)): + dependencies: + ws: 8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10) + isows@1.0.6(ws@8.18.0(bufferutil@4.0.9)(utf-8-validate@5.0.10)): dependencies: ws: 8.18.0(bufferutil@4.0.9)(utf-8-validate@5.0.10) @@ -9922,10 +13351,20 @@ snapshots: - bufferutil - utf-8-validate + jiti@1.21.7: {} + + jiti@2.6.1: {} + + jose@5.10.0: {} + + joycon@3.1.1: {} + js-sha3@0.8.0: {} js-tokens@4.0.0: {} + js-tokens@9.0.1: {} + js-yaml@3.14.1: dependencies: argparse: 1.0.10 @@ -9939,6 +13378,8 @@ snapshots: json-buffer@3.0.1: {} + json-parse-even-better-errors@2.3.1: {} + json-rpc-engine@6.1.0: dependencies: '@metamask/safe-event-emitter': 2.0.0 @@ -9956,6 +13397,11 @@ snapshots: json-stringify-safe@5.0.1: {} + json-to-pretty-yaml@1.2.2: + dependencies: + remedial: 1.0.8 + remove-trailing-spaces: 1.0.9 + json5@2.2.3: {} jsonfile@4.0.0: @@ -9996,6 +13442,23 @@ snapshots: prelude-ls: 1.2.1 type-check: 0.4.0 + lilconfig@2.1.0: {} + + lines-and-columns@1.2.4: {} + + listr2@4.0.5(enquirer@2.4.1): + dependencies: + cli-truncate: 2.1.0 + colorette: 2.0.20 + log-update: 4.0.0 + p-map: 4.0.0 + rfdc: 1.4.1 + rxjs: 7.8.2 + through: 2.3.8 + wrap-ansi: 7.0.0 + optionalDependencies: + enquirer: 2.4.1 + lit-element@4.2.1: dependencies: '@lit-labs/ssr-dom-shim': 1.4.0 @@ -10012,6 +13475,13 @@ snapshots: lit-element: 4.2.1 lit-html: 3.3.1 + load-tsconfig@0.2.5: {} + + local-pkg@0.5.1: + dependencies: + mlly: 1.8.0 + pkg-types: 1.3.1 + locate-path@5.0.0: dependencies: p-locate: 4.1.0 @@ -10030,6 +13500,8 @@ snapshots: lodash.merge@4.6.2: {} + lodash.sortby@4.7.0: {} + lodash.truncate@4.4.2: {} lodash@4.17.21: {} @@ -10039,6 +13511,13 @@ snapshots: chalk: 4.1.2 is-unicode-supported: 0.1.0 + log-update@4.0.0: + dependencies: + ansi-escapes: 4.3.2 + cli-cursor: 3.1.0 + slice-ansi: 4.0.0 + wrap-ansi: 6.2.0 + loose-envify@1.4.0: dependencies: js-tokens: 4.0.0 @@ -10047,6 +13526,14 @@ snapshots: dependencies: get-func-name: 2.0.2 + lower-case-first@2.0.2: + dependencies: + tslib: 2.8.1 + + lower-case@2.0.2: + dependencies: + tslib: 2.8.1 + lru-cache@10.4.3: {} lru-cache@5.1.1: @@ -10055,8 +13542,14 @@ snapshots: lru_map@0.3.3: {} + magic-string@0.30.19: + dependencies: + '@jridgewell/sourcemap-codec': 1.5.5 + make-error@1.3.6: {} + map-cache@0.2.2: {} + markdown-table@2.0.0: dependencies: repeat-string: 1.6.1 @@ -10071,8 +13564,14 @@ snapshots: memorystream@0.3.1: {} + merge-stream@2.0.0: {} + merge2@1.4.1: {} + meros@1.3.2(@types/node@24.3.0): + optionalDependencies: + '@types/node': 24.3.0 + micro-eth-signer@0.14.0: dependencies: '@noble/curves': 1.8.2 @@ -10096,6 +13595,10 @@ snapshots: dependencies: mime-db: 1.52.0 + mimic-fn@2.1.0: {} + + mimic-fn@4.0.0: {} + minimalistic-assert@1.0.1: {} minimalistic-crypto-utils@1.0.1: {} @@ -10130,6 +13633,13 @@ snapshots: mkdirp@1.0.4: {} + mlly@1.8.0: + dependencies: + acorn: 8.15.0 + pathe: 2.0.3 + pkg-types: 1.3.1 + ufo: 1.6.1 + mnemonist@0.38.5: dependencies: obliterator: 2.0.5 @@ -10161,6 +13671,14 @@ snapshots: multiformats@9.9.0: {} + mute-stream@0.0.8: {} + + mz@2.7.0: + dependencies: + any-promise: 1.3.0 + object-assign: 4.1.1 + thenify-all: 1.6.0 + nanoclone@0.2.1: {} nanoid@3.3.11: {} @@ -10177,10 +13695,19 @@ snapshots: neo-async@2.6.2: {} + no-case@3.0.4: + dependencies: + lower-case: 2.0.2 + tslib: 2.8.1 + node-addon-api@2.0.2: {} node-addon-api@5.1.0: {} + node-addon-api@7.1.1: {} + + node-domexception@1.0.0: {} + node-emoji@1.11.0: dependencies: lodash: 4.17.21 @@ -10193,8 +13720,16 @@ snapshots: optionalDependencies: encoding: 0.1.13 + node-fetch@3.3.2: + dependencies: + data-uri-to-buffer: 4.0.1 + fetch-blob: 3.2.0 + formdata-polyfill: 4.0.10 + node-gyp-build@4.8.4: {} + node-int64@0.4.0: {} + node-mock-http@1.0.2: {} node-releases@2.0.19: {} @@ -10205,8 +13740,22 @@ snapshots: dependencies: abbrev: 1.0.9 + normalize-path@2.1.1: + dependencies: + remove-trailing-separator: 1.1.0 + normalize-path@3.0.0: {} + npm-run-path@4.0.1: + dependencies: + path-key: 3.1.1 + + npm-run-path@5.3.0: + dependencies: + path-key: 4.0.0 + + nullthrows@1.1.1: {} + number-to-bn@1.7.0: dependencies: bn.js: 4.11.6 @@ -10234,6 +13783,14 @@ snapshots: dependencies: wrappy: 1.0.2 + onetime@5.1.2: + dependencies: + mimic-fn: 2.1.0 + + onetime@6.0.0: + dependencies: + mimic-fn: 4.0.0 + openapi-fetch@0.13.8: dependencies: openapi-typescript-helpers: 0.0.15 @@ -10258,6 +13815,18 @@ snapshots: type-check: 0.4.0 word-wrap: 1.2.5 + ora@5.4.1: + dependencies: + bl: 4.1.0 + chalk: 4.1.2 + cli-cursor: 3.1.0 + cli-spinners: 2.9.2 + is-interactive: 1.0.0 + is-unicode-supported: 0.1.0 + log-symbols: 4.1.0 + strip-ansi: 6.0.1 + wcwidth: 1.0.1 + ordinal@1.0.3: {} os-tmpdir@1.0.2: {} @@ -10373,6 +13942,10 @@ snapshots: dependencies: yocto-queue: 0.1.0 + p-limit@5.0.0: + dependencies: + yocto-queue: 1.2.1 + p-locate@4.1.0: dependencies: p-limit: 2.3.0 @@ -10389,18 +13962,54 @@ snapshots: package-json-from-dist@1.0.1: {} + param-case@3.0.4: + dependencies: + dot-case: 3.0.4 + tslib: 2.8.1 + parent-module@1.0.1: dependencies: callsites: 3.1.0 + parse-filepath@1.0.2: + dependencies: + is-absolute: 1.0.0 + map-cache: 0.2.2 + path-root: 0.1.1 + + parse-json@5.2.0: + dependencies: + '@babel/code-frame': 7.27.1 + error-ex: 1.3.4 + json-parse-even-better-errors: 2.3.1 + lines-and-columns: 1.2.4 + + pascal-case@3.1.2: + dependencies: + no-case: 3.0.4 + tslib: 2.8.1 + + path-case@3.0.4: + dependencies: + dot-case: 3.0.4 + tslib: 2.8.1 + path-exists@4.0.0: {} path-is-absolute@1.0.1: {} path-key@3.1.1: {} + path-key@4.0.0: {} + path-parse@1.0.7: {} + path-root-regex@0.1.2: {} + + path-root@0.1.1: + dependencies: + path-root-regex: 0.1.2 + path-scurry@1.11.1: dependencies: lru-cache: 10.4.3 @@ -10408,6 +14017,10 @@ snapshots: path-type@4.0.0: {} + pathe@1.1.2: {} + + pathe@2.0.3: {} + pathval@1.1.1: {} pbkdf2@3.1.3: @@ -10452,6 +14065,14 @@ snapshots: sonic-boom: 2.8.0 thread-stream: 0.15.2 + pirates@4.0.7: {} + + pkg-types@1.3.1: + dependencies: + confbox: 0.1.8 + mlly: 1.8.0 + pathe: 2.0.3 + pngjs@5.0.0: {} pony-cause@2.1.11: {} @@ -10460,6 +14081,14 @@ snapshots: possible-typed-array-names@1.1.0: {} + postcss-load-config@3.1.4(postcss@8.5.6)(ts-node@10.9.2(@types/node@24.3.0)(typescript@5.9.2)): + dependencies: + lilconfig: 2.1.0 + yaml: 1.10.2 + optionalDependencies: + postcss: 8.5.6 + ts-node: 10.9.2(@types/node@24.3.0)(typescript@5.9.2) + postcss@8.5.6: dependencies: nanoid: 3.3.11 @@ -10476,10 +14105,22 @@ snapshots: prettier@2.8.8: {} + prettier@3.6.2: {} + + pretty-format@29.7.0: + dependencies: + '@jest/schemas': 29.6.3 + ansi-styles: 5.2.0 + react-is: 18.3.1 + process-nextick-args@2.0.1: {} process-warning@1.0.0: {} + promise@7.3.1: + dependencies: + asap: 2.0.6 + prompts@2.4.2: dependencies: kleur: 3.0.3 @@ -10581,6 +14222,8 @@ snapshots: react-is@16.13.1: {} + react-is@18.3.1: {} + react-refresh@0.17.0: {} react-router-dom@7.8.2(react-dom@19.1.1(react@19.1.1))(react@19.1.1): @@ -10633,6 +14276,20 @@ snapshots: reduce-flatten@2.0.0: {} + relay-runtime@12.0.0(encoding@0.1.13): + dependencies: + '@babel/runtime': 7.28.3 + fbjs: 3.0.5(encoding@0.1.13) + invariant: 2.2.4 + transitivePeerDependencies: + - encoding + + remedial@1.0.8: {} + + remove-trailing-separator@1.1.0: {} + + remove-trailing-spaces@1.0.9: {} + repeat-string@1.6.1: {} require-directory@2.1.1: {} @@ -10643,6 +14300,8 @@ snapshots: resolve-from@4.0.0: {} + resolve-from@5.0.0: {} + resolve-pkg-maps@1.0.0: {} resolve@1.1.7: {} @@ -10657,8 +14316,15 @@ snapshots: path-parse: 1.0.7 supports-preserve-symlinks-flag: 1.0.0 + restore-cursor@3.1.0: + dependencies: + onetime: 5.1.2 + signal-exit: 3.0.7 + reusify@1.1.0: {} + rfdc@1.4.1: {} + ripemd160@2.0.1: dependencies: hash-base: 2.0.2 @@ -10673,6 +14339,10 @@ snapshots: dependencies: bn.js: 5.2.2 + rollup@3.29.5: + optionalDependencies: + fsevents: 2.3.3 + rollup@4.50.0: dependencies: '@types/estree': 1.0.8 @@ -10713,10 +14383,16 @@ snapshots: bufferutil: 4.0.9 utf-8-validate: 5.0.10 + run-async@2.4.1: {} + run-parallel@1.2.0: dependencies: queue-microtask: 1.2.3 + rxjs@7.8.2: + dependencies: + tslib: 2.8.1 + safe-buffer@5.1.2: {} safe-buffer@5.2.1: {} @@ -10752,6 +14428,8 @@ snapshots: scrypt-js@3.0.1: {} + scuid@1.1.0: {} + secp256k1@4.0.4: dependencies: elliptic: 6.6.1 @@ -10764,6 +14442,12 @@ snapshots: semver@7.7.2: {} + sentence-case@3.0.4: + dependencies: + no-case: 3.0.4 + tslib: 2.8.1 + upper-case-first: 2.0.2 + serialize-javascript@6.0.2: dependencies: randombytes: 2.1.0 @@ -10830,14 +14514,22 @@ snapshots: shebang-regex@3.0.0: {} + shell-quote@1.8.3: {} + shelljs@0.8.5: dependencies: glob: 7.2.3 interpret: 1.4.0 rechoir: 0.6.2 + siginfo@2.0.0: {} + + signal-exit@3.0.7: {} + signal-exit@4.1.0: {} + signedsource@1.0.0: {} + simple-swizzle@0.2.2: dependencies: is-arrayish: 0.3.2 @@ -10846,12 +14538,23 @@ snapshots: slash@3.0.0: {} + slice-ansi@3.0.0: + dependencies: + ansi-styles: 4.3.0 + astral-regex: 2.0.0 + is-fullwidth-code-point: 3.0.0 + slice-ansi@4.0.0: dependencies: ansi-styles: 4.3.0 astral-regex: 2.0.0 is-fullwidth-code-point: 3.0.0 + snake-case@3.0.4: + dependencies: + dot-case: 3.0.4 + tslib: 2.8.1 + socket.io-client@4.8.1(bufferutil@4.0.9)(utf-8-validate@5.0.10): dependencies: '@socket.io/component-emitter': 3.1.2 @@ -10923,6 +14626,12 @@ snapshots: source-map@0.6.1: {} + source-map@0.8.0-beta.0: + dependencies: + whatwg-url: 7.1.0 + + spawn-command@0.0.2: {} + split-on-first@1.1.0: {} split2@3.2.2: @@ -10931,14 +14640,22 @@ snapshots: split2@4.2.0: {} + sponge-case@1.0.1: + dependencies: + tslib: 2.8.1 + sprintf-js@1.0.3: {} + stackback@0.0.2: {} + stacktrace-parser@0.1.11: dependencies: type-fest: 0.7.1 statuses@2.0.1: {} + std-env@3.9.0: {} + stream-chain@2.2.5: {} stream-json@1.9.1: @@ -10949,6 +14666,8 @@ snapshots: strict-uri-encode@2.0.0: {} + string-env-interpolation@1.0.1: {} + string-format@2.0.0: {} string-width@4.2.3: @@ -10979,12 +14698,30 @@ snapshots: dependencies: ansi-regex: 6.2.0 + strip-final-newline@2.0.0: {} + + strip-final-newline@3.0.0: {} + strip-hex-prefix@1.0.0: dependencies: is-hex-prefixed: 1.0.0 strip-json-comments@3.1.1: {} + strip-literal@2.1.1: + dependencies: + js-tokens: 9.0.1 + + sucrase@3.35.0: + dependencies: + '@jridgewell/gen-mapping': 0.3.13 + commander: 4.1.1 + glob: 10.4.5 + lines-and-columns: 1.2.4 + mz: 2.7.0 + pirates: 4.0.7 + ts-interface-checker: 0.1.13 + superstruct@1.0.4: {} superstruct@2.0.2: {} @@ -11007,6 +14744,16 @@ snapshots: supports-preserve-symlinks-flag@1.0.0: {} + swap-case@2.0.2: + dependencies: + tslib: 2.8.1 + + sync-fetch@0.6.0-2: + dependencies: + node-fetch: 3.3.2 + timeout-signal: 2.0.0 + whatwg-mimetype: 4.0.0 + table-layout@1.0.2: dependencies: array-back: 4.0.2 @@ -11026,6 +14773,14 @@ snapshots: text-encoding@0.7.0: {} + thenify-all@1.6.0: + dependencies: + thenify: 3.3.1 + + thenify@3.3.1: + dependencies: + any-promise: 1.3.0 + thread-stream@0.15.2: dependencies: real-require: 0.1.0 @@ -11034,13 +14789,27 @@ snapshots: dependencies: readable-stream: 3.6.2 + through@2.3.8: {} + + timeout-signal@2.0.0: {} + tiny-warning@1.0.3: {} + tinybench@2.9.0: {} + tinyglobby@0.2.14: dependencies: fdir: 6.5.0(picomatch@4.0.3) picomatch: 4.0.3 + tinypool@0.8.4: {} + + tinyspy@2.2.1: {} + + title-case@3.0.3: + dependencies: + tslib: 2.8.1 + tldts-core@6.1.86: {} tldts@6.0.16: @@ -11067,6 +14836,12 @@ snapshots: tr46@0.0.3: {} + tr46@1.0.1: + dependencies: + punycode: 2.3.1 + + tree-kill@1.2.2: {} + ts-api-utils@2.1.0(typescript@5.8.3): dependencies: typescript: 5.8.3 @@ -11082,6 +14857,10 @@ snapshots: dependencies: typescript: 5.9.2 + ts-interface-checker@0.1.13: {} + + ts-log@2.2.7: {} + ts-node@10.9.2(@types/node@24.3.0)(typescript@5.9.2): dependencies: '@cspotcode/source-map-support': 0.8.1 @@ -11104,12 +14883,37 @@ snapshots: tslib@2.4.1: {} + tslib@2.6.3: {} + tslib@2.7.0: {} tslib@2.8.1: {} tsort@0.0.1: {} + tsup@6.7.0(postcss@8.5.6)(ts-node@10.9.2(@types/node@24.3.0)(typescript@5.9.2))(typescript@5.9.2): + dependencies: + bundle-require: 4.2.1(esbuild@0.17.19) + cac: 6.7.14 + chokidar: 3.6.0 + debug: 4.4.1(supports-color@8.1.1) + esbuild: 0.17.19 + execa: 5.1.1 + globby: 11.1.0 + joycon: 3.1.1 + postcss-load-config: 3.1.4(postcss@8.5.6)(ts-node@10.9.2(@types/node@24.3.0)(typescript@5.9.2)) + resolve-from: 5.0.0 + rollup: 3.29.5 + source-map: 0.8.0-beta.0 + sucrase: 3.35.0 + tree-kill: 1.2.2 + optionalDependencies: + postcss: 8.5.6 + typescript: 5.9.2 + transitivePeerDependencies: + - supports-color + - ts-node + tsx@4.20.5: dependencies: esbuild: 0.25.9 @@ -11182,13 +14986,13 @@ snapshots: es-errors: 1.3.0 is-typed-array: 1.1.15 - typescript-eslint@8.42.0(eslint@9.34.0)(typescript@5.8.3): + typescript-eslint@8.42.0(eslint@9.34.0(jiti@2.6.1))(typescript@5.8.3): dependencies: - '@typescript-eslint/eslint-plugin': 8.42.0(@typescript-eslint/parser@8.42.0(eslint@9.34.0)(typescript@5.8.3))(eslint@9.34.0)(typescript@5.8.3) - '@typescript-eslint/parser': 8.42.0(eslint@9.34.0)(typescript@5.8.3) + '@typescript-eslint/eslint-plugin': 8.42.0(@typescript-eslint/parser@8.42.0(eslint@9.34.0(jiti@2.6.1))(typescript@5.8.3))(eslint@9.34.0(jiti@2.6.1))(typescript@5.8.3) + '@typescript-eslint/parser': 8.42.0(eslint@9.34.0(jiti@2.6.1))(typescript@5.8.3) '@typescript-eslint/typescript-estree': 8.42.0(typescript@5.8.3) - '@typescript-eslint/utils': 8.42.0(eslint@9.34.0)(typescript@5.8.3) - eslint: 9.34.0 + '@typescript-eslint/utils': 8.42.0(eslint@9.34.0(jiti@2.6.1))(typescript@5.8.3) + eslint: 9.34.0(jiti@2.6.1) typescript: 5.8.3 transitivePeerDependencies: - supports-color @@ -11201,6 +15005,8 @@ snapshots: typical@5.2.0: {} + ua-parser-js@1.0.41: {} + ufo@1.6.1: {} uglify-js@3.19.3: @@ -11214,6 +15020,8 @@ snapshots: dependencies: multiformats: 9.9.0 + unc-path-regex@0.1.2: {} + uncrypto@0.1.3: {} undici-types@6.19.8: {} @@ -11228,6 +15036,10 @@ snapshots: universalify@2.0.1: {} + unixify@1.0.0: + dependencies: + normalize-path: 2.1.1 + unpipe@1.0.0: {} unstorage@1.17.0(idb-keyval@6.2.2): @@ -11249,10 +15061,20 @@ snapshots: escalade: 3.2.0 picocolors: 1.1.1 + upper-case-first@2.0.2: + dependencies: + tslib: 2.8.1 + + upper-case@2.0.2: + dependencies: + tslib: 2.8.1 + uri-js@4.4.1: dependencies: punycode: 2.3.1 + urlpattern-polyfill@10.1.0: {} + use-callback-ref@1.3.3(@types/react@19.1.12)(react@19.1.1): dependencies: react: 19.1.1 @@ -11413,7 +15235,34 @@ snapshots: - utf-8-validate - zod - vite@7.1.4(@types/node@24.3.0)(tsx@4.20.5): + vite-node@1.6.1(@types/node@24.3.0): + dependencies: + cac: 6.7.14 + debug: 4.4.1(supports-color@8.1.1) + pathe: 1.1.2 + picocolors: 1.1.1 + vite: 5.4.20(@types/node@24.3.0) + transitivePeerDependencies: + - '@types/node' + - less + - lightningcss + - sass + - sass-embedded + - stylus + - sugarss + - supports-color + - terser + + vite@5.4.20(@types/node@24.3.0): + dependencies: + esbuild: 0.21.5 + postcss: 8.5.6 + rollup: 4.50.0 + optionalDependencies: + '@types/node': 24.3.0 + fsevents: 2.3.3 + + vite@7.1.4(@types/node@24.3.0)(jiti@2.6.1)(tsx@4.20.5)(yaml@2.8.1): dependencies: esbuild: 0.25.9 fdir: 6.5.0(picomatch@4.0.3) @@ -11424,7 +15273,43 @@ snapshots: optionalDependencies: '@types/node': 24.3.0 fsevents: 2.3.3 + jiti: 2.6.1 tsx: 4.20.5 + yaml: 2.8.1 + + vitest@1.6.1(@types/node@24.3.0): + dependencies: + '@vitest/expect': 1.6.1 + '@vitest/runner': 1.6.1 + '@vitest/snapshot': 1.6.1 + '@vitest/spy': 1.6.1 + '@vitest/utils': 1.6.1 + acorn-walk: 8.3.4 + chai: 4.5.0 + debug: 4.4.1(supports-color@8.1.1) + execa: 8.0.1 + local-pkg: 0.5.1 + magic-string: 0.30.19 + pathe: 1.1.2 + picocolors: 1.1.1 + std-env: 3.9.0 + strip-literal: 2.1.1 + tinybench: 2.9.0 + tinypool: 0.8.4 + vite: 5.4.20(@types/node@24.3.0) + vite-node: 1.6.1(@types/node@24.3.0) + why-is-node-running: 2.3.0 + optionalDependencies: + '@types/node': 24.3.0 + transitivePeerDependencies: + - less + - lightningcss + - sass + - sass-embedded + - stylus + - sugarss + - supports-color + - terser void-elements@3.1.0: {} @@ -11467,6 +15352,12 @@ snapshots: - utf-8-validate - zod + wcwidth@1.0.1: + dependencies: + defaults: 1.0.4 + + web-streams-polyfill@3.3.3: {} + web3-utils@1.10.4: dependencies: '@ethereumjs/util': 8.1.0 @@ -11482,11 +15373,21 @@ snapshots: webidl-conversions@3.0.1: {} + webidl-conversions@4.0.2: {} + + whatwg-mimetype@4.0.0: {} + whatwg-url@5.0.0: dependencies: tr46: 0.0.3 webidl-conversions: 3.0.1 + whatwg-url@7.1.0: + dependencies: + lodash.sortby: 4.7.0 + tr46: 1.0.1 + webidl-conversions: 4.0.2 + which-module@2.0.1: {} which-typed-array@1.1.19: @@ -11507,6 +15408,11 @@ snapshots: dependencies: isexe: 2.0.0 + why-is-node-running@2.3.0: + dependencies: + siginfo: 2.0.0 + stackback: 0.0.2 + widest-line@3.1.0: dependencies: string-width: 4.2.3 @@ -11577,6 +15483,12 @@ snapshots: yallist@3.1.1: {} + yaml-ast-parser@0.0.43: {} + + yaml@1.10.2: {} + + yaml@2.8.1: {} + yargs-parser@18.1.3: dependencies: camelcase: 5.3.1 @@ -11584,6 +15496,8 @@ snapshots: yargs-parser@20.2.9: {} + yargs-parser@21.1.1: {} + yargs-unparser@2.0.0: dependencies: camelcase: 6.3.0 @@ -11615,10 +15529,22 @@ snapshots: y18n: 5.0.8 yargs-parser: 20.2.9 + yargs@17.7.2: + dependencies: + cliui: 8.0.1 + escalade: 3.2.0 + get-caller-file: 2.0.5 + require-directory: 2.1.1 + string-width: 4.2.3 + y18n: 5.0.8 + yargs-parser: 21.1.1 + yn@3.1.1: {} yocto-queue@0.1.0: {} + yocto-queue@1.2.1: {} + yup@0.32.11: dependencies: '@babel/runtime': 7.28.3 From f6ce9c65bba4423e81b080defd814aaf8524aa1c Mon Sep 17 00:00:00 2001 From: James Date: Mon, 6 Oct 2025 10:53:20 +0200 Subject: [PATCH 04/13] create atom token --- apps/web/package.json | 8 +- .../swap/components/TokenSelector.tsx | 52 +++--- .../trust-gauge/TrustGaugePopover.module.css | 84 +++++++++ apps/web/src/features/trust-gauge/action.ts | 136 +++++++++++++++ .../features/trust-gauge/actions/onchain.ts | 65 +++++++ apps/web/src/features/trust-gauge/caip.ts | 20 +++ .../components/TrustGaugePopover.tsx | 160 ++++++++++++++++++ .../components/TrustGaugePopoverContainer.tsx | 55 ++++++ .../trust-gauge/components/TrustGaugeRing.tsx | 58 +++++++ apps/web/src/features/trust-gauge/config.ts | 27 +++ .../trust-gauge/getProtocolClients.ts | 20 +++ .../trust-gauge/hooks/useAtomByToken.ts | 73 ++++++++ .../trust-gauge/hooks/useCreateTokenAtom.ts | 149 ++++++++++++++++ .../trust-gauge/hooks/useTrustGauge.ts | 16 ++ .../trust-gauge/hooks/useTrustedListing.ts | 79 +++++++++ apps/web/src/features/trust-gauge/index.ts | 8 + apps/web/src/lib/tokenFilters.ts | 6 +- packages/intuition-graphql/package.json | 3 +- packages/intuition-graphql/pnpm-lock.yaml | 12 +- packages/intuition-graphql/src/client.ts | 4 +- packages/intuition-graphql/src/constants.ts | 4 +- pnpm-lock.yaml | 58 ++++++- 22 files changed, 1061 insertions(+), 36 deletions(-) create mode 100644 apps/web/src/features/trust-gauge/TrustGaugePopover.module.css create mode 100644 apps/web/src/features/trust-gauge/action.ts create mode 100644 apps/web/src/features/trust-gauge/actions/onchain.ts create mode 100644 apps/web/src/features/trust-gauge/caip.ts create mode 100644 apps/web/src/features/trust-gauge/components/TrustGaugePopover.tsx create mode 100644 apps/web/src/features/trust-gauge/components/TrustGaugePopoverContainer.tsx create mode 100644 apps/web/src/features/trust-gauge/components/TrustGaugeRing.tsx create mode 100644 apps/web/src/features/trust-gauge/config.ts create mode 100644 apps/web/src/features/trust-gauge/getProtocolClients.ts create mode 100644 apps/web/src/features/trust-gauge/hooks/useAtomByToken.ts create mode 100644 apps/web/src/features/trust-gauge/hooks/useCreateTokenAtom.ts create mode 100644 apps/web/src/features/trust-gauge/hooks/useTrustGauge.ts create mode 100644 apps/web/src/features/trust-gauge/hooks/useTrustedListing.ts create mode 100644 apps/web/src/features/trust-gauge/index.ts diff --git a/apps/web/package.json b/apps/web/package.json index d61001e18..f5b625c15 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -11,6 +11,9 @@ "preview": "vite preview" }, "dependencies": { + "@0xintuition/graphql": "workspace:*", + "@0xintuition/protocol": "2.0.0-alpha.2", + "@0xintuition/sdk": "2.0.0-alpha.2", "@dynamic-labs/ethereum": "^4.30.3", "@dynamic-labs/sdk-react-core": "^4.30.3", "@dynamic-labs/wagmi-connector": "^4.30.3", @@ -18,6 +21,7 @@ "@trustswap/sdk": "workspace:^", "@trustswap/tokenlists": "workspace:^", "@trustswap/ui": "workspace:^", + "clsx": "^2.1.1", "react": "^19.1.1", "react-dom": "^19.1.1", "react-router-dom": "^7.8.2", @@ -28,13 +32,13 @@ "@eslint/js": "^9.33.0", "@types/react": "^19.1.10", "@types/react-dom": "^19.1.7", - "@vitejs/plugin-react": "^5.0.0", + "@vitejs/plugin-react": "^5.0.2", "eslint": "^9.33.0", "eslint-plugin-react-hooks": "^5.2.0", "eslint-plugin-react-refresh": "^0.4.20", "globals": "^16.3.0", "typescript": "~5.8.3", "typescript-eslint": "^8.39.1", - "vite": "^7.1.2" + "vite": "^7.1.4" } } diff --git a/apps/web/src/features/swap/components/TokenSelector.tsx b/apps/web/src/features/swap/components/TokenSelector.tsx index caa9659fc..de4b7e94a 100644 --- a/apps/web/src/features/swap/components/TokenSelector.tsx +++ b/apps/web/src/features/swap/components/TokenSelector.tsx @@ -3,6 +3,7 @@ import { useState, useRef, useEffect, useMemo } from "react"; import type { Address } from "viem"; import { isAddress, getAddress, erc20Abi } from "viem"; import { usePublicClient } from "wagmi"; +import { INTUITION } from "@trustswap/sdk"; // fallback chain id import { TOKENLIST } from "../../../lib/tokens"; import styles from "@ui/styles/TokenSelector.module.css"; import arrowIcone from "../../../assets/arrow-selector.png"; @@ -11,8 +12,9 @@ import { getTokenIcon } from "../../../lib/getTokenIcon"; import { SearchBar } from "./SearchBar"; import { ImportTokenRow } from "./ImportTokenRow"; import { useImportedTokens } from "../hooks/useImportedTokens"; - +import { TrustGaugePopoverContainer } from "../../trust-gauge/components/TrustGaugePopoverContainer"; import { shouldHideToken } from "../../../lib/tokenFilters"; +import { MULTIVAULT_ADDRESS } from "../../trust-gauge/config"; type Token = { address: Address; @@ -41,7 +43,7 @@ export default function TokenSelector({ }: { value?: Address | ""; onChange: (a: Address) => void; - tokens?: Token[]; + tokens?: Token[]; }) { const [open, setOpen] = useState(false); const [query, setQuery] = useState(""); @@ -50,6 +52,9 @@ export default function TokenSelector({ const ref = useRef(null); const pc = usePublicClient(); + // Use chain id from wagmi public client (fallback to INTUITION id) + const chainId = (pc?.chain?.id as number | undefined) ?? INTUITION.id; + // Base tokens (props > TOKENLIST) const baseTokens: Token[] = useMemo( () => (tokens && tokens.length ? tokens : (TOKENLIST as unknown as Token[])), @@ -69,7 +74,7 @@ export default function TokenSelector({ [imported] ); - // Merge base + imported + // Merge base + imported const mergedTokens: Token[] = useMemo(() => { const map = new Map(); for (const t of baseTokens) map.set(norm(t.address), t); @@ -80,11 +85,10 @@ export default function TokenSelector({ return Array.from(map.values()); }, [baseTokens, imported]); - const visibleTokens: Token[] = useMemo(() => { return mergedTokens.filter((t) => { if (!t) return false; - if (t.hidden) return false; + if (t.hidden) return false; return !shouldHideToken( { @@ -95,21 +99,19 @@ export default function TokenSelector({ status: t.status as any, }, { - includeTest: false, - allowImported: false, + includeTest: false, + allowImported: false, importedAddresses: importedSet, } ); }); }, [mergedTokens, importedSet]); - const selectedToken = useMemo( () => (value ? visibleTokens.find((t) => eq(t.address, value)) ?? null : null), [visibleTokens, value] ); - const filtered = useMemo(() => { const q = query.trim().toLowerCase(); if (!q) return visibleTokens; @@ -121,7 +123,6 @@ export default function TokenSelector({ }); }, [visibleTokens, query]); - const canShowImport = useMemo(() => { if (!query) return false; if (!isAddress(query as Address)) return false; @@ -130,7 +131,6 @@ export default function TokenSelector({ const exists = mergedTokens.some((t) => eq(t.address, candidate)); if (exists || importing) return false; - const blocked = shouldHideToken( { address: candidate, symbol: "", decimals: 18 }, { includeTest: false, allowImported: false } @@ -138,16 +138,14 @@ export default function TokenSelector({ return !blocked; }, [query, mergedTokens, importing]); - const onPick = (addr: Address) => { const t = visibleTokens.find((x) => eq(x.address, addr)); - if (!t) return; + if (!t) return; onChange(checksum(addr)); setOpen(false); setQuery(""); }; - useEffect(() => { const handleClickOutside = (event: MouseEvent) => { if (ref.current && !ref.current.contains(event.target as Node)) { @@ -158,11 +156,9 @@ export default function TokenSelector({ return () => document.removeEventListener("mousedown", handleClickOutside); }, []); - async function resolveAndImport(addr: Address) { const ca = checksum(addr); - const blocked = shouldHideToken( { address: ca, symbol: "", decimals: 18 }, { includeTest: false, allowImported: false } @@ -186,7 +182,7 @@ export default function TokenSelector({ if (typeof n === "string" && n) name = n; if (typeof d === "number") decimals = d; } catch { - + // Silently ignore read failures } } @@ -244,17 +240,27 @@ export default function TokenSelector({ return (
{ + // Don't select the row if the click happened inside an interactive zone (popover) + const target = e.target as HTMLElement; + if (target.closest('[data-stop-row-select]')) { + return; // let the popover/button handle it + } e.preventDefault(); onPick(checksum(t.address)); }} - className={`${styles.item} ${isSelected ? styles.selected : ""}`} > - {t.symbol} + + {/* Wrap the popover so we can mark it as "do not trigger row select" */} +
+ } + /> +
{t.name && {t.name}} diff --git a/apps/web/src/features/trust-gauge/TrustGaugePopover.module.css b/apps/web/src/features/trust-gauge/TrustGaugePopover.module.css new file mode 100644 index 000000000..f76fc8426 --- /dev/null +++ b/apps/web/src/features/trust-gauge/TrustGaugePopover.module.css @@ -0,0 +1,84 @@ +/* apps/web/src/features/trust-gauge/components/TrustGaugePopover.module.css */ +.wrap { + position: relative; + display: inline-flex; + align-items: center; +} + +/* Hover group trigger */ +.trigger { + position: relative; + display: inline-flex; + align-items: center; +} + +/* Ring + centered icon */ +.ringBox { + position: relative; + display: inline-flex; + align-items: center; + justify-content: center; +} +.ringIcon { + position: absolute; + inset: 0; + display: flex; + align-items: center; + justify-content: center; +} + +/* Popover panel */ +.popover { + visibility: hidden; + opacity: 0; + transition: opacity 150ms ease; + position: absolute; + top: 100%; + margin-top: 8px; + left: 50%; + transform: translateX(0%); + z-index: 50; + width: 320px; + background: #fff; + color: #111827; + border: 1px solid #E5E7EB; + border-radius: 12px; + box-shadow: 0 10px 25px rgba(0,0,0,0.08); + padding: 12px; +} + +/* Show on hover/focus */ +.wrap:hover .popover, +.wrap:focus-within .popover { + visibility: visible; + opacity: 1; +} + +/* Basic utility styles */ +.section { display: grid; gap: 8px; } +.title { font-weight: 600; } +.muted { color: #6B7280; } +.loading { padding: 8px 0; } +.headerRow { display: flex; align-items: center; justify-content: space-between; } +.percent { font-variant-numeric: tabular-nums; } +.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } +.row { display: flex; gap: 8px; } +.right { text-align: right; } + +/* Buttons (very basic) */ +.btnPrimary, .btnSuccess, .btnDanger { + width: 100%; + padding: 8px 10px; + border-radius: 8px; + border: 1px solid transparent; + font-weight: 600; + cursor: pointer; +} +.btnPrimary { background: #3B82F6; color: #fff; } +.btnPrimary:disabled { opacity: .5; cursor: not-allowed; } + +.btnSuccess { background: #22C55E; color: #fff; } +.btnSuccess:disabled { opacity: .5; cursor: not-allowed; } + +.btnDanger { background: #EF4444; color: #fff; } +.btnDanger:disabled { opacity: .5; cursor: not-allowed; } diff --git a/apps/web/src/features/trust-gauge/action.ts b/apps/web/src/features/trust-gauge/action.ts new file mode 100644 index 000000000..5e49974bd --- /dev/null +++ b/apps/web/src/features/trust-gauge/action.ts @@ -0,0 +1,136 @@ +// English-only comments +import { toCAIP10 } from "./caip"; +import { + DEFAULT_AMOUNTS, + DEFAULT_CURVE_ID, + PREDICATE_LISTED_ON_VAULT_ID, + TRUSTSWAP_VAULT_ID, +} from "./config"; +import { getProtocolClients } from "./getProtocolClients"; + +// Core protocol functions & event parsers +import { + getAtomCost, + getTripleCost, + createAtoms, + createTriples, + deposit, +} from "@0xintuition/protocol"; +import { + eventParseAtomCreated, + eventParseTripleCreated, + eventParseDeposited, +} from "@0xintuition/protocol"; + +/** + * Create a CAIP-10 atom for a DEX token if missing. + * Uses core createAtoms(data[], assets[]) where each assets[i] = atomCost + optional initial deposit. + * Returns the on-chain termId (as bigint) when possible. + */ +export async function createAtomIfNeededForToken(params: { + chainId: number; + tokenAddress: `0x${string}`; + initialDepositWei?: bigint; +}) { + const { chainId, tokenAddress, initialDepositWei = DEFAULT_AMOUNTS.CREATE_ATOM } = params; + const { address, publicClient, walletClient } = await getProtocolClients(); + + // CAIP-10 uri from chain & token + const uri = toCAIP10(chainId, tokenAddress) as `0x${string}`; + + // Atom creation cost (fixed part included in 'assets' param) + const atomCost = await getAtomCost({ address, publicClient }); + const assets = atomCost + (initialDepositWei ?? 0n); + + // Fire transaction (single-atom mode) + const txHash = await createAtoms( + { address, walletClient, publicClient }, + { + args: [[uri], [assets]], + value: assets, + } + ); + + // Parse the AtomCreated event to get the vault id + const events = await eventParseAtomCreated(publicClient, txHash); + const termId = events[0]?.args.termId; // bigint + + return { txHash, termId }; // termId may be undefined if parsing finds nothing +} + +/** + * Ensure the Trusted Listing triple (subject, LISTED_ON, TRUSTSWAP) exists. + * We rely on the UI/GraphQL to avoid duplicates; on-chain we just create if the UI says it's missing. + */ +export async function createTrustedListing(params: { + subjectId: `0x${string}`; // atom term_id for the token (hex string) + predicateId?: `0x${string}`; // defaults to canonical LISTED_ON + objectId?: `0x${string}`; // defaults to canonical TRUSTSWAP + initialDepositWei?: bigint; +}) { + const { + subjectId, + predicateId = PREDICATE_LISTED_ON_VAULT_ID, + objectId = TRUSTSWAP_VAULT_ID, + initialDepositWei = DEFAULT_AMOUNTS.CREATE_TRIPLE, + } = params; + + const { address, publicClient, walletClient } = await getProtocolClients(); + + // Convert term_ids (hex) to bigint for the contract + const s = BigInt(subjectId); + const p = BigInt(predicateId); + const o = BigInt(objectId); + + // Required assets = tripleCost + optional initial deposit + const tripleCost = await getTripleCost({ address, publicClient }); + const assets = tripleCost + (initialDepositWei ?? 0n); + + // Fire transaction (single-triple mode) + const txHash = await createTriples( + { address, walletClient, publicClient }, + { + args: [[s], [p], [o], [assets]], + value: assets, + } + ); + + // Parse the TripleCreated event to get the triple term id + const events = await eventParseTripleCreated(publicClient, txHash); + const tripleId = events[0]?.args.termId; // bigint + + return { txHash, tripleId }; // tripleId may be undefined if parsing finds nothing +} + +/** + * Vote FOR or AGAINST by depositing into the triple or its counter-triple. + * - pass vaultId = tripleId (FOR) or counterTripleId (AGAINST) + * - we use DEFAULT_CURVE_ID = 0 and minShares = 1n to avoid slippage reverts + */ +export async function voteOnListing(params: { + vaultId: `0x${string}` | bigint; + assetsWei?: bigint; +}) { + const { vaultId, assetsWei = DEFAULT_AMOUNTS.VOTE } = params; + const { address, publicClient, walletClient, receiver } = await getProtocolClients(); + + const idBigInt = typeof vaultId === "string" ? BigInt(vaultId) : vaultId; + const idHex = `0x${idBigInt.toString(16)}` as `0x${string}`; + + // minShares = 1 => accept any non-zero shares outcome + const minShares = 1n; + + const txHash = await deposit( + { address, walletClient, publicClient }, + { + args: [receiver, idHex, BigInt(DEFAULT_CURVE_ID), minShares], + value: assetsWei, + } + ); + + // Parse Deposited to expose shares minted if needed + const events = await eventParseDeposited(publicClient, txHash); + const sharesForReceiver = events[0]?.args.shares; // bigint + + return { txHash, sharesForReceiver }; +} diff --git a/apps/web/src/features/trust-gauge/actions/onchain.ts b/apps/web/src/features/trust-gauge/actions/onchain.ts new file mode 100644 index 000000000..772ceb2c0 --- /dev/null +++ b/apps/web/src/features/trust-gauge/actions/onchain.ts @@ -0,0 +1,65 @@ +// English-only comments +import { + createAtomForToken, + createTrustedListingTriple, + voteOnTriple, +} from "@0xintuition/protocol"; +import { + CHAIN_ID, + DEFAULT_CURVE_ID, + DEFAULT_AMOUNTS, + PREDICATE_LISTED_ON_VAULT_ID, + TRUSTSWAP_VAULT_ID, +} from "../config"; + +export async function createAtomIfNeededForToken(params: { + tokenAddress: `0x${string}`; + assetsWei?: bigint; +}) { + const { tokenAddress, assetsWei = DEFAULT_AMOUNTS.CREATE_ATOM } = params; + // This helper should be idempotent on protocol side or will revert if atom exists. + return createAtomForToken({ + chainId: CHAIN_ID, + tokenAddress, + assetsWei, + }); +} + +export async function createTrustedListing(params: { + subjectId: `0x${string}`; // atom term_id for the token + assetsWei?: bigint; + curveId?: number; + predicateId?: `0x${string}`; // defaults to canonical "listed_on" + trustswapId?: `0x${string}`; // defaults to canonical TRUSTSWAP +}) { + const { + subjectId, + assetsWei = DEFAULT_AMOUNTS.CREATE_TRIPLE, + curveId = DEFAULT_CURVE_ID, + predicateId = PREDICATE_LISTED_ON_VAULT_ID, + trustswapId = TRUSTSWAP_VAULT_ID, + } = params; + + return createTrustedListingTriple({ + chainId: CHAIN_ID, + subjectId, + listedOnId: predicateId, + trustswapId, + curveId, + assetsWei, + }); +} + +export async function voteOnListing(params: { + termId: `0x${string}`; // triple term_id (FOR) or counter_term_id (AGAINST) + assetsWei?: bigint; + curveId?: number; +}) { + const { termId, assetsWei = DEFAULT_AMOUNTS.VOTE, curveId = DEFAULT_CURVE_ID } = params; + return voteOnTriple({ + chainId: CHAIN_ID, + termId, + curveId, + assetsWei, + }); +} diff --git a/apps/web/src/features/trust-gauge/caip.ts b/apps/web/src/features/trust-gauge/caip.ts new file mode 100644 index 000000000..311eaf1a8 --- /dev/null +++ b/apps/web/src/features/trust-gauge/caip.ts @@ -0,0 +1,20 @@ +import { getAddress } from "viem"; + + +/** +* Build a CAIP-10 account identifier for a token contract address. +* If you later switch to CAIP-19, replace this function in one place. +*/ +export function toCAIP10(chainId: number, tokenAddress: string) { +const checksum = getAddress(tokenAddress); +return `eip155:${chainId}:${checksum}`; +} + + +/** +* (Optional) CAIP-19 builder for ERC-20 tokens if you decide to use it in the future. +*/ +export function toCAIP19(chainId: number, tokenAddress: string) { +const checksum = getAddress(tokenAddress); +return `eip155:${chainId}/erc20:${checksum}`; +} \ No newline at end of file diff --git a/apps/web/src/features/trust-gauge/components/TrustGaugePopover.tsx b/apps/web/src/features/trust-gauge/components/TrustGaugePopover.tsx new file mode 100644 index 000000000..d13df17f1 --- /dev/null +++ b/apps/web/src/features/trust-gauge/components/TrustGaugePopover.tsx @@ -0,0 +1,160 @@ +// apps/web/src/features/trust-gauge/components/TrustGaugePopover.jsx +import React, { useMemo } from "react"; +import { TrustGaugeRing } from "./TrustGaugeRing"; +import styles from "../TrustGaugePopover.module.css"; +import { useAtomByToken } from "../hooks/useAtomByToken"; +import { useTrustedListing } from "../hooks/useTrustedListing"; + +/** + * If you're using TS, update the prop type to include "intent": + * onCreateSignal?: (params: { chainId: number; tokenAddress: string; intent?: "atom" | "listing" }) => Promise; + */ + +type TrustGaugePopoverProps = { + chainId: number; + tokenAddress: string; + className?: string; + icon?: React.ReactNode; + onCreateSignal?: (params: { chainId: number; tokenAddress: string; intent?: "atom" | "listing" }) => Promise; + onVote?: (params: { chainId: number; termId: bigint; side: "for" | "against" }) => Promise; +}; + +export function TrustGaugePopover({ + chainId, + tokenAddress, + className, + icon, + onCreateSignal, + onVote, +}: TrustGaugePopoverProps) { + const { data: subjectId, isLoading: isAtomLoading } = useAtomByToken({ + chainId, + tokenAddress, + }); + + // Normalize subjectId -> bigint > 0n only + const subjectIdRaw = subjectId && typeof subjectId === "object" && "vaultId" in subjectId + ? subjectId.vaultId + : subjectId; + + const subjectIdBn = useMemo(() => { + if (subjectIdRaw === null || subjectIdRaw === undefined) return null; + try { + const b = typeof subjectIdRaw === "bigint" ? subjectIdRaw : BigInt(subjectIdRaw); + return b > 0n ? b : null; + } catch { + return null; + } + }, [subjectIdRaw]); + + const hasAtom = !!subjectIdBn; + + // Gate the listing fetch behind hasAtom (requires your hook to support `enabled`) + const { + data: listing, + isLoading: isListingLoadingRaw, + refetch: refetchListing, + } = useTrustedListing({ subjectId: subjectIdBn, enabled: hasAtom }); + + const isListingLoading = hasAtom && isListingLoadingRaw; + + const ratioFor = useMemo(() => { + const forShares = listing?.forShares || 0n; + const againstShares = listing?.againstShares || 0n; + const total = forShares + againstShares; + if (total === 0n) return 0; + const million = 1000000n; + const scaled = (forShares * million) / total; + return Number(scaled) / 1000000; + }, [listing]); + + const isLoading = isAtomLoading || isListingLoading; + const hasTriple = Boolean(listing?.tripleId); + + async function handleCreateSignal(intent) { + if (!onCreateSignal) return; + await onCreateSignal({ chainId, tokenAddress, intent }); + await refetchListing?.(); + } + + async function handleVote(side) { + if (!onVote) return; + const termId = side === "for" ? listing?.tripleId : listing?.counterTripleId; + if (!termId) return; + await onVote({ chainId, termId, side }); + await refetchListing?.(); + } + + return ( +
+
+
+ +
{icon || null}
+
+
+ +
e.stopPropagation()} + onClick={(e) => e.stopPropagation()} + onPointerDown={(e) => e.stopPropagation()} + data-stop-row-select + > + {/* Show "Not verified" until we have a real subjectId > 0n */} + {!hasAtom ? ( +
+
Not verified
+
No atom found for this token.
+ +
+ ) : !hasTriple ? ( +
+
Not listed on TrustSwap
+
Create the listing triple to enable voting.
+ +
+ ) : ( +
+ + +
+ )} +
+
+ ); +} diff --git a/apps/web/src/features/trust-gauge/components/TrustGaugePopoverContainer.tsx b/apps/web/src/features/trust-gauge/components/TrustGaugePopoverContainer.tsx new file mode 100644 index 000000000..1169ebbed --- /dev/null +++ b/apps/web/src/features/trust-gauge/components/TrustGaugePopoverContainer.tsx @@ -0,0 +1,55 @@ +// apps/web/src/features/trust-gauge/components/TrustGaugePopoverContainer.jsx +import React, { useCallback, useState } from "react"; +import { TrustGaugePopover } from "./TrustGaugePopover"; +import { useCreateTokenAtom } from "../hooks/useCreateTokenAtom"; +import { useAtomByToken } from "../hooks/useAtomByToken"; + +type TrustGaugePopoverContainerProps = { + tokenAddress: string; + className?: string; + icon?: React.ReactNode; + onVote?: () => void; +}; + +export function TrustGaugePopoverContainer({ + tokenAddress, + className, + icon, + onVote, +}: TrustGaugePopoverContainerProps) { + const { createTokenAtom } = useCreateTokenAtom(); // uses config defaults (Intuition testnet) + + const chainId = 5; // Replace with the appropriate chainId for your environment (e.g., 5 for Goerli testnet) + const { refetch: refetchAtom } = useAtomByToken({ + chainId, + tokenAddress, + }); + + const [busy, setBusy] = useState(false); + + const onCreateSignal = useCallback( + async ({ intent = "atom" }) => { + if (busy) return; + setBusy(true); + try { + if (intent !== "atom") return; + await createTokenAtom({ tokenAddress }); // no chainId passed + await refetchAtom(); + } finally { + setBusy(false); + } + }, + [busy, createTokenAtom, refetchAtom, tokenAddress] + ); + + return ( + + ); +} diff --git a/apps/web/src/features/trust-gauge/components/TrustGaugeRing.tsx b/apps/web/src/features/trust-gauge/components/TrustGaugeRing.tsx new file mode 100644 index 000000000..9b12f14fb --- /dev/null +++ b/apps/web/src/features/trust-gauge/components/TrustGaugeRing.tsx @@ -0,0 +1,58 @@ +// apps/web/src/features/trust-gauge/components/TrustGaugeRing.jsx +import React from "react"; + +/** Simple circular ring to display a 0..1 ratio */ +export function TrustGaugeRing({ + ratioFor = 0, + size = 28, + strokeWidth = 3, + bgColor = "#E5E7EB", // light gray + forColor = "#22C55E", // green + againstColor = "#EF4444",// red +}) { + const r = (size - strokeWidth) / 2; + const c = 2 * Math.PI * r; + + // We only draw the "for" arc; "against" is the remainder, represented by the background. + const forLen = Math.max(0, Math.min(1, ratioFor)) * c; + + return ( + + {/* Background ring */} + + {/* "For" arc */} + + {/* Optional "against" tick at the end (tiny aesthetic detail) */} + {ratioFor > 0 && ratioFor < 1 && ( + + )} + + ); +} diff --git a/apps/web/src/features/trust-gauge/config.ts b/apps/web/src/features/trust-gauge/config.ts new file mode 100644 index 000000000..f857a042a --- /dev/null +++ b/apps/web/src/features/trust-gauge/config.ts @@ -0,0 +1,27 @@ +// English-only comments +import { INTUITION } from "@trustswap/sdk"; +import { getMultiVaultAddressFromChainId } from "@0xintuition/protocol"; + +export const CHAIN_ID = INTUITION.id; + +// Prefer SDK registry; allow env or hardcoded override +export const MULTIVAULT_ADDRESS = ( + import.meta.env.VITE_MULTIVAULT_ADDRESS ?? + getMultiVaultAddressFromChainId(CHAIN_ID) +) as `0x${string}`; + +// Canonical predicate/object term_ids (hex strings) +export const PREDICATE_LISTED_ON_VAULT_ID = import.meta.env + .VITE_PREDICATE_LISTED_ON_VAULT_ID as `0x${string}`; +export const TRUSTSWAP_VAULT_ID = import.meta.env + .VITE_TRUSTSWAP_VAULT_ID as `0x${string}`; + +// Default tTRUST amounts (wei) +export const DEFAULT_AMOUNTS = { + CREATE_ATOM: 10_000_000_000_000_000n, // 0.01 + CREATE_TRIPLE: 10_000_000_000_000_000n, // 0.01 + VOTE: 10_000_000_000_000_000n, // 0.01 +} as const; + +// We only use the default curve (0) in UI +export const DEFAULT_CURVE_ID = 0; diff --git a/apps/web/src/features/trust-gauge/getProtocolClients.ts b/apps/web/src/features/trust-gauge/getProtocolClients.ts new file mode 100644 index 000000000..c1e68c311 --- /dev/null +++ b/apps/web/src/features/trust-gauge/getProtocolClients.ts @@ -0,0 +1,20 @@ +import { getPublicClient, getWalletClient } from "wagmi/actions"; +import { wagmiConfig } from "../../lib/wagmi"; +import { CHAIN_ID, MULTIVAULT_ADDRESS } from "./config"; + +export async function getProtocolClients() { + const publicClient = getPublicClient(wagmiConfig, { chainId: CHAIN_ID }); + const walletClient = await getWalletClient(wagmiConfig, { chainId: CHAIN_ID }); + + if (!publicClient) throw new Error("Missing public client"); + if (!walletClient) throw new Error("Missing wallet client / not connected"); + + const receiver = walletClient.account!.address; + + return { + address: MULTIVAULT_ADDRESS, + publicClient, + walletClient, + receiver, + } as const; +} \ No newline at end of file diff --git a/apps/web/src/features/trust-gauge/hooks/useAtomByToken.ts b/apps/web/src/features/trust-gauge/hooks/useAtomByToken.ts new file mode 100644 index 000000000..7394305e1 --- /dev/null +++ b/apps/web/src/features/trust-gauge/hooks/useAtomByToken.ts @@ -0,0 +1,73 @@ +// apps/web/src/features/trust-gauge/hooks/useAtomByToken.ts +// English-only comments +import { useEffect, useMemo } from "react"; +import { useGetAtomByCanonicalDataQuery } from "@0xintuition/graphql"; +import { toCAIP19 } from "../caip"; + +export function useAtomByToken({ + chainId, + tokenAddress, +}: { + chainId: number; + tokenAddress: string; +}) { + // Build the exact URI the indexer expects (must match creation) + const uri = useMemo(() => toCAIP19(chainId, tokenAddress), [chainId, tokenAddress]); + + const query = useGetAtomByCanonicalDataQuery( + { uri }, + { staleTime: 60_000 } + ); + + // Normalize the first atom's term_id into a bigint (or null) + const subjectId = useMemo(() => { + const term = query.data?.atoms?.[0]?.term_id as string | undefined; + if (!term) return null; + try { + const bn = BigInt(term); + return bn > 0n ? bn : null; + } catch { + return null; + } + }, [query.data]); + + // Debug logs + useEffect(() => { + if (query.isFetching) { + console.debug("[useAtomByToken] fetching", { uri }); + } + }, [query.isFetching, uri]); + + useEffect(() => { + if (query.isSuccess) { + const atoms = query.data?.atoms ?? []; + console.debug("[useAtomByToken] success", { + uri, + count: atoms.length, + first: atoms[0], + subjectId, + }); + if (!atoms.length) { + console.debug("[useAtomByToken] no atom found for URI", { uri }); + } + } + }, [query.isSuccess, query.data, uri, subjectId]); + + useEffect(() => { + if (query.isError) { + console.error("[useAtomByToken] error", { uri, error: query.error }); + } + }, [query.isError, query.error, uri]); + + // Return compat shape for your Popover: { data: subjectId, isLoading, refetch, ... } + return { + data: subjectId, // <-- bigint | null (what your Popover expects) + isLoading: query.isFetching || query.isLoading, + isFetching: query.isFetching, + isError: query.isError, + error: query.error, + refetch: query.refetch, + uri, // helpful for debugging upstream + raw: query.data, // optional: the raw GraphQL payload + } as const; +} diff --git a/apps/web/src/features/trust-gauge/hooks/useCreateTokenAtom.ts b/apps/web/src/features/trust-gauge/hooks/useCreateTokenAtom.ts new file mode 100644 index 000000000..1c3e7d3cf --- /dev/null +++ b/apps/web/src/features/trust-gauge/hooks/useCreateTokenAtom.ts @@ -0,0 +1,149 @@ +// apps/web/src/features/trust-gauge/hooks/useCreateTokenAtom.ts +import { useCallback, useState } from "react"; +import { + useAccount, + usePublicClient, + useWalletClient, + useSwitchChain, +} from "wagmi"; +import type { Address } from "viem"; +import { + createPublicClient, + createWalletClient, + custom, + http, + getAddress, + stringToHex, +} from "viem"; +import { createAtoms } from "@0xintuition/protocol"; +import { + CHAIN_ID, // Intuition testnet chain id + MULTIVAULT_ADDRESS, // MultiVault on Intuition testnet + DEFAULT_AMOUNTS, // includes CREATE_ATOM +} from "../config"; + +// Minimal Intuition Testnet chain spec for viem fallbacks +const INTUITION_RPC_HTTP = "https://testnet.rpc.intuition.systems/http"; +const intuitionChain = { + id: CHAIN_ID, + name: "Intuition Testnet", + nativeCurrency: { name: "tTRUST", symbol: "tTRUST", decimals: 18 }, + rpcUrls: { default: { http: [INTUITION_RPC_HTTP] } }, +} as const; + +function caip19(chainId: number, token: Address) { + return `caip19:eip155:${chainId}/erc20:${token.toLowerCase()}`; +} + +export function useCreateTokenAtom() { + const wagmiPublic = usePublicClient({ chainId: CHAIN_ID }); + const { data: wagmiWallet } = useWalletClient(); + const { address, isConnected, chainId: activeChainId, connector } = useAccount(); + const { switchChainAsync } = useSwitchChain(); + + const [loading, setLoading] = useState(false); + const [error, setError] = useState(null); + + // Best-effort public client (fallback to a direct viem client if Wagmi has none) + const getPublicClient = useCallback(() => { + if (wagmiPublic) return wagmiPublic; + return createPublicClient({ + chain: intuitionChain, + transport: http(INTUITION_RPC_HTTP), + }); + }, [wagmiPublic]); + + // Best-effort wallet client (wagmi -> connector -> window.ethereum) + const getWalletClient = useCallback(async () => { + if (wagmiWallet) return wagmiWallet; + if (connector && typeof connector.getWalletClient === "function") { + try { + const wc = await connector.getWalletClient({ chainId: CHAIN_ID } as any); + if (wc) return wc; + } catch {} + } + if (typeof window !== "undefined" && (window as any).ethereum) { + try { + return createWalletClient({ + chain: intuitionChain, + transport: custom((window as any).ethereum), + }); + } catch {} + } + return null; + }, [wagmiWallet, connector]); + + // Ensure wallet is on Intuition Testnet; add the chain if missing + const ensureOnIntuition = useCallback(async () => { + if (activeChainId === CHAIN_ID) return; + try { + if (switchChainAsync) { + await switchChainAsync({ chainId: CHAIN_ID }); + return; + } + } catch { + // fall through + } + // Try adding the chain manually + const eth = (window as any)?.ethereum; + if (eth?.request) { + await eth.request({ + method: "wallet_addEthereumChain", + params: [ + { + chainId: `0x${CHAIN_ID.toString(16)}`, + chainName: "Intuition Testnet", + nativeCurrency: { name: "tTRUST", symbol: "tTRUST", decimals: 18 }, + rpcUrls: [INTUITION_RPC_HTTP], + }, + ], + }); + } + }, [activeChainId, switchChainAsync]); + + const createTokenAtom = useCallback( + async ({ tokenAddress }: { tokenAddress: Address }) => { + const publicClient = getPublicClient(); + const walletClient = await getWalletClient(); + + if (!walletClient) throw new Error("Wallet client unavailable"); + if (!isConnected || !address) throw new Error("Wallet not connected"); + + await ensureOnIntuition(); + + setLoading(true); + setError(null); + + try { + const token = getAddress(tokenAddress); + + // Build CAIP-19 for Intuition Testnet (your token is on Intuition now) + const uri = caip19(CHAIN_ID, token); + + // Convert to bytes hex for bytes[] + const dataHex = stringToHex(uri); + + const stake = DEFAULT_AMOUNTS.CREATE_ATOM; + + // Call the core function: createAtoms(bytes[] data, uint256[] assets) + const txHash = await createAtoms( + { address: MULTIVAULT_ADDRESS, walletClient, publicClient }, + { + args: [[dataHex], [stake]], + value: stake, + } + ); + + return { txHash, uri, stake }; + } catch (e: any) { + setError(e); + throw e; + } finally { + setLoading(false); + } + }, + [address, isConnected, getPublicClient, getWalletClient, ensureOnIntuition] + ); + + return { createTokenAtom, loading, error }; +} diff --git a/apps/web/src/features/trust-gauge/hooks/useTrustGauge.ts b/apps/web/src/features/trust-gauge/hooks/useTrustGauge.ts new file mode 100644 index 000000000..1a71f55b7 --- /dev/null +++ b/apps/web/src/features/trust-gauge/hooks/useTrustGauge.ts @@ -0,0 +1,16 @@ +import { useMemo } from "react"; + + +export function useTrustGauge(forShares: bigint, againstShares: bigint) { +return useMemo(() => { +const F = forShares < 0n ? 0n : forShares; +const A = againstShares < 0n ? 0n : againstShares; +const T = F + A; +if (T === 0n) { +return { ratioFor: 0, diff: 0, totalVotes: 0n }; +} +const ratioFor = Number(F) / Number(T); +const diff = 2 * ratioFor - 1; // -1..+1 +return { ratioFor, diff, totalVotes: T }; +}, [forShares, againstShares]); +} \ No newline at end of file diff --git a/apps/web/src/features/trust-gauge/hooks/useTrustedListing.ts b/apps/web/src/features/trust-gauge/hooks/useTrustedListing.ts new file mode 100644 index 000000000..900d32d4b --- /dev/null +++ b/apps/web/src/features/trust-gauge/hooks/useTrustedListing.ts @@ -0,0 +1,79 @@ +// English-only comments +import { useMemo } from "react"; +import { useGetTrustedListingTripleAggregatesQuery } from "@0xintuition/graphql"; + +export type TrustedListingData = { + tripleId: `0x${string}` | null; + counterTripleId: `0x${string}` | null; + forShares: bigint; + forVoters: number; + againstShares: bigint; + againstVoters: number; + userSide: "for" | "against" | "none"; +}; + +export function useTrustedListing(params: { + subjectId: `0x${string}` | null; + listedOnId: `0x${string}`; + trustswapId: `0x${string}`; + accountIdLower: string; // lowercase EOA +}) { + const { subjectId, listedOnId, trustswapId, accountIdLower } = params; + + const query = useGetTrustedListingTripleAggregatesQuery( + { + subjectId: subjectId!, + listedOnId, + trustswapId, + curveId: undefined, // or provide a valid value if available + accountIdLower, + }, + { enabled: Boolean(subjectId), staleTime: 30_000 } + ); + + const data = useMemo(() => { + const t = query.data?.triples?.[0]; + if (!t) { + return { + tripleId: null, + counterTripleId: null, + forShares: 0n, + forVoters: 0, + againstShares: 0n, + againstVoters: 0, + userSide: "none", + }; + } + + const termVault = t.term?.vaults?.[0]; + const counterVault = t.counter_term?.vaults?.[0]; + + const forShares = BigInt( + termVault?.positions_aggregate?.aggregate?.sum?.shares ?? "0" + ); + const forVoters = Number( + termVault?.positions_aggregate?.aggregate?.count ?? 0 + ); + const userFor = BigInt(termVault?.positions?.[0]?.shares ?? "0"); + + const againstShares = BigInt( + counterVault?.positions_aggregate?.aggregate?.sum?.shares ?? "0" + ); + const againstVoters = Number( + counterVault?.positions_aggregate?.aggregate?.count ?? 0 + ); + const userAgainst = BigInt(counterVault?.positions?.[0]?.shares ?? "0"); + + return { + tripleId: t.term_id as `0x${string}`, + counterTripleId: t.counter_term_id as `0x${string}`, + forShares, + forVoters, + againstShares, + againstVoters, + userSide: userFor > 0n ? "for" : userAgainst > 0n ? "against" : "none", + }; + }, [query.data]); + + return { ...query, data } as const; +} diff --git a/apps/web/src/features/trust-gauge/index.ts b/apps/web/src/features/trust-gauge/index.ts new file mode 100644 index 000000000..f9b2ecd4c --- /dev/null +++ b/apps/web/src/features/trust-gauge/index.ts @@ -0,0 +1,8 @@ +// English-only comments +export * from "./components/TrustGaugePopover"; +export * from "./components/TrustGaugeRing"; +export * from "./hooks/useAtomByToken"; +export * from "./hooks/useTrustedListing"; +export * from "./hooks/useTrustGauge"; +export * from "./actions/onchain"; +export * from "./config"; \ No newline at end of file diff --git a/apps/web/src/lib/tokenFilters.ts b/apps/web/src/lib/tokenFilters.ts index 60d1cb695..2d57bf78b 100644 --- a/apps/web/src/lib/tokenFilters.ts +++ b/apps/web/src/lib/tokenFilters.ts @@ -16,10 +16,10 @@ function addr(a?: Address | string | null) { const DENY_TOKEN_ADDRESSES: string[] = [ - "0x124c4e8470ed201ae896c2df6ee7152ab7438d80", - "0x5fdd4edd250b9214d77103881be0f09812d501d6", + //"0x124c4e8470ed201ae896c2df6ee7152ab7438d80", + //"0x5fdd4edd250b9214d77103881be0f09812d501d6", - "0x51379cc2c942ee2ae2ff0bd67a7b475f0be39dcf", + //"0x51379cc2c942ee2ae2ff0bd67a7b475f0be39dcf", ]; const DENY_SYMBOLS: string[] = [ diff --git a/packages/intuition-graphql/package.json b/packages/intuition-graphql/package.json index 2b04d4791..1bdb9bbfb 100644 --- a/packages/intuition-graphql/package.json +++ b/packages/intuition-graphql/package.json @@ -1,10 +1,11 @@ { "name": "@0xintuition/graphql", "description": "Intuition GraphQL", - "version": "1.0.0-alpha.1", + "version": "2.0.0-alpha.2", "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", + "private": true, "exports": { ".": { "types": "./dist/index.d.ts", diff --git a/packages/intuition-graphql/pnpm-lock.yaml b/packages/intuition-graphql/pnpm-lock.yaml index 988442405..48b91ab03 100644 --- a/packages/intuition-graphql/pnpm-lock.yaml +++ b/packages/intuition-graphql/pnpm-lock.yaml @@ -60,6 +60,9 @@ importers: concurrently: specifier: ^8.2.2 version: 8.2.2 + prettier: + specifier: ^3.6.2 + version: 3.6.2 tsup: specifier: ^6.7.0 version: 6.7.0(@swc/core@1.3.107(@swc/helpers@0.5.15))(postcss@8.4.38)(ts-node@10.9.1(@swc/core@1.3.107(@swc/helpers@0.5.15))(@types/node@22.7.5)(typescript@5.4.5))(typescript@5.4.5) @@ -2495,6 +2498,11 @@ packages: resolution: {integrity: sha512-Wglpdk03BSfXkHoQa3b/oulrotAkwrlLDRSOb9D0bN86FdRyE9lppSp33aHNPgBa0JKCoB+drFLZkQoRRYae5A==} engines: {node: ^10 || ^12 || >=14} + prettier@3.6.2: + resolution: {integrity: sha512-I7AIg5boAr5R0FFtJ6rCfD+LFsWHp81dolrFD8S79U9tb8Az2nGrJncnMSnys+bpQJfRUzqs9hnA81OAA3hCuQ==} + engines: {node: '>=14'} + hasBin: true + pretty-format@29.7.0: resolution: {integrity: sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} @@ -5853,6 +5861,8 @@ snapshots: picocolors: 1.1.1 source-map-js: 1.2.0 + prettier@3.6.2: {} + pretty-format@29.7.0: dependencies: '@jest/schemas': 29.6.3 @@ -6200,7 +6210,7 @@ snapshots: '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 '@types/node': 22.7.5 - acorn: 8.11.3 + acorn: 8.15.0 acorn-walk: 8.3.2 arg: 4.1.3 create-require: 1.1.1 diff --git a/packages/intuition-graphql/src/client.ts b/packages/intuition-graphql/src/client.ts index 29621ea12..289816dd1 100644 --- a/packages/intuition-graphql/src/client.ts +++ b/packages/intuition-graphql/src/client.ts @@ -1,13 +1,13 @@ import { GraphQLClient } from 'graphql-request' -import { API_URL_PROD } from './constants' +import { API_URL_DEV } from './constants' export interface ClientConfig { headers: HeadersInit apiUrl?: string } -const DEFAULT_API_URL = API_URL_PROD +const DEFAULT_API_URL = API_URL_DEV let globalConfig: { apiUrl?: string } = { apiUrl: DEFAULT_API_URL, diff --git a/packages/intuition-graphql/src/constants.ts b/packages/intuition-graphql/src/constants.ts index b1ff52115..b28fa2e45 100644 --- a/packages/intuition-graphql/src/constants.ts +++ b/packages/intuition-graphql/src/constants.ts @@ -1,5 +1,5 @@ -export const API_URL_LOCAL = 'http://localhost:8080/v1/graphql' +export const API_URL_LOCAL = 'http://localhost:8080/v2/graphql' export const API_URL_DEV = 'https://testnet.intuition.sh/v1/graphql' export const API_URL_PROD = - 'https://prod.base-mainnet-v-1-0.intuition.sh/v1/graphql' + 'https://testnet.intuition.sh/v1/graphql' diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 16ce1d1b5..0a53f0ec1 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -36,6 +36,15 @@ importers: apps/web: dependencies: + '@0xintuition/graphql': + specifier: workspace:* + version: link:../../packages/intuition-graphql + '@0xintuition/protocol': + specifier: 2.0.0-alpha.2 + version: 2.0.0-alpha.2(viem@2.37.2(bufferutil@4.0.9)(typescript@5.8.3)(utf-8-validate@5.0.10)(zod@3.25.76)) + '@0xintuition/sdk': + specifier: 2.0.0-alpha.2 + version: 2.0.0-alpha.2(encoding@0.1.13)(react@19.1.1)(viem@2.37.2(bufferutil@4.0.9)(typescript@5.8.3)(utf-8-validate@5.0.10)(zod@3.25.76)) '@dynamic-labs/ethereum': specifier: ^4.30.3 version: 4.30.3(@types/react@19.1.12)(bufferutil@4.0.9)(encoding@0.1.13)(fastestsmallesttextencoderdecoder@1.0.22)(immer@10.0.2)(react-dom@19.1.1(react@19.1.1))(react@19.1.1)(typescript@5.8.3)(use-sync-external-store@1.4.0(react@19.1.1))(utf-8-validate@5.0.10)(viem@2.37.2(bufferutil@4.0.9)(typescript@5.8.3)(utf-8-validate@5.0.10)(zod@3.25.76))(zod@3.25.76) @@ -57,6 +66,9 @@ importers: '@trustswap/ui': specifier: workspace:^ version: link:../../packages/ui + clsx: + specifier: ^2.1.1 + version: 2.1.1 react: specifier: ^19.1.1 version: 19.1.1 @@ -83,7 +95,7 @@ importers: specifier: ^19.1.7 version: 19.1.9(@types/react@19.1.12) '@vitejs/plugin-react': - specifier: ^5.0.0 + specifier: ^5.0.2 version: 5.0.2(vite@7.1.4(@types/node@24.3.0)(jiti@2.6.1)(tsx@4.20.5)(yaml@2.8.1)) eslint: specifier: ^9.33.0 @@ -104,7 +116,7 @@ importers: specifier: ^8.39.1 version: 8.42.0(eslint@9.34.0(jiti@2.6.1))(typescript@5.8.3) vite: - specifier: ^7.1.2 + specifier: ^7.1.4 version: 7.1.4(@types/node@24.3.0)(jiti@2.6.1)(tsx@4.20.5)(yaml@2.8.1) packages/contracts: @@ -285,6 +297,19 @@ packages: graphql: ^15.5.0 || ^16.0.0 || ^17.0.0 typescript: ^5.0.0 + '@0xintuition/graphql@2.0.0-alpha.2': + resolution: {integrity: sha512-BF6FDrI21GR2wpAKJYkfAuLphadsmqyydOwogBemJKmW5wAwt+/McBAxtmWzX/Ar0eMDxYoWvsOgduVbSYOVrA==} + + '@0xintuition/protocol@2.0.0-alpha.2': + resolution: {integrity: sha512-ty+RUqYgAxZ6upPT/8Do8MNJGxkyxGJeZbjins6FwUs8y39dGm1DWiO79V/43MiC21fFBXagOUfvHl7+FNOiZg==} + peerDependencies: + viem: ^2.0.0 + + '@0xintuition/sdk@2.0.0-alpha.2': + resolution: {integrity: sha512-PU1XIuTYdHenVQ+dMJ8GsCpNVyRiAMKdDFiOcfAmmnWgEkKs/fzupDbZ0pqKIpRREoQ9zBs4N6OLtkBSH3yGmw==} + peerDependencies: + viem: ^2.0.0 + '@adraffy/ens-normalize@1.10.1': resolution: {integrity: sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==} @@ -3489,6 +3514,10 @@ packages: resolution: {integrity: sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg==} engines: {node: '>=6'} + clsx@2.1.1: + resolution: {integrity: sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==} + engines: {node: '>=6'} + color-convert@1.9.3: resolution: {integrity: sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==} @@ -6861,6 +6890,29 @@ snapshots: graphql: 16.11.0 typescript: 5.9.2 + '@0xintuition/graphql@2.0.0-alpha.2(encoding@0.1.13)(react@19.1.1)': + dependencies: + '@graphql-codegen/typescript-document-nodes': 4.0.16(encoding@0.1.13)(graphql@16.11.0) + '@tanstack/react-query': 5.85.9(react@19.1.1) + graphql: 16.11.0 + graphql-request: 7.2.0(graphql@16.11.0) + transitivePeerDependencies: + - encoding + - react + + '@0xintuition/protocol@2.0.0-alpha.2(viem@2.37.2(bufferutil@4.0.9)(typescript@5.8.3)(utf-8-validate@5.0.10)(zod@3.25.76))': + dependencies: + viem: 2.37.2(bufferutil@4.0.9)(typescript@5.8.3)(utf-8-validate@5.0.10)(zod@3.25.76) + + '@0xintuition/sdk@2.0.0-alpha.2(encoding@0.1.13)(react@19.1.1)(viem@2.37.2(bufferutil@4.0.9)(typescript@5.8.3)(utf-8-validate@5.0.10)(zod@3.25.76))': + dependencies: + '@0xintuition/graphql': 2.0.0-alpha.2(encoding@0.1.13)(react@19.1.1) + '@0xintuition/protocol': 2.0.0-alpha.2(viem@2.37.2(bufferutil@4.0.9)(typescript@5.8.3)(utf-8-validate@5.0.10)(zod@3.25.76)) + viem: 2.37.2(bufferutil@4.0.9)(typescript@5.8.3)(utf-8-validate@5.0.10)(zod@3.25.76) + transitivePeerDependencies: + - encoding + - react + '@adraffy/ens-normalize@1.10.1': {} '@adraffy/ens-normalize@1.11.0': {} @@ -11903,6 +11955,8 @@ snapshots: clsx@1.2.1: {} + clsx@2.1.1: {} + color-convert@1.9.3: dependencies: color-name: 1.1.3 From 428bc05fc5db824a9816eb83b6c19f1cbee0a243 Mon Sep 17 00:00:00 2001 From: James Date: Mon, 6 Oct 2025 11:53:08 +0200 Subject: [PATCH 05/13] show create listing in popup --- apps/web/src/features/trust-gauge/caip.ts | 4 +- .../components/TrustGaugePopover.tsx | 12 ++-- .../components/TrustGaugePopoverContainer.tsx | 7 ++- .../trust-gauge/hooks/useAtomByToken.ts | 55 ++++++------------- 4 files changed, 29 insertions(+), 49 deletions(-) diff --git a/apps/web/src/features/trust-gauge/caip.ts b/apps/web/src/features/trust-gauge/caip.ts index 311eaf1a8..fcae3c21e 100644 --- a/apps/web/src/features/trust-gauge/caip.ts +++ b/apps/web/src/features/trust-gauge/caip.ts @@ -15,6 +15,6 @@ return `eip155:${chainId}:${checksum}`; * (Optional) CAIP-19 builder for ERC-20 tokens if you decide to use it in the future. */ export function toCAIP19(chainId: number, tokenAddress: string) { -const checksum = getAddress(tokenAddress); -return `eip155:${chainId}/erc20:${checksum}`; + const addr = `${tokenAddress}`.toLowerCase(); + return `caip19:eip155:${Number(chainId)}/erc20:${addr}`; } \ No newline at end of file diff --git a/apps/web/src/features/trust-gauge/components/TrustGaugePopover.tsx b/apps/web/src/features/trust-gauge/components/TrustGaugePopover.tsx index d13df17f1..8668e17a7 100644 --- a/apps/web/src/features/trust-gauge/components/TrustGaugePopover.tsx +++ b/apps/web/src/features/trust-gauge/components/TrustGaugePopover.tsx @@ -16,7 +16,7 @@ type TrustGaugePopoverProps = { className?: string; icon?: React.ReactNode; onCreateSignal?: (params: { chainId: number; tokenAddress: string; intent?: "atom" | "listing" }) => Promise; - onVote?: (params: { chainId: number; termId: bigint; side: "for" | "against" }) => Promise; + onVote?: (params: { chainId: number; termId: string; side: "for" | "against" }) => Promise; }; export function TrustGaugePopover({ @@ -27,10 +27,11 @@ export function TrustGaugePopover({ onCreateSignal, onVote, }: TrustGaugePopoverProps) { - const { data: subjectId, isLoading: isAtomLoading } = useAtomByToken({ + const { data: subjectId, isLoading: isAtomLoading, refetch: refetchAtom } = useAtomByToken({ chainId, tokenAddress, }); + console.log("[TrustGaugePopover] inputs", { subjectId, isAtomLoading }); // Normalize subjectId -> bigint > 0n only const subjectIdRaw = subjectId && typeof subjectId === "object" && "vaultId" in subjectId @@ -47,14 +48,14 @@ export function TrustGaugePopover({ } }, [subjectIdRaw]); - const hasAtom = !!subjectIdBn; + const hasAtom = !!subjectId; // Gate the listing fetch behind hasAtom (requires your hook to support `enabled`) const { data: listing, isLoading: isListingLoadingRaw, refetch: refetchListing, - } = useTrustedListing({ subjectId: subjectIdBn, enabled: hasAtom }); + } = useTrustedListing({ subjectId, enabled: hasAtom }); const isListingLoading = hasAtom && isListingLoadingRaw; @@ -74,6 +75,7 @@ export function TrustGaugePopover({ async function handleCreateSignal(intent) { if (!onCreateSignal) return; await onCreateSignal({ chainId, tokenAddress, intent }); + await refetchAtom?.(); await refetchListing?.(); } @@ -81,7 +83,7 @@ export function TrustGaugePopover({ if (!onVote) return; const termId = side === "for" ? listing?.tripleId : listing?.counterTripleId; if (!termId) return; - await onVote({ chainId, termId, side }); + await onVote({ chainId, termId: String(termId), side }); await refetchListing?.(); } diff --git a/apps/web/src/features/trust-gauge/components/TrustGaugePopoverContainer.tsx b/apps/web/src/features/trust-gauge/components/TrustGaugePopoverContainer.tsx index 1169ebbed..d7d732bff 100644 --- a/apps/web/src/features/trust-gauge/components/TrustGaugePopoverContainer.tsx +++ b/apps/web/src/features/trust-gauge/components/TrustGaugePopoverContainer.tsx @@ -3,6 +3,7 @@ import React, { useCallback, useState } from "react"; import { TrustGaugePopover } from "./TrustGaugePopover"; import { useCreateTokenAtom } from "../hooks/useCreateTokenAtom"; import { useAtomByToken } from "../hooks/useAtomByToken"; +import { CHAIN_ID } from "../config"; type TrustGaugePopoverContainerProps = { tokenAddress: string; @@ -19,7 +20,7 @@ export function TrustGaugePopoverContainer({ }: TrustGaugePopoverContainerProps) { const { createTokenAtom } = useCreateTokenAtom(); // uses config defaults (Intuition testnet) - const chainId = 5; // Replace with the appropriate chainId for your environment (e.g., 5 for Goerli testnet) + const chainId = CHAIN_ID; const { refetch: refetchAtom } = useAtomByToken({ chainId, tokenAddress, @@ -33,7 +34,7 @@ export function TrustGaugePopoverContainer({ setBusy(true); try { if (intent !== "atom") return; - await createTokenAtom({ tokenAddress }); // no chainId passed + await createTokenAtom({ tokenAddress: tokenAddress as `0x${string}` }); // no chainId passed await refetchAtom(); } finally { setBusy(false); @@ -44,7 +45,7 @@ export function TrustGaugePopoverContainer({ return ( toCAIP19(chainId, tokenAddress), [chainId, tokenAddress]); - const query = useGetAtomByCanonicalDataQuery( - { uri }, - { staleTime: 60_000 } + const query = useGetAtomByCanonicalDataQuery({ uri }, { staleTime: 60_000 }); + + // Keep the term_id as a hex string for GraphQL compatibility + const termId = useMemo( + () => (query.data?.atoms?.[0]?.term_id as `0x${string}` | undefined) ?? null, + [query.data] ); - // Normalize the first atom's term_id into a bigint (or null) - const subjectId = useMemo(() => { - const term = query.data?.atoms?.[0]?.term_id as string | undefined; - if (!term) return null; - try { - const bn = BigInt(term); - return bn > 0n ? bn : null; - } catch { - return null; - } - }, [query.data]); + useEffect(() => { + console.log("[useAtomByToken] mount/update", { chainId, tokenAddress, uri }); + }, [chainId, tokenAddress, uri]); - // Debug logs useEffect(() => { - if (query.isFetching) { - console.debug("[useAtomByToken] fetching", { uri }); - } + if (query.isFetching) console.log("[useAtomByToken] fetching", { uri }); }, [query.isFetching, uri]); useEffect(() => { if (query.isSuccess) { const atoms = query.data?.atoms ?? []; - console.debug("[useAtomByToken] success", { - uri, - count: atoms.length, - first: atoms[0], - subjectId, - }); - if (!atoms.length) { - console.debug("[useAtomByToken] no atom found for URI", { uri }); - } - } - }, [query.isSuccess, query.data, uri, subjectId]); - - useEffect(() => { - if (query.isError) { - console.error("[useAtomByToken] error", { uri, error: query.error }); + console.log("[useAtomByToken] success", { uri, count: atoms.length, first: atoms[0], termId }); } - }, [query.isError, query.error, uri]); + if (query.isError) console.error("[useAtomByToken] error", { uri, error: query.error }); + }, [query.isSuccess, query.isError, query.data, query.error, uri, termId]); - // Return compat shape for your Popover: { data: subjectId, isLoading, refetch, ... } return { - data: subjectId, // <-- bigint | null (what your Popover expects) + data: termId, // <-- string | null isLoading: query.isFetching || query.isLoading, isFetching: query.isFetching, isError: query.isError, error: query.error, refetch: query.refetch, - uri, // helpful for debugging upstream - raw: query.data, // optional: the raw GraphQL payload + uri, + raw: query.data, } as const; } From d5ea0ebcdecfcc792c6e395ef11afccc56d429f2 Mon Sep 17 00:00:00 2001 From: James Date: Mon, 6 Oct 2025 16:10:10 +0200 Subject: [PATCH 06/13] create triple token listed --- .../swap/components/TokenSelector.tsx | 7 +- .../components/TrustGaugePopoverContainer.tsx | 34 +++-- apps/web/src/features/trust-gauge/config.ts | 37 ++++- .../hooks/useCreateListingTriple.ts | 140 ++++++++++++++++++ 4 files changed, 197 insertions(+), 21 deletions(-) create mode 100644 apps/web/src/features/trust-gauge/hooks/useCreateListingTriple.ts diff --git a/apps/web/src/features/swap/components/TokenSelector.tsx b/apps/web/src/features/swap/components/TokenSelector.tsx index de4b7e94a..832ff3d86 100644 --- a/apps/web/src/features/swap/components/TokenSelector.tsx +++ b/apps/web/src/features/swap/components/TokenSelector.tsx @@ -85,10 +85,11 @@ export default function TokenSelector({ return Array.from(map.values()); }, [baseTokens, imported]); + const visibleTokens: Token[] = useMemo(() => { return mergedTokens.filter((t) => { if (!t) return false; - if (t.hidden) return false; + if (t.hidden) return false; return !shouldHideToken( { @@ -99,8 +100,8 @@ export default function TokenSelector({ status: t.status as any, }, { - includeTest: false, - allowImported: false, + includeTest: false, + allowImported: false, importedAddresses: importedSet, } ); diff --git a/apps/web/src/features/trust-gauge/components/TrustGaugePopoverContainer.tsx b/apps/web/src/features/trust-gauge/components/TrustGaugePopoverContainer.tsx index d7d732bff..950359957 100644 --- a/apps/web/src/features/trust-gauge/components/TrustGaugePopoverContainer.tsx +++ b/apps/web/src/features/trust-gauge/components/TrustGaugePopoverContainer.tsx @@ -2,15 +2,16 @@ import React, { useCallback, useState } from "react"; import { TrustGaugePopover } from "./TrustGaugePopover"; import { useCreateTokenAtom } from "../hooks/useCreateTokenAtom"; +import { useCreateListingTriple } from "../hooks/useCreateListingTriple"; import { useAtomByToken } from "../hooks/useAtomByToken"; -import { CHAIN_ID } from "../config"; +import { CHAIN_ID } from "../config"; -type TrustGaugePopoverContainerProps = { +interface TrustGaugePopoverContainerProps { tokenAddress: string; className?: string; icon?: React.ReactNode; onVote?: () => void; -}; +} export function TrustGaugePopoverContainer({ tokenAddress, @@ -18,13 +19,11 @@ export function TrustGaugePopoverContainer({ icon, onVote, }: TrustGaugePopoverContainerProps) { - const { createTokenAtom } = useCreateTokenAtom(); // uses config defaults (Intuition testnet) + const { createTokenAtom } = useCreateTokenAtom(); + const { createListingTriple } = useCreateListingTriple(); - const chainId = CHAIN_ID; - const { refetch: refetchAtom } = useAtomByToken({ - chainId, - tokenAddress, - }); + const chainId = CHAIN_ID; + const { data: subjectId, refetch: refetchAtom } = useAtomByToken({ chainId, tokenAddress }); const [busy, setBusy] = useState(false); @@ -33,14 +32,23 @@ export function TrustGaugePopoverContainer({ if (busy) return; setBusy(true); try { - if (intent !== "atom") return; - await createTokenAtom({ tokenAddress: tokenAddress as `0x${string}` }); // no chainId passed - await refetchAtom(); + if (intent === "atom") { + await createTokenAtom({ tokenAddress }); + await refetchAtom?.(); + return; + } + if (intent === "listing") { + if (!subjectId) throw new Error("No subjectId found. Create atom first."); + await createListingTriple({ subjectId }); + // Listing hook will refetch inside the popover; ensure atom stays fresh too + await refetchAtom?.(); + return; + } } finally { setBusy(false); } }, - [busy, createTokenAtom, refetchAtom, tokenAddress] + [busy, createTokenAtom, createListingTriple, subjectId, refetchAtom, tokenAddress] ); return ( diff --git a/apps/web/src/features/trust-gauge/config.ts b/apps/web/src/features/trust-gauge/config.ts index f857a042a..6fcea3bbe 100644 --- a/apps/web/src/features/trust-gauge/config.ts +++ b/apps/web/src/features/trust-gauge/config.ts @@ -1,20 +1,37 @@ +// apps/web/src/config/intuition.ts // English-only comments import { INTUITION } from "@trustswap/sdk"; import { getMultiVaultAddressFromChainId } from "@0xintuition/protocol"; export const CHAIN_ID = INTUITION.id; +// Hardcoded term_ids (32-byte hex) +const PREDICATE_LISTED_ON_VAULT_ID_HARDCODED = + "0x8a073dbae58b9367d2d6a8a6f0c538f866b6fdad31f7ee556e609c1b8dee31d7" as const; +const TRUSTSWAP_VAULT_ID_HARDCODED = + "0xb709900072e84b2ef7083b6b91ff1f6ae42ac9ad32a906bf7b38892b9bd10e85" as const; + // Prefer SDK registry; allow env or hardcoded override export const MULTIVAULT_ADDRESS = ( import.meta.env.VITE_MULTIVAULT_ADDRESS ?? getMultiVaultAddressFromChainId(CHAIN_ID) ) as `0x${string}`; -// Canonical predicate/object term_ids (hex strings) -export const PREDICATE_LISTED_ON_VAULT_ID = import.meta.env - .VITE_PREDICATE_LISTED_ON_VAULT_ID as `0x${string}`; -export const TRUSTSWAP_VAULT_ID = import.meta.env - .VITE_TRUSTSWAP_VAULT_ID as `0x${string}`; +// Resolve term_ids: use env if provided, else hardcoded +const envPredicate = import.meta.env.VITE_PREDICATE_LISTED_ON_VAULT_ID as string | undefined; +const envVault = import.meta.env.VITE_TRUSTSWAP_VAULT_ID as string | undefined; + +export const PREDICATE_LISTED_ON_VAULT_ID = (envPredicate ?? PREDICATE_LISTED_ON_VAULT_ID_HARDCODED) as `0x${string}`; +export const TRUSTSWAP_VAULT_ID = (envVault ?? TRUSTSWAP_VAULT_ID_HARDCODED) as `0x${string}`; + +// Runtime validation so we never end up undefined or malformed +function assertTermId(id: string, label: string): asserts id is `0x${string}` { + if (!/^0x[0-9a-fA-F]{64}$/.test(id)) { + throw new Error(`[intuition] ${label} must be a 32-byte hex (0x + 64 hex). Got: ${id}`); + } +} +assertTermId(PREDICATE_LISTED_ON_VAULT_ID, "PREDICATE_LISTED_ON_VAULT_ID"); +assertTermId(TRUSTSWAP_VAULT_ID, "TRUSTSWAP_VAULT_ID"); // Default tTRUST amounts (wei) export const DEFAULT_AMOUNTS = { @@ -25,3 +42,13 @@ export const DEFAULT_AMOUNTS = { // We only use the default curve (0) in UI export const DEFAULT_CURVE_ID = 0; + +// Helpful visibility in dev +if (import.meta.env.DEV) { + console.log("[intuition cfg]", { + CHAIN_ID, + MULTIVAULT_ADDRESS, + PREDICATE: PREDICATE_LISTED_ON_VAULT_ID.slice(0, 10) + "…", + VAULT: TRUSTSWAP_VAULT_ID.slice(0, 10) + "…", + }); +} diff --git a/apps/web/src/features/trust-gauge/hooks/useCreateListingTriple.ts b/apps/web/src/features/trust-gauge/hooks/useCreateListingTriple.ts new file mode 100644 index 000000000..65aeaace3 --- /dev/null +++ b/apps/web/src/features/trust-gauge/hooks/useCreateListingTriple.ts @@ -0,0 +1,140 @@ +// apps/web/src/features/trust-gauge/hooks/useCreateListingTriple.ts +// English-only comments +import { useCallback, useState } from "react"; +import { + useAccount, + usePublicClient, + useWalletClient, + useSwitchChain, +} from "wagmi"; +import { + createPublicClient, + createWalletClient, + custom, + http, + type Address, +} from "viem"; +import { createTriples } from "@0xintuition/protocol"; +import { + CHAIN_ID, + MULTIVAULT_ADDRESS, + PREDICATE_LISTED_ON_VAULT_ID, + TRUSTSWAP_VAULT_ID, + DEFAULT_AMOUNTS, +} from "../config"; + +// Minimal Intuition Testnet chain spec for viem fallbacks +const INTUITION_RPC_HTTP = "https://testnet.rpc.intuition.systems/http"; +const intuitionChain = { + id: CHAIN_ID, + name: "Intuition Testnet", + nativeCurrency: { name: "tTRUST", symbol: "tTRUST", decimals: 18 }, + rpcUrls: { default: { http: [INTUITION_RPC_HTTP] } }, +} as const; + +export function useCreateListingTriple() { + const wagmiPublic = usePublicClient({ chainId: CHAIN_ID }); + const { data: wagmiWallet } = useWalletClient(); + const { address, isConnected, chainId: activeChainId, connector } = useAccount(); + const { switchChainAsync } = useSwitchChain(); + + const [loading, setLoading] = useState(false); + const [error, setError] = useState(null); + + // best-effort public client + const getPublicClient = useCallback(() => { + if (wagmiPublic) return wagmiPublic; + return createPublicClient({ chain: intuitionChain, transport: http(INTUITION_RPC_HTTP) }); + }, [wagmiPublic]); + + // best-effort wallet client + const getWalletClient = useCallback(async () => { + if (wagmiWallet) return wagmiWallet; + if (connector && typeof connector.getWalletClient === "function") { + try { + const wc = await connector.getWalletClient({ chainId: CHAIN_ID } as any); + if (wc) return wc; + } catch {} + } + if (typeof window !== "undefined" && (window as any).ethereum) { + try { + return createWalletClient({ + chain: intuitionChain, + transport: custom((window as any).ethereum), + }); + } catch {} + } + return null; + }, [wagmiWallet, connector]); + + // ensure we are on Intuition testnet + const ensureOnIntuition = useCallback(async () => { + if (activeChainId === CHAIN_ID) return; + try { + if (switchChainAsync) { + await switchChainAsync({ chainId: CHAIN_ID }); + return; + } + } catch {} + const eth = (window as any)?.ethereum; + if (eth?.request) { + await eth.request({ + method: "wallet_addEthereumChain", + params: [{ + chainId: `0x${CHAIN_ID.toString(16)}`, + chainName: "Intuition Testnet", + nativeCurrency: { name: "tTRUST", symbol: "tTRUST", decimals: 18 }, + rpcUrls: [INTUITION_RPC_HTTP], + }], + }); + } + }, [activeChainId, switchChainAsync]); + + const createListingTriple = useCallback( + async ({ subjectId, stakeWei }: { subjectId: `0x${string}`; stakeWei?: bigint }) => { + const publicClient = getPublicClient(); + const walletClient = await getWalletClient(); + + if (!walletClient) throw new Error("Wallet client unavailable"); + if (!isConnected || !address) throw new Error("Wallet not connected"); + + await ensureOnIntuition(); + + setLoading(true); + setError(null); + + try { + if (!PREDICATE_LISTED_ON_VAULT_ID) throw new Error("Missing PREDICATE_LISTED_ON_VAULT_ID"); + if (!TRUSTSWAP_VAULT_ID) throw new Error("Missing TRUSTSWAP_VAULT_ID"); + + const s = subjectId as `0x${string}`; + const p = PREDICATE_LISTED_ON_VAULT_ID as `0x${string}`; + const o = TRUSTSWAP_VAULT_ID as `0x${string}`; + const amt = stakeWei ?? DEFAULT_AMOUNTS.CREATE_TRIPLE; + + // createTriples(subjects[], predicates[], objects[], assets[]) with value = sum(assets) + const txHash = await createTriples( + { address: MULTIVAULT_ADDRESS as Address, walletClient, publicClient }, + { + args: [[s], [p], [o], [amt]], + value: amt, + } + ); + + if (import.meta.env.DEV) { + console.log("[useCreateListingTriple] sent", { subjectId: s, predicateId: p, objectId: o, amt, txHash }); + } + + return { txHash, subjectId: s, predicateId: p, objectId: o, stake: amt }; + } catch (e: any) { + setError(e); + throw e; + } finally { + setLoading(false); + } + }, + [getPublicClient, getWalletClient, isConnected, address, ensureOnIntuition] + ); + + return { createListingTriple, loading, error }; +} From bc62b940d00335d8e908ad1e536b03cb1d42b688 Mon Sep 17 00:00:00 2001 From: James Date: Mon, 6 Oct 2025 22:35:16 +0200 Subject: [PATCH 07/13] show button vote triple token --- .../components/TrustGaugePopover.tsx | 29 ++- .../trust-gauge/hooks/useTrustedListing.ts | 180 +++++++++++------- 2 files changed, 139 insertions(+), 70 deletions(-) diff --git a/apps/web/src/features/trust-gauge/components/TrustGaugePopover.tsx b/apps/web/src/features/trust-gauge/components/TrustGaugePopover.tsx index 8668e17a7..561e5a6a5 100644 --- a/apps/web/src/features/trust-gauge/components/TrustGaugePopover.tsx +++ b/apps/web/src/features/trust-gauge/components/TrustGaugePopover.tsx @@ -4,6 +4,7 @@ import { TrustGaugeRing } from "./TrustGaugeRing"; import styles from "../TrustGaugePopover.module.css"; import { useAtomByToken } from "../hooks/useAtomByToken"; import { useTrustedListing } from "../hooks/useTrustedListing"; +import { formatEther } from "viem"; /** * If you're using TS, update the prop type to include "intent": @@ -55,7 +56,14 @@ export function TrustGaugePopover({ data: listing, isLoading: isListingLoadingRaw, refetch: refetchListing, - } = useTrustedListing({ subjectId, enabled: hasAtom }); + } = useTrustedListing({ subjectId, enabled: hasAtom, debug: true }); + + console.log("[TrustGaugePopover] listing state", { + subjectId, + hasAtom, + isListingLoadingRaw, + listing, + }); const isListingLoading = hasAtom && isListingLoadingRaw; @@ -69,6 +77,16 @@ export function TrustGaugePopover({ return Number(scaled) / 1000000; }, [listing]); + const votesForLabel = useMemo(() => { + const v = listing?.forShares ?? 0n; + return Number(formatEther(v)).toLocaleString(undefined, { maximumFractionDigits: 4 }); + }, [listing]); + + const votesAgainstLabel = useMemo(() => { + const v = listing?.againstShares ?? 0n; + return Number(formatEther(v)).toLocaleString(undefined, { maximumFractionDigits: 4 }); + }, [listing]); + const isLoading = isAtomLoading || isListingLoading; const hasTriple = Boolean(listing?.tripleId); @@ -134,9 +152,14 @@ export function TrustGaugePopover({
) : (
+
Listing votes
+
+ FOR: {votesForLabel} tTRUST  |   + AGAINST: {votesAgainstLabel} tTRUST +
- ) : !hasTriple ? ( + ) : !listing?.tripleId ? (
Not listed on TrustSwap
Create the listing triple to enable voting.
@@ -157,26 +173,69 @@ export function TrustGaugePopover({ FOR: {votesForLabel} tTRUST  |   AGAINST: {votesAgainstLabel} tTRUST
- - + + {/* Amount input */} +
+ setAmountStr(e.target.value)} + onClick={(e) => e.stopPropagation()} + /> +
+ + {/* Action buttons */} +
+ + + + + +
+ + {!!lastError && ( +
+ {lastError} +
+ )} )} diff --git a/apps/web/src/features/trust-gauge/components/TrustGaugePopoverContainer.tsx b/apps/web/src/features/trust-gauge/components/TrustGaugePopoverContainer.tsx index 950359957..f158fd391 100644 --- a/apps/web/src/features/trust-gauge/components/TrustGaugePopoverContainer.tsx +++ b/apps/web/src/features/trust-gauge/components/TrustGaugePopoverContainer.tsx @@ -1,26 +1,23 @@ // apps/web/src/features/trust-gauge/components/TrustGaugePopoverContainer.jsx +// English-only comments import React, { useCallback, useState } from "react"; import { TrustGaugePopover } from "./TrustGaugePopover"; import { useCreateTokenAtom } from "../hooks/useCreateTokenAtom"; import { useCreateListingTriple } from "../hooks/useCreateListingTriple"; import { useAtomByToken } from "../hooks/useAtomByToken"; +import { useDepositToVault } from "../hooks/useDepositToVault"; import { CHAIN_ID } from "../config"; -interface TrustGaugePopoverContainerProps { - tokenAddress: string; - className?: string; - icon?: React.ReactNode; - onVote?: () => void; -} - -export function TrustGaugePopoverContainer({ - tokenAddress, - className, - icon, - onVote, -}: TrustGaugePopoverContainerProps) { +export function TrustGaugePopoverContainer({ tokenAddress, className, icon }) { const { createTokenAtom } = useCreateTokenAtom(); const { createListingTriple } = useCreateListingTriple(); + const { + depositExact, + depositMin, + loading: voteLoading, + findingMin, + error, + } = useDepositToVault({ chainId: CHAIN_ID }); const chainId = CHAIN_ID; const { data: subjectId, refetch: refetchAtom } = useAtomByToken({ chainId, tokenAddress }); @@ -33,14 +30,13 @@ export function TrustGaugePopoverContainer({ setBusy(true); try { if (intent === "atom") { - await createTokenAtom({ tokenAddress }); + await createTokenAtom({ tokenAddress: tokenAddress }); await refetchAtom?.(); return; } if (intent === "listing") { if (!subjectId) throw new Error("No subjectId found. Create atom first."); await createListingTriple({ subjectId }); - // Listing hook will refetch inside the popover; ensure atom stays fresh too await refetchAtom?.(); return; } @@ -51,6 +47,34 @@ export function TrustGaugePopoverContainer({ [busy, createTokenAtom, createListingTriple, subjectId, refetchAtom, tokenAddress] ); + // From popover: deposit a user-entered amount (wei) to termId + const onDepositExact = useCallback( + async ({ termId, amountWei }) => { + if (busy || voteLoading) return; + setBusy(true); + try { + await depositExact({ termId, amountWei }); + } finally { + setBusy(false); + } + }, + [busy, voteLoading, depositExact] + ); + + // From popover: deposit the minimum accepted amount to termId + const onDepositMin = useCallback( + async ({ termId }) => { + if (busy || voteLoading || findingMin) return; + setBusy(true); + try { + await depositMin({ termId }); + } finally { + setBusy(false); + } + }, + [busy, voteLoading, findingMin, depositMin] + ); + return ( ); } diff --git a/apps/web/src/features/trust-gauge/hooks/useDepositToVault.ts b/apps/web/src/features/trust-gauge/hooks/useDepositToVault.ts new file mode 100644 index 000000000..3682306a6 --- /dev/null +++ b/apps/web/src/features/trust-gauge/hooks/useDepositToVault.ts @@ -0,0 +1,344 @@ +// apps/web/src/features/trust-gauge/hooks/useDepositToVault.ts +// English-only comments +import { useCallback, useEffect, useState } from "react"; +import { useAccount, usePublicClient, useSwitchChain, useWalletClient } from "wagmi"; +import type { Address } from "viem"; +import { isHex, pad, toHex } from "viem"; +import { deposit, MultiVaultAbi } from "@0xintuition/protocol"; +import { CHAIN_ID, DEFAULT_CURVE_ID, MULTIVAULT_ADDRESS } from "../config"; + +type DepositArgs = { + termId: `0x${string}` | string | bigint; // hex, decimal string, or bigint + amountWei: bigint; // already in wei from the popup + receiver?: Address | "self"; // defaults to "self" + curveId?: number; // defaults to on-chain defaultCurveId (fallback DEFAULT_CURVE_ID) + minShares?: bigint; // defaults to 1n for safety +}; + +type DepositMinArgs = { + termId: `0x${string}` | string | bigint; + receiver?: Address | "self"; + curveId?: number; +}; + +type DepositResult = { txHash: `0x${string}`; usedValueWei?: bigint }; + +const mvReadAbi = [ + // (uint256 shares, uint256 assetsAfterFees) previewDeposit(bytes32 termId, uint256 curveId, uint256 assets) + { + type: "function", + name: "previewDeposit", + stateMutability: "view", + inputs: [{ type: "bytes32" }, { type: "uint256" }, { type: "uint256" }], + outputs: [{ type: "uint256" }, { type: "uint256" }], + }, + // optional: uint256 currentSharePrice(bytes32 termId, uint256 curveId) + { + type: "function", + name: "currentSharePrice", + stateMutability: "view", + inputs: [{ type: "bytes32" }, { type: "uint256" }], + outputs: [{ type: "uint256" }], + }, +] as const; + +const mvWriteAbi = [ + // deposit(address receiver, bytes32 termId, uint256 curveId, uint256 minShares) + { + type: "function", + name: "deposit", + stateMutability: "payable", + inputs: [ + { name: "receiver", type: "address" }, + { name: "termId", type: "bytes32" }, + { name: "curveId", type: "uint256" }, + { name: "minShares", type: "uint256" }, + ], + outputs: [{ type: "uint256" }], + }, +] as const; + +function normalizeTermId32(x: `0x${string}` | string | bigint): `0x${string}` { + if (typeof x === "bigint") return pad(toHex(x), { size: 32, dir: "left" }) as `0x${string}`; + if (typeof x === "string" && isHex(x)) return pad(x as `0x${string}`, { size: 32, dir: "left" }) as `0x${string}`; + const bn = BigInt(x as any); + return pad(toHex(bn), { size: 32, dir: "left" }) as `0x${string}`; +} + +function isBelowMinDeposit(e: any): boolean { + const m = (e?.shortMessage || e?.message || "").toLowerCase(); + return m.includes("depositbelowminimumdeposit") || m.includes("below minimum deposit"); +} + +// Read defaultCurveId from contract; fallback to 1n if unavailable +export async function getDefaultCurveId(publicClient: any, multivault: `0x${string}`): Promise { + try { + const res: any = await publicClient.readContract({ + address: multivault, + abi: MultiVaultAbi, + functionName: "getBondingCurveConfig", + args: [], + }); + const id = (res?.defaultCurveId ?? res?.[0] ?? 1n) as bigint; + return id > 0n ? id : 1n; + } catch { + return 1n; + } +} + +export function useDepositToVault(params?: { chainId?: number; multivault?: Address }) { + const chainId = params?.chainId ?? CHAIN_ID; + const multivault = (params?.multivault ?? MULTIVAULT_ADDRESS) as Address; + + const publicClient = usePublicClient({ chainId }); + const { data: walletClient } = useWalletClient(); + const { address, isConnected, chainId: activeChainId } = useAccount(); + const { switchChainAsync } = useSwitchChain(); + + const [loading, setLoading] = useState(false); + const [findingMin, setFindingMin] = useState(false); + const [error, setError] = useState(null); + const [curveIdDefault, setCurveIdDefault] = useState(null); + + // Fetch on-chain defaultCurveId once + useEffect(() => { + if (!publicClient || !multivault) return; + getDefaultCurveId(publicClient, multivault as `0x${string}`) + .then(setCurveIdDefault) + .catch(() => setCurveIdDefault(1n)); + }, [publicClient, multivault]); + + // Helper: preview shares for a given assets amount + const previewShares = useCallback( + async (termId32: `0x${string}`, curveIdBn: bigint, amt: bigint) => { + try { + const [shares] = await publicClient!.readContract({ + address: multivault, + abi: mvReadAbi, + functionName: "previewDeposit", + args: [termId32, curveIdBn, amt], + }); + return shares as bigint; + } catch { + return 0n; + } + }, + [publicClient, multivault] + ); + + // Compute minimal accepted amount (≥1 share AND ≥ policy minimum). Returns minWei. + const getMinAcceptedDeposit = useCallback( + async ({ + termId, + curveId, + receiver = "self", + }: DepositMinArgs): Promise => { + if (!publicClient) throw new Error("Missing public client"); + if (!isConnected || !address) throw new Error("Wallet not connected"); + if (!multivault) throw new Error("Missing MultiVault address"); + + if (activeChainId !== chainId && switchChainAsync) { + await switchChainAsync({ chainId }); + } + + setFindingMin(true); + setError(null); + + try { + const recv = receiver === "self" ? (address as Address) : (receiver as Address); + const termId32 = normalizeTermId32(termId); + const usedCurveId = BigInt(curveId ?? Number(curveIdDefault ?? 1n)); + + // Optional seed via currentSharePrice + let seed = 0n; + try { + seed = await publicClient.readContract({ + address: multivault, + abi: mvReadAbi, + functionName: "currentSharePrice", + args: [termId32, usedCurveId], + }); + } catch {} + + // Phase 1 — ensure ≥ 1 share + const balance = await publicClient.getBalance({ address }); + const cap = (balance * 95n) / 100n; + + let value = seed > 0n ? seed : 10_000_000_000_000n; // ~1e13 wei start + let shares = await previewShares(termId32, usedCurveId, value); + let i = 0; + + while (shares === 0n && i++ < 20) { + value = value === 0n ? 10_000_000_000_000n : value * 2n; + if (value > cap) { + const err: any = new Error("Insufficient balance to mint at least 1 share."); + err.code = "INSUFFICIENT_BALANCE_FOR_MIN"; + err.requiredWei = value; + err.balanceWei = balance; + throw err; + } + shares = await previewShares(termId32, usedCurveId, value); + } + if (shares === 0n) { + const err: any = new Error("Curve appears unseeded/inactive: 0 shares for large probes."); + err.code = "CURVE_UNSEEDED"; + throw err; + } + + // Phase 2 — ensure policy minimum: simulate until no BelowMinimumDeposit + let attempts = 0; + while (attempts++ < 20) { + try { + await publicClient.simulateContract({ + address: multivault, + abi: mvWriteAbi, + functionName: "deposit", + account: address as `0x${string}`, + args: [recv, termId32, usedCurveId, 1n], + value, + }); + break; // success + } catch (e: any) { + if (isBelowMinDeposit(e)) { + value = value * 2n; + if (value > cap) { + const err: any = new Error("Minimum deposit exceeds available balance."); + err.code = "INSUFFICIENT_BALANCE_FOR_MIN"; + err.requiredWei = value; + err.balanceWei = balance; + throw err; + } + continue; + } + throw e; + } + } + + const buffer = value / 100n + 1n; // +1% + 1 wei + return value + buffer; + } finally { + setFindingMin(false); + } + }, + [publicClient, isConnected, address, multivault, activeChainId, chainId, switchChainAsync, previewShares, curveIdDefault] + ); + + // Deposit a user-provided exact amount (pre-simulate; if too low, return a rich error with requiredWei). + const depositExact = useCallback( + async ({ + termId, + amountWei, + receiver = "self", + curveId, + minShares = 1n, + }: DepositArgs): Promise => { + if (!publicClient) throw new Error("Missing public client"); + if (!walletClient) throw new Error("Missing wallet client"); + if (!isConnected || !address) throw new Error("Wallet not connected"); + if (!multivault) throw new Error("Missing MultiVault address"); + if (!amountWei || amountWei <= 0n) throw new Error("Amount must be greater than zero."); + + if (activeChainId !== chainId && switchChainAsync) { + await switchChainAsync({ chainId }); + } + + setLoading(true); + setError(null); + + try { + const recv = receiver === "self" ? (address as Address) : (receiver as Address); + const termId32 = normalizeTermId32(termId); + const usedCurveId = BigInt(curveId ?? Number(curveIdDefault ?? DEFAULT_CURVE_ID)); + + // Balance check + const bal = await publicClient.getBalance({ address }); + if (bal < amountWei) { + const err: any = new Error(`Insufficient balance. Need ${amountWei.toString()} wei, have ${bal.toString()} wei.`); + err.code = "INSUFFICIENT_BALANCE"; + err.requiredWei = amountWei; + err.balanceWei = bal; + throw err; + } + + // Optional preflight: ensure ≥ 1 share + try { + const s = await previewShares(termId32, usedCurveId, amountWei); + if (s === 0n && minShares > 0n) { + const minWei = await getMinAcceptedDeposit({ termId, curveId: Number(usedCurveId), receiver: recv }); + const err: any = new Error("Amount would mint 0 shares. Use the suggested minimum."); + err.code = "AMOUNT_BELOW_MIN"; + err.requiredWei = minWei; + err.balanceWei = bal; + throw err; + } + } catch { + // ignore preview errors; simulate below will still catch policy minimum + } + + // Pre-simulate to catch policy minimum + try { + await publicClient.simulateContract({ + address: multivault, + abi: mvWriteAbi, + functionName: "deposit", + account: address as `0x${string}`, + args: [recv, termId32, usedCurveId, minShares], + value: amountWei, + }); + } catch (e: any) { + if (isBelowMinDeposit(e)) { + const minWei = await getMinAcceptedDeposit({ termId, curveId: Number(usedCurveId), receiver: recv }); + const err: any = new Error("Amount below contract minimum."); + err.code = "AMOUNT_BELOW_MIN"; + err.requiredWei = minWei; + err.balanceWei = bal; + throw err; + } + throw e; + } + + // Send tx + const txHash = await deposit( + { address: multivault, walletClient, publicClient }, + { args: [recv, termId32, usedCurveId, minShares], value: amountWei } + ); + + return { txHash }; + } catch (e: any) { + setError(e); + throw e; + } finally { + setLoading(false); + } + }, + [publicClient, walletClient, isConnected, address, multivault, activeChainId, chainId, switchChainAsync, previewShares, getMinAcceptedDeposit, curveIdDefault] + ); + + // Button "MIN": compute minimal accepted value and deposit it with minShares=1 + const depositMin = useCallback( + async ({ + termId, + receiver = "self", + curveId, + }: DepositMinArgs): Promise => { + const recv = receiver === "self" ? (address as Address) : (receiver as Address); + const minValue = await getMinAcceptedDeposit({ termId, curveId, receiver: recv }); + const res = await depositExact({ termId, amountWei: minValue, receiver: recv, curveId, minShares: 1n }); + return { ...res, usedValueWei: minValue }; + }, + [getMinAcceptedDeposit, depositExact, address] + ); + + return { + // actions + depositExact, + depositMin, + getMinAcceptedDeposit, + // state + loading, // depositing state + findingMin, // computing min state + error, + // optional expose for debug/UI + curveIdDefault: curveIdDefault ?? null, + }; +} From 54027d90906bfb41cbba2a481f27f0d910649ef6 Mon Sep 17 00:00:00 2001 From: James Date: Tue, 7 Oct 2025 14:11:36 +0200 Subject: [PATCH 09/13] minimum deposit reduction --- .../trust-gauge/hooks/useDepositToVault.ts | 134 +++++++++--------- 1 file changed, 69 insertions(+), 65 deletions(-) diff --git a/apps/web/src/features/trust-gauge/hooks/useDepositToVault.ts b/apps/web/src/features/trust-gauge/hooks/useDepositToVault.ts index 3682306a6..61688cb43 100644 --- a/apps/web/src/features/trust-gauge/hooks/useDepositToVault.ts +++ b/apps/web/src/features/trust-gauge/hooks/useDepositToVault.ts @@ -11,8 +11,8 @@ type DepositArgs = { termId: `0x${string}` | string | bigint; // hex, decimal string, or bigint amountWei: bigint; // already in wei from the popup receiver?: Address | "self"; // defaults to "self" - curveId?: number; // defaults to on-chain defaultCurveId (fallback DEFAULT_CURVE_ID) - minShares?: bigint; // defaults to 1n for safety + curveId?: number; // defaults to resolved curve (prefers 2), else on-chain default, else fallback + minShares?: bigint; // defaults to 0n (portal behavior) }; type DepositMinArgs = { @@ -24,16 +24,16 @@ type DepositMinArgs = { type DepositResult = { txHash: `0x${string}`; usedValueWei?: bigint }; const mvReadAbi = [ - // (uint256 shares, uint256 assetsAfterFees) previewDeposit(bytes32 termId, uint256 curveId, uint256 assets) { + // (uint256 shares, uint256 assetsAfterFees) previewDeposit(bytes32 termId, uint256 curveId, uint256 assets) type: "function", name: "previewDeposit", stateMutability: "view", inputs: [{ type: "bytes32" }, { type: "uint256" }, { type: "uint256" }], outputs: [{ type: "uint256" }, { type: "uint256" }], }, - // optional: uint256 currentSharePrice(bytes32 termId, uint256 curveId) { + // optional: uint256 currentSharePrice(bytes32 termId, uint256 curveId) type: "function", name: "currentSharePrice", stateMutability: "view", @@ -43,8 +43,8 @@ const mvReadAbi = [ ] as const; const mvWriteAbi = [ - // deposit(address receiver, bytes32 termId, uint256 curveId, uint256 minShares) { + // deposit(address receiver, bytes32 termId, uint256 curveId, uint256 minShares) type: "function", name: "deposit", stateMutability: "payable", @@ -86,6 +86,35 @@ export async function getDefaultCurveId(publicClient: any, multivault: `0x${stri } } +// Prefer curveId=2 (portal behavior) if it accepts a tiny deposit; else use on-chain default; else try 1, then 0. +async function resolveCurveId( + publicClient: any, + multivault: `0x${string}`, + account: `0x${string}`, + termId32: `0x${string}`, + curveIdDefault: bigint | null +): Promise { + const candidates = [2n, curveIdDefault ?? 0n, 1n, 0n] + .filter((x, i, arr) => x !== null && arr.indexOf(x as bigint) === i) as bigint[]; + + for (const cid of candidates) { + try { + await publicClient.simulateContract({ + address: multivault, + abi: mvWriteAbi, + functionName: "deposit", + account, + args: [account, termId32, cid, 0n], // minShares=0 (portal behavior) + value: 1_000_000_000_000_000n, // 0.001 tTRUST + }); + return cid; + } catch { + // try next + } + } + return curveIdDefault ?? 1n; +} + export function useDepositToVault(params?: { chainId?: number; multivault?: Address }) { const chainId = params?.chainId ?? CHAIN_ID; const multivault = (params?.multivault ?? MULTIVAULT_ADDRESS) as Address; @@ -108,7 +137,7 @@ export function useDepositToVault(params?: { chainId?: number; multivault?: Addr .catch(() => setCurveIdDefault(1n)); }, [publicClient, multivault]); - // Helper: preview shares for a given assets amount + // Helper: preview shares for a given assets amount (only for warnings) const previewShares = useCallback( async (termId32: `0x${string}`, curveIdBn: bigint, amt: bigint) => { try { @@ -126,7 +155,7 @@ export function useDepositToVault(params?: { chainId?: number; multivault?: Addr [publicClient, multivault] ); - // Compute minimal accepted amount (≥1 share AND ≥ policy minimum). Returns minWei. + // Compute minimal accepted amount (policy-only, like the portal): minShares=0, bump until BelowMinimumDeposit disappears. const getMinAcceptedDeposit = useCallback( async ({ termId, @@ -145,48 +174,19 @@ export function useDepositToVault(params?: { chainId?: number; multivault?: Addr setError(null); try { - const recv = receiver === "self" ? (address as Address) : (receiver as Address); + const recv = (receiver === "self" ? address : receiver) as `0x${string}`; const termId32 = normalizeTermId32(termId); - const usedCurveId = BigInt(curveId ?? Number(curveIdDefault ?? 1n)); - - // Optional seed via currentSharePrice - let seed = 0n; - try { - seed = await publicClient.readContract({ - address: multivault, - abi: mvReadAbi, - functionName: "currentSharePrice", - args: [termId32, usedCurveId], - }); - } catch {} + const usedCurveId = BigInt( + curveId ?? Number(await resolveCurveId(publicClient, multivault as `0x${string}`, address as `0x${string}`, termId32, curveIdDefault)) + ); - // Phase 1 — ensure ≥ 1 share const balance = await publicClient.getBalance({ address }); const cap = (balance * 95n) / 100n; - let value = seed > 0n ? seed : 10_000_000_000_000n; // ~1e13 wei start - let shares = await previewShares(termId32, usedCurveId, value); - let i = 0; - - while (shares === 0n && i++ < 20) { - value = value === 0n ? 10_000_000_000_000n : value * 2n; - if (value > cap) { - const err: any = new Error("Insufficient balance to mint at least 1 share."); - err.code = "INSUFFICIENT_BALANCE_FOR_MIN"; - err.requiredWei = value; - err.balanceWei = balance; - throw err; - } - shares = await previewShares(termId32, usedCurveId, value); - } - if (shares === 0n) { - const err: any = new Error("Curve appears unseeded/inactive: 0 shares for large probes."); - err.code = "CURVE_UNSEEDED"; - throw err; - } - - // Phase 2 — ensure policy minimum: simulate until no BelowMinimumDeposit + // Start from 0.001 tTRUST and bump until policy accepts it (minShares=0) + let value = 1_000_000_000_000_000n; // 0.001 let attempts = 0; + while (attempts++ < 20) { try { await publicClient.simulateContract({ @@ -194,7 +194,7 @@ export function useDepositToVault(params?: { chainId?: number; multivault?: Addr abi: mvWriteAbi, functionName: "deposit", account: address as `0x${string}`, - args: [recv, termId32, usedCurveId, 1n], + args: [recv, termId32, usedCurveId, 0n], // minShares=0 value, }); break; // success @@ -220,17 +220,17 @@ export function useDepositToVault(params?: { chainId?: number; multivault?: Addr setFindingMin(false); } }, - [publicClient, isConnected, address, multivault, activeChainId, chainId, switchChainAsync, previewShares, curveIdDefault] + [publicClient, isConnected, address, multivault, activeChainId, chainId, switchChainAsync, curveIdDefault] ); - // Deposit a user-provided exact amount (pre-simulate; if too low, return a rich error with requiredWei). + // Deposit a user-provided exact amount; default minShares=0 (portal behavior). const depositExact = useCallback( async ({ termId, amountWei, receiver = "self", curveId, - minShares = 1n, + minShares = 0n, }: DepositArgs): Promise => { if (!publicClient) throw new Error("Missing public client"); if (!walletClient) throw new Error("Missing wallet client"); @@ -246,9 +246,11 @@ export function useDepositToVault(params?: { chainId?: number; multivault?: Addr setError(null); try { - const recv = receiver === "self" ? (address as Address) : (receiver as Address); + const recv = (receiver === "self" ? address : receiver) as `0x${string}`; const termId32 = normalizeTermId32(termId); - const usedCurveId = BigInt(curveId ?? Number(curveIdDefault ?? DEFAULT_CURVE_ID)); + const usedCurveId = BigInt( + curveId ?? Number(await resolveCurveId(publicClient, multivault as `0x${string}`, address as `0x${string}`, termId32, curveIdDefault ?? BigInt(DEFAULT_CURVE_ID))) + ); // Balance check const bal = await publicClient.getBalance({ address }); @@ -260,22 +262,24 @@ export function useDepositToVault(params?: { chainId?: number; multivault?: Addr throw err; } - // Optional preflight: ensure ≥ 1 share + // Optional warning: if caller explicitly asked for ≥1 share (minShares>0), hint a suggested minimum try { - const s = await previewShares(termId32, usedCurveId, amountWei); - if (s === 0n && minShares > 0n) { - const minWei = await getMinAcceptedDeposit({ termId, curveId: Number(usedCurveId), receiver: recv }); - const err: any = new Error("Amount would mint 0 shares. Use the suggested minimum."); - err.code = "AMOUNT_BELOW_MIN"; - err.requiredWei = minWei; - err.balanceWei = bal; - throw err; + if (minShares > 0n) { + const s = await previewShares(termId32, usedCurveId, amountWei); + if (s === 0n) { + const minWei = await getMinAcceptedDeposit({ termId, curveId: Number(usedCurveId), receiver: recv }); + const err: any = new Error("Amount would mint 0 shares. Use the suggested minimum."); + err.code = "AMOUNT_BELOW_MIN"; + err.requiredWei = minWei; + err.balanceWei = bal; + throw err; + } } } catch { - // ignore preview errors; simulate below will still catch policy minimum + // ignore preview errors; simulate below catches policy minimum anyway } - // Pre-simulate to catch policy minimum + // Pre-simulate to catch policy minimum (BelowMinimumDeposit) try { await publicClient.simulateContract({ address: multivault, @@ -314,7 +318,7 @@ export function useDepositToVault(params?: { chainId?: number; multivault?: Addr [publicClient, walletClient, isConnected, address, multivault, activeChainId, chainId, switchChainAsync, previewShares, getMinAcceptedDeposit, curveIdDefault] ); - // Button "MIN": compute minimal accepted value and deposit it with minShares=1 + // Button "MIN": compute minimal accepted value (policy-only, minShares=0) and deposit it const depositMin = useCallback( async ({ termId, @@ -323,7 +327,7 @@ export function useDepositToVault(params?: { chainId?: number; multivault?: Addr }: DepositMinArgs): Promise => { const recv = receiver === "self" ? (address as Address) : (receiver as Address); const minValue = await getMinAcceptedDeposit({ termId, curveId, receiver: recv }); - const res = await depositExact({ termId, amountWei: minValue, receiver: recv, curveId, minShares: 1n }); + const res = await depositExact({ termId, amountWei: minValue, receiver: recv, curveId, minShares: 0n }); return { ...res, usedValueWei: minValue }; }, [getMinAcceptedDeposit, depositExact, address] @@ -335,10 +339,10 @@ export function useDepositToVault(params?: { chainId?: number; multivault?: Addr depositMin, getMinAcceptedDeposit, // state - loading, // depositing state - findingMin, // computing min state + loading, + findingMin, error, - // optional expose for debug/UI + // debug curveIdDefault: curveIdDefault ?? null, }; } From 20852341b0c1e3bf77ff084dd8bd59df59cf9827 Mon Sep 17 00:00:00 2001 From: James Date: Tue, 7 Oct 2025 14:32:17 +0200 Subject: [PATCH 10/13] add toaster alert --- .../hooks/useCreateListingTriple.ts | 28 ++++++++++- .../trust-gauge/hooks/useCreateTokenAtom.ts | 39 +++++++++++---- .../trust-gauge/hooks/useDepositToVault.ts | 49 +++++++++++++++++-- 3 files changed, 100 insertions(+), 16 deletions(-) diff --git a/apps/web/src/features/trust-gauge/hooks/useCreateListingTriple.ts b/apps/web/src/features/trust-gauge/hooks/useCreateListingTriple.ts index 65aeaace3..cf1cbe983 100644 --- a/apps/web/src/features/trust-gauge/hooks/useCreateListingTriple.ts +++ b/apps/web/src/features/trust-gauge/hooks/useCreateListingTriple.ts @@ -22,6 +22,7 @@ import { TRUSTSWAP_VAULT_ID, DEFAULT_AMOUNTS, } from "../config"; +import { useTxAlerts, useAlerts } from "../../alerts/Alerts"; // Minimal Intuition Testnet chain spec for viem fallbacks const INTUITION_RPC_HTTP = "https://testnet.rpc.intuition.systems/http"; @@ -41,6 +42,9 @@ export function useCreateListingTriple() { const [loading, setLoading] = useState(false); const [error, setError] = useState(null); + const txAlerts = useTxAlerts(); + const alerts = useAlerts(); + // best-effort public client const getPublicClient = useCallback(() => { if (wagmiPublic) return wagmiPublic; @@ -121,19 +125,39 @@ export function useCreateListingTriple() { } ); + // Alerts: pending + txAlerts.onSubmit(txHash, /* explorerUrl */ undefined, CHAIN_ID); + + // Wait receipt + const receipt = await publicClient.waitForTransactionReceipt({ hash: txHash }); + if (receipt.status === "success") { + txAlerts.onSuccess(txHash, /* explorerUrl */ undefined, CHAIN_ID); + } else { + txAlerts.onError(txHash, "Transaction reverted", () => createListingTriple({ subjectId: s, stakeWei: amt })); + } + if (import.meta.env.DEV) { - console.log("[useCreateListingTriple] sent", { subjectId: s, predicateId: p, objectId: o, amt, txHash }); + console.debug("[useCreateListingTriple] sent", { subjectId: s, predicateId: p, objectId: o, amt, txHash }); } return { txHash, subjectId: s, predicateId: p, objectId: o, stake: amt }; } catch (e: any) { + const msg = String(e?.shortMessage || e?.message || e); + + // Map explicit user cancellation + if (e?.code === 4001 || /user rejected|user denied|request rejected|cancel/i.test(msg)) { + alerts.warn("Transaction cancelled by user."); + } else { + txAlerts.onError(undefined, msg, () => createListingTriple({ subjectId, stakeWei })); + } + setError(e); throw e; } finally { setLoading(false); } }, - [getPublicClient, getWalletClient, isConnected, address, ensureOnIntuition] + [getPublicClient, getWalletClient, isConnected, address, ensureOnIntuition, txAlerts, alerts] ); return { createListingTriple, loading, error }; diff --git a/apps/web/src/features/trust-gauge/hooks/useCreateTokenAtom.ts b/apps/web/src/features/trust-gauge/hooks/useCreateTokenAtom.ts index 1c3e7d3cf..77828d721 100644 --- a/apps/web/src/features/trust-gauge/hooks/useCreateTokenAtom.ts +++ b/apps/web/src/features/trust-gauge/hooks/useCreateTokenAtom.ts @@ -1,4 +1,5 @@ // apps/web/src/features/trust-gauge/hooks/useCreateTokenAtom.ts +// English-only comments import { useCallback, useState } from "react"; import { useAccount, @@ -21,6 +22,7 @@ import { MULTIVAULT_ADDRESS, // MultiVault on Intuition testnet DEFAULT_AMOUNTS, // includes CREATE_ATOM } from "../config"; +import { useTxAlerts, useAlerts } from "../../alerts/Alerts"; // Minimal Intuition Testnet chain spec for viem fallbacks const INTUITION_RPC_HTTP = "https://testnet.rpc.intuition.systems/http"; @@ -44,6 +46,9 @@ export function useCreateTokenAtom() { const [loading, setLoading] = useState(false); const [error, setError] = useState(null); + const txAlerts = useTxAlerts(); + const alerts = useAlerts(); + // Best-effort public client (fallback to a direct viem client if Wagmi has none) const getPublicClient = useCallback(() => { if (wagmiPublic) return wagmiPublic; @@ -82,9 +87,8 @@ export function useCreateTokenAtom() { return; } } catch { - // fall through + // fall through to manual add } - // Try adding the chain manually const eth = (window as any)?.ethereum; if (eth?.request) { await eth.request({ @@ -115,17 +119,13 @@ export function useCreateTokenAtom() { setError(null); try { + // Build data const token = getAddress(tokenAddress); - - // Build CAIP-19 for Intuition Testnet (your token is on Intuition now) const uri = caip19(CHAIN_ID, token); - - // Convert to bytes hex for bytes[] const dataHex = stringToHex(uri); - const stake = DEFAULT_AMOUNTS.CREATE_ATOM; - // Call the core function: createAtoms(bytes[] data, uint256[] assets) + // Send tx const txHash = await createAtoms( { address: MULTIVAULT_ADDRESS, walletClient, publicClient }, { @@ -134,15 +134,36 @@ export function useCreateTokenAtom() { } ); + // Alerts: pending + txAlerts.onSubmit(txHash, /* explorerUrl */ undefined, CHAIN_ID); + + // Wait receipt + const receipt = await publicClient.waitForTransactionReceipt({ hash: txHash }); + if (receipt.status === "success") { + txAlerts.onSuccess(txHash, /* explorerUrl */ undefined, CHAIN_ID); + } else { + txAlerts.onError(txHash, "Transaction reverted", () => createTokenAtom({ tokenAddress })); + } + return { txHash, uri, stake }; } catch (e: any) { + const msg = String(e?.shortMessage || e?.message || e); + + // Map explicit user cancellation + if (e?.code === 4001 || /user rejected|user denied|request rejected|cancel/i.test(msg)) { + alerts.warn("Transaction cancelled by user."); + } else { + // Generic tx failure + txAlerts.onError(undefined, msg, () => createTokenAtom({ tokenAddress })); + } + setError(e); throw e; } finally { setLoading(false); } }, - [address, isConnected, getPublicClient, getWalletClient, ensureOnIntuition] + [address, isConnected, getPublicClient, getWalletClient, ensureOnIntuition, txAlerts, alerts] ); return { createTokenAtom, loading, error }; diff --git a/apps/web/src/features/trust-gauge/hooks/useDepositToVault.ts b/apps/web/src/features/trust-gauge/hooks/useDepositToVault.ts index 61688cb43..792db6fe0 100644 --- a/apps/web/src/features/trust-gauge/hooks/useDepositToVault.ts +++ b/apps/web/src/features/trust-gauge/hooks/useDepositToVault.ts @@ -6,6 +6,7 @@ import type { Address } from "viem"; import { isHex, pad, toHex } from "viem"; import { deposit, MultiVaultAbi } from "@0xintuition/protocol"; import { CHAIN_ID, DEFAULT_CURVE_ID, MULTIVAULT_ADDRESS } from "../config"; +import { useTxAlerts, useAlerts } from "../../alerts/Alerts"; type DepositArgs = { termId: `0x${string}` | string | bigint; // hex, decimal string, or bigint @@ -86,7 +87,7 @@ export async function getDefaultCurveId(publicClient: any, multivault: `0x${stri } } -// Prefer curveId=2 (portal behavior) if it accepts a tiny deposit; else use on-chain default; else try 1, then 0. +// Prefer curveId=2 (portal behavior) if it accepts a tiny deposit; else on-chain default; else 1, then 0. async function resolveCurveId( publicClient: any, multivault: `0x${string}`, @@ -104,8 +105,8 @@ async function resolveCurveId( abi: mvWriteAbi, functionName: "deposit", account, - args: [account, termId32, cid, 0n], // minShares=0 (portal behavior) - value: 1_000_000_000_000_000n, // 0.001 tTRUST + args: [account, termId32, cid, 0n], // minShares=0 (portal behavior) + value: 1_000_000_000_000_000n, // 0.001 tTRUST }); return cid; } catch { @@ -129,6 +130,9 @@ export function useDepositToVault(params?: { chainId?: number; multivault?: Addr const [error, setError] = useState(null); const [curveIdDefault, setCurveIdDefault] = useState(null); + const txAlerts = useTxAlerts(); + const alerts = useAlerts(); // for non-tx warnings (e.g., user cancelled) + // Fetch on-chain defaultCurveId once useEffect(() => { if (!publicClient || !multivault) return; @@ -223,7 +227,7 @@ export function useDepositToVault(params?: { chainId?: number; multivault?: Addr [publicClient, isConnected, address, multivault, activeChainId, chainId, switchChainAsync, curveIdDefault] ); - // Deposit a user-provided exact amount; default minShares=0 (portal behavior). + // Deposit a user-provided exact amount; default minShares=0 (portal behavior) + alerts integration. const depositExact = useCallback( async ({ termId, @@ -307,15 +311,50 @@ export function useDepositToVault(params?: { chainId?: number; multivault?: Addr { args: [recv, termId32, usedCurveId, minShares], value: amountWei } ); + // Alert: pending (broadcasted) + txAlerts.onSubmit(txHash, /* explorerUrl */ undefined, chainId); + + // Wait for confirmation then alert accordingly + const receipt = await publicClient.waitForTransactionReceipt({ hash: txHash }); + if (receipt.status === "success") { + txAlerts.onSuccess(txHash, /* explorerUrl */ undefined, chainId); + } else { + txAlerts.onError(txHash, "Transaction reverted"); + } + return { txHash }; } catch (e: any) { + // Map common cancel/reject to a friendly warning toast + const msg = String(e?.shortMessage || e?.message || e); + if (e?.code === 4001 || /user rejected|user denied|request rejected/i.test(msg)) { + alerts.warn("Transaction cancelled by user."); + } else { + txAlerts.onError(undefined, msg, () => { + // retry callback with the same args if desired + // no-op by default + }); + } setError(e); throw e; } finally { setLoading(false); } }, - [publicClient, walletClient, isConnected, address, multivault, activeChainId, chainId, switchChainAsync, previewShares, getMinAcceptedDeposit, curveIdDefault] + [ + publicClient, + walletClient, + isConnected, + address, + multivault, + activeChainId, + chainId, + switchChainAsync, + previewShares, + getMinAcceptedDeposit, + curveIdDefault, + txAlerts, + alerts, + ] ); // Button "MIN": compute minimal accepted value (policy-only, minShares=0) and deposit it From 787e2fa2a782477d64cc0d72d6c4dd842c214226 Mon Sep 17 00:00:00 2001 From: James Date: Tue, 7 Oct 2025 16:55:44 +0200 Subject: [PATCH 11/13] show number vote on the token listing --- .../components/TrustGaugePopover.tsx | 47 +++++++--------- .../trust-gauge/hooks/useTrustedListing.ts | 9 ++- .../intuition-graphql/src/generated/index.ts | 56 +++++++++++++++++++ .../src/queries/triples.graphql | 10 ++++ 4 files changed, 95 insertions(+), 27 deletions(-) diff --git a/apps/web/src/features/trust-gauge/components/TrustGaugePopover.tsx b/apps/web/src/features/trust-gauge/components/TrustGaugePopover.tsx index e07eff1ef..b6e8edda6 100644 --- a/apps/web/src/features/trust-gauge/components/TrustGaugePopover.tsx +++ b/apps/web/src/features/trust-gauge/components/TrustGaugePopover.tsx @@ -48,7 +48,7 @@ export function TrustGaugePopover({ } }, [subjectIdRaw]); - const hasAtom = !!subjectId; + const hasAtom = !!subjectIdBn; const { data: listing, @@ -57,6 +57,7 @@ export function TrustGaugePopover({ } = useTrustedListing({ subjectId, enabled: hasAtom, debug: true }); const isListingLoading = hasAtom && isListingLoadingRaw; + const loading = Boolean(isAtomLoading || isListingLoading || isBusy); const ratioFor = useMemo(() => { const forShares = listing?.forShares || 0n; @@ -68,45 +69,37 @@ export function TrustGaugePopover({ return Number(scaled) / 1000000; }, [listing]); - const votesForLabel = useMemo(() => { - const v = listing?.forShares ?? 0n; - return Number(formatEther(v)).toLocaleString(undefined, { maximumFractionDigits: 4 }); - }, [listing]); - - const votesAgainstLabel = useMemo(() => { - const v = listing?.againstShares ?? 0n; - return Number(formatEther(v)).toLocaleString(undefined, { maximumFractionDigits: 4 }); - }, [listing]); - const isLoading = isAtomLoading || isListingLoading; + // Voter counts come directly from useTrustedListing now + const forVoters = listing?.voteFor ?? 0; + const againstVoters = listing?.voteAgainst ?? 0; - // Local input state for tTRUST amount (human units, e.g., "0.01") + // Local amount input const [amountStr, setAmountStr] = useState(""); - function parseAmountToWeiSafe(v) { + function parseAmountToWeiSafe(v: any) { try { const trimmed = String(v || "").trim(); if (!trimmed) return 0n; - return parseEther(trimmed); // assumes 18 decimals + return parseEther(trimmed); } catch { return 0n; } } - async function handleCreateSignal(intent) { + async function handleCreateSignal(intent: string) { if (!onCreateSignal) return; await onCreateSignal({ chainId, tokenAddress, intent }); await refetchAtom?.(); await refetchListing?.(); } - async function doDepositExact(side) { + async function doDepositExact(side: "for" | "against") { if (!onDepositExact) return; const termId = side === "for" ? listing?.tripleId : listing?.counterTripleId; if (!termId) return; const wei = parseAmountToWeiSafe(amountStr); if (wei <= 0n) { - // simple UX guard; replace with your toast system if available console.warn("Enter a positive amount in tTRUST."); return; } @@ -114,7 +107,7 @@ export function TrustGaugePopover({ await refetchListing?.(); } - async function doDepositMin(side) { + async function doDepositMin(side: "for" | "against") { if (!onDepositMin) return; const termId = side === "for" ? listing?.tripleId : listing?.counterTripleId; if (!termId) return; @@ -122,6 +115,8 @@ export function TrustGaugePopover({ await refetchListing?.(); } + const votersLabel = (n?: number) => `${n ?? 0} ${n === 1 ? "voter" : "voters"}`; + return (
@@ -169,12 +164,13 @@ export function TrustGaugePopover({ ) : (
Listing votes
+
- FOR: {votesForLabel} tTRUST  |   - AGAINST: {votesAgainstLabel} tTRUST + FOR:  {votersLabel(forVoters)} +   |   + AGAINST:  {votersLabel(againstVoters)}
- {/* Amount input */}
- {/* Action buttons */}
+
+
+
Status
+
Not verified
+
No atom found for this token.
+
+ +
+ +
+ +
) : !listing?.tripleId ? ( -
-
Not listed on TrustSwap
-
Create the listing triple to enable voting.
- +
+
+
Status
+
Not listed on TrustSwap
+
Create the listing triple to enable voting.
+
+ +
+ +
+ +
) : ( -
-
Listing votes
+
+
+
Listing votes
+
-
- FOR:  {votersLabel(forVoters)} -   |   - AGAINST:  {votersLabel(againstVoters)} +
+
+ FOR + {votersLabel(forVoters)} +
+
+ AGAINST + {votersLabel(againstVoters)} +
-
+
+ +
+ tTRUST setAmountStr(e.target.value)} onClick={(e) => e.stopPropagation()} />
-
+
{!!lastError && ( -
+
{lastError}
)} @@ -236,4 +271,5 @@ export function TrustGaugePopover({
); + } diff --git a/apps/web/src/features/trust-gauge/components/TrustGaugePopoverContainer.tsx b/apps/web/src/features/trust-gauge/components/TrustGaugePopoverContainer.tsx index f158fd391..9aecd4a25 100644 --- a/apps/web/src/features/trust-gauge/components/TrustGaugePopoverContainer.tsx +++ b/apps/web/src/features/trust-gauge/components/TrustGaugePopoverContainer.tsx @@ -8,7 +8,13 @@ import { useAtomByToken } from "../hooks/useAtomByToken"; import { useDepositToVault } from "../hooks/useDepositToVault"; import { CHAIN_ID } from "../config"; -export function TrustGaugePopoverContainer({ tokenAddress, className, icon }) { +interface TrustGaugePopoverContainerProps { + tokenAddress: string; + className?: string; + icon?: React.ReactNode; +} + +export function TrustGaugePopoverContainer({ tokenAddress, className, icon }: TrustGaugePopoverContainerProps) { const { createTokenAtom } = useCreateTokenAtom(); const { createListingTriple } = useCreateListingTriple(); const { @@ -30,7 +36,7 @@ export function TrustGaugePopoverContainer({ tokenAddress, className, icon }) { setBusy(true); try { if (intent === "atom") { - await createTokenAtom({ tokenAddress: tokenAddress }); + await createTokenAtom({ tokenAddress: tokenAddress as `0x${string}` }); await refetchAtom?.(); return; } @@ -49,7 +55,7 @@ export function TrustGaugePopoverContainer({ tokenAddress, className, icon }) { // From popover: deposit a user-entered amount (wei) to termId const onDepositExact = useCallback( - async ({ termId, amountWei }) => { + async ({ termId, amountWei }: { termId: string; amountWei: string }) => { if (busy || voteLoading) return; setBusy(true); try { @@ -63,7 +69,7 @@ export function TrustGaugePopoverContainer({ tokenAddress, className, icon }) { // From popover: deposit the minimum accepted amount to termId const onDepositMin = useCallback( - async ({ termId }) => { + async ({ termId }: { termId: string }) => { if (busy || voteLoading || findingMin) return; setBusy(true); try { diff --git a/apps/web/src/features/trust-gauge/components/TrustGaugeRing.tsx b/apps/web/src/features/trust-gauge/components/TrustGaugeRing.tsx index 9b12f14fb..bcaada191 100644 --- a/apps/web/src/features/trust-gauge/components/TrustGaugeRing.tsx +++ b/apps/web/src/features/trust-gauge/components/TrustGaugeRing.tsx @@ -1,58 +1,135 @@ -// apps/web/src/features/trust-gauge/components/TrustGaugeRing.jsx +// apps/web/src/features/trust-gauge/components/TrustGaugeRing.tsx import React from "react"; -/** Simple circular ring to display a 0..1 ratio */ +type IconRender = (p: { size: number }) => React.ReactNode; + +type Props = { + forCount?: number; + againstCount?: number; + ratioFor?: number; // optional manual override + size?: number; // outer diameter of the ring (px) + thickness?: number; // ring thickness (px) + trackColor?: string; + forColor?: string; + againstColor?: string; + className?: string; + icon?: React.ReactNode | IconRender; // your icon; can be a render function to receive size + showTrackWhenNoVotes?: boolean; // default true +}; + +/** Gauge ring that wraps an inner icon so the ring acts as the icon's border. */ export function TrustGaugeRing({ - ratioFor = 0, - size = 28, - strokeWidth = 3, - bgColor = "#E5E7EB", // light gray - forColor = "#22C55E", // green - againstColor = "#EF4444",// red -}) { - const r = (size - strokeWidth) / 2; + forCount, + againstCount, + ratioFor: ratioOverride, + size = 40, + thickness = 3, + trackColor = "rgba(255, 255, 255, 0.18)", + forColor = "#240ee9ff", + againstColor = "#ec7f26ff", + className, + icon, + showTrackWhenNoVotes = true, +}: Props) { + // Compute ratio from counts if provided + let ratioFor = typeof ratioOverride === "number" ? ratioOverride : 0; + if (typeof forCount === "number" && typeof againstCount === "number") { + const total = Math.max(0, forCount) + Math.max(0, againstCount); + ratioFor = total === 0 ? 0 : Math.min(1, Math.max(0, forCount / total)); + } + + const r = (size - thickness) / 2; const c = 2 * Math.PI * r; + const clamped = Math.max(0, Math.min(1, ratioFor)); + const forLen = clamped * c; + const againstLen = c - forLen; + const hasVotes = (forCount ?? 0) + (againstCount ?? 0) > 0; - // We only draw the "for" arc; "against" is the remainder, represented by the background. - const forLen = Math.max(0, Math.min(1, ratioFor)) * c; + const innerSize = Math.max(0, size - thickness * 2); + + // Render icon (supports function for precise sizing) + const renderIcon = () => { + if (typeof icon === "function") return (icon as IconRender)({ size: innerSize }); + return icon ?? null; + }; return ( - - {/* Background ring */} - - {/* "For" arc */} - - {/* Optional "against" tick at the end (tiny aesthetic detail) */} - {ratioFor > 0 && ratioFor < 1 && ( - - )} - + {/* Ring (SVG) is the only visible border */} + + {showTrackWhenNoVotes && ( + + )} + + {hasVotes && ( + <> + {/* AGAINST segment */} + + {/* FOR segment */} + + + )} + + + {/* Inner icon: no extra border, so the ring is the only border */} +
+ {renderIcon()} +
+
); } diff --git a/packages/ui/src/styles/TokenSelector.module.css b/packages/ui/src/styles/TokenSelector.module.css index cf9b20e13..14714491b 100644 --- a/packages/ui/src/styles/TokenSelector.module.css +++ b/packages/ui/src/styles/TokenSelector.module.css @@ -25,10 +25,8 @@ } - .tokenIcon { width: 3.2vh; - margin-right: 0.3vh; } .arrowIcone { From ee626677cdea7398978856663f6a0a2b15c86b03 Mon Sep 17 00:00:00 2001 From: James Date: Tue, 7 Oct 2025 23:43:29 +0200 Subject: [PATCH 13/13] delete folder action --- .../features/trust-gauge/actions/onchain.ts | 65 ------------------- 1 file changed, 65 deletions(-) delete mode 100644 apps/web/src/features/trust-gauge/actions/onchain.ts diff --git a/apps/web/src/features/trust-gauge/actions/onchain.ts b/apps/web/src/features/trust-gauge/actions/onchain.ts deleted file mode 100644 index 772ceb2c0..000000000 --- a/apps/web/src/features/trust-gauge/actions/onchain.ts +++ /dev/null @@ -1,65 +0,0 @@ -// English-only comments -import { - createAtomForToken, - createTrustedListingTriple, - voteOnTriple, -} from "@0xintuition/protocol"; -import { - CHAIN_ID, - DEFAULT_CURVE_ID, - DEFAULT_AMOUNTS, - PREDICATE_LISTED_ON_VAULT_ID, - TRUSTSWAP_VAULT_ID, -} from "../config"; - -export async function createAtomIfNeededForToken(params: { - tokenAddress: `0x${string}`; - assetsWei?: bigint; -}) { - const { tokenAddress, assetsWei = DEFAULT_AMOUNTS.CREATE_ATOM } = params; - // This helper should be idempotent on protocol side or will revert if atom exists. - return createAtomForToken({ - chainId: CHAIN_ID, - tokenAddress, - assetsWei, - }); -} - -export async function createTrustedListing(params: { - subjectId: `0x${string}`; // atom term_id for the token - assetsWei?: bigint; - curveId?: number; - predicateId?: `0x${string}`; // defaults to canonical "listed_on" - trustswapId?: `0x${string}`; // defaults to canonical TRUSTSWAP -}) { - const { - subjectId, - assetsWei = DEFAULT_AMOUNTS.CREATE_TRIPLE, - curveId = DEFAULT_CURVE_ID, - predicateId = PREDICATE_LISTED_ON_VAULT_ID, - trustswapId = TRUSTSWAP_VAULT_ID, - } = params; - - return createTrustedListingTriple({ - chainId: CHAIN_ID, - subjectId, - listedOnId: predicateId, - trustswapId, - curveId, - assetsWei, - }); -} - -export async function voteOnListing(params: { - termId: `0x${string}`; // triple term_id (FOR) or counter_term_id (AGAINST) - assetsWei?: bigint; - curveId?: number; -}) { - const { termId, assetsWei = DEFAULT_AMOUNTS.VOTE, curveId = DEFAULT_CURVE_ID } = params; - return voteOnTriple({ - chainId: CHAIN_ID, - termId, - curveId, - assetsWei, - }); -}