diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md new file mode 100644 index 00000000..8831ce2f --- /dev/null +++ b/.github/copilot-instructions.md @@ -0,0 +1,148 @@ +# Intuition Chrome Extension - AI Coding Guide + +## Architecture Overview + +This is a **Plasmo-based Chrome extension** (MV3) for Web3 interactions with the Intuition protocol on testnet. The extension provides: +- **Popup UI** ([src/popup/index.tsx](src/popup/index.tsx)) - Main 600x600px interface +- **Sidepanel** ([src/sidepanel/index.tsx](src/sidepanel/index.tsx)) - Extended panel for detailed interactions +- **Content Script** ([src/contents/plasmo-inline.tsx](src/contents/plasmo-inline.tsx)) - Draggable floating button on web pages +- **Background Service** ([src/background.ts](src/background.ts)) - Message routing and sidepanel navigation + +## Critical Development Setup + +```bash +pnpm dev # Development server with HMR on custom ports (1815, 1012) +pnpm build # Production build for chrome-mv3 +pnpm build:firefox # Firefox-specific build (mv2) +``` + +Load the extension from `build/chrome-mv3-dev/` in Chrome during development. + +## Web3 & Blockchain Integration + +### Network Configuration +- **Current Network**: Intuition Testnet (configured in [src/lib/config.ts](src/lib/config.ts)) +- **MultiVault Contract**: `0x2Ece8D4dEdcB9918A398528f3fa4688b1d2CAB91` +- Uses **viem** (not ethers) with MetaMask extension provider + +### Term ID Convention (`Hex32`) +The protocol uses **32-byte hex strings** (`type Hex32 = \`0x${string}\``) for term identifiers: +```typescript +// Convert various formats to Hex32 - see src/lib/utils.ts +toBytes32("123") // BigInt to hex +toBytes32("0xabc...") // Pad hex to 32 bytes +``` + +All atom/triple identifiers use `term_id` (not `id` or `termId`) in data structures. + +### Smart Contract Interactions +Key hooks pattern (see [src/hooks/](src/hooks/)): +- `useCreateTriples.ts` - Batch triple creation with deposit calculation +- `useDepositTerm.ts` - Deposit into vaults with slippage protection +- `useAtomPosition.ts` - Query/manage vault positions + +Always use `getClients()` from [src/lib/viemClient.ts](src/lib/viemClient.ts) to get wallet/public clients with automatic chain switching. + +## GraphQL Data Layer + +**Dual GraphQL setup**: +1. **@0xintuition/graphql** - Official SDK queries for protocol data +2. **@warzieram/graphql** - Custom queries (e.g., `useGetTriplesByUriQuery`) + +Apollo Client configured in [src/lib/apolo-client.ts](src/lib/apolo-client.ts) with: +- HTTP endpoint: `https://testnet.intuition.sh/v1/graphql` +- WebSocket endpoint: `wss://testnet.intuition.sh/v1/graphql` + +Use `@tanstack/react-query` for non-GraphQL async state (see [src/queryclient.ts](src/queryclient.ts)). + +## Chrome Extension Patterns + +### Inter-Component Communication +```typescript +// Open sidepanel from content script +chrome.runtime.sendMessage({ type: "open_sidepanel", route: "/profile" }) + +// Listen in background.ts for routing +chrome.runtime.onConnect.addListener((port) => { + if (port.name === "sidepanel-nav") { /* handle navigation */ } +}) +``` + +### Storage +- `chrome.storage.local` - Navigation state, theme preferences +- `chrome.storage.sync` - MetaMask account address (`"metamask-account"`) + +### Content Script Injection +Plasmo config pattern in [src/contents/plasmo-inline.tsx](src/contents/plasmo-inline.tsx): +```typescript +export const config: PlasmoCSConfig = { matches: ["https://*/*"] } +export const getInlineAnchor: PlasmoGetInlineAnchor = () => document.querySelector("body") +export const getShadowHostId = () => "plasmo-inline-example-unique-id" +export const getStyle: PlasmoGetStyle = () => { /* inject Tailwind CSS */ } +``` + +## Component Architecture + +### Form Patterns +See [src/components/TripleForm.tsx](src/components/TripleForm.tsx) for canonical patterns: +- **Batch operations**: Accumulate triples before blockchain submission +- **Vote tracking**: Each triple has `"for" | "against" | null` vote state +- **Error handling**: Display user-friendly messages from viem errors +- **Progress indicators**: Show loading states during transaction processing + +### Autocomplete Inputs +[src/components/AtomAutocompleteInput.tsx](src/components/AtomAutocompleteInput.tsx) demonstrates: +- Debounced GraphQL queries (300ms delay) +- Fuzzy search with `_ilike` operator +- Sorting by `position_count` (vault activity) +- Inline atom creation with modal forms + +### 3D Assets +Three.js components in [src/components/3D/](src/components/3D/) use GLB models from `assets/` accessed via: +```typescript +chrome.runtime.getURL("assets/Eye-1K.glb") +``` + +## Styling & UI + +- **Tailwind CSS** with custom HSL variables (see [tailwind.config.js](tailwind.config.js)) +- **Dark mode only** - `defaultTheme="dark"` in ThemeProvider +- **Radix UI** primitives for dropdowns, hover cards, collapsibles +- Path alias: `~src/*` resolves to `./src/*` (tsconfig.json) + +## Analytics & Tracking + +Umami analytics via [src/lib/umami.ts](src/lib/umami.ts): +```typescript +umami("Event Name") // Track user actions +``` + +Loaded from `assets/umami.js` as web-accessible resource. + +## Common Pitfalls + +1. **Don't mix ethers and viem** - This codebase uses viem exclusively +2. **Always validate Hex32 format** - Use `toBytes32()` utility before contract calls +3. **Check chain before transactions** - `getClients()` auto-switches but handle errors +4. **Plasmo auto-reloads** - File changes trigger HMR, but manifest changes need manual reload +5. **Shadow DOM styling** - Content scripts use `getStyle` export for CSS injection + +## Testing & Debugging + +- Use Chrome DevTools for extension debugging (popup/sidepanel/background) +- Content script console available in page context +- Check `chrome://extensions` for manifest errors +- Network tab shows GraphQL queries to testnet.intuition.sh + +## Package Management + +Uses **pnpm** exclusively - lock file is `pnpm-lock.yaml`, not npm/yarn. + +## Protocol-Specific Concepts + +**Triples**: `[Subject, Predicate, Object]` tuples where each component is an atom (Hex32 term_id) +**Atoms**: Entities with labels, can be deposited into vaults +**Vaults**: Bonding curve-based liquidity pools for atoms/triples +**Claims**: Triples with "for"/"against" positions representing attestations + +See [@0xintuition/protocol](https://github.com/0xintuition/protocol) for deeper protocol documentation. diff --git a/.gitignore b/.gitignore index 3581feab..4e15d125 100644 --- a/.gitignore +++ b/.gitignore @@ -33,3 +33,5 @@ dist/ # typescript .tsbuildinfo +**/node_modules +**/dist \ No newline at end of file diff --git a/package.json b/package.json index 129ee960..4299a8de 100644 --- a/package.json +++ b/package.json @@ -1,20 +1,20 @@ { "name": "intuition-chrome-extension", "displayName": "Intuition Chrome Extension", - "version": "0.1.48", + "version": "0.1.49", "description": "", "author": "THP-Lab.org", "scripts": { - "dev": "plasmo dev --hmr-host=0.0.0.0 --hmr-port=1815 --serve-host=0.0.0.0 --serve-port=1012", - "build": "cross-env NODE_ENV=production PARCEL_WORKER_BACKEND=process plasmo build --target=chrome-mv3 ", - "build:firefox": "cross-env NODE_ENV=production PARCEL_WORKER_BACKEND=process plasmo build --target=firefox-mv2 ", - "package": "plasmo package", - "graphql:build": " cd src/graphql && NODE_ENV=production graphql-codegen --config codegen.ts" + "prebuild": "pnpm --filter @warzieram/graphql build", + "build": "cross-env NODE_ENV=production PARCEL_WORKER_BACKEND=process plasmo build --target=chrome-mv3", + "prebuild:firefox": "pnpm --filter @warzieram/graphql build", + "build:firefox": "cross-env NODE_ENV=production PARCEL_WORKER_BACKEND=process plasmo build --target=firefox-mv2" }, "dependencies": { "@0xintuition/1ui": "^0.3.6", - "@0xintuition/graphql": "^0.6.0", - "@0xintuition/protocol": "^0.1.4", + "@0xintuition/graphql": "2.0.0-alpha.4", + "@0xintuition/protocol": "2.0.0-alpha.4", + "@0xintuition/sdk": "2.0.0-alpha.4", "@apollo/client": "^3.13.8", "@floating-ui/react-dom": "^2.1.2", "@graphql-codegen/typescript-document-nodes": "^4.0.11", @@ -26,7 +26,7 @@ "@radix-ui/react-slot": "^1.1.2", "@tanstack/react-query": "^5.69.0", "@types/three": "^0.175.0", - "@warzieram/graphql": "^0.5.31", + "@warzieram/graphql": "workspace:*", "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", "ethers": "^6.15.0", @@ -79,11 +79,12 @@ "host_permissions": [ "https://*/*", "https://analytics.thp.box/*", - "https://prod.base-sepolia.intuition-api.com/v1/graphql", - "https://prod.base-mainnet-v-1-0.intuition.sh/*", + "https://testnet.rpc.intuition.systems", + "https://rpc.intuition.systems", + "https://testnet.intuition.sh/v1/graphql", "chrome-extension://*/*", - "ws://localhost:*", - "wws://localhost:*" + "ws://localhost:*/*", + "wss://localhost:*/*" ], "web_accessible_resources": [ { @@ -106,7 +107,7 @@ "sidePanel" ], "content_security_policy": { - "extension_pages": "script-src 'self'; object-src 'self'; connect-src 'self' https://prod.base.intuition-api.com https://prod.base-mainnet-v-1-0.intuition.sh https://cloud.umami.is/ https://analytics.thp.box/ https://api.ipify.org https://prod.base-sepolia.intuition-api.com/v1/graphql wss://prod.base-mainnet-v-1-0.intuition.sh/v1/graphql ws://localhost:* wss://localhost:* https://dl.polyhaven.org https://www.gstatic.com;" + "extension_pages": "script-src 'self'; object-src 'self'; connect-src 'self' https://rpc.intuition.systems https://testnet.rpc.intuition.systems/http https://testnet.intuition.sh/v1/graphql https://mainnet.intuition.sh/v1/graphql wss://testnet.intuition.sh/v1/graphql wss://mainnet.intuition.sh/v1/graphql wss://testnet.rpc.intuition.systems wss://rpc.intuition.systems https://cloud.umami.is/ https://analytics.thp.box/ https://api.ipify.org http://localhost:* ws://localhost:* wss://localhost:* https://dl.polyhaven.org https://www.gstatic.com;" } }, "pnpm": { diff --git a/packages/graphql/.env.example b/packages/graphql/.env.example new file mode 100644 index 00000000..b982879a --- /dev/null +++ b/packages/graphql/.env.example @@ -0,0 +1,2 @@ +HASURA_PROJECT_ENDPOINT= +HASURA_GRAPHQL_ADMIN_SECRET= \ No newline at end of file diff --git a/packages/graphql/.eslintrc.cjs b/packages/graphql/.eslintrc.cjs new file mode 100644 index 00000000..2b5bb5f0 --- /dev/null +++ b/packages/graphql/.eslintrc.cjs @@ -0,0 +1,22 @@ +module.exports = { + extends: ['../../.eslintrc.base.cjs'], + env: { + node: true, + jest: true, + }, + overrides: [ + { + files: ['*.ts', '*.tsx', '*.js', '*.jsx'], + rules: {}, + }, + { + files: ['*.ts', '*.tsx'], + rules: {}, + }, + { + files: ['*.js', '*.jsx'], + rules: {}, + }, + ], + ignorePatterns: ['generated'], +} diff --git a/packages/graphql/.gitignore b/packages/graphql/.gitignore new file mode 100644 index 00000000..569ce539 --- /dev/null +++ b/packages/graphql/.gitignore @@ -0,0 +1,2 @@ +**/node_modules +**/dist \ No newline at end of file diff --git a/packages/graphql/CHANGELOG.md b/packages/graphql/CHANGELOG.md new file mode 100644 index 00000000..a34a8b58 --- /dev/null +++ b/packages/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/graphql/README.md b/packages/graphql/README.md new file mode 100644 index 00000000..c38a7be5 --- /dev/null +++ b/packages/graphql/README.md @@ -0,0 +1,172 @@ +# 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 +``` + +### Testing with Local Registry + +#### Setup + +1. Copy `.npmrc.example` from the root to `.npmrc` to configure the local registry. + +2. Start the local registry: + +```bash +pnpm nx local-registry +``` + +#### Version Management + +Before publishing, you may need to update the package version. Use one of these commands: + +```bash +pnpm version:patch # For bug fixes (0.0.x) +pnpm version:minor # For new features (0.x.0) +pnpm version:major # For breaking changes (x.0.0) +pnpm version:beta # For beta releases +``` + +#### Testing in Monorepo Apps (Recommended) + +1. Make changes to the package and build: + +```bash +cd packages/graphql +# This will run codegen first (prebuild) and then build +pnpm build +``` + +2. Test the build before publishing (optional): + +```bash +pnpm publish-dry +``` + +3. Publish to local registry using one of these commands: + +```bash +# For local testing only +npm publish --registry http://localhost:4873 + +# For publishing to npm registry with tags (when ready) +pnpm publish-latest # Publishes with 'latest' tag +pnpm publish-next # Publishes with 'next' tag +``` + +4. In your test app, update the package version in package.json: + +```json +{ + "dependencies": { + "@0xintuition/graphql": "^x.x.x" // Use the version from package.json + } +} +``` + +5. Install the updated package: + +```bash +pnpm install +``` + +#### Notes + +- The local registry persists packages in `tmp/local-registry/storage` +- Clear storage by stopping and restarting the registry +- First-time publishing requires creating a user (any username/password works) +- The registry runs on port 4873 by default +- The build process automatically runs codegen before building + +## 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/graphql/codegen.ts b/packages/graphql/codegen.ts new file mode 100644 index 00000000..2957a7c9 --- /dev/null +++ b/packages/graphql/codegen.ts @@ -0,0 +1,58 @@ +import { CodegenConfig } from '@graphql-codegen/cli' + +import { API_URL_PROD } from './src/constants' + +const config: CodegenConfig = { + overwrite: true, + hooks: { afterAllFileWrite: ['prettier --write'] }, + schema: { + [API_URL_PROD]: { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + }, + }, + ignoreNoDocuments: true, + documents: ['**/*.graphql'], + generates: { + 'src/generated/index.ts': { + plugins: [ + 'typescript', + 'typescript-operations', + 'typescript-react-apollo', + 'typescript-document-nodes', + ], + 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', + }, + }, + }, + './schema.graphql': { + plugins: ['schema-ast'], + config: { + includeDirectives: true, + }, + }, + }, + watch: process.env.NODE_ENV === 'development', +} + +export default config diff --git a/packages/graphql/lib/apolo-client.ts b/packages/graphql/lib/apolo-client.ts new file mode 100644 index 00000000..09138f93 --- /dev/null +++ b/packages/graphql/lib/apolo-client.ts @@ -0,0 +1,41 @@ +import { ApolloClient, HttpLink, InMemoryCache, split } from '@apollo/client' +import { GraphQLWsLink } from '@apollo/client/link/subscriptions' +import { getMainDefinition } from '@apollo/client/utilities' +import { createClient } from 'graphql-ws' + +const httpLink = new HttpLink({ + uri: 'https://testnet.intuition.sh/v1/graphql', // replace with your API URL +}) + +const wsLink = + typeof window !== 'undefined' + ? new GraphQLWsLink( + createClient({ + url: 'wss://testnet.intuition.sh/v1/graphql', + }), + ) // replace with your WS endpoint + : null + +const splitLink = + typeof window !== 'undefined' && wsLink + ? split( + ({ query }) => { + const def = getMainDefinition(query) + + return ( + def.kind === 'OperationDefinition' && + def.operation === 'subscription' + ) + }, + + wsLink, + + httpLink, + ) + : httpLink + +export const apolloClient = new ApolloClient({ + link: splitLink, + + cache: new InMemoryCache(), +}) diff --git a/packages/graphql/package.json b/packages/graphql/package.json new file mode 100644 index 00000000..e4efacb4 --- /dev/null +++ b/packages/graphql/package.json @@ -0,0 +1,70 @@ +{ + "name": "@warzieram/graphql", + "description": "GraphQL", + "version": "0.5.35", + "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", + "build": "pnpm codegen:build && tsup", + "dev": "concurrently \"pnpm codegen:watch\" \"tsup --watch\"", + "publish-dry": "pnpm build && pnpm publish --dry-run --no-git-checks --ignore-scripts", + "publish-next": "pnpm build && pnpm publish --tag next --no-git-checks --ignore-scripts", + "publish-latest": "pnpm build && pnpm publish --tag latest --no-git-checks --ignore-scripts", + "version:patch": "pnpm version patch --no-git-tag-version", + "version:minor": "pnpm version minor --no-git-tag-version", + "version:major": "pnpm version major --no-git-tag-version", + "version:beta": "pnpm version prerelease --preid beta --no-git-tag-version", + "codegen:build": "NODE_ENV=production graphql-codegen --config codegen.ts", + "codegen:watch": "NODE_ENV=development dotenv graphql-codegen --config codegen.ts", + "test": "vitest", + "lint:fix": "pnpm lint --fix" + }, + "repository": { + "type": "git", + "url": "https://github.com/0xIntuition/intuition-ts", + "directory": "packages/graphql" + }, + "publishConfig": { + "access": "public", + "registry": "https://registry.npmjs.org/" + }, + "dependencies": { + "@apollo/client": "^3.13.8", + "@graphql-codegen/typescript-document-nodes": "^4.0.11", + "@tanstack/react-query": "^5.32.0", + "graphql": "^16.9.0", + "graphql-request": "^7.1.0", + "graphql-ws": "^6.0.5" + }, + "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/graphql/project.json b/packages/graphql/project.json new file mode 100644 index 00000000..38ec63f7 --- /dev/null +++ b/packages/graphql/project.json @@ -0,0 +1,27 @@ +{ + "name": "@0xintuition/graphql", + "$schema": "../../node_modules/nx/schemas/project-schema.json", + "sourceRoot": "packages/graphql/src", + "projectType": "library", + "tags": [], + "targets": { + "lint": { + "executor": "@nx/eslint:lint", + "options": { + "lintFilePatterns": ["packages/graphql/**/*.{ts,tsx,js,jsx}"] + } + }, + "test": { + "executor": "@nx/vite:test", + "options": { + "config": "packages/graphql/vitest.config.ts" + } + }, + "nx-release-publish": { + "dependsOn": ["build"], + "options": { + "packageRoot": "dist/{projectRoot}" + } + } + } +} diff --git a/packages/graphql/schema.graphql b/packages/graphql/schema.graphql new file mode 100644 index 00000000..c40a0cf2 --- /dev/null +++ b/packages/graphql/schema.graphql @@ -0,0 +1,17397 @@ +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!] +} + +type CachedImage { + created_at: timestamptz! + model: String + original_url: String! + safe: Boolean! + score: jsonb + url: String! +} + +type ChartDataOutput { + count: Int! + curve_id: String + data: [ChartDataPoint!]! + graph_type: String! + interval: String! + term_id: String! +} + +type ChartDataPoint { + timestamp: String! + value: String! +} + +type ChartSvgOutput { + svg: String! +} + +input GetChartJsonInput { + curve_id: String! + end_time: String! + graph_type: String + interval: String! + start_time: String! + term_id: String! +} + +input GetChartSvgInput { + background_color: String + curve_id: String! + end_time: String! + graph_type: String + height: Int + interval: String! + line_color: String + start_time: String! + term_id: String! + width: Int +} + +""" +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 +} + +input UploadImageFromUrlInput { + url: String! +} + +type UploadImageFromUrlOutput { + images: [CachedImage!]! +} + +input UploadImageInput { + contentType: String! + data: String! + filename: String! +} + +type UploadJsonToIpfsOutput { + hash: String! + name: String! + size: 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: String + """ + 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 { + count(columns: [accounts_select_column!], distinct: Boolean): Int! + max: accounts_max_fields + min: accounts_min_fields +} + +""" +order by aggregate values of table "account" +""" +input accounts_aggregate_order_by { + count: order_by + max: accounts_max_order_by + min: accounts_min_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: String_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: String + 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: String + 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 +} + +""" +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: String + id: String + image: String + label: String + type: account_type +} + +scalar atom_resolving_status + +""" +Boolean expression to compare columns of type "atom_resolving_status". All fields are combined with logical 'AND'. +""" +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 + +""" +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: String + """ + An object relationship + """ + byte_object: byte_object + byte_object_id: String + """ + An object relationship + """ + caip10: caip10 + caip10_id: String + id: String! + """ + An object relationship + """ + json_object: json_objects + json_object_id: String + """ + An object relationship + """ + organization: organizations + organization_id: String + """ + An object relationship + """ + person: persons + person_id: String + """ + An object relationship + """ + text_object: text_objects + text_object_id: String + """ + An object relationship + """ + thing: things + thing_id: String +} + +""" +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 { + count(columns: [atom_values_select_column!], distinct: Boolean): Int! + max: atom_values_max_fields + min: atom_values_min_fields +} + +""" +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: String_comparison_exp + byte_object: byte_object_bool_exp + byte_object_id: String_comparison_exp + caip10: caip10_bool_exp + caip10_id: String_comparison_exp + id: String_comparison_exp + json_object: json_objects_bool_exp + json_object_id: String_comparison_exp + organization: organizations_bool_exp + organization_id: String_comparison_exp + person: persons_bool_exp + person_id: String_comparison_exp + text_object: text_objects_bool_exp + text_object_id: String_comparison_exp + thing: things_bool_exp + thing_id: String_comparison_exp +} + +""" +aggregate max on columns +""" +type atom_values_max_fields { + account_id: String + 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 +""" +type atom_values_min_fields { + account_id: String + 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". +""" +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 + caip10_id: 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 + """ + caip10_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 +} + +""" +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: 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 + """ + 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 + log_index: bigint! + """ + 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! + raw_data: String! + resolving_status: atom_resolving_status! + """ + 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: String! + transaction_hash: String! + type: atom_type! + updated_at: timestamptz! + """ + An object relationship + """ + value: atom_values + value_id: String + 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 + log_index: Float +} + +""" +order by avg() on columns of table "atom" +""" +input atoms_avg_order_by { + block_number: order_by + log_index: 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 + 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: 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: String_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 + 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: String + 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 + log_index: order_by + raw_data: order_by + resolving_status: 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 + 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: String + 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 + log_index: order_by + raw_data: order_by + resolving_status: 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 + 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 + 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 + """ + log_index + """ + column name + """ + raw_data + """ + column name + """ + resolving_status + """ + 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 + log_index: Float +} + +""" +order by stddev() on columns of table "atom" +""" +input atoms_stddev_order_by { + block_number: order_by + log_index: order_by +} + +""" +aggregate stddev_pop on columns +""" +type atoms_stddev_pop_fields { + block_number: Float + log_index: Float +} + +""" +order by stddev_pop() on columns of table "atom" +""" +input atoms_stddev_pop_order_by { + block_number: order_by + log_index: order_by +} + +""" +aggregate stddev_samp on columns +""" +type atoms_stddev_samp_fields { + block_number: Float + log_index: Float +} + +""" +order by stddev_samp() on columns of table "atom" +""" +input atoms_stddev_samp_order_by { + block_number: order_by + log_index: 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 + 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: String + wallet_id: String +} + +""" +aggregate sum on columns +""" +type atoms_sum_fields { + block_number: numeric + log_index: bigint +} + +""" +order by sum() on columns of table "atom" +""" +input atoms_sum_order_by { + block_number: order_by + log_index: order_by +} + +""" +aggregate var_pop on columns +""" +type atoms_var_pop_fields { + block_number: Float + log_index: Float +} + +""" +order by var_pop() on columns of table "atom" +""" +input atoms_var_pop_order_by { + block_number: order_by + log_index: order_by +} + +""" +aggregate var_samp on columns +""" +type atoms_var_samp_fields { + block_number: Float + log_index: Float +} + +""" +order by var_samp() on columns of table "atom" +""" +input atoms_var_samp_order_by { + block_number: order_by + log_index: order_by +} + +""" +aggregate variance on columns +""" +type atoms_variance_fields { + block_number: Float + log_index: Float +} + +""" +order by variance() on columns of table "atom" +""" +input atoms_variance_order_by { + block_number: order_by + log_index: 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: String! + 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 { + count(columns: [books_select_column!], distinct: Boolean): Int! + max: books_max_fields + min: books_min_fields +} + +""" +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: String_comparison_exp + name: String_comparison_exp + url: String_comparison_exp +} + +""" +aggregate max on columns +""" +type books_max_fields { + description: String + genre: String + id: String + name: String + url: String +} + +""" +aggregate min on columns +""" +type books_min_fields { + description: String + genre: String + id: String + 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 +} + +""" +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: String + name: String + url: String +} + +""" +columns and relationships of "byte_object" +""" +type byte_object { + """ + An object relationship + """ + atom: atoms + data: bytea! + id: String! +} + +""" +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 { + count(columns: [byte_object_select_column!], distinct: Boolean): Int! + max: byte_object_max_fields + min: byte_object_min_fields +} + +""" +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: String_comparison_exp +} + +""" +aggregate max on columns +""" +type byte_object_max_fields { + id: String +} + +""" +aggregate min on columns +""" +type byte_object_min_fields { + id: String +} + +""" +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 +} + +""" +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: String +} + +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: String! + 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 +} + +""" +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: String_comparison_exp + namespace: String_comparison_exp +} + +""" +aggregate max on columns +""" +type caip10_max_fields { + account_address: String + chain_id: Int + id: String + namespace: String +} + +""" +aggregate min on columns +""" +type caip10_min_fields { + account_address: String + chain_id: Int + id: String + 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 +} + +""" +aggregate stddev_pop on columns +""" +type caip10_stddev_pop_fields { + chain_id: Float +} + +""" +aggregate stddev_samp on columns +""" +type caip10_stddev_samp_fields { + chain_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: String + namespace: String +} + +""" +aggregate sum on columns +""" +type caip10_sum_fields { + chain_id: Int +} + +""" +aggregate var_pop on columns +""" +type caip10_var_pop_fields { + chain_id: Float +} + +""" +aggregate var_samp on columns +""" +type caip10_var_samp_fields { + chain_id: Float +} + +""" +aggregate variance on columns +""" +type caip10_variance_fields { + chain_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 { + assets_after_fees: numeric! + block_number: numeric! + created_at: timestamptz! + curve_id: numeric! + id: String! + log_index: bigint! + """ + An object relationship + """ + receiver: accounts + receiver_id: String! + """ + An object relationship + """ + sender: accounts + sender_id: String! + shares: numeric! + """ + An object relationship + """ + term: terms + term_id: String! + total_shares: numeric! + transaction_hash: String! + """ + An object relationship + """ + vault: vaults + vault_type: vault_type! +} + +""" +aggregated selection of "deposit" +""" +type deposits_aggregate { + aggregate: deposits_aggregate_fields + nodes: [deposits!]! +} + +input deposits_aggregate_bool_exp { + count: deposits_aggregate_bool_exp_count +} + +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 { + assets_after_fees: Float + block_number: Float + curve_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 + log_index: order_by + shares: order_by + total_shares: 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!] + assets_after_fees: numeric_comparison_exp + block_number: numeric_comparison_exp + created_at: timestamptz_comparison_exp + curve_id: 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 + shares: numeric_comparison_exp + term: terms_bool_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 +""" +type deposits_max_fields { + assets_after_fees: numeric + block_number: numeric + created_at: timestamptz + curve_id: numeric + id: String + log_index: bigint + receiver_id: String + sender_id: String + 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 + id: order_by + log_index: order_by + receiver_id: order_by + sender_id: 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 +""" +type deposits_min_fields { + assets_after_fees: numeric + block_number: numeric + created_at: timestamptz + curve_id: numeric + id: String + log_index: bigint + receiver_id: String + sender_id: String + 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 + id: order_by + log_index: order_by + receiver_id: order_by + sender_id: 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". +""" +input deposits_order_by { + assets_after_fees: order_by + block_number: order_by + created_at: order_by + curve_id: 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 + 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 + """ + assets_after_fees + """ + column name + """ + block_number + """ + column name + """ + created_at + """ + column name + """ + curve_id + """ + column name + """ + id + """ + column name + """ + log_index + """ + column name + """ + receiver_id + """ + column name + """ + sender_id + """ + column name + """ + shares + """ + column name + """ + term_id + """ + column name + """ + total_shares + """ + column name + """ + transaction_hash + """ + column name + """ + vault_type +} + +""" +aggregate stddev on columns +""" +type deposits_stddev_fields { + assets_after_fees: Float + block_number: Float + curve_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 + log_index: order_by + shares: order_by + total_shares: order_by +} + +""" +aggregate stddev_pop on columns +""" +type deposits_stddev_pop_fields { + assets_after_fees: Float + block_number: Float + curve_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 + log_index: order_by + shares: order_by + total_shares: order_by +} + +""" +aggregate stddev_samp on columns +""" +type deposits_stddev_samp_fields { + assets_after_fees: Float + block_number: Float + curve_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 + 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 + """ + 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 { + assets_after_fees: numeric + block_number: numeric + created_at: timestamptz + curve_id: numeric + id: String + log_index: bigint + receiver_id: String + sender_id: String + shares: numeric + term_id: String + total_shares: numeric + transaction_hash: String + vault_type: vault_type +} + +""" +aggregate sum on columns +""" +type deposits_sum_fields { + assets_after_fees: numeric + block_number: numeric + curve_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 + log_index: order_by + shares: order_by + total_shares: order_by +} + +""" +aggregate var_pop on columns +""" +type deposits_var_pop_fields { + assets_after_fees: Float + block_number: Float + curve_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 + log_index: order_by + shares: order_by + total_shares: order_by +} + +""" +aggregate var_samp on columns +""" +type deposits_var_samp_fields { + assets_after_fees: Float + block_number: Float + curve_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 + log_index: order_by + shares: order_by + total_shares: order_by +} + +""" +aggregate variance on columns +""" +type deposits_variance_fields { + assets_after_fees: Float + block_number: Float + curve_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 + log_index: order_by + shares: order_by + total_shares: 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: String + 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: String + 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 { + block_number: 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: String_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: String_comparison_exp + type: event_type_comparison_exp +} + +""" +aggregate max on columns +""" +type events_max_fields { + atom_id: String + block_number: numeric + created_at: timestamptz + deposit_id: String + fee_transfer_id: String + id: String + redemption_id: String + transaction_hash: String + triple_id: String + type: event_type +} + +""" +aggregate min on columns +""" +type events_min_fields { + atom_id: String + block_number: numeric + created_at: timestamptz + deposit_id: String + fee_transfer_id: String + id: String + redemption_id: String + transaction_hash: String + triple_id: String + 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 { + block_number: Float +} + +""" +aggregate stddev_pop on columns +""" +type events_stddev_pop_fields { + block_number: Float +} + +""" +aggregate stddev_samp on columns +""" +type events_stddev_samp_fields { + block_number: 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: String + block_number: numeric + created_at: timestamptz + deposit_id: String + fee_transfer_id: String + id: String + redemption_id: String + transaction_hash: String + triple_id: String + type: event_type +} + +""" +aggregate sum on columns +""" +type events_sum_fields { + block_number: numeric +} + +""" +aggregate var_pop on columns +""" +type events_var_pop_fields { + block_number: Float +} + +""" +aggregate var_samp on columns +""" +type events_var_samp_fields { + block_number: Float +} + +""" +aggregate variance on columns +""" +type events_variance_fields { + block_number: 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: String! +} + +""" +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 { + count(columns: [json_objects_select_column!], distinct: Boolean): Int! + max: json_objects_max_fields + min: json_objects_min_fields +} + +""" +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: String_comparison_exp +} + +""" +aggregate max on columns +""" +type json_objects_max_fields { + id: String +} + +""" +aggregate min on columns +""" +type json_objects_min_fields { + id: String +} + +""" +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 +} + +""" +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: String +} + +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 + """ + Uploads and classifies an image file using image-guard. Accepts base64-encoded image data. Note: The original /upload endpoint requires multipart/form-data which Hasura actions cannot construct directly. This mutation uses upload_image_from_url with a data URL workaround. For direct file uploads, use the image-guard API directly or create a wrapper endpoint. + """ + uploadImage(image: UploadImageInput!): UploadImageFromUrlOutput + """ + Uploads and classifies an image from a URL using image-guard + """ + uploadImageFromUrl(image: UploadImageFromUrlInput!): UploadImageFromUrlOutput + """ + Uploads JSON to IPFS using image-guard + """ + uploadJsonToIpfs(json: jsonb!): UploadJsonToIpfsOutput +} + +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: String! + 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 { + count(columns: [organizations_select_column!], distinct: Boolean): Int! + max: organizations_max_fields + min: organizations_min_fields +} + +""" +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: String_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: String + image: String + name: String + url: String +} + +""" +aggregate min on columns +""" +type organizations_min_fields { + description: String + email: String + id: String + 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 +} + +""" +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: String + image: String + name: String + url: String +} + +""" +columns and relationships of "person" +""" +type persons { + """ + An object relationship + """ + atom: atoms + cached_image: cached_images_cached_image + description: String + email: String + id: String! + 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 { + count(columns: [persons_select_column!], distinct: Boolean): Int! + max: persons_max_fields + min: persons_min_fields +} + +""" +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: String_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: String + identifier: String + image: String + name: String + url: String +} + +""" +aggregate min on columns +""" +type persons_min_fields { + description: String + email: String + id: String + 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 +} + +""" +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: String + identifier: String + image: String + name: String + url: String +} + +""" +columns and relationships of "position" +""" +type positions { + """ + 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 + """ + term: terms + 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 + """ + 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 { + block_number: Float + curve_id: Float + log_index: Float + shares: 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 + total_deposit_assets_after_total_fees: order_by + total_redeem_assets_for_receiver: order_by + transaction_index: 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 + 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: 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 +} + +input positions_from_following_args { + address: String +} + +""" +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: String + total_deposit_assets_after_total_fees: numeric + total_redeem_assets_for_receiver: numeric + transaction_hash: String + transaction_index: bigint + updated_at: timestamptz +} + +""" +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 +""" +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: String + total_deposit_assets_after_total_fees: numeric + total_redeem_assets_for_receiver: numeric + transaction_hash: String + transaction_index: bigint + updated_at: timestamptz +} + +""" +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". +""" +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 +} + +""" +select columns of table "position" +""" +enum 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 + """ + 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 +""" +type positions_stddev_fields { + block_number: Float + curve_id: Float + log_index: Float + shares: 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 + total_deposit_assets_after_total_fees: order_by + total_redeem_assets_for_receiver: order_by + transaction_index: order_by +} + +""" +aggregate stddev_pop on columns +""" +type positions_stddev_pop_fields { + block_number: Float + curve_id: Float + log_index: Float + shares: 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 + total_deposit_assets_after_total_fees: order_by + total_redeem_assets_for_receiver: order_by + transaction_index: order_by +} + +""" +aggregate stddev_samp on columns +""" +type positions_stddev_samp_fields { + block_number: Float + curve_id: Float + log_index: Float + shares: 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 + 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 + """ + 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 + block_number: bigint + created_at: timestamptz + curve_id: numeric + id: String + log_index: bigint + shares: 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 +""" +type positions_sum_fields { + block_number: bigint + curve_id: numeric + log_index: bigint + shares: 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 + total_deposit_assets_after_total_fees: order_by + total_redeem_assets_for_receiver: order_by + transaction_index: order_by +} + +""" +aggregate var_pop on columns +""" +type positions_var_pop_fields { + block_number: Float + curve_id: Float + log_index: Float + shares: 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 + total_deposit_assets_after_total_fees: order_by + total_redeem_assets_for_receiver: order_by + transaction_index: order_by +} + +""" +aggregate var_samp on columns +""" +type positions_var_samp_fields { + block_number: Float + curve_id: Float + log_index: Float + shares: 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 + total_deposit_assets_after_total_fees: order_by + total_redeem_assets_for_receiver: order_by + transaction_index: order_by +} + +""" +aggregate variance on columns +""" +type positions_variance_fields { + block_number: Float + curve_id: Float + log_index: Float + shares: 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 + total_deposit_assets_after_total_fees: order_by + total_redeem_assets_for_receiver: order_by + transaction_index: order_by +} + +""" +columns and relationships of "predicate_object" +""" +type predicate_objects { + """ + An object relationship + """ + object: atoms + object_id: String! + """ + An object relationship + """ + predicate: atoms + predicate_id: String! + total_market_cap: numeric! + total_position_count: Int! + triple_count: Int! + """ + 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! +} + +""" +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 { + total_market_cap: Float + total_position_count: Float + triple_count: Float +} + +""" +order by avg() on columns of table "predicate_object" +""" +input predicate_objects_avg_order_by { + total_market_cap: order_by + total_position_count: 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!] + object: atoms_bool_exp + object_id: String_comparison_exp + predicate: atoms_bool_exp + predicate_id: String_comparison_exp + total_market_cap: numeric_comparison_exp + total_position_count: Int_comparison_exp + triple_count: Int_comparison_exp + triples: triples_bool_exp + triples_aggregate: triples_aggregate_bool_exp +} + +""" +aggregate max on columns +""" +type predicate_objects_max_fields { + object_id: String + predicate_id: String + total_market_cap: numeric + total_position_count: Int + triple_count: Int +} + +""" +order by max() on columns of table "predicate_object" +""" +input predicate_objects_max_order_by { + object_id: order_by + predicate_id: order_by + total_market_cap: order_by + total_position_count: order_by + triple_count: order_by +} + +""" +aggregate min on columns +""" +type predicate_objects_min_fields { + object_id: String + predicate_id: String + total_market_cap: numeric + total_position_count: Int + triple_count: Int +} + +""" +order by min() on columns of table "predicate_object" +""" +input predicate_objects_min_order_by { + object_id: order_by + predicate_id: order_by + total_market_cap: order_by + total_position_count: order_by + triple_count: order_by +} + +""" +Ordering options when selecting data from "predicate_object". +""" +input predicate_objects_order_by { + object: atoms_order_by + object_id: order_by + predicate: atoms_order_by + predicate_id: order_by + total_market_cap: order_by + total_position_count: order_by + triple_count: order_by + triples_aggregate: triples_aggregate_order_by +} + +""" +select columns of table "predicate_object" +""" +enum predicate_objects_select_column { + """ + column name + """ + object_id + """ + column name + """ + predicate_id + """ + column name + """ + total_market_cap + """ + column name + """ + total_position_count + """ + column name + """ + triple_count +} + +""" +aggregate stddev on columns +""" +type predicate_objects_stddev_fields { + total_market_cap: Float + total_position_count: Float + triple_count: Float +} + +""" +order by stddev() on columns of table "predicate_object" +""" +input predicate_objects_stddev_order_by { + total_market_cap: order_by + total_position_count: order_by + triple_count: order_by +} + +""" +aggregate stddev_pop on columns +""" +type predicate_objects_stddev_pop_fields { + total_market_cap: Float + total_position_count: Float + triple_count: Float +} + +""" +order by stddev_pop() on columns of table "predicate_object" +""" +input predicate_objects_stddev_pop_order_by { + total_market_cap: order_by + total_position_count: order_by + triple_count: order_by +} + +""" +aggregate stddev_samp on columns +""" +type predicate_objects_stddev_samp_fields { + total_market_cap: Float + total_position_count: Float + triple_count: Float +} + +""" +order by stddev_samp() on columns of table "predicate_object" +""" +input predicate_objects_stddev_samp_order_by { + total_market_cap: order_by + total_position_count: 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 { + object_id: String + predicate_id: String + total_market_cap: numeric + total_position_count: Int + triple_count: Int +} + +""" +aggregate sum on columns +""" +type predicate_objects_sum_fields { + total_market_cap: numeric + total_position_count: Int + triple_count: Int +} + +""" +order by sum() on columns of table "predicate_object" +""" +input predicate_objects_sum_order_by { + total_market_cap: order_by + total_position_count: order_by + triple_count: order_by +} + +""" +aggregate var_pop on columns +""" +type predicate_objects_var_pop_fields { + total_market_cap: Float + total_position_count: Float + triple_count: Float +} + +""" +order by var_pop() on columns of table "predicate_object" +""" +input predicate_objects_var_pop_order_by { + total_market_cap: order_by + total_position_count: order_by + triple_count: order_by +} + +""" +aggregate var_samp on columns +""" +type predicate_objects_var_samp_fields { + total_market_cap: Float + total_position_count: Float + triple_count: Float +} + +""" +order by var_samp() on columns of table "predicate_object" +""" +input predicate_objects_var_samp_order_by { + total_market_cap: order_by + total_position_count: order_by + triple_count: order_by +} + +""" +aggregate variance on columns +""" +type predicate_objects_variance_fields { + total_market_cap: Float + total_position_count: Float + triple_count: Float +} + +""" +order by variance() on columns of table "predicate_object" +""" +input predicate_objects_variance_order_by { + total_market_cap: order_by + total_position_count: 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: 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_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: String!): 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: String!): 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: String!): 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! + """ + Fetches chart data (JSON) for a term/curve combination + """ + getChartJson(input: GetChartJsonInput!): ChartDataOutput + """ + Fetches chart SVG for a term/curve combination + """ + getChartSvg(input: GetChartSvgInput!): ChartSvgOutput + """ + 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_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: String!): 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: String!): 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( + object_id: String! + predicate_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_hour" using primary key columns + """ + statHour(id: Int!): statHours + """ + fetch data from the table: "stats_hour" + """ + 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_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: "subject_predicate" + """ + subject_predicates( + """ + distinct select on columns + """ + distinct_on: [subject_predicates_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: [subject_predicates_order_by!] + """ + filter the rows returned + """ + where: subject_predicates_bool_exp + ): [subject_predicates!]! + """ + fetch aggregated fields from the table: "subject_predicate" + """ + subject_predicates_aggregate( + """ + distinct select on columns + """ + distinct_on: [subject_predicates_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: [subject_predicates_order_by!] + """ + filter the rows returned + """ + where: subject_predicates_bool_exp + ): subject_predicates_aggregate! + """ + fetch data from the table: "subject_predicate" using primary key columns + """ + subject_predicates_by_pk( + predicate_id: String! + subject_id: String! + ): subject_predicates + """ + 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: "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: "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 + """ + 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: String!): 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: String!): 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: 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_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: String!): 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: String!): 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: numeric! + block_number: numeric! + created_at: timestamptz! + curve_id: numeric! + fees: numeric! + id: String! + log_index: bigint! + """ + An object relationship + """ + receiver: accounts + receiver_id: String! + """ + An object relationship + """ + sender: accounts + sender_id: String! + shares: numeric! + """ + An object relationship + """ + term: terms + term_id: String! + total_shares: numeric! + transaction_hash: String! + """ + An object relationship + """ + vault: vaults + vault_type: vault_type! +} + +""" +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: Float + block_number: Float + curve_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: order_by + block_number: order_by + curve_id: order_by + fees: order_by + log_index: order_by + shares: order_by + total_shares: 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: numeric_comparison_exp + block_number: numeric_comparison_exp + created_at: timestamptz_comparison_exp + curve_id: 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 + shares: numeric_comparison_exp + term: terms_bool_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 +""" +type redemptions_max_fields { + assets: numeric + block_number: numeric + created_at: timestamptz + curve_id: numeric + fees: numeric + id: String + log_index: bigint + receiver_id: String + sender_id: String + 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: order_by + block_number: order_by + created_at: order_by + curve_id: order_by + fees: order_by + id: order_by + log_index: order_by + receiver_id: order_by + sender_id: 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 +""" +type redemptions_min_fields { + assets: numeric + block_number: numeric + created_at: timestamptz + curve_id: numeric + fees: numeric + id: String + log_index: bigint + receiver_id: String + sender_id: String + 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: order_by + block_number: order_by + created_at: order_by + curve_id: order_by + fees: order_by + id: order_by + log_index: order_by + receiver_id: order_by + sender_id: 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". +""" +input redemptions_order_by { + assets: order_by + block_number: order_by + created_at: order_by + curve_id: 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 + 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 + """ + column name + """ + block_number + """ + column name + """ + created_at + """ + column name + """ + curve_id + """ + column name + """ + fees + """ + column name + """ + id + """ + column name + """ + log_index + """ + column name + """ + receiver_id + """ + column name + """ + sender_id + """ + column name + """ + shares + """ + column name + """ + term_id + """ + column name + """ + total_shares + """ + column name + """ + transaction_hash + """ + column name + """ + vault_type +} + +""" +aggregate stddev on columns +""" +type redemptions_stddev_fields { + assets: Float + block_number: Float + curve_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: order_by + block_number: order_by + curve_id: order_by + fees: order_by + log_index: order_by + shares: order_by + total_shares: order_by +} + +""" +aggregate stddev_pop on columns +""" +type redemptions_stddev_pop_fields { + assets: Float + block_number: Float + curve_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: order_by + block_number: order_by + curve_id: order_by + fees: order_by + log_index: order_by + shares: order_by + total_shares: order_by +} + +""" +aggregate stddev_samp on columns +""" +type redemptions_stddev_samp_fields { + assets: Float + block_number: Float + curve_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: order_by + block_number: order_by + curve_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 + """ + 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: numeric + block_number: numeric + created_at: timestamptz + curve_id: numeric + fees: numeric + id: String + log_index: bigint + receiver_id: String + sender_id: String + shares: numeric + term_id: String + total_shares: numeric + transaction_hash: String + vault_type: vault_type +} + +""" +aggregate sum on columns +""" +type redemptions_sum_fields { + assets: numeric + block_number: numeric + curve_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: order_by + block_number: order_by + curve_id: order_by + fees: order_by + log_index: order_by + shares: order_by + total_shares: order_by +} + +""" +aggregate var_pop on columns +""" +type redemptions_var_pop_fields { + assets: Float + block_number: Float + curve_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: order_by + block_number: order_by + curve_id: order_by + fees: order_by + log_index: order_by + shares: order_by + total_shares: order_by +} + +""" +aggregate var_samp on columns +""" +type redemptions_var_samp_fields { + assets: Float + block_number: Float + curve_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: order_by + block_number: order_by + curve_id: order_by + fees: order_by + log_index: order_by + shares: order_by + total_shares: order_by +} + +""" +aggregate variance on columns +""" +type redemptions_variance_fields { + assets: Float + block_number: Float + curve_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: order_by + block_number: order_by + curve_id: order_by + fees: order_by + log_index: order_by + shares: order_by + total_shares: 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: String +} + +""" +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 +} + +""" +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: String_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 +} + +""" +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 +} + +""" +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 +} + +""" +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: String +} + +""" +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 +} + +""" +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 +} + +""" +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 +} + +""" +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 +} + +""" +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: String +} + +""" +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 +} + +""" +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: String_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 +} + +""" +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 +} + +""" +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 +} + +""" +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: String +} + +""" +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 +} + +""" +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 +} + +""" +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 +} + +""" +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 +} + +""" +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: String +} + +""" +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 +} + +""" +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: String_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 +} + +""" +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 +} + +""" +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 +} + +""" +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: String +} + +""" +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 +} + +""" +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 +} + +""" +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 +} + +""" +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 +} + +""" +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: String +} + +""" +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 +} + +""" +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: String_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 +} + +""" +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 +} + +""" +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 +} + +""" +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: String +} + +""" +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 +} + +""" +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 +} + +""" +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 +} + +""" +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 +} + +""" +columns and relationships of "share_price_change" +""" +type share_price_changes { + block_number: numeric! + block_timestamp: bigint! + curve_id: numeric! + id: bigint! + log_index: bigint! + share_price: numeric! + """ + An object relationship + """ + term: terms + term_id: String! + total_assets: numeric! + total_shares: numeric! + transaction_hash: String! + updated_at: timestamptz! + """ + An object relationship + """ + vault: vaults + vault_type: vault_type! +} + +""" +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 + log_index: Float + share_price: 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 + log_index: order_by + share_price: 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 + log_index: bigint_comparison_exp + share_price: numeric_comparison_exp + term: terms_bool_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 +""" +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: String + total_assets: numeric + total_shares: numeric + transaction_hash: String + updated_at: timestamptz + vault_type: vault_type +} + +""" +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 + 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 +""" +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: String + total_assets: numeric + total_shares: numeric + transaction_hash: String + updated_at: timestamptz + vault_type: vault_type +} + +""" +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 + 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". +""" +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 + total_assets: order_by + total_shares: 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 + """ + block_number + """ + column name + """ + block_timestamp + """ + column name + """ + curve_id + """ + column name + """ + id + """ + column name + """ + log_index + """ + column name + """ + share_price + """ + column name + """ + term_id + """ + column name + """ + total_assets + """ + column name + """ + total_shares + """ + column name + """ + transaction_hash + """ + column name + """ + updated_at + """ + column name + """ + vault_type +} + +""" +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 + 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 + log_index: order_by + share_price: 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 + log_index: Float + share_price: 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 + log_index: order_by + share_price: 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 + log_index: Float + share_price: 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 + log_index: order_by + share_price: 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 + log_index: bigint + share_price: numeric + term_id: String + total_assets: numeric + total_shares: numeric + transaction_hash: String + updated_at: timestamptz + vault_type: vault_type +} + +""" +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 + 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 + log_index: order_by + share_price: 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 + log_index: Float + share_price: 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 + log_index: order_by + share_price: 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 + log_index: Float + share_price: 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 + log_index: order_by + share_price: 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 + log_index: Float + share_price: 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 + log_index: order_by + share_price: 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: String + 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: String_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: String + 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: String + 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: String_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: String + 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: String + 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: String_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: String + 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: String + 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: String_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: String + volume: numeric +} + +""" +columns and relationships of "signal" +""" +type signals { + """ + An object relationship + """ + account: accounts + account_id: String! + atom_id: String + block_number: numeric! + created_at: timestamptz! + curve_id: numeric! + 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 + term_id: String! + transaction_hash: String! + triple_id: String + """ + 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 { + block_number: Float + curve_id: Float + delta: Float +} + +""" +order by avg() on columns of table "signal" +""" +input signals_avg_order_by { + block_number: order_by + curve_id: order_by + delta: 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: 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 + id: String_comparison_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: String_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: 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: String +} + +""" +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 + 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 +""" +type signals_min_fields { + account_id: String + 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: String +} + +""" +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 + 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". +""" +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 + id: 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 +} + +""" +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 + """ + curve_id + """ + column name + """ + delta + """ + column name + """ + deposit_id + """ + column name + """ + id + """ + column name + """ + redemption_id + """ + column name + """ + term_id + """ + column name + """ + transaction_hash + """ + column name + """ + triple_id +} + +""" +aggregate stddev on columns +""" +type signals_stddev_fields { + block_number: Float + curve_id: Float + delta: Float +} + +""" +order by stddev() on columns of table "signal" +""" +input signals_stddev_order_by { + block_number: order_by + curve_id: order_by + delta: order_by +} + +""" +aggregate stddev_pop on columns +""" +type signals_stddev_pop_fields { + block_number: Float + curve_id: Float + delta: Float +} + +""" +order by stddev_pop() on columns of table "signal" +""" +input signals_stddev_pop_order_by { + block_number: order_by + curve_id: order_by + delta: order_by +} + +""" +aggregate stddev_samp on columns +""" +type signals_stddev_samp_fields { + block_number: Float + curve_id: Float + delta: Float +} + +""" +order by stddev_samp() on columns of table "signal" +""" +input signals_stddev_samp_order_by { + block_number: order_by + curve_id: order_by + delta: 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: 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: String +} + +""" +aggregate sum on columns +""" +type signals_sum_fields { + block_number: numeric + curve_id: numeric + delta: numeric +} + +""" +order by sum() on columns of table "signal" +""" +input signals_sum_order_by { + block_number: order_by + curve_id: order_by + delta: order_by +} + +""" +aggregate var_pop on columns +""" +type signals_var_pop_fields { + block_number: Float + curve_id: Float + delta: Float +} + +""" +order by var_pop() on columns of table "signal" +""" +input signals_var_pop_order_by { + block_number: order_by + curve_id: order_by + delta: order_by +} + +""" +aggregate var_samp on columns +""" +type signals_var_samp_fields { + block_number: Float + curve_id: Float + delta: Float +} + +""" +order by var_samp() on columns of table "signal" +""" +input signals_var_samp_order_by { + block_number: order_by + curve_id: order_by + delta: order_by +} + +""" +aggregate variance on columns +""" +type signals_variance_fields { + block_number: Float + curve_id: Float + delta: Float +} + +""" +order by variance() on columns of table "signal" +""" +input signals_variance_order_by { + block_number: order_by + curve_id: order_by + delta: 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 +} + +""" +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 + 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 + last_processed_block_number: 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 + 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 + 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 + last_processed_block_number: numeric + last_processed_block_timestamp: timestamptz + last_updated: timestamptz + 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 + last_processed_block_number: numeric + last_processed_block_timestamp: timestamptz + last_updated: timestamptz + 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 + 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 + 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 + """ + last_processed_block_number + """ + column name + """ + last_processed_block_timestamp + """ + column name + """ + last_updated + """ + 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 + last_processed_block_number: 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 + last_processed_block_number: 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 + last_processed_block_number: 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 + last_processed_block_number: numeric + last_processed_block_timestamp: timestamptz + last_updated: timestamptz + 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 + last_processed_block_number: numeric + 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 + last_processed_block_number: 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 + last_processed_block_number: 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 + last_processed_block_number: Float + total_accounts: Float + total_atoms: Float + total_fees: Float + total_positions: Float + total_signals: Float + total_triples: Float +} + +""" +columns and relationships of "subject_predicate" +""" +type subject_predicates { + """ + An object relationship + """ + predicate: atoms + predicate_id: String! + """ + An object relationship + """ + subject: atoms + subject_id: String! + total_market_cap: numeric! + total_position_count: Int! + triple_count: Int! + """ + 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! +} + +""" +aggregated selection of "subject_predicate" +""" +type subject_predicates_aggregate { + aggregate: subject_predicates_aggregate_fields + nodes: [subject_predicates!]! +} + +""" +aggregate fields of "subject_predicate" +""" +type subject_predicates_aggregate_fields { + avg: subject_predicates_avg_fields + count(columns: [subject_predicates_select_column!], distinct: Boolean): Int! + max: subject_predicates_max_fields + min: subject_predicates_min_fields + stddev: subject_predicates_stddev_fields + stddev_pop: subject_predicates_stddev_pop_fields + stddev_samp: subject_predicates_stddev_samp_fields + sum: subject_predicates_sum_fields + var_pop: subject_predicates_var_pop_fields + var_samp: subject_predicates_var_samp_fields + variance: subject_predicates_variance_fields +} + +""" +aggregate avg on columns +""" +type subject_predicates_avg_fields { + total_market_cap: Float + total_position_count: Float + triple_count: Float +} + +""" +Boolean expression to filter rows from the table "subject_predicate". All fields are combined with a logical 'AND'. +""" +input subject_predicates_bool_exp { + _and: [subject_predicates_bool_exp!] + _not: subject_predicates_bool_exp + _or: [subject_predicates_bool_exp!] + predicate: atoms_bool_exp + predicate_id: String_comparison_exp + subject: atoms_bool_exp + subject_id: String_comparison_exp + total_market_cap: numeric_comparison_exp + total_position_count: Int_comparison_exp + triple_count: Int_comparison_exp + triples: triples_bool_exp + triples_aggregate: triples_aggregate_bool_exp +} + +""" +aggregate max on columns +""" +type subject_predicates_max_fields { + predicate_id: String + subject_id: String + total_market_cap: numeric + total_position_count: Int + triple_count: Int +} + +""" +aggregate min on columns +""" +type subject_predicates_min_fields { + predicate_id: String + subject_id: String + total_market_cap: numeric + total_position_count: Int + triple_count: Int +} + +""" +Ordering options when selecting data from "subject_predicate". +""" +input subject_predicates_order_by { + predicate: atoms_order_by + predicate_id: order_by + subject: atoms_order_by + subject_id: order_by + total_market_cap: order_by + total_position_count: order_by + triple_count: order_by + triples_aggregate: triples_aggregate_order_by +} + +""" +select columns of table "subject_predicate" +""" +enum subject_predicates_select_column { + """ + column name + """ + predicate_id + """ + column name + """ + subject_id + """ + column name + """ + total_market_cap + """ + column name + """ + total_position_count + """ + column name + """ + triple_count +} + +""" +aggregate stddev on columns +""" +type subject_predicates_stddev_fields { + total_market_cap: Float + total_position_count: Float + triple_count: Float +} + +""" +aggregate stddev_pop on columns +""" +type subject_predicates_stddev_pop_fields { + total_market_cap: Float + total_position_count: Float + triple_count: Float +} + +""" +aggregate stddev_samp on columns +""" +type subject_predicates_stddev_samp_fields { + total_market_cap: Float + total_position_count: Float + triple_count: Float +} + +""" +Streaming cursor of the table "subject_predicates" +""" +input subject_predicates_stream_cursor_input { + """ + Stream column input with initial value + """ + initial_value: subject_predicates_stream_cursor_value_input! + """ + cursor ordering + """ + ordering: cursor_ordering +} + +""" +Initial value of the column from where the streaming should start +""" +input subject_predicates_stream_cursor_value_input { + predicate_id: String + subject_id: String + total_market_cap: numeric + total_position_count: Int + triple_count: Int +} + +""" +aggregate sum on columns +""" +type subject_predicates_sum_fields { + total_market_cap: numeric + total_position_count: Int + triple_count: Int +} + +""" +aggregate var_pop on columns +""" +type subject_predicates_var_pop_fields { + total_market_cap: Float + total_position_count: Float + triple_count: Float +} + +""" +aggregate var_samp on columns +""" +type subject_predicates_var_samp_fields { + total_market_cap: Float + total_position_count: Float + triple_count: Float +} + +""" +aggregate variance on columns +""" +type subject_predicates_variance_fields { + total_market_cap: Float + total_position_count: Float + triple_count: 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: 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_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: String!): 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: 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 + """ + 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: String!): 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: String!): 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: String!): 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: String!): 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( + object_id: String! + predicate_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_hour" using primary key columns + """ + statHour(id: Int!): statHours + """ + fetch data from the table: "stats_hour" + """ + 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_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: "subject_predicate" + """ + subject_predicates( + """ + distinct select on columns + """ + distinct_on: [subject_predicates_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: [subject_predicates_order_by!] + """ + filter the rows returned + """ + where: subject_predicates_bool_exp + ): [subject_predicates!]! + """ + fetch aggregated fields from the table: "subject_predicate" + """ + subject_predicates_aggregate( + """ + distinct select on columns + """ + distinct_on: [subject_predicates_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: [subject_predicates_order_by!] + """ + filter the rows returned + """ + where: subject_predicates_bool_exp + ): subject_predicates_aggregate! + """ + fetch data from the table: "subject_predicate" using primary key columns + """ + subject_predicates_by_pk( + predicate_id: String! + subject_id: String! + ): subject_predicates + """ + fetch data from the table in a streaming manner: "subject_predicate" + """ + subject_predicates_stream( + """ + maximum number of rows returned in a single batch + """ + batch_size: Int! + """ + cursor to stream the results returned by the query + """ + cursor: [subject_predicates_stream_cursor_input]! + """ + filter the rows returned + """ + where: subject_predicates_bool_exp + ): [subject_predicates!]! + """ + 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" + """ + 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!]! + """ + 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_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: String!): 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: String!): 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: 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 + """ + 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: 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 + """ + 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: String!): 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!]! +} + +""" +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 + +""" +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: String + created_at: timestamptz! + """ + 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: 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( + """ + 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 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 + """ + triple: triples + """ + An object relationship + """ + tripleById: triples + triple_id: String + type: term_type! + updated_at: timestamptz! + """ + 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 { + total_assets: Float + total_market_cap: 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: String_comparison_exp + created_at: timestamptz_comparison_exp + deposits: deposits_bool_exp + deposits_aggregate: deposits_aggregate_bool_exp + id: String_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_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: 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 +""" +type terms_max_fields { + atom_id: String + created_at: timestamptz + id: String + total_assets: numeric + total_market_cap: numeric + triple_id: String + type: term_type + updated_at: timestamptz +} + +""" +aggregate min on columns +""" +type terms_min_fields { + atom_id: String + created_at: timestamptz + id: String + total_assets: numeric + total_market_cap: numeric + triple_id: String + type: term_type + updated_at: timestamptz +} + +""" +Ordering options when selecting data from "term". +""" +input terms_order_by { + atom: atoms_order_by + atomById: atoms_order_by + atom_id: order_by + created_at: 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 + 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 +} + +""" +select columns of table "term" +""" +enum terms_select_column { + """ + column name + """ + atom_id + """ + column name + """ + created_at + """ + column name + """ + id + """ + column name + """ + total_assets + """ + column name + """ + total_market_cap + """ + column name + """ + triple_id + """ + column name + """ + type + """ + column name + """ + updated_at +} + +""" +aggregate stddev on columns +""" +type terms_stddev_fields { + total_assets: Float + total_market_cap: Float +} + +""" +aggregate stddev_pop on columns +""" +type terms_stddev_pop_fields { + total_assets: Float + total_market_cap: Float +} + +""" +aggregate stddev_samp on columns +""" +type terms_stddev_samp_fields { + total_assets: Float + total_market_cap: 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: String + created_at: timestamptz + id: String + total_assets: numeric + total_market_cap: numeric + triple_id: String + type: term_type + updated_at: timestamptz +} + +""" +aggregate sum on columns +""" +type terms_sum_fields { + total_assets: numeric + total_market_cap: numeric +} + +""" +aggregate var_pop on columns +""" +type terms_var_pop_fields { + total_assets: Float + total_market_cap: Float +} + +""" +aggregate var_samp on columns +""" +type terms_var_samp_fields { + total_assets: Float + total_market_cap: Float +} + +""" +aggregate variance on columns +""" +type terms_variance_fields { + total_assets: Float + total_market_cap: Float +} + +""" +columns and relationships of "text_object" +""" +type text_objects { + """ + An object relationship + """ + atom: atoms + data: String! + id: String! +} + +""" +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 { + count(columns: [text_objects_select_column!], distinct: Boolean): Int! + max: text_objects_max_fields + min: text_objects_min_fields +} + +""" +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: String_comparison_exp +} + +""" +aggregate max on columns +""" +type text_objects_max_fields { + data: String + id: String +} + +""" +aggregate min on columns +""" +type text_objects_min_fields { + data: String + id: String +} + +""" +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 +} + +""" +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: String +} + +""" +columns and relationships of "thing" +""" +type things { + """ + An object relationship + """ + atom: atoms + cached_image: cached_images_cached_image + description: String + id: String! + 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 { + count(columns: [things_select_column!], distinct: Boolean): Int! + max: things_max_fields + min: things_min_fields +} + +""" +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: String_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: String + image: String + name: String + url: String +} + +""" +aggregate min on columns +""" +type things_min_fields { + description: String + id: String + 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 +} + +""" +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: String + image: String + name: String + url: String +} + +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: String! + """ + An object relationship + """ + term: terms + term_id: String! + 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: String_comparison_exp + term: terms_bool_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". +""" +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: String + term_id: String + 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: String! + curve_id: numeric! + log_index: bigint! + market_cap: numeric! + position_count: bigint! + """ + An object relationship + """ + term: terms + term_id: String! + 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: 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: 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". +""" +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: String + curve_id: numeric + log_index: bigint + market_cap: numeric + position_count: bigint + term_id: String + 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: String! + created_at: timestamptz! + """ + An object relationship + """ + creator: accounts + creator_id: String! + """ + An object relationship + """ + object: atoms + object_id: 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 object relationship + """ + predicate: atoms + predicate_id: String! + """ + An object relationship + """ + subject: atoms + subject_id: String! + """ + An object relationship + """ + term: terms + term_id: String! + 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 +} + +""" +order by avg() on columns of table "triple" +""" +input triples_avg_order_by { + block_number: 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: String_comparison_exp + created_at: timestamptz_comparison_exp + creator: accounts_bool_exp + creator_id: String_comparison_exp + object: atoms_bool_exp + object_id: String_comparison_exp + positions: positions_bool_exp + positions_aggregate: positions_aggregate_bool_exp + predicate: atoms_bool_exp + predicate_id: String_comparison_exp + subject: atoms_bool_exp + subject_id: String_comparison_exp + term: terms_bool_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 +""" +type triples_max_fields { + block_number: numeric + counter_term_id: String + created_at: timestamptz + creator_id: String + object_id: String + predicate_id: String + subject_id: String + term_id: String + 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: String + created_at: timestamptz + creator_id: String + object_id: String + predicate_id: String + subject_id: String + term_id: String + 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 +} + +""" +order by stddev() on columns of table "triple" +""" +input triples_stddev_order_by { + block_number: order_by +} + +""" +aggregate stddev_pop on columns +""" +type triples_stddev_pop_fields { + block_number: Float +} + +""" +order by stddev_pop() on columns of table "triple" +""" +input triples_stddev_pop_order_by { + block_number: order_by +} + +""" +aggregate stddev_samp on columns +""" +type triples_stddev_samp_fields { + block_number: Float +} + +""" +order by stddev_samp() on columns of table "triple" +""" +input triples_stddev_samp_order_by { + block_number: 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: String + created_at: timestamptz + creator_id: String + object_id: String + predicate_id: String + subject_id: String + term_id: String + transaction_hash: String +} + +""" +aggregate sum on columns +""" +type triples_sum_fields { + block_number: numeric +} + +""" +order by sum() on columns of table "triple" +""" +input triples_sum_order_by { + block_number: order_by +} + +""" +aggregate var_pop on columns +""" +type triples_var_pop_fields { + block_number: Float +} + +""" +order by var_pop() on columns of table "triple" +""" +input triples_var_pop_order_by { + block_number: order_by +} + +""" +aggregate var_samp on columns +""" +type triples_var_samp_fields { + block_number: Float +} + +""" +order by var_samp() on columns of table "triple" +""" +input triples_var_samp_order_by { + block_number: order_by +} + +""" +aggregate variance on columns +""" +type triples_variance_fields { + block_number: Float +} + +""" +order by variance() on columns of table "triple" +""" +input triples_variance_order_by { + block_number: 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 + """ + 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! + log_index: bigint! + 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: String! + total_assets: numeric! + total_shares: numeric! + transaction_hash: String! + 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 { + block_number: Float + current_share_price: Float + curve_id: Float + log_index: Float + market_cap: Float + position_count: Float + total_assets: Float + total_shares: Float +} + +""" +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 + 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!] + 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 + 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: 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 +""" +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: String + total_assets: numeric + total_shares: numeric + transaction_hash: String + updated_at: timestamptz +} + +""" +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 +""" +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: String + total_assets: numeric + total_shares: numeric + transaction_hash: String + updated_at: timestamptz +} + +""" +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". +""" +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 + 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 + transaction_hash: order_by + updated_at: order_by +} + +""" +select columns of table "vault" +""" +enum vaults_select_column { + """ + column name + """ + block_number + """ + column name + """ + created_at + """ + column name + """ + current_share_price + """ + 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 + """ + transaction_hash + """ + column name + """ + updated_at +} + +""" +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 + total_assets: Float + total_shares: Float +} + +""" +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 + total_assets: order_by + total_shares: order_by +} + +""" +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 + total_assets: Float + total_shares: Float +} + +""" +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 + total_assets: order_by + total_shares: order_by +} + +""" +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 + total_assets: Float + total_shares: Float +} + +""" +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 + 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 { + block_number: bigint + created_at: timestamptz + current_share_price: numeric + curve_id: numeric + log_index: bigint + market_cap: numeric + position_count: Int + term_id: String + total_assets: numeric + total_shares: numeric + transaction_hash: String + updated_at: timestamptz +} + +""" +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 + total_assets: numeric + total_shares: numeric +} + +""" +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 + total_assets: order_by + total_shares: order_by +} + +""" +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 + total_assets: Float + total_shares: Float +} + +""" +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 + total_assets: order_by + total_shares: order_by +} + +""" +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 + total_assets: Float + total_shares: Float +} + +""" +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 + total_assets: order_by + total_shares: order_by +} + +""" +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 + total_assets: Float + total_shares: Float +} + +""" +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 + total_assets: order_by + total_shares: order_by +} diff --git a/packages/graphql/src/client.ts b/packages/graphql/src/client.ts new file mode 100644 index 00000000..29621ea1 --- /dev/null +++ b/packages/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/graphql/src/constants.ts b/packages/graphql/src/constants.ts new file mode 100644 index 00000000..a015bc87 --- /dev/null +++ b/packages/graphql/src/constants.ts @@ -0,0 +1,7 @@ +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.intuition-api.com/v1/graphql' +export const API_URL_PROD = 'https://testnet.intuition.sh/v1/graphql' +//'https://prod.base-sepolia.intuition-api.com/v1/graphql' +//'https://prod.base-mainnet-v-1-0.intuition.sh/v1/graphql' \ No newline at end of file diff --git a/packages/graphql/src/fragments/account.graphql b/packages/graphql/src/fragments/account.graphql new file mode 100644 index 00000000..f99d99fc --- /dev/null +++ b/packages/graphql/src/fragments/account.graphql @@ -0,0 +1,203 @@ +fragment AccountMetadata on accounts { + label + image + id + atom_id + type +} + +fragment AccountClaimsAggregate on accounts { + positions_aggregate(order_by: { shares: desc } ) { + aggregate { + count + } + nodes { + id + shares + # counter_shares are no longer present -- perhaps positions are counted invididually, with the respective counter term id separately + + } + } +} + +fragment AccountClaims on accounts { + positions( + order_by: { shares: desc } + limit: $claimsLimit + offset: $claimsOffset + where: $positionsWhere + ) { + id + shares + # counter_shares -- this doesn't seem to exist anymore + + } +} + +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: { _ilike: $address } }) { + nodes { + account { + id + } + shares + } + } + } + } + } +} + +fragment AccountAtomsAggregate on accounts { + atoms_aggregate( + where: $atomsWhere + order_by: $atomsOrderBy + limit: $atomsLimit + offset: $atomsOffset + ) { + aggregate { + count + sum { + block_number + } + } + nodes { + term_id + label + data + term { + vaults(where: { curve_id: { _eq: "1" } }) { + total_shares + positions_aggregate(where: { account_id: { _ilike: $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/graphql/src/fragments/atom.graphql b/packages/graphql/src/fragments/atom.graphql new file mode 100644 index 00000000..e149dd05 --- /dev/null +++ b/packages/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 + } + } +} + +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 + } + } + positions_aggregate { + aggregate { + count + } + } + } +} + +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/graphql/src/fragments/deposit.graphql b/packages/graphql/src/fragments/deposit.graphql new file mode 100644 index 00000000..1cf794a4 --- /dev/null +++ b/packages/graphql/src/fragments/deposit.graphql @@ -0,0 +1,16 @@ +fragment DepositEventFragment on events { + deposit { + term_id + curve_id + receiver { + id + label + image + } + sender { + id + label + image + } + } +} diff --git a/packages/graphql/src/fragments/event.graphql b/packages/graphql/src/fragments/event.graphql new file mode 100644 index 00000000..bfd700a3 --- /dev/null +++ b/packages/graphql/src/fragments/event.graphql @@ -0,0 +1,138 @@ +fragment EventDetails on events { + block_number + created_at + type + transaction_hash + atom_id + triple_id + deposit_id + redemption_id + ...DepositEventFragment + ...RedemptionEventFragment + atom { + ...AtomMetadata + term { + positions_aggregate { + aggregate { + count + } + } + vaults(where: { curve_id: { _eq: "1" } }) { + total_shares + position_count + positions { + account_id + shares + account { + id + label + image + } + } + } + } + } + triple { + ...TripleMetadata + term { + positions_aggregate { + aggregate { + count + } + } + vaults(where: { curve_id: { _eq: "1" } }) { + total_shares + position_count + positions { + account_id + shares + account { + id + label + image + } + } + } + } + counter_term { + positions_aggregate { + aggregate { + count + } + } + vaults(where: { curve_id: { _eq: "1" } }) { + total_shares + position_count + positions { + account_id + shares + account { + id + label + image + } + } + } + } + } +} + + +fragment EventDetailsSubscription on events { + block_number + created_at + type + transaction_hash + atom_id + triple_id + deposit_id + redemption_id + ...DepositEventFragment + ...RedemptionEventFragment + atom { + ...AtomMetadata + term_id + term { + id + total_market_cap + vaults { + position_count + } + + positions { + account_id + shares + account { + id + label + image + } + } + } + } + triple { + ...TripleMetadataSubscription + term_id + counter_term_id + term { + positions_aggregate { + aggregate { + count + } + } + vaults(where: { curve_id: { _eq: "1" } }) { + ...VaultDetailsWithFilteredPositions + } + } + counter_term { + positions_aggregate { + aggregate { + count + } + } + vaults(where: { curve_id: { _eq: "1" } }) { + ...VaultDetailsWithFilteredPositions + } + } + } +} diff --git a/packages/graphql/src/fragments/follow.graphql b/packages/graphql/src/fragments/follow.graphql new file mode 100644 index 00000000..ba7e5a96 --- /dev/null +++ b/packages/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/graphql/src/fragments/position.graphql b/packages/graphql/src/fragments/position.graphql new file mode 100644 index 00000000..d9917dec --- /dev/null +++ b/packages/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/graphql/src/fragments/redemption.graphql b/packages/graphql/src/fragments/redemption.graphql new file mode 100644 index 00000000..c26dbaf7 --- /dev/null +++ b/packages/graphql/src/fragments/redemption.graphql @@ -0,0 +1,17 @@ +fragment RedemptionEventFragment on events { + redemption { + term_id + curve_id + receiver_id + receiver { + id + label + image + } + sender { + id + label + image + } + } +} diff --git a/packages/graphql/src/fragments/stat.graphql b/packages/graphql/src/fragments/stat.graphql new file mode 100644 index 00000000..52bfff53 --- /dev/null +++ b/packages/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/graphql/src/fragments/triple.graphql b/packages/graphql/src/fragments/triple.graphql new file mode 100644 index 00000000..3a171a79 --- /dev/null +++ b/packages/graphql/src/fragments/triple.graphql @@ -0,0 +1,146 @@ +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 + position_count + allPositions: positions_aggregate { + ...PositionAggregateFields + } + positions { + ...PositionFields + } + } + } + counter_term { + vaults(where: { curve_id: { _eq: "1" } }) { + total_shares + current_share_price + position_count + 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 + } + } +} + +fragment TripleMetadataSubscription on triples { + term_id + creator { + image + label + id + } + creator_id + subject_id + predicate_id + object_id + subject { + data + term_id + image + label + emoji + type + } + predicate { + data + term_id + image + label + emoji + type + } + object { + data + term_id + image + label + emoji + type + } +} \ No newline at end of file diff --git a/packages/graphql/src/fragments/vault.graphql b/packages/graphql/src/fragments/vault.graphql new file mode 100644 index 00000000..a4c94289 --- /dev/null +++ b/packages/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/graphql/src/generated/index.ts b/packages/graphql/src/generated/index.ts new file mode 100644 index 00000000..00e37491 --- /dev/null +++ b/packages/graphql/src/generated/index.ts @@ -0,0 +1,102776 @@ +import * as Apollo from "@apollo/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< + 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 + } +const defaultOptions = {} as const +/** 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 } +} + +/** 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> +} + +export type CachedImage = { + __typename?: "CachedImage" + created_at: Scalars["timestamptz"]["output"] + model?: Maybe + original_url: Scalars["String"]["output"] + safe: Scalars["Boolean"]["output"] + score?: Maybe + url: Scalars["String"]["output"] +} + +export type ChartDataOutput = { + __typename?: "ChartDataOutput" + count: Scalars["Int"]["output"] + curve_id?: Maybe + data: Array + graph_type: Scalars["String"]["output"] + interval: Scalars["String"]["output"] + term_id: Scalars["String"]["output"] +} + +export type ChartDataPoint = { + __typename?: "ChartDataPoint" + timestamp: Scalars["String"]["output"] + value: Scalars["String"]["output"] +} + +export type ChartSvgOutput = { + __typename?: "ChartSvgOutput" + svg: Scalars["String"]["output"] +} + +export type GetChartJsonInput = { + curve_id: Scalars["String"]["input"] + end_time: Scalars["String"]["input"] + graph_type?: InputMaybe + interval: Scalars["String"]["input"] + start_time: Scalars["String"]["input"] + term_id: Scalars["String"]["input"] +} + +export type GetChartSvgInput = { + background_color?: InputMaybe + curve_id: Scalars["String"]["input"] + end_time: Scalars["String"]["input"] + graph_type?: InputMaybe + height?: InputMaybe + interval: Scalars["String"]["input"] + line_color?: InputMaybe + start_time: Scalars["String"]["input"] + term_id: Scalars["String"]["input"] + width?: 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 +} + +export type UploadImageFromUrlInput = { + url: Scalars["String"]["input"] +} + +export type UploadImageFromUrlOutput = { + __typename?: "UploadImageFromUrlOutput" + images: Array +} + +export type UploadImageInput = { + contentType: Scalars["String"]["input"] + data: Scalars["String"]["input"] + filename: Scalars["String"]["input"] +} + +export type UploadJsonToIpfsOutput = { + __typename?: "UploadJsonToIpfsOutput" + hash: Scalars["String"]["output"] + name: Scalars["String"]["output"] + size: Scalars["String"]["output"] +} + +/** 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" + count: Scalars["Int"]["output"] + max?: Maybe + min?: 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 = { + 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 +} + +/** 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" + +/** 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 +} + +/** 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> +} + +/** 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?: Maybe + /** An object relationship */ + book?: Maybe + book_id?: Maybe + /** An object relationship */ + byte_object?: Maybe + byte_object_id?: Maybe + /** An object relationship */ + caip10?: Maybe + caip10_id?: Maybe + id: Scalars["String"]["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" + count: Scalars["Int"]["output"] + max?: Maybe + min?: Maybe +} + +/** aggregate fields of "atom_value" */ +export type Atom_Values_Aggregate_FieldsCountArgs = { + 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 + 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 + 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 + 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 + 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 = + /** column name */ + | "account_id" + /** column name */ + | "book_id" + /** column name */ + | "byte_object_id" + /** column name */ + | "caip10_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" + +/** 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 + 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" + /** 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?: Maybe + creator_id: Scalars["String"]["output"] + data?: Maybe + emoji?: Maybe + image?: Maybe + label?: Maybe + log_index: Scalars["bigint"]["output"] + /** An array relationship */ + positions: Array + /** An aggregate relationship */ + positions_aggregate: Positions_Aggregate + raw_data: Scalars["String"]["output"] + resolving_status: Scalars["atom_resolving_status"]["output"] + /** An array relationship */ + signals: Array + /** An aggregate relationship */ + signals_aggregate: Signals_Aggregate + /** An object relationship */ + term?: Maybe + 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"] +} + +/** 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 + log_index?: Maybe +} + +/** order by avg() on columns of table "atom" */ +export type Atoms_Avg_Order_By = { + 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 + 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 + 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 + 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 + 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 + 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 + 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 = + /** 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 */ + | "log_index" + /** column name */ + | "raw_data" + /** column name */ + | "resolving_status" + /** 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 + log_index?: Maybe +} + +/** order by stddev() on columns of table "atom" */ +export type Atoms_Stddev_Order_By = { + 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 + log_index?: Maybe +} + +/** order by stddev_pop() on columns of table "atom" */ +export type Atoms_Stddev_Pop_Order_By = { + 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 + log_index?: Maybe +} + +/** order by stddev_samp() on columns of table "atom" */ +export type Atoms_Stddev_Samp_Order_By = { + 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 + /** 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 + 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 + log_index?: Maybe +} + +/** order by sum() on columns of table "atom" */ +export type Atoms_Sum_Order_By = { + 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 + log_index?: Maybe +} + +/** order by var_pop() on columns of table "atom" */ +export type Atoms_Var_Pop_Order_By = { + 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 + log_index?: Maybe +} + +/** order by var_samp() on columns of table "atom" */ +export type Atoms_Var_Samp_Order_By = { + block_number?: InputMaybe + log_index?: InputMaybe +} + +/** aggregate variance on columns */ +export type Atoms_Variance_Fields = { + __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 + 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> +} + +/** columns and relationships of "book" */ +export type Books = { + __typename?: "books" + /** An object relationship */ + 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 +} + +/** aggregate fields of "book" */ +export type Books_Aggregate_Fields = { + __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 +} + +/** 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" + +/** 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 +} + +/** columns and relationships of "byte_object" */ +export type Byte_Object = { + __typename?: "byte_object" + /** An object relationship */ + 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 +} + +/** aggregate fields of "byte_object" */ +export type Byte_Object_Aggregate_Fields = { + __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 +} + +/** 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" + +/** 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 +} + +/** 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["String"]["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 +} + +/** 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 +} + +/** aggregate stddev_pop on columns */ +export type Caip10_Stddev_Pop_Fields = { + __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 +} + +/** 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 +} + +/** aggregate var_pop on columns */ +export type Caip10_Var_Pop_Fields = { + __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 +} + +/** aggregate variance on columns */ +export type Caip10_Variance_Fields = { + __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 +} + +/** 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" + 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?: Maybe + receiver_id: Scalars["String"]["output"] + /** An object relationship */ + sender?: Maybe + sender_id: Scalars["String"]["output"] + shares: Scalars["numeric"]["output"] + /** An object relationship */ + term?: Maybe + term_id: Scalars["String"]["output"] + total_shares: Scalars["numeric"]["output"] + transaction_hash: Scalars["String"]["output"] + /** An object relationship */ + vault?: Maybe + vault_type: Scalars["vault_type"]["output"] +} + +/** aggregated selection of "deposit" */ +export type Deposits_Aggregate = { + __typename?: "deposits_aggregate" + aggregate?: Maybe + nodes: Array +} + +export type Deposits_Aggregate_Bool_Exp = { + count?: InputMaybe +} + +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" + 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 = { + 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> + 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" + 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 = { + 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" + 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 = { + 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 = { + 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 */ + | "created_at" + /** column name */ + | "curve_id" + /** column name */ + | "id" + /** column name */ + | "log_index" + /** column name */ + | "receiver_id" + /** column name */ + | "sender_id" + /** column name */ + | "shares" + /** column name */ + | "term_id" + /** column name */ + | "total_shares" + /** column name */ + | "transaction_hash" + /** column name */ + | "vault_type" + +/** aggregate stddev on columns */ +export type Deposits_Stddev_Fields = { + __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 = { + 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" + 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 = { + 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" + 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 = { + 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 + /** cursor ordering */ + ordering?: InputMaybe +} + +/** Initial value of the column from where the streaming should start */ +export type Deposits_Stream_Cursor_Value_Input = { + 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" + 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 = { + 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" + 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 = { + 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" + 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 = { + 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" + 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 = { + 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> +} + +/** 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" + 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 +} + +/** 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" + block_number?: Maybe +} + +/** aggregate stddev_pop on columns */ +export type Events_Stddev_Pop_Fields = { + __typename?: "events_stddev_pop_fields" + block_number?: Maybe +} + +/** aggregate stddev_samp on columns */ +export type Events_Stddev_Samp_Fields = { + __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 + /** 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" + block_number?: Maybe +} + +/** aggregate var_pop on columns */ +export type Events_Var_Pop_Fields = { + __typename?: "events_var_pop_fields" + block_number?: Maybe +} + +/** aggregate var_samp on columns */ +export type Events_Var_Samp_Fields = { + __typename?: "events_var_samp_fields" + block_number?: Maybe +} + +/** aggregate variance on columns */ +export type Events_Variance_Fields = { + __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"] + /** An object relationship */ + receiver?: Maybe + 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["String"]["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" + count: Scalars["Int"]["output"] + max?: Maybe + min?: Maybe +} + +/** aggregate fields of "json_object" */ +export type Json_Objects_Aggregate_FieldsCountArgs = { + 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 +} + +/** 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" + +/** 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 +} + +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 + /** Uploads and classifies an image file using image-guard. Accepts base64-encoded image data. Note: The original /upload endpoint requires multipart/form-data which Hasura actions cannot construct directly. This mutation uses upload_image_from_url with a data URL workaround. For direct file uploads, use the image-guard API directly or create a wrapper endpoint. */ + uploadImage?: Maybe + /** Uploads and classifies an image from a URL using image-guard */ + uploadImageFromUrl?: Maybe + /** Uploads JSON to IPFS using image-guard */ + uploadJsonToIpfs?: 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 +} + +/** mutation root */ +export type Mutation_RootUploadImageArgs = { + image: UploadImageInput +} + +/** mutation root */ +export type Mutation_RootUploadImageFromUrlArgs = { + image: UploadImageFromUrlInput +} + +/** mutation root */ +export type Mutation_RootUploadJsonToIpfsArgs = { + json: Scalars["jsonb"]["input"] +} + +/** 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["String"]["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" + count: Scalars["Int"]["output"] + max?: Maybe + min?: Maybe +} + +/** aggregate fields of "organization" */ +export type Organizations_Aggregate_FieldsCountArgs = { + 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 +} + +/** 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" + +/** 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 +} + +/** columns and relationships of "person" */ +export type Persons = { + __typename?: "persons" + /** An object relationship */ + 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 +} + +/** aggregate fields of "person" */ +export type Persons_Aggregate_Fields = { + __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 +} + +/** 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" + +/** 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 +} + +/** columns and relationships of "position" */ +export type Positions = { + __typename?: "positions" + /** An object relationship */ + 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?: Maybe + 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 +} + +/** 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" + 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 = { + 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 + 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 +} + +/** aggregate max on columns */ +export type Positions_Max_Fields = { + __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 + 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 + 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 + 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 + 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 */ + | "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" + 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 = { + 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" + 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 = { + 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" + 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 = { + 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 + /** 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 + 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< + Scalars["numeric"]["input"] + > + 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" + 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 = { + 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" + 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 = { + 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" + 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 = { + 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" + 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 = { + 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" + /** An object relationship */ + object?: Maybe + object_id: Scalars["String"]["output"] + /** An object relationship */ + predicate?: Maybe + predicate_id: Scalars["String"]["output"] + total_market_cap: Scalars["numeric"]["output"] + total_position_count: Scalars["Int"]["output"] + triple_count: Scalars["Int"]["output"] + /** An array relationship */ + triples: Array + /** An aggregate relationship */ + triples_aggregate: Triples_Aggregate +} + +/** columns and relationships of "predicate_object" */ +export type Predicate_ObjectsTriplesArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "predicate_object" */ +export type Predicate_ObjectsTriples_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** 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" + total_market_cap?: Maybe + total_position_count?: Maybe + triple_count?: Maybe +} + +/** order by avg() on columns of table "predicate_object" */ +export type Predicate_Objects_Avg_Order_By = { + total_market_cap?: InputMaybe + total_position_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> + object?: InputMaybe + object_id?: InputMaybe + predicate?: InputMaybe + predicate_id?: InputMaybe + total_market_cap?: InputMaybe + total_position_count?: InputMaybe + triple_count?: InputMaybe + triples?: InputMaybe + triples_aggregate?: InputMaybe +} + +/** aggregate max on columns */ +export type Predicate_Objects_Max_Fields = { + __typename?: "predicate_objects_max_fields" + object_id?: Maybe + predicate_id?: Maybe + total_market_cap?: Maybe + total_position_count?: Maybe + triple_count?: Maybe +} + +/** order by max() on columns of table "predicate_object" */ +export type Predicate_Objects_Max_Order_By = { + object_id?: InputMaybe + predicate_id?: InputMaybe + total_market_cap?: InputMaybe + total_position_count?: InputMaybe + triple_count?: InputMaybe +} + +/** aggregate min on columns */ +export type Predicate_Objects_Min_Fields = { + __typename?: "predicate_objects_min_fields" + object_id?: Maybe + predicate_id?: Maybe + total_market_cap?: Maybe + total_position_count?: Maybe + triple_count?: Maybe +} + +/** order by min() on columns of table "predicate_object" */ +export type Predicate_Objects_Min_Order_By = { + object_id?: InputMaybe + predicate_id?: InputMaybe + total_market_cap?: InputMaybe + total_position_count?: InputMaybe + triple_count?: InputMaybe +} + +/** Ordering options when selecting data from "predicate_object". */ +export type Predicate_Objects_Order_By = { + object?: InputMaybe + object_id?: InputMaybe + predicate?: InputMaybe + predicate_id?: InputMaybe + total_market_cap?: InputMaybe + total_position_count?: InputMaybe + triple_count?: InputMaybe + triples_aggregate?: InputMaybe +} + +/** select columns of table "predicate_object" */ +export type Predicate_Objects_Select_Column = + /** column name */ + | "object_id" + /** column name */ + | "predicate_id" + /** column name */ + | "total_market_cap" + /** column name */ + | "total_position_count" + /** column name */ + | "triple_count" + +/** aggregate stddev on columns */ +export type Predicate_Objects_Stddev_Fields = { + __typename?: "predicate_objects_stddev_fields" + total_market_cap?: Maybe + total_position_count?: Maybe + triple_count?: Maybe +} + +/** order by stddev() on columns of table "predicate_object" */ +export type Predicate_Objects_Stddev_Order_By = { + total_market_cap?: InputMaybe + total_position_count?: InputMaybe + triple_count?: InputMaybe +} + +/** aggregate stddev_pop on columns */ +export type Predicate_Objects_Stddev_Pop_Fields = { + __typename?: "predicate_objects_stddev_pop_fields" + total_market_cap?: Maybe + total_position_count?: Maybe + triple_count?: Maybe +} + +/** order by stddev_pop() on columns of table "predicate_object" */ +export type Predicate_Objects_Stddev_Pop_Order_By = { + total_market_cap?: InputMaybe + total_position_count?: InputMaybe + triple_count?: InputMaybe +} + +/** aggregate stddev_samp on columns */ +export type Predicate_Objects_Stddev_Samp_Fields = { + __typename?: "predicate_objects_stddev_samp_fields" + total_market_cap?: Maybe + total_position_count?: Maybe + triple_count?: Maybe +} + +/** order by stddev_samp() on columns of table "predicate_object" */ +export type Predicate_Objects_Stddev_Samp_Order_By = { + total_market_cap?: InputMaybe + total_position_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 + /** cursor ordering */ + ordering?: InputMaybe +} + +/** Initial value of the column from where the streaming should start */ +export type Predicate_Objects_Stream_Cursor_Value_Input = { + object_id?: InputMaybe + predicate_id?: InputMaybe + total_market_cap?: InputMaybe + total_position_count?: InputMaybe + triple_count?: InputMaybe +} + +/** aggregate sum on columns */ +export type Predicate_Objects_Sum_Fields = { + __typename?: "predicate_objects_sum_fields" + total_market_cap?: Maybe + total_position_count?: Maybe + triple_count?: Maybe +} + +/** order by sum() on columns of table "predicate_object" */ +export type Predicate_Objects_Sum_Order_By = { + total_market_cap?: InputMaybe + total_position_count?: InputMaybe + triple_count?: InputMaybe +} + +/** aggregate var_pop on columns */ +export type Predicate_Objects_Var_Pop_Fields = { + __typename?: "predicate_objects_var_pop_fields" + total_market_cap?: Maybe + total_position_count?: Maybe + triple_count?: Maybe +} + +/** order by var_pop() on columns of table "predicate_object" */ +export type Predicate_Objects_Var_Pop_Order_By = { + total_market_cap?: InputMaybe + total_position_count?: InputMaybe + triple_count?: InputMaybe +} + +/** aggregate var_samp on columns */ +export type Predicate_Objects_Var_Samp_Fields = { + __typename?: "predicate_objects_var_samp_fields" + total_market_cap?: Maybe + total_position_count?: Maybe + triple_count?: Maybe +} + +/** order by var_samp() on columns of table "predicate_object" */ +export type Predicate_Objects_Var_Samp_Order_By = { + total_market_cap?: InputMaybe + total_position_count?: InputMaybe + triple_count?: InputMaybe +} + +/** aggregate variance on columns */ +export type Predicate_Objects_Variance_Fields = { + __typename?: "predicate_objects_variance_fields" + total_market_cap?: Maybe + total_position_count?: Maybe + triple_count?: Maybe +} + +/** order by variance() on columns of table "predicate_object" */ +export type Predicate_Objects_Variance_Order_By = { + total_market_cap?: InputMaybe + total_position_count?: 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 + /** Fetches chart data (JSON) for a term/curve combination */ + getChartJson?: Maybe + /** Fetches chart SVG for a term/curve combination */ + getChartSvg?: Maybe + /** 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_hour" using primary key columns */ + statHour?: Maybe + /** fetch data from the table: "stats_hour" */ + statHours: Array + /** fetch data from the table: "stats" */ + stats: Array + /** fetch aggregated fields from the table: "stats" */ + stats_aggregate: Stats_Aggregate + /** fetch data from the table: "subject_predicate" */ + subject_predicates: Array + /** fetch aggregated fields from the table: "subject_predicate" */ + subject_predicates_aggregate: Subject_Predicates_Aggregate + /** fetch data from the table: "subject_predicate" using primary key columns */ + subject_predicates_by_pk?: Maybe + /** fetch data from the table: "term" using primary key columns */ + 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 + /** 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["String"]["input"] +} + +export type Query_RootAtom_ValueArgs = { + id: Scalars["String"]["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["String"]["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["String"]["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["String"]["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_RootGetChartJsonArgs = { + input: GetChartJsonInput +} + +export type Query_RootGetChartSvgArgs = { + input: GetChartSvgInput +} + +export type Query_RootJson_ObjectArgs = { + id: Scalars["String"]["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["String"]["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["String"]["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 = { + object_id: Scalars["String"]["input"] + predicate_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_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_RootSubject_PredicatesArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootSubject_Predicates_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootSubject_Predicates_By_PkArgs = { + predicate_id: Scalars["String"]["input"] + subject_id: Scalars["String"]["input"] +} + +export type Query_RootTermArgs = { + id: Scalars["String"]["input"] +} + +export type Query_RootTerm_Total_State_Change_Stats_DailyArgs = { + distinct_on?: InputMaybe< + Array + > + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootTerm_Total_State_Change_Stats_HourlyArgs = { + distinct_on?: InputMaybe< + Array + > + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootTerm_Total_State_Change_Stats_MonthlyArgs = { + distinct_on?: InputMaybe< + Array + > + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootTerm_Total_State_Change_Stats_WeeklyArgs = { + distinct_on?: InputMaybe< + Array + > + 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 +} + +export type Query_RootTerms_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootText_ObjectArgs = { + id: Scalars["String"]["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["String"]["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["String"]["input"] +} + +export type Query_RootTriple_TermArgs = { + term_id: Scalars["String"]["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["String"]["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["String"]["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: 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?: Maybe + receiver_id: Scalars["String"]["output"] + /** An object relationship */ + sender?: Maybe + sender_id: Scalars["String"]["output"] + shares: Scalars["numeric"]["output"] + /** An object relationship */ + term?: Maybe + term_id: Scalars["String"]["output"] + total_shares: Scalars["numeric"]["output"] + transaction_hash: Scalars["String"]["output"] + /** An object relationship */ + vault?: Maybe + vault_type: Scalars["vault_type"]["output"] +} + +/** 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?: 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?: 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?: 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?: 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?: 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?: 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?: 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?: 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" + /** column name */ + | "block_number" + /** column name */ + | "created_at" + /** column name */ + | "curve_id" + /** column name */ + | "fees" + /** column name */ + | "id" + /** column name */ + | "log_index" + /** column name */ + | "receiver_id" + /** column name */ + | "sender_id" + /** column name */ + | "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?: 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?: 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?: 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?: 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?: 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?: 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 + /** cursor ordering */ + ordering?: InputMaybe +} + +/** Initial value of the column from where the streaming should start */ +export type Redemptions_Stream_Cursor_Value_Input = { + 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?: 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?: 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?: 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?: 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?: 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?: 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?: 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?: 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 +} + +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 +} + +/** 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 +} + +/** 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 +} + +/** 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 +} + +/** 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 +} + +/** 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 +} + +/** 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 +} + +/** 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 +} + +/** 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 +} + +/** 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 +} + +/** 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 +} + +/** 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 +} + +/** 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 +} + +/** 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 +} + +/** 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 +} + +/** 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 +} + +/** 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 +} + +/** 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 +} + +/** 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 +} + +/** 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 +} + +/** 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 +} + +/** 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 +} + +/** 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 +} + +/** 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 +} + +/** 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 +} + +/** 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 +} + +/** 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 +} + +/** 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 +} + +/** 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 +} + +/** 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 +} + +/** 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 +} + +/** 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 +} + +/** 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"] + log_index: Scalars["bigint"]["output"] + share_price: Scalars["numeric"]["output"] + /** An object relationship */ + term?: Maybe + 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_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 +} + +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 + 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 + 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 + 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 + 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 + 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 + 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 + 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 + 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 = + /** column name */ + | "block_number" + /** column name */ + | "block_timestamp" + /** column name */ + | "curve_id" + /** column name */ + | "id" + /** column name */ + | "log_index" + /** column name */ + | "share_price" + /** column name */ + | "term_id" + /** column name */ + | "total_assets" + /** column name */ + | "total_shares" + /** column name */ + | "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 + 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 + 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 + 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 + 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 + 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 + 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 + /** 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 + 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 + 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 + 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 + 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 + 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 + 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 + 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 + 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 + 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 + /** 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"] + curve_id: Scalars["numeric"]["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?: Maybe + term_id: Scalars["String"]["output"] + 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" + block_number?: Maybe + curve_id?: Maybe + delta?: Maybe +} + +/** order by avg() on columns of table "signal" */ +export type Signals_Avg_Order_By = { + 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 + 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 +} + +/** 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 + 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 + 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 + 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 + 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 + 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 = + /** column name */ + | "account_id" + /** column name */ + | "atom_id" + /** column name */ + | "block_number" + /** column name */ + | "created_at" + /** column name */ + | "curve_id" + /** column name */ + | "delta" + /** column name */ + | "deposit_id" + /** column name */ + | "id" + /** column name */ + | "redemption_id" + /** column name */ + | "term_id" + /** column name */ + | "transaction_hash" + /** column name */ + | "triple_id" + +/** aggregate stddev on columns */ +export type Signals_Stddev_Fields = { + __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 = { + block_number?: InputMaybe + curve_id?: InputMaybe + delta?: InputMaybe +} + +/** aggregate stddev_pop on columns */ +export type Signals_Stddev_Pop_Fields = { + __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 = { + block_number?: InputMaybe + curve_id?: InputMaybe + delta?: InputMaybe +} + +/** aggregate stddev_samp on columns */ +export type Signals_Stddev_Samp_Fields = { + __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 = { + 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 + /** 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 + 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" + block_number?: Maybe + curve_id?: Maybe + delta?: Maybe +} + +/** order by sum() on columns of table "signal" */ +export type Signals_Sum_Order_By = { + block_number?: InputMaybe + curve_id?: InputMaybe + delta?: InputMaybe +} + +/** aggregate var_pop on columns */ +export type Signals_Var_Pop_Fields = { + __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 = { + block_number?: InputMaybe + curve_id?: InputMaybe + delta?: InputMaybe +} + +/** aggregate var_samp on columns */ +export type Signals_Var_Samp_Fields = { + __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 = { + block_number?: InputMaybe + curve_id?: InputMaybe + delta?: InputMaybe +} + +/** aggregate variance on columns */ +export type Signals_Variance_Fields = { + __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 = { + 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"] + 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 +} + +/** 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 + 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 + 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 + 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 + 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 + 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 = + /** column name */ + | "contract_balance" + /** 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" + /** 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 + 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 + 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 + 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 + /** 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 + 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 + 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 + 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 + 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 + last_processed_block_number?: Maybe + total_accounts?: Maybe + total_atoms?: Maybe + total_fees?: Maybe + total_positions?: Maybe + total_signals?: Maybe + total_triples?: Maybe +} + +/** columns and relationships of "subject_predicate" */ +export type Subject_Predicates = { + __typename?: "subject_predicates" + /** An object relationship */ + predicate?: Maybe + predicate_id: Scalars["String"]["output"] + /** An object relationship */ + subject?: Maybe + subject_id: Scalars["String"]["output"] + total_market_cap: Scalars["numeric"]["output"] + total_position_count: Scalars["Int"]["output"] + triple_count: Scalars["Int"]["output"] + /** An array relationship */ + triples: Array + /** An aggregate relationship */ + triples_aggregate: Triples_Aggregate +} + +/** columns and relationships of "subject_predicate" */ +export type Subject_PredicatesTriplesArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "subject_predicate" */ +export type Subject_PredicatesTriples_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** aggregated selection of "subject_predicate" */ +export type Subject_Predicates_Aggregate = { + __typename?: "subject_predicates_aggregate" + aggregate?: Maybe + nodes: Array +} + +/** aggregate fields of "subject_predicate" */ +export type Subject_Predicates_Aggregate_Fields = { + __typename?: "subject_predicates_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 "subject_predicate" */ +export type Subject_Predicates_Aggregate_FieldsCountArgs = { + columns?: InputMaybe> + distinct?: InputMaybe +} + +/** aggregate avg on columns */ +export type Subject_Predicates_Avg_Fields = { + __typename?: "subject_predicates_avg_fields" + total_market_cap?: Maybe + total_position_count?: Maybe + triple_count?: Maybe +} + +/** Boolean expression to filter rows from the table "subject_predicate". All fields are combined with a logical 'AND'. */ +export type Subject_Predicates_Bool_Exp = { + _and?: InputMaybe> + _not?: InputMaybe + _or?: InputMaybe> + predicate?: InputMaybe + predicate_id?: InputMaybe + subject?: InputMaybe + subject_id?: InputMaybe + total_market_cap?: InputMaybe + total_position_count?: InputMaybe + triple_count?: InputMaybe + triples?: InputMaybe + triples_aggregate?: InputMaybe +} + +/** aggregate max on columns */ +export type Subject_Predicates_Max_Fields = { + __typename?: "subject_predicates_max_fields" + predicate_id?: Maybe + subject_id?: Maybe + total_market_cap?: Maybe + total_position_count?: Maybe + triple_count?: Maybe +} + +/** aggregate min on columns */ +export type Subject_Predicates_Min_Fields = { + __typename?: "subject_predicates_min_fields" + predicate_id?: Maybe + subject_id?: Maybe + total_market_cap?: Maybe + total_position_count?: Maybe + triple_count?: Maybe +} + +/** Ordering options when selecting data from "subject_predicate". */ +export type Subject_Predicates_Order_By = { + predicate?: InputMaybe + predicate_id?: InputMaybe + subject?: InputMaybe + subject_id?: InputMaybe + total_market_cap?: InputMaybe + total_position_count?: InputMaybe + triple_count?: InputMaybe + triples_aggregate?: InputMaybe +} + +/** select columns of table "subject_predicate" */ +export type Subject_Predicates_Select_Column = + /** column name */ + | "predicate_id" + /** column name */ + | "subject_id" + /** column name */ + | "total_market_cap" + /** column name */ + | "total_position_count" + /** column name */ + | "triple_count" + +/** aggregate stddev on columns */ +export type Subject_Predicates_Stddev_Fields = { + __typename?: "subject_predicates_stddev_fields" + total_market_cap?: Maybe + total_position_count?: Maybe + triple_count?: Maybe +} + +/** aggregate stddev_pop on columns */ +export type Subject_Predicates_Stddev_Pop_Fields = { + __typename?: "subject_predicates_stddev_pop_fields" + total_market_cap?: Maybe + total_position_count?: Maybe + triple_count?: Maybe +} + +/** aggregate stddev_samp on columns */ +export type Subject_Predicates_Stddev_Samp_Fields = { + __typename?: "subject_predicates_stddev_samp_fields" + total_market_cap?: Maybe + total_position_count?: Maybe + triple_count?: Maybe +} + +/** Streaming cursor of the table "subject_predicates" */ +export type Subject_Predicates_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Subject_Predicates_Stream_Cursor_Value_Input + /** cursor ordering */ + ordering?: InputMaybe +} + +/** Initial value of the column from where the streaming should start */ +export type Subject_Predicates_Stream_Cursor_Value_Input = { + predicate_id?: InputMaybe + subject_id?: InputMaybe + total_market_cap?: InputMaybe + total_position_count?: InputMaybe + triple_count?: InputMaybe +} + +/** aggregate sum on columns */ +export type Subject_Predicates_Sum_Fields = { + __typename?: "subject_predicates_sum_fields" + total_market_cap?: Maybe + total_position_count?: Maybe + triple_count?: Maybe +} + +/** aggregate var_pop on columns */ +export type Subject_Predicates_Var_Pop_Fields = { + __typename?: "subject_predicates_var_pop_fields" + total_market_cap?: Maybe + total_position_count?: Maybe + triple_count?: Maybe +} + +/** aggregate var_samp on columns */ +export type Subject_Predicates_Var_Samp_Fields = { + __typename?: "subject_predicates_var_samp_fields" + total_market_cap?: Maybe + total_position_count?: Maybe + triple_count?: Maybe +} + +/** aggregate variance on columns */ +export type Subject_Predicates_Variance_Fields = { + __typename?: "subject_predicates_variance_fields" + total_market_cap?: Maybe + total_position_count?: Maybe + triple_count?: 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_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 + /** 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: "subject_predicate" */ + subject_predicates: Array + /** fetch aggregated fields from the table: "subject_predicate" */ + subject_predicates_aggregate: Subject_Predicates_Aggregate + /** fetch data from the table: "subject_predicate" using primary key columns */ + subject_predicates_by_pk?: Maybe + /** fetch data from the table in a streaming manner: "subject_predicate" */ + subject_predicates_stream: Array + /** fetch data from the table: "term" using primary key columns */ + 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 + /** 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["String"]["input"] +} + +export type Subscription_RootAtom_ValueArgs = { + id: Scalars["String"]["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["String"]["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["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 + 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["String"]["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["String"]["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["String"]["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["String"]["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 = { + object_id: Scalars["String"]["input"] + predicate_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_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_RootSubject_PredicatesArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootSubject_Predicates_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootSubject_Predicates_By_PkArgs = { + predicate_id: Scalars["String"]["input"] + subject_id: Scalars["String"]["input"] +} + +export type Subscription_RootSubject_Predicates_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< + Array + > + 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< + InputMaybe + > + where?: InputMaybe +} + +export type Subscription_RootTerm_Total_State_Change_Stats_HourlyArgs = { + distinct_on?: InputMaybe< + Array + > + 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< + InputMaybe + > + where?: InputMaybe +} + +export type Subscription_RootTerm_Total_State_Change_Stats_MonthlyArgs = { + distinct_on?: InputMaybe< + Array + > + 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< + InputMaybe + > + where?: InputMaybe + } + +export type Subscription_RootTerm_Total_State_Change_Stats_WeeklyArgs = { + distinct_on?: InputMaybe< + Array + > + 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< + InputMaybe + > + 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 +} + +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["String"]["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["String"]["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["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 + offset?: InputMaybe + order_by?: InputMaybe> + 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 + 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["String"]["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 +} + +/** 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> +} + +/** columns and relationships of "term" */ +export type Terms = { + __typename?: "terms" + /** An object relationship */ + atom?: Maybe + /** An object relationship */ + atomById?: Maybe + atom_id?: Maybe + created_at: Scalars["timestamptz"]["output"] + /** An array relationship */ + deposits: Array + /** An aggregate relationship */ + deposits_aggregate: Deposits_Aggregate + id: Scalars["String"]["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 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 + /** An object relationship */ + tripleById?: Maybe + triple_id?: Maybe + type: Scalars["term_type"]["output"] + updated_at: Scalars["timestamptz"]["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 TermsTerm_Total_State_Change_DailyArgs = { + distinct_on?: InputMaybe< + Array + > + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "term" */ +export type TermsTerm_Total_State_Change_HourlyArgs = { + distinct_on?: InputMaybe< + Array + > + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "term" */ +export type TermsTerm_Total_State_Change_MonthlyArgs = { + distinct_on?: InputMaybe< + Array + > + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "term" */ +export type TermsTerm_Total_State_Change_WeeklyArgs = { + distinct_on?: InputMaybe< + Array + > + 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 +} + +/** 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" + 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 + created_at?: 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 + created_at?: 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 + created_at?: 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 + created_at?: 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 = + /** column name */ + | "atom_id" + /** column name */ + | "created_at" + /** column name */ + | "id" + /** column name */ + | "total_assets" + /** column name */ + | "total_market_cap" + /** column name */ + | "triple_id" + /** column name */ + | "type" + /** column name */ + | "updated_at" + +/** aggregate stddev on columns */ +export type Terms_Stddev_Fields = { + __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" + total_assets?: Maybe + total_market_cap?: Maybe +} + +/** aggregate stddev_samp on columns */ +export type Terms_Stddev_Samp_Fields = { + __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 + /** 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 + created_at?: 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" + total_assets?: Maybe + total_market_cap?: Maybe +} + +/** aggregate var_pop on columns */ +export type Terms_Var_Pop_Fields = { + __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" + total_assets?: Maybe + total_market_cap?: Maybe +} + +/** aggregate variance on columns */ +export type Terms_Variance_Fields = { + __typename?: "terms_variance_fields" + total_assets?: Maybe + total_market_cap?: 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["String"]["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" + count: Scalars["Int"]["output"] + max?: Maybe + min?: Maybe +} + +/** aggregate fields of "text_object" */ +export type Text_Objects_Aggregate_FieldsCountArgs = { + 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 +} + +/** 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" + +/** 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 +} + +/** columns and relationships of "thing" */ +export type Things = { + __typename?: "things" + /** An object relationship */ + 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 +} + +/** aggregate fields of "thing" */ +export type Things_Aggregate_Fields = { + __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 +} + +/** 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" + +/** 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 +} + +/** 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?: Maybe + counter_term_id: Scalars["String"]["output"] + /** An object relationship */ + term?: Maybe + 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 +} + +/** 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["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["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 +} + +/** 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["String"]["output"] + created_at: Scalars["timestamptz"]["output"] + /** An object relationship */ + creator?: Maybe + creator_id: Scalars["String"]["output"] + /** An object relationship */ + object?: Maybe + object_id: Scalars["String"]["output"] + /** An array relationship */ + positions: Array + /** An aggregate relationship */ + positions_aggregate: Positions_Aggregate + /** An object relationship */ + predicate?: Maybe + predicate_id: Scalars["String"]["output"] + /** An object relationship */ + subject?: Maybe + subject_id: Scalars["String"]["output"] + /** An object relationship */ + term?: Maybe + term_id: Scalars["String"]["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 +} + +/** order by avg() on columns of table "triple" */ +export type Triples_Avg_Order_By = { + 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 +} + +/** 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 +} + +/** order by stddev() on columns of table "triple" */ +export type Triples_Stddev_Order_By = { + block_number?: InputMaybe +} + +/** aggregate stddev_pop on columns */ +export type Triples_Stddev_Pop_Fields = { + __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 +} + +/** aggregate stddev_samp on columns */ +export type Triples_Stddev_Samp_Fields = { + __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 +} + +/** 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 +} + +/** order by sum() on columns of table "triple" */ +export type Triples_Sum_Order_By = { + block_number?: InputMaybe +} + +/** aggregate var_pop on columns */ +export type Triples_Var_Pop_Fields = { + __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 +} + +/** aggregate var_samp on columns */ +export type Triples_Var_Samp_Fields = { + __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 +} + +/** aggregate variance on columns */ +export type Triples_Variance_Fields = { + __typename?: "triples_variance_fields" + block_number?: Maybe +} + +/** order by variance() on columns of table "triple" */ +export type Triples_Variance_Order_By = { + 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" + 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 + /** An aggregate relationship */ + deposits_aggregate: Deposits_Aggregate + log_index: Scalars["bigint"]["output"] + 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?: Maybe + 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 +} + +/** 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" + 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 = { + 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> + 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" + 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 = { + 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" + 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 = { + 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 = { + 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 */ + | "current_share_price" + /** 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 */ + | "transaction_hash" + /** column name */ + | "updated_at" + +/** aggregate stddev on columns */ +export type Vaults_Stddev_Fields = { + __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 = { + 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" + 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 = { + 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" + 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 = { + 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 + /** cursor ordering */ + ordering?: InputMaybe +} + +/** Initial value of the column from where the streaming should start */ +export type Vaults_Stream_Cursor_Value_Input = { + 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" + 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 = { + 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" + 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 = { + 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" + 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 = { + 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" + 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 = { + 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?: string | null + type: any +} + +export type AccountClaimsAggregateFragment = { + __typename?: "accounts" + positions_aggregate: { + __typename?: "positions_aggregate" + aggregate?: { + __typename?: "positions_aggregate_fields" + count: number + } | null + nodes: Array<{ __typename?: "positions"; id: string; shares: any }> + } +} + +export type AccountClaimsFragment = { + __typename?: "accounts" + positions: Array<{ __typename?: "positions"; id: string; shares: 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 + } | 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 + } | 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 + }> + } + }> + } | null + }> +} + +export type AccountAtomsAggregateFragment = { + __typename?: "accounts" + atoms_aggregate: { + __typename?: "atoms_aggregate" + aggregate?: { + __typename?: "atoms_aggregate_fields" + count: number + sum?: { + __typename?: "atoms_sum_fields" + block_number?: any | null + } | null + } | 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 + }> + } + }> + } | 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 + } | null + predicate?: { + __typename?: "atoms" + term_id: string + label?: string | null + } | null + object?: { + __typename?: "atoms" + term_id: string + label?: string | null + } | 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 + } | null + predicate?: { + __typename?: "atoms" + term_id: string + label?: string | null + } | null + object?: { + __typename?: "atoms" + term_id: string + label?: string | 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 + } | 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 + } | 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 + } | 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 + }> + }> + positions_aggregate: { + __typename?: "positions_aggregate" + aggregate?: { + __typename?: "positions_aggregate_fields" + count: number + } | null + } + } | 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 + } | 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 + } | null + } | null + }> + 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 + } | 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 + } | null + } | null + }> + 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 + } | 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 + } | null + } | 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 + }> + } + }> + } | null +} + +export type DepositEventFragmentFragment = { + __typename?: "events" + deposit?: { + __typename?: "deposits" + term_id: string + curve_id: any + receiver?: { + __typename?: "accounts" + id: string + label: string + image?: string | null + } | null + sender?: { + __typename?: "accounts" + id: string + label: string + image?: string | null + } | 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" + positions_aggregate: { + __typename?: "positions_aggregate" + aggregate?: { + __typename?: "positions_aggregate_fields" + count: number + } | null + } + 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 + creator?: { + __typename?: "accounts" + id: string + label: string + image?: string | null + } | 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 + } | null + } | null + triple?: { + __typename?: "triples" + term_id: string + subject_id: string + predicate_id: string + object_id: string + term?: { + __typename?: "terms" + positions_aggregate: { + __typename?: "positions_aggregate" + aggregate?: { + __typename?: "positions_aggregate_fields" + count: number + } | null + } + 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" + positions_aggregate: { + __typename?: "positions_aggregate" + aggregate?: { + __typename?: "positions_aggregate_fields" + count: number + } | null + } + 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | null + } | null + } | null + deposit?: { + __typename?: "deposits" + term_id: string + curve_id: any + receiver?: { + __typename?: "accounts" + id: string + label: string + image?: string | null + } | null + sender?: { + __typename?: "accounts" + id: string + label: string + image?: string | null + } | null + } | null + redemption?: { + __typename?: "redemptions" + term_id: string + curve_id: any + receiver_id: string + receiver?: { + __typename?: "accounts" + id: string + label: string + image?: string | null + } | null + sender?: { + __typename?: "accounts" + id: string + label: string + image?: string | null + } | null + } | null +} + +export type EventDetailsSubscriptionFragment = { + __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" + id: string + total_market_cap?: any | null + vaults: Array<{ __typename?: "vaults"; position_count: number }> + positions: Array<{ + __typename?: "positions" + account_id: string + shares: any + account?: { + __typename?: "accounts" + id: string + label: string + image?: string | null + } | null + }> + } | null + creator?: { + __typename?: "accounts" + id: string + label: string + image?: string | null + } | 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 + } | null + } | null + triple?: { + __typename?: "triples" + term_id: string + counter_term_id: string + creator_id: string + subject_id: string + predicate_id: string + object_id: string + term?: { + __typename?: "terms" + positions_aggregate: { + __typename?: "positions_aggregate" + aggregate?: { + __typename?: "positions_aggregate_fields" + count: number + } | null + } + 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 + } | null + predicate?: { + __typename?: "atoms" + term_id: string + label?: string | null + } | null + object?: { + __typename?: "atoms" + term_id: string + label?: string | null + } | 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" + positions_aggregate: { + __typename?: "positions_aggregate" + aggregate?: { + __typename?: "positions_aggregate_fields" + count: number + } | null + } + 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 + } | null + predicate?: { + __typename?: "atoms" + term_id: string + label?: string | null + } | null + object?: { + __typename?: "atoms" + term_id: string + label?: string | null + } | 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 + creator?: { + __typename?: "accounts" + image?: string | null + label: string + id: string + } | null + subject?: { + __typename?: "atoms" + data?: string | null + term_id: string + image?: string | null + label?: string | null + emoji?: string | null + type: any + } | null + predicate?: { + __typename?: "atoms" + data?: string | null + term_id: string + image?: string | null + label?: string | null + emoji?: string | null + type: any + } | null + object?: { + __typename?: "atoms" + data?: string | null + term_id: string + image?: string | null + label?: string | null + emoji?: string | null + type: any + } | null + } | null + deposit?: { + __typename?: "deposits" + term_id: string + curve_id: any + receiver?: { + __typename?: "accounts" + id: string + label: string + image?: string | null + } | null + sender?: { + __typename?: "accounts" + id: string + label: string + image?: string | null + } | null + } | null + redemption?: { + __typename?: "redemptions" + term_id: string + curve_id: any + receiver_id: string + receiver?: { + __typename?: "accounts" + id: string + label: string + image?: string | null + } | null + sender?: { + __typename?: "accounts" + id: string + label: string + image?: string | null + } | null + } | null +} + +export type FollowMetadataFragment = { + __typename?: "triples" + term_id: string + subject?: { + __typename?: "atoms" + term_id: string + label?: string | null + } | null + predicate?: { + __typename?: "atoms" + term_id: string + label?: string | null + } | null + object?: { + __typename?: "atoms" + term_id: string + label?: string | null + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + receiver?: { + __typename?: "accounts" + id: string + label: string + image?: string | null + } | null + sender?: { + __typename?: "accounts" + id: string + label: string + image?: string | null + } | null + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | null + } | null + term?: { + __typename?: "terms" + vaults: Array<{ + __typename?: "vaults" + total_shares: any + current_share_price: any + position_count: number + 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 + position_count: number + 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 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | null + predicate?: { + __typename?: "atoms" + term_id: string + label?: string | null + } | null + object?: { + __typename?: "atoms" + term_id: string + label?: string | null + } | 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" + 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 + } | null + predicate?: { + __typename?: "atoms" + term_id: string + label?: string | null + } | null + object?: { + __typename?: "atoms" + term_id: string + label?: string | null + } | 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 TripleMetadataSubscriptionFragment = { + __typename?: "triples" + term_id: string + creator_id: string + subject_id: string + predicate_id: string + object_id: string + creator?: { + __typename?: "accounts" + image?: string | null + label: string + id: string + } | null + subject?: { + __typename?: "atoms" + data?: string | null + term_id: string + image?: string | null + label?: string | null + emoji?: string | null + type: any + } | null + predicate?: { + __typename?: "atoms" + data?: string | null + term_id: string + image?: string | null + label?: string | null + emoji?: string | null + type: any + } | null + object?: { + __typename?: "atoms" + data?: string | null + term_id: string + image?: string | null + label?: string | null + emoji?: string | null + type: any + } | 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 + } | null + predicate?: { + __typename?: "atoms" + term_id: string + label?: string | null + } | null + object?: { + __typename?: "atoms" + term_id: string + label?: string | null + } | 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: 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 + } | null + predicate?: { + __typename?: "atoms" + term_id: string + label?: string | null + } | null + object?: { + __typename?: "atoms" + term_id: string + label?: string | null + } | null + } | 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 + } | null + predicate?: { + __typename?: "atoms" + term_id: string + label?: string | null + } | null + object?: { + __typename?: "atoms" + term_id: string + label?: string | null + } | 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 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 PinPersonMutationVariables = Exact<{ + name: Scalars["String"]["input"] + description?: InputMaybe + image?: InputMaybe + url?: InputMaybe + email?: InputMaybe + identifier?: InputMaybe +}> + +export type PinPersonMutation = { + __typename?: "mutation_root" + pinPerson?: { __typename?: "PinOutput"; uri?: string | null } | 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 + claimsLimit?: InputMaybe + claimsOffset?: 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?: string | null + type: any + atom?: { + __typename?: "atoms" + term_id: string + 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 + } | null + 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 + } | null + }> + }> +} + +export type GetAccountsWithAggregatesQueryVariables = Exact<{ + limit?: InputMaybe + offset?: InputMaybe + orderBy?: InputMaybe | Accounts_Order_By> + where?: InputMaybe + claimsLimit?: InputMaybe + claimsOffset?: 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?: string | null + type: any + 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 + } | 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"] + claimsLimit?: InputMaybe + claimsOffset?: InputMaybe + 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?: string | null + type: any + atom?: { + __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 + } | 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 + }> + }> + positions_aggregate: { + __typename?: "positions_aggregate" + aggregate?: { + __typename?: "positions_aggregate_fields" + count: number + } | null + } + } | 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 + } | null + } | null + 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 + } | null + }> + 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 + }> + } + }> + } | null + }> + 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 + } | null + predicate?: { + __typename?: "atoms" + term_id: string + label?: string | null + } | null + object?: { + __typename?: "atoms" + term_id: string + label?: string | null + } | null + }> + } + } | null + chainlink_prices: Array<{ __typename?: "chainlink_prices"; usd?: any | null }> +} + +export type GetAccountWithPaginatedRelationsQueryVariables = Exact<{ + address: Scalars["String"]["input"] + claimsLimit?: InputMaybe + claimsOffset?: InputMaybe + 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?: string | null + type: any + 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 + } | null + }> + 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 + }> + } + }> + } | null + }> + 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 + } | null + predicate?: { + __typename?: "atoms" + term_id: string + label?: string | null + } | null + object?: { + __typename?: "atoms" + term_id: string + label?: string | null + } | null + }> + } + } | null +} + +export type GetAccountWithAggregatesQueryVariables = Exact<{ + address: Scalars["String"]["input"] + claimsLimit?: InputMaybe + claimsOffset?: InputMaybe + 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?: string | 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: 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 + } | null + }> + } + atoms_aggregate: { + __typename?: "atoms_aggregate" + aggregate?: { + __typename?: "atoms_aggregate_fields" + count: number + sum?: { + __typename?: "atoms_sum_fields" + block_number?: any | null + } | null + } | 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 + }> + } + }> + } | null + }> + } + 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 + } | null + predicate?: { + __typename?: "atoms" + term_id: string + label?: string | null + } | null + object?: { + __typename?: "atoms" + term_id: string + label?: string | 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: string + 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?: string | null + type: any + } | 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 + }> + }> + positions_aggregate: { + __typename?: "positions_aggregate" + aggregate?: { + __typename?: "positions_aggregate_fields" + count: number + } | null + } + } | null + 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 + } | 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 + } | null + } | null + }> + 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 + } | 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 + } | null + } | null + }> + 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 + } | 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 + } | null + } | 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 + } | 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: string + 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 + }> + }> + } | null + creator?: { + __typename?: "accounts" + id: string + label: string + image?: string | null + atom_id?: string | null + type: any + } | null + as_subject_triples_aggregate: { + __typename?: "triples_aggregate" + nodes: Array<{ + __typename?: "triples" + predicate?: { + __typename?: "atoms" + label?: string | null + term_id: string + } | null + object?: { + __typename?: "atoms" + label?: string | null + term_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 + } | 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: string + 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?: string | null + type: any + } | 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 + }> + }> + positions_aggregate: { + __typename?: "positions_aggregate" + aggregate?: { + __typename?: "positions_aggregate_fields" + count: number + } | null + } + } | 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 + } | 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<{ + term_id: Scalars["String"]["input"] +}> + +export type GetAtomQuery = { + __typename?: "query_root" + atom?: { + __typename?: "atoms" + term_id: string + 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?: string | null + type: any + } | 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 + }> + }> + positions_aggregate: { + __typename?: "positions_aggregate" + aggregate?: { + __typename?: "positions_aggregate_fields" + count: number + } | null + } + } | null + 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 + } | 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 + } | null + } | null + }> + 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 + } | 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 + } | null + } | null + }> + 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 + } | 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 + } | null + } | 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 + } | null + } | null +} + +export type GetAtomByDataQueryVariables = Exact<{ + data: Scalars["String"]["input"] +}> + +export type GetAtomByDataQuery = { + __typename?: "query_root" + atoms: Array<{ + __typename?: "atoms" + term_id: string + 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?: string | null + type: any + } | 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 + }> + }> + positions_aggregate: { + __typename?: "positions_aggregate" + aggregate?: { + __typename?: "positions_aggregate_fields" + count: number + } | null + } + } | null + 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 + } | 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 + } | null + } | null + }> + 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 + } | 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 + } | null + } | null + }> + 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 + } | 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 + } | null + } | 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 + } | null + }> +} + +export type GetVerifiedAtomDetailsQueryVariables = Exact<{ + id: Scalars["String"]["input"] + userPositionAddress: Scalars["String"]["input"] +}> + +export type GetVerifiedAtomDetailsQuery = { + __typename?: "query_root" + atom?: { + __typename?: "atoms" + term_id: string + label?: string | null + wallet_id: string + image?: string | null + type: any + created_at: any + data?: string | null + creator?: { __typename?: "accounts"; id: string } | null + 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 + }> + }> + } | null + tags: { + __typename?: "triples_aggregate" + nodes: Array<{ + __typename?: "triples" + predicate_id: string + object?: { + __typename?: "atoms" + label?: string | null + term?: { + __typename?: "terms" + vaults: Array<{ __typename?: "vaults"; term_id: string }> + } | null + } | null + }> + aggregate?: { + __typename?: "triples_aggregate_fields" + count: number + } | null + } + verificationTriple: { + __typename?: "triples_aggregate" + nodes: Array<{ + __typename?: "triples" + term_id: string + predicate_id: string + object_id: string + term?: { + __typename?: "terms" + vaults: Array<{ + __typename?: "vaults" + term_id: string + 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["String"]["input"] + userPositionAddress: Scalars["String"]["input"] +}> + +export type GetAtomDetailsQuery = { + __typename?: "query_root" + atom?: { + __typename?: "atoms" + term_id: string + label?: string | null + wallet_id: string + image?: string | null + type: any + created_at: any + data?: string | null + creator?: { __typename?: "accounts"; id: string } | null + 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 + }> + }> + } | null + tags: { + __typename?: "triples_aggregate" + nodes: Array<{ + __typename?: "triples" + predicate_id: string + object?: { + __typename?: "atoms" + label?: string | null + term?: { + __typename?: "terms" + vaults: Array<{ __typename?: "vaults"; term_id: string }> + } | null + } | null + }> + aggregate?: { + __typename?: "triples_aggregate_fields" + count: number + } | null + } + } | null +} + +export type GetAtomsByCreatorQueryVariables = Exact<{ + address: Scalars["String"]["input"] +}> + +export type GetAtomsByCreatorQuery = { + __typename?: "query_root" + atoms: Array<{ + __typename?: "atoms" + term_id: string + data?: string | null + image?: string | null + label?: string | null + type: any + block_number: any + created_at: any + transaction_hash: string + creator_id: string + value?: { + __typename?: "atom_values" + thing?: { + __typename?: "things" + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + } | null + term?: { + __typename?: "terms" + total_market_cap?: any | null + vaults: Array<{ __typename?: "vaults"; position_count: number }> + } | null + as_subject_triples_aggregate: { + __typename?: "triples_aggregate" + nodes: Array<{ + __typename?: "triples" + predicate?: { + __typename?: "atoms" + label?: string | null + term_id: string + } | null + object?: { + __typename?: "atoms" + label?: string | null + term_id: string + } | null + }> + } + }> +} + +export type GetEventsFeedQueryVariables = Exact<{ + limit?: InputMaybe + offset?: InputMaybe + addresses: Array | Scalars["String"]["input"] + address: Scalars["String"]["input"] + Where?: InputMaybe +}> + +export type GetEventsFeedQuery = { + __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?: 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 + }> + }> + } | null + creator?: { + __typename?: "accounts" + id: string + label: string + image?: string | null + } | 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 + } | null + } | null + triple?: { + __typename?: "triples" + term_id: string + counter_term_id: string + creator?: { + __typename?: "accounts" + label: string + image?: string | null + id: string + atom_id?: string | null + type: any + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | null + } | null + term?: { + __typename?: "terms" + positions_aggregate: { + __typename?: "positions_aggregate" + aggregate?: { + __typename?: "positions_aggregate_fields" + count: number + } | null + } + positions: Array<{ + __typename?: "positions" + shares: any + account_id: string + }> + 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" + positions_aggregate: { + __typename?: "positions_aggregate" + aggregate?: { + __typename?: "positions_aggregate_fields" + count: number + } | null + } + positions: Array<{ + __typename?: "positions" + shares: any + account_id: string + }> + 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 + sender?: { + __typename?: "accounts" + id: string + label: string + image?: string | null + } | 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 + label: string + image?: string | null + } | 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?: 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" + positions_aggregate: { + __typename?: "positions_aggregate" + aggregate?: { + __typename?: "positions_aggregate_fields" + count: number + } | null + } + 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 + creator?: { + __typename?: "accounts" + id: string + label: string + image?: string | null + } | 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 + } | null + } | null + triple?: { + __typename?: "triples" + term_id: string + subject_id: string + predicate_id: string + object_id: string + term?: { + __typename?: "terms" + positions_aggregate: { + __typename?: "positions_aggregate" + aggregate?: { + __typename?: "positions_aggregate_fields" + count: number + } | null + } + 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" + positions_aggregate: { + __typename?: "positions_aggregate" + aggregate?: { + __typename?: "positions_aggregate_fields" + count: number + } | null + } + 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | null + } | null + } | null + deposit?: { + __typename?: "deposits" + term_id: string + curve_id: any + receiver?: { + __typename?: "accounts" + id: string + label: string + image?: string | null + } | null + sender?: { + __typename?: "accounts" + id: string + label: string + image?: string | null + } | null + } | null + redemption?: { + __typename?: "redemptions" + term_id: string + curve_id: any + receiver_id: string + receiver?: { + __typename?: "accounts" + id: string + label: string + image?: string | null + } | null + sender?: { + __typename?: "accounts" + id: string + label: string + image?: string | null + } | null + } | null + }> + } +} + +export type GetFollowingPositionsQueryVariables = Exact<{ + subjectId: Scalars["String"]["input"] + predicateId: Scalars["String"]["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: string + subject?: { + __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 + } | 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 + } | null + } | null + predicate?: { + __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 + } | 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 + } | null + } | null + object?: { + __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 + } | 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 + } | 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["String"]["input"] + predicateId: Scalars["String"]["input"] + objectId: Scalars["String"]["input"] + positionsLimit?: InputMaybe + positionsOffset?: InputMaybe + positionsOrderBy?: InputMaybe | Positions_Order_By> + positionsWhere?: InputMaybe +}> + +export type GetFollowerPositionsQuery = { + __typename?: "query_root" + triples: Array<{ + __typename?: "triples" + term_id: string + subject?: { + __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 + } | 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 + } | null + } | null + predicate?: { + __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 + } | 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 + } | null + } | null + object?: { + __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 + } | 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 + } | 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["String"]["input"] + predicateId: Scalars["String"]["input"] + objectId: Scalars["String"]["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: string + subject?: { + __typename?: "atoms" + term_id: string + label?: string | null + } | null + predicate?: { + __typename?: "atoms" + term_id: string + label?: string | null + } | null + object?: { + __typename?: "atoms" + term_id: string + label?: string | null + } | 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 + }> + followers_count: { + __typename?: "triples_aggregate" + aggregate?: { + __typename?: "triples_aggregate_fields" + count: number + } | null + } + followers: Array<{ + __typename?: "triples" + term_id: string + subject?: { + __typename?: "atoms" + term_id: string + label?: string | null + } | null + predicate?: { + __typename?: "atoms" + term_id: string + label?: string | null + } | null + object?: { + __typename?: "atoms" + term_id: string + label?: string | null + } | 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 GetConnectionsCountQueryVariables = Exact<{ + subjectId: Scalars["String"]["input"] + predicateId: Scalars["String"]["input"] + objectId: Scalars["String"]["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 GetFollowingsFromAddressQueryVariables = Exact<{ + address: Scalars["String"]["input"] +}> + +export type GetFollowingsFromAddressQuery = { + __typename?: "query_root" + following: Array<{ + __typename?: "accounts" + id: string + image?: string | null + label: string + type: any + triples: Array<{ + __typename?: "triples" + term_id: string + counter_term_id: string + creator?: { + __typename?: "accounts" + label: string + id: string + type: any + } | null + subject?: { + __typename?: "atoms" + term_id: string + label?: string | null + image?: string | null + type: any + } | null + predicate?: { + __typename?: "atoms" + term_id: string + label?: string | null + image?: string | null + type: any + } | null + object?: { + __typename?: "atoms" + term_id: string + label?: string | null + image?: string | null + type: any + } | null + term?: { + __typename?: "terms" + id: string + positions_aggregate: { + __typename?: "positions_aggregate" + aggregate?: { + __typename?: "positions_aggregate_fields" + count: number + } | null + } + positions: Array<{ + __typename?: "positions" + shares: any + account?: { __typename?: "accounts"; id: string } | null + }> + } | null + counter_term?: { + __typename?: "terms" + id: string + positions_aggregate: { + __typename?: "positions_aggregate" + aggregate?: { + __typename?: "positions_aggregate_fields" + count: number + } | null + } + positions: Array<{ + __typename?: "positions" + shares: any + account?: { __typename?: "accounts"; id: string } | null + }> + } | null + }> + positions_aggregate: { + __typename?: "positions_aggregate" + aggregate?: { + __typename?: "positions_aggregate_fields" + count: number + } | null + nodes: Array<{ + __typename?: "positions" + shares: any + term?: { + __typename?: "terms" + id: string + triple?: { + __typename?: "triples" + term_id: string + object?: { + __typename?: "atoms" + term_id: string + type: any + image?: string | null + label?: string | null + } | null + predicate?: { + __typename?: "atoms" + term_id: string + type: any + image?: string | null + label?: string | null + } | null + subject?: { + __typename?: "atoms" + term_id: string + type: any + image?: string | null + label?: string | null + } | null + counter_term?: { + __typename?: "terms" + id: string + positions_aggregate: { + __typename?: "positions_aggregate" + aggregate?: { + __typename?: "positions_aggregate_fields" + count: number + } | null + } + positions: Array<{ + __typename?: "positions" + shares: any + account?: { __typename?: "accounts"; id: string } | null + }> + } | null + term?: { + __typename?: "terms" + id: string + positions_aggregate: { + __typename?: "positions_aggregate" + aggregate?: { + __typename?: "positions_aggregate_fields" + count: number + } | null + } + positions: Array<{ + __typename?: "positions" + shares: any + account?: { __typename?: "accounts"; id: string } | null + }> + } | null + } | null + } | null + }> + } + }> +} + +export type GetFollowersFromAddressQueryVariables = Exact<{ + address: Scalars["String"]["input"] +}> + +export type GetFollowersFromAddressQuery = { + __typename?: "query_root" + triples: Array<{ + __typename?: "triples" + term_id: string + predicate?: { __typename?: "atoms"; label?: string | null } | null + object?: { __typename?: "atoms"; term_id: string } | null + term?: { + __typename?: "terms" + id: string + positions: Array<{ + __typename?: "positions" + shares: any + account?: { + __typename?: "accounts" + id: string + label: string + image?: string | null + } | null + }> + } | null + counter_term?: { + __typename?: "terms" + id: string + positions: Array<{ + __typename?: "positions" + shares: any + account?: { + __typename?: "accounts" + id: string + label: string + image?: string | null + } | null + }> + } | null + }> +} + +export type GetFollowingsTriplesQueryVariables = Exact<{ + accountId: Scalars["String"]["input"] +}> + +export type GetFollowingsTriplesQuery = { + __typename?: "query_root" + triples: Array<{ + __typename?: "triples" + term_id: string + object?: { + __typename?: "atoms" + term_id: string + label?: string | null + type: any + image?: string | null + accounts: Array<{ __typename?: "accounts"; id: string }> + } | null + }> +} + +export type GetAccountByIdQueryVariables = Exact<{ + id: Scalars["String"]["input"] +}> + +export type GetAccountByIdQuery = { + __typename?: "query_root" + account?: { + __typename?: "accounts" + id: string + label: string + image?: string | null + } | null +} + +export type GetPersonsByIdentifierQueryVariables = Exact<{ + identifier: Scalars["String"]["input"] +}> + +export type GetPersonsByIdentifierQuery = { + __typename?: "query_root" + persons: Array<{ + __typename?: "persons" + id: string + name?: string | null + image?: string | null + description?: string | null + email?: string | null + url?: string | null + identifier?: 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: 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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: string + counter_term_id: string + subject?: { + __typename?: "atoms" + term_id: string + 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: string + taggedIdentities: { + __typename?: "triples_aggregate" + nodes: Array<{ + __typename?: "triples" + term_id: string + subject?: { + __typename?: "atoms" + label?: string | null + term_id: string + } | null + }> + aggregate?: { + __typename?: "triples_aggregate_fields" + count: number + } | null + } + } | null + }> + aggregate?: { + __typename?: "triples_aggregate_fields" + count: number + } | null + } + } | null + object?: { + __typename?: "atoms" + term_id: string + label?: string | null + wallet_id: string + image?: string | null + type: any + } | null + predicate?: { + __typename?: "atoms" + term_id: string + label?: string | null + wallet_id: string + image?: string | null + type: any + } | null + 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: string + counter_term_id: string + subject?: { + __typename?: "atoms" + term_id: string + 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: string + taggedIdentities: { + __typename?: "triples_aggregate" + nodes: Array<{ + __typename?: "triples" + term_id: string + subject?: { + __typename?: "atoms" + label?: string | null + term_id: string + } | null + }> + aggregate?: { + __typename?: "triples_aggregate_fields" + count: number + } | null + } + } | null + }> + aggregate?: { + __typename?: "triples_aggregate_fields" + count: number + } | null + } + } | null + object?: { + __typename?: "atoms" + term_id: string + label?: string | null + wallet_id: string + image?: string | null + type: any + } | null + predicate?: { + __typename?: "atoms" + term_id: string + label?: string | null + wallet_id: string + image?: string | null + type: any + } | null + 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: string + counter_term_id: string + subject?: { + __typename?: "atoms" + term_id: string + 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: string + taggedIdentities: { + __typename?: "triples_aggregate" + nodes: Array<{ + __typename?: "triples" + term_id: string + subject?: { + __typename?: "atoms" + label?: string | null + term_id: string + } | null + }> + aggregate?: { + __typename?: "triples_aggregate_fields" + count: number + } | null + } + } | null + }> + aggregate?: { + __typename?: "triples_aggregate_fields" + count: number + } | null + } + } | null + object?: { + __typename?: "atoms" + term_id: string + label?: string | null + wallet_id: string + image?: string | null + type: any + } | null + predicate?: { + __typename?: "atoms" + term_id: string + label?: string | null + wallet_id: string + image?: string | null + type: any + } | null + 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: string + counter_term_id: string + subject?: { + __typename?: "atoms" + term_id: string + 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: string + taggedIdentities: { + __typename?: "triples_aggregate" + nodes: Array<{ + __typename?: "triples" + term_id: string + subject?: { + __typename?: "atoms" + label?: string | null + term_id: string + } | null + }> + aggregate?: { + __typename?: "triples_aggregate_fields" + count: number + } | null + } + } | null + }> + aggregate?: { + __typename?: "triples_aggregate_fields" + count: number + } | null + } + } | null + object?: { + __typename?: "atoms" + term_id: string + label?: string | null + wallet_id: string + image?: string | null + type: any + } | null + predicate?: { + __typename?: "atoms" + term_id: string + label?: string | null + wallet_id: string + image?: string | null + type: any + } | null + 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: 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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: string + curve_id: any + vault?: { + __typename?: "vaults" + term_id: string + term?: { + __typename?: "terms" + triple?: { + __typename?: "triples" + term_id: string + 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: 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" + positions: Array<{ + __typename?: "positions" + shares: any + account?: { + __typename?: "accounts" + id: string + label: string + image?: string | null + } | null + }> + 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | null + } | null + } | null + atom?: { + __typename?: "atoms" + term_id: string + label?: string | null + image?: string | null + } | 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: 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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: 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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: string } | 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?: string | null + triple_id?: string | null + deposit_id?: string | null + redemption_id?: string | null + term?: { + __typename?: "terms" + 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 + }> + }> + } | null + creator?: { + __typename?: "accounts" + id: string + label: string + image?: string | null + } | 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 + } | null + } | null + triple?: { + __typename?: "triples" + term_id: string + creator?: { + __typename?: "accounts" + label: string + image?: string | null + id: string + atom_id?: string | null + type: any + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | null + deposit?: { + __typename?: "deposits" + sender_id: string + receiver_id: string + sender?: { + __typename?: "accounts" + id: string + label: string + image?: string | null + } | null + receiver?: { + __typename?: "accounts" + id: string + label: string + image?: string | null + } | 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 + sender?: { + __typename?: "accounts" + id: string + label: string + image?: string | null + } | null + receiver?: { + __typename?: "accounts" + id: string + label: string + image?: string | null + } | null + } | null + }> +} + +export type AtomMetadataMaybedeletethisFragment = { + __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 + } | 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 + } | 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["String"]["input"] + predicateId: Scalars["String"]["input"] +}> + +export type GetTagsQuery = { + __typename?: "query_root" + triples: Array<{ + __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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | null + } | null + term?: { + __typename?: "terms" + vaults: Array<{ + __typename?: "vaults" + total_shares: any + current_share_price: any + position_count: number + 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 + position_count: number + 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 GetTagsCustomQueryVariables = Exact<{ + where?: InputMaybe +}> + +export type GetTagsCustomQuery = { + __typename?: "query_root" + triples: Array<{ + __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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | null + } | null + term?: { + __typename?: "terms" + vaults: Array<{ + __typename?: "vaults" + total_shares: any + current_share_price: any + position_count: number + 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 + position_count: number + 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 GetListsTagsQueryVariables = Exact<{ + where?: InputMaybe + triplesWhere?: InputMaybe + limit?: InputMaybe + offset?: InputMaybe + orderBy?: InputMaybe | Atoms_Order_By> +}> + +export type GetListsTagsQuery = { + __typename?: "query_root" + atoms_aggregate: { + __typename?: "atoms_aggregate" + aggregate?: { __typename?: "atoms_aggregate_fields"; count: number } | null + } + atoms: Array<{ + __typename?: "atoms" + term_id: string + label?: string | null + image?: string | null + value?: { + __typename?: "atom_values" + thing?: { __typename?: "things"; description?: string | null } | null + } | null + as_object_triples_aggregate: { + __typename?: "triples_aggregate" + aggregate?: { + __typename?: "triples_aggregate_fields" + count: number + } | null + } + as_object_triples: Array<{ + __typename?: "triples" + subject?: { + __typename?: "atoms" + label?: string | null + image?: string | null + } | null + }> + }> +} + +export type GetTaggedObjectsQueryVariables = Exact<{ + objectId: Scalars["String"]["input"] + predicateId: Scalars["String"]["input"] + address?: InputMaybe +}> + +export type GetTaggedObjectsQuery = { + __typename?: "query_root" + triples: Array<{ + __typename?: "triples" + term_id: string + subject?: { + __typename?: "atoms" + term_id: string + label?: string | null + image?: string | null + value?: { + __typename?: "atom_values" + thing?: { + __typename?: "things" + name?: string | null + description?: string | null + url?: string | null + } | null + person?: { __typename?: "persons"; description?: string | null } | null + } | null + term?: { + __typename?: "terms" + vaults: Array<{ __typename?: "vaults"; position_count: number }> + } | null + } | null + term?: { + __typename?: "terms" + id: string + vaults: Array<{ __typename?: "vaults"; position_count: number }> + positions: Array<{ __typename?: "positions"; shares: any }> + positions_aggregate: { + __typename?: "positions_aggregate" + aggregate?: { + __typename?: "positions_aggregate_fields" + count: number + } | null + } + } | null + counter_term?: { + __typename?: "terms" + id: string + vaults: Array<{ __typename?: "vaults"; position_count: number }> + positions: Array<{ __typename?: "positions"; shares: any }> + positions_aggregate: { + __typename?: "positions_aggregate" + aggregate?: { + __typename?: "positions_aggregate_fields" + count: number + } | null + } + } | null + }> +} + +export type GetTriplesByCreatorQueryVariables = Exact<{ + address?: InputMaybe +}> + +export type GetTriplesByCreatorQuery = { + __typename?: "query_root" + triples: Array<{ + __typename?: "triples" + term_id: string + counter_term_id: string + creator_id: string + subject?: { + __typename?: "atoms" + term_id: string + label?: string | null + image?: string | null + type: any + } | null + predicate?: { + __typename?: "atoms" + term_id: string + label?: string | null + image?: string | null + type: any + } | null + object?: { + __typename?: "atoms" + term_id: string + label?: string | null + image?: string | null + type: any + } | null + term?: { + __typename?: "terms" + positions_aggregate: { + __typename?: "positions_aggregate" + aggregate?: { + __typename?: "positions_aggregate_fields" + count: number + } | null + } + } | null + counter_term?: { + __typename?: "terms" + positions_aggregate: { + __typename?: "positions_aggregate" + aggregate?: { + __typename?: "positions_aggregate_fields" + count: number + } | null + } + } | null + positions: Array<{ __typename?: "positions"; shares: any }> + counter_positions: Array<{ __typename?: "positions"; shares: any }> + }> +} + +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: string + subject_id: string + predicate_id: string + object_id: string + block_number: any + created_at: any + transaction_hash: string + creator_id: string + counter_term_id: string + creator?: { + __typename?: "accounts" + label: string + image?: string | null + id: string + atom_id?: string | null + type: any + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | null + } | null + term?: { + __typename?: "terms" + vaults: Array<{ + __typename?: "vaults" + total_shares: any + current_share_price: any + position_count: number + 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: string + curve_id: 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 + 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | null + } | null + } | null + } | null + } | null + }> + }> + } | null + counter_term?: { + __typename?: "terms" + vaults: Array<{ + __typename?: "vaults" + total_shares: any + current_share_price: any + position_count: number + 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: string + curve_id: 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 + 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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: string + subject_id: string + predicate_id: string + object_id: string + block_number: any + created_at: any + transaction_hash: string + creator_id: string + counter_term_id: string + creator?: { + __typename?: "accounts" + label: string + image?: string | null + id: string + atom_id?: string | null + type: any + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | null + } | null + term?: { + __typename?: "terms" + vaults: Array<{ + __typename?: "vaults" + total_shares: any + current_share_price: any + position_count: number + 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: string + curve_id: 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 + 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | null + } | null + } | null + } | null + } | null + }> + }> + } | null + counter_term?: { + __typename?: "terms" + vaults: Array<{ + __typename?: "vaults" + total_shares: any + current_share_price: any + position_count: number + 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: string + curve_id: 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 + 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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["String"]["input"] +}> + +export type GetTripleQuery = { + __typename?: "query_root" + triple?: { + __typename?: "triples" + term_id: string + subject_id: string + predicate_id: string + object_id: string + block_number: any + created_at: any + transaction_hash: string + creator_id: string + counter_term_id: string + creator?: { + __typename?: "accounts" + label: string + image?: string | null + id: string + atom_id?: string | null + type: any + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | null + } | null + term?: { + __typename?: "terms" + vaults: Array<{ + __typename?: "vaults" + total_shares: any + current_share_price: any + position_count: number + 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: string + curve_id: 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 + 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | null + } | null + } | null + } | null + } | null + }> + }> + } | null + counter_term?: { + __typename?: "terms" + vaults: Array<{ + __typename?: "vaults" + total_shares: any + current_share_price: any + position_count: number + 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: string + curve_id: 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 + 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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: Triples_Bool_Exp + address: Scalars["String"]["input"] +}> + +export type GetTriplesWithPositionsQuery = { + __typename?: "query_root" + total: { + __typename?: "triples_aggregate" + aggregate?: { + __typename?: "triples_aggregate_fields" + count: number + } | null + } + triples: Array<{ + __typename?: "triples" + term_id: string + counter_term_id: string + subject?: { + __typename?: "atoms" + term_id: string + label?: string | null + image?: string | null + } | null + predicate?: { + __typename?: "atoms" + term_id: string + label?: string | null + image?: string | null + } | null + object?: { + __typename?: "atoms" + term_id: string + label?: string | null + image?: string | null + accounts: Array<{ __typename?: "accounts"; id: string }> + } | null + term?: { + __typename?: "terms" + positions_aggregate: { + __typename?: "positions_aggregate" + aggregate?: { + __typename?: "positions_aggregate_fields" + count: number + } | null + } + 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" + positions_aggregate: { + __typename?: "positions_aggregate" + aggregate?: { + __typename?: "positions_aggregate_fields" + count: number + } | null + } + 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 GetTriplesByAtomQueryVariables = Exact<{ + term_id?: InputMaybe + address?: InputMaybe +}> + +export type GetTriplesByAtomQuery = { + __typename?: "query_root" + triples_aggregate: { + __typename?: "triples_aggregate" + aggregate?: { + __typename?: "triples_aggregate_fields" + count: number + } | null + nodes: Array<{ + __typename?: "triples" + term_id: string + counter_term_id: string + subject?: { + __typename?: "atoms" + term_id: string + label?: string | null + image?: string | null + type: any + } | null + predicate?: { + __typename?: "atoms" + term_id: string + label?: string | null + image?: string | null + type: any + } | null + object?: { + __typename?: "atoms" + term_id: string + label?: string | null + image?: string | null + type: any + } | null + term?: { + __typename?: "terms" + id: string + positions: Array<{ + __typename?: "positions" + shares: any + account_id: string + }> + positions_aggregate: { + __typename?: "positions_aggregate" + aggregate?: { + __typename?: "positions_aggregate_fields" + count: number + } | null + } + } | null + counter_term?: { + __typename?: "terms" + id: string + positions: Array<{ + __typename?: "positions" + shares: any + account_id: string + }> + positions_aggregate: { + __typename?: "positions_aggregate" + aggregate?: { + __typename?: "positions_aggregate_fields" + count: number + } | null + } + } | null + }> + } +} + +export type GetTriplesByUriQueryVariables = Exact<{ + address?: InputMaybe + uriRegex?: InputMaybe +}> + +export type GetTriplesByUriQuery = { + __typename?: "query_root" + atoms: Array<{ + __typename?: "atoms" + term_id: string + label?: string | null + image?: string | null + as_subject_triples_aggregate: { + __typename?: "triples_aggregate" + aggregate?: { + __typename?: "triples_aggregate_fields" + count: number + } | null + nodes: Array<{ + __typename?: "triples" + term_id: string + counter_term_id: string + term?: { + __typename?: "terms" + positions_aggregate: { + __typename?: "positions_aggregate" + aggregate?: { + __typename?: "positions_aggregate_fields" + count: number + } | null + } + vaults: Array<{ __typename?: "vaults"; curve_id: any }> + } | null + counter_term?: { + __typename?: "terms" + positions_aggregate: { + __typename?: "positions_aggregate" + aggregate?: { + __typename?: "positions_aggregate_fields" + count: number + } | null + } + vaults: Array<{ __typename?: "vaults"; curve_id: any }> + } | null + subject?: { + __typename?: "atoms" + label?: string | null + image?: string | null + type: any + term_id: string + } | null + predicate?: { + __typename?: "atoms" + label?: string | null + image?: string | null + type: any + term_id: string + } | null + object?: { + __typename?: "atoms" + label?: string | null + image?: string | null + type: any + term_id: string + } | null + positions: Array<{ __typename?: "positions"; shares: any }> + positions_aggregate: { + __typename?: "positions_aggregate" + aggregate?: { + __typename?: "positions_aggregate_fields" + count: number + } | null + } + counter_positions: Array<{ __typename?: "positions"; shares: any }> + counter_positions_aggregate: { + __typename?: "positions_aggregate" + aggregate?: { + __typename?: "positions_aggregate_fields" + count: number + } | null + } + creator?: { + __typename?: "accounts" + label: string + id: string + type: any + } | null + }> + } + as_object_triples_aggregate: { + __typename?: "triples_aggregate" + aggregate?: { + __typename?: "triples_aggregate_fields" + count: number + } | null + nodes: Array<{ + __typename?: "triples" + term_id: string + counter_term_id: string + term?: { + __typename?: "terms" + positions_aggregate: { + __typename?: "positions_aggregate" + aggregate?: { + __typename?: "positions_aggregate_fields" + count: number + } | null + } + vaults: Array<{ __typename?: "vaults"; curve_id: any }> + } | null + counter_term?: { + __typename?: "terms" + positions_aggregate: { + __typename?: "positions_aggregate" + aggregate?: { + __typename?: "positions_aggregate_fields" + count: number + } | null + } + vaults: Array<{ __typename?: "vaults"; curve_id: any }> + } | null + predicate?: { + __typename?: "atoms" + label?: string | null + image?: string | null + type: any + term_id: string + } | null + subject?: { + __typename?: "atoms" + label?: string | null + image?: string | null + type: any + term_id: string + } | null + object?: { + __typename?: "atoms" + label?: string | null + image?: string | null + type: any + term_id: string + } | null + positions_aggregate: { + __typename?: "positions_aggregate" + aggregate?: { + __typename?: "positions_aggregate_fields" + count: number + } | null + } + positions: Array<{ __typename?: "positions"; shares: any }> + counter_positions_aggregate: { + __typename?: "positions_aggregate" + aggregate?: { + __typename?: "positions_aggregate_fields" + count: number + } | null + } + counter_positions: Array<{ __typename?: "positions"; shares: any }> + creator?: { + __typename?: "accounts" + label: string + id: string + type: any + } | null + }> + } + positions_aggregate: { + __typename?: "positions_aggregate" + aggregate?: { + __typename?: "positions_aggregate_fields" + count: number + } | null + } + value?: { + __typename?: "atom_values" + thing?: { + __typename?: "things" + description?: string | null + url?: string | null + } | null + } | null + }> +} + +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: string + 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 + } | null + predicate?: { + __typename?: "atoms" + term_id: string + label?: string | null + } | null + object?: { + __typename?: "atoms" + term_id: string + label?: string | null + } | null + } | null + } | null + positions_aggregate: { + __typename?: "positions_aggregate" + nodes: Array<{ + __typename?: "positions" + shares: any + account?: { + __typename?: "accounts" + atom_id?: string | null + label: string + } | null + }> + } + }> + } +} + +export type GetVaultQueryVariables = Exact<{ + termId: Scalars["String"]["input"] + curveId: Scalars["numeric"]["input"] +}> + +export type GetVaultQuery = { + __typename?: "query_root" + vault?: { + __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 + } | null + predicate?: { + __typename?: "atoms" + term_id: string + label?: string | null + } | null + object?: { + __typename?: "atoms" + term_id: string + label?: string | null + } | null + } | null + } | null + } | null +} + +export type EventsSubscriptionVariables = Exact<{ + addresses: Array | Scalars["String"]["input"] + limit: Scalars["Int"]["input"] +}> + +export type EventsSubscription = { + __typename?: "subscription_root" + events: Array<{ + __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" + id: string + total_market_cap?: any | null + vaults: Array<{ __typename?: "vaults"; position_count: number }> + positions: Array<{ + __typename?: "positions" + account_id: string + shares: any + account?: { + __typename?: "accounts" + id: string + label: string + image?: string | null + } | null + }> + } | null + creator?: { + __typename?: "accounts" + id: string + label: string + image?: string | null + } | 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 + } | null + } | null + triple?: { + __typename?: "triples" + term_id: string + counter_term_id: string + creator_id: string + subject_id: string + predicate_id: string + object_id: string + term?: { + __typename?: "terms" + positions_aggregate: { + __typename?: "positions_aggregate" + aggregate?: { + __typename?: "positions_aggregate_fields" + count: number + } | null + } + 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 + } | null + predicate?: { + __typename?: "atoms" + term_id: string + label?: string | null + } | null + object?: { + __typename?: "atoms" + term_id: string + label?: string | null + } | 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" + positions_aggregate: { + __typename?: "positions_aggregate" + aggregate?: { + __typename?: "positions_aggregate_fields" + count: number + } | null + } + 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 + } | null + predicate?: { + __typename?: "atoms" + term_id: string + label?: string | null + } | null + object?: { + __typename?: "atoms" + term_id: string + label?: string | null + } | 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 + creator?: { + __typename?: "accounts" + image?: string | null + label: string + id: string + } | null + subject?: { + __typename?: "atoms" + data?: string | null + term_id: string + image?: string | null + label?: string | null + emoji?: string | null + type: any + } | null + predicate?: { + __typename?: "atoms" + data?: string | null + term_id: string + image?: string | null + label?: string | null + emoji?: string | null + type: any + } | null + object?: { + __typename?: "atoms" + data?: string | null + term_id: string + image?: string | null + label?: string | null + emoji?: string | null + type: any + } | null + } | null + deposit?: { + __typename?: "deposits" + term_id: string + curve_id: any + receiver?: { + __typename?: "accounts" + id: string + label: string + image?: string | null + } | null + sender?: { + __typename?: "accounts" + id: string + label: string + image?: string | null + } | null + } | null + redemption?: { + __typename?: "redemptions" + term_id: string + curve_id: any + receiver_id: string + receiver?: { + __typename?: "accounts" + id: string + label: string + image?: string | null + } | null + sender?: { + __typename?: "accounts" + id: string + label: string + image?: string | null + } | null + } | null + }> +} + +export const AccountClaimsAggregateFragmentDoc = { + kind: "Document", + definitions: [ + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "AccountClaimsAggregate" }, + 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" } } + ] + } + } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode +export const AccountClaimsFragmentDoc = { + kind: "Document", + definitions: [ + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "AccountClaims" }, + 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: "claimsLimit" } + } + }, + { + kind: "Argument", + name: { kind: "Name", value: "offset" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "claimsOffset" } + } + }, + { + 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" } } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode +export const AccountPositionsAggregateFragmentDoc = { + 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 AccountPositionsFragmentDoc = { + 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 AccountAtomsFragmentDoc = { + 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: "_ilike" + }, + 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 AccountAtomsAggregateFragmentDoc = { + 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: "block_number" } + } + ] + } + } + ] + } + }, + { + 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: "_ilike" + }, + 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 AccountTriplesFragmentDoc = { + 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 AccountTriplesAggregateFragmentDoc = { + 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 AtomTxnFragmentDoc = { + 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 AtomVaultDetailsFragmentDoc = { + 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" } + } + ] + } + } + ] + } + }, + { + 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" } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode +export const AccountMetadataFragmentDoc = { + 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 AtomTripleFragmentDoc = { + 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 AtomVaultDetailsWithPositionsFragmentDoc = { + 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 DepositEventFragmentFragmentDoc = { + 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: "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: "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" } } + ] + } + } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode +export const RedemptionEventFragmentFragmentDoc = { + 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: "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: "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" } } + ] + } + } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode +export const AtomValueFragmentDoc = { + 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" } } + ] + } + } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode +export const AtomMetadataFragmentDoc = { + 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" } } + ] + } + } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode +export const PositionAggregateFieldsFragmentDoc = { + 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 PositionFieldsFragmentDoc = { + 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 TripleMetadataFragmentDoc = { + 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", + name: { kind: "Name", value: "position_count" } + }, + { + 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", + name: { kind: "Name", value: "position_count" } + }, + { + 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: "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 EventDetailsFragmentDoc = { + 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: "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: "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: "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: "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: "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: "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: "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: "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: "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: "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: "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: "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: "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", + name: { kind: "Name", value: "position_count" } + }, + { + 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", + name: { kind: "Name", value: "position_count" } + }, + { + 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 TripleMetadataSubscriptionFragmentDoc = { + kind: "Document", + definitions: [ + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "TripleMetadataSubscription" }, + 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: "creator" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "image" } }, + { kind: "Field", name: { kind: "Name", value: "label" } }, + { kind: "Field", name: { kind: "Name", value: "id" } } + ] + } + }, + { kind: "Field", name: { kind: "Name", value: "creator_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: "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: "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" } } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode +export const VaultBasicDetailsFragmentDoc = { + 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 VaultFilteredPositionsFragmentDoc = { + 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 VaultDetailsWithFilteredPositionsFragmentDoc = { + 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 EventDetailsSubscriptionFragmentDoc = { + kind: "Document", + definitions: [ + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "EventDetailsSubscription" }, + 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_id" } }, + { + kind: "Field", + name: { kind: "Name", value: "term" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { + kind: "Field", + name: { kind: "Name", value: "total_market_cap" } + }, + { + kind: "Field", + name: { kind: "Name", value: "vaults" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + 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: "TripleMetadataSubscription" } + }, + { 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: "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: "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: "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: "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: "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: "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: "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: "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: "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: "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: "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: "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: "FragmentDefinition", + name: { kind: "Name", value: "TripleMetadataSubscription" }, + 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: "creator" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "image" } }, + { kind: "Field", name: { kind: "Name", value: "label" } }, + { kind: "Field", name: { kind: "Name", value: "id" } } + ] + } + }, + { kind: "Field", name: { kind: "Name", value: "creator_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: "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: "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: "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 FollowMetadataFragmentDoc = { + 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 FollowAggregateFragmentDoc = { + 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 StatDetailsFragmentDoc = { + 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 TripleTxnFragmentDoc = { + 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 PositionDetailsFragmentDoc = { + 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" } } + ] + } + } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode +export const TripleVaultDetailsFragmentDoc = { + 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: "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 TripleVaultCouterVaultDetailsWithPositionsFragmentDoc = { + 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 VaultUnfilteredPositionsFragmentDoc = { + 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 VaultDetailsFragmentDoc = { + 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 VaultPositionsAggregateFragmentDoc = { + 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 VaultFieldsForTripleFragmentDoc = { + 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 AtomMetadataMaybedeletethisFragmentDoc = { + 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" } } + ] + } + } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode +export const PinPersonDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "pinPerson" }, + 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" } } + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "email" } + }, + type: { kind: "NamedType", name: { kind: "Name", value: "String" } } + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "identifier" } + }, + type: { kind: "NamedType", name: { kind: "Name", value: "String" } } + } + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "pinPerson" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "person" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "name" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "name" } + } + }, + { + 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: "url" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "url" } + } + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "email" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "email" } + } + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "identifier" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "identifier" } + } + } + ] + } + } + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "uri" } } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode +export type PinPersonMutationFn = Apollo.MutationFunction< + PinPersonMutation, + PinPersonMutationVariables +> + +/** + * __usePinPersonMutation__ + * + * To run a mutation, you first call `usePinPersonMutation` within a React component and pass it any options that fit your needs. + * When your component renders, `usePinPersonMutation` returns a tuple that includes: + * - A mutate function that you can call at any time to execute the mutation + * - An object with fields that represent the current status of the mutation's execution + * + * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; + * + * @example + * const [pinPersonMutation, { data, loading, error }] = usePinPersonMutation({ + * variables: { + * name: // value for 'name' + * description: // value for 'description' + * image: // value for 'image' + * url: // value for 'url' + * email: // value for 'email' + * identifier: // value for 'identifier' + * }, + * }); + */ +export function usePinPersonMutation( + baseOptions?: Apollo.MutationHookOptions< + PinPersonMutation, + PinPersonMutationVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useMutation( + PinPersonDocument, + options + ) +} +export type PinPersonMutationHookResult = ReturnType< + typeof usePinPersonMutation +> +export type PinPersonMutationResult = Apollo.MutationResult +export type PinPersonMutationOptions = Apollo.BaseMutationOptions< + PinPersonMutation, + PinPersonMutationVariables +> +export const PinThingDocument = { + 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 type PinThingMutationFn = Apollo.MutationFunction< + PinThingMutation, + PinThingMutationVariables +> + +/** + * __usePinThingMutation__ + * + * To run a mutation, you first call `usePinThingMutation` within a React component and pass it any options that fit your needs. + * When your component renders, `usePinThingMutation` returns a tuple that includes: + * - A mutate function that you can call at any time to execute the mutation + * - An object with fields that represent the current status of the mutation's execution + * + * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; + * + * @example + * const [pinThingMutation, { data, loading, error }] = usePinThingMutation({ + * variables: { + * name: // value for 'name' + * description: // value for 'description' + * image: // value for 'image' + * url: // value for 'url' + * }, + * }); + */ +export function usePinThingMutation( + baseOptions?: Apollo.MutationHookOptions< + PinThingMutation, + PinThingMutationVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useMutation( + PinThingDocument, + options + ) +} +export type PinThingMutationHookResult = ReturnType +export type PinThingMutationResult = Apollo.MutationResult +export type PinThingMutationOptions = Apollo.BaseMutationOptions< + PinThingMutation, + PinThingMutationVariables +> +export const GetAccountsDocument = { + 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: "claimsLimit" } + }, + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } } + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "claimsOffset" } + }, + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } } + }, + { + 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 + +/** + * __useGetAccountsQuery__ + * + * To run a query within a React component, call `useGetAccountsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetAccountsQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetAccountsQuery({ + * variables: { + * limit: // value for 'limit' + * offset: // value for 'offset' + * orderBy: // value for 'orderBy' + * where: // value for 'where' + * claimsLimit: // value for 'claimsLimit' + * claimsOffset: // value for 'claimsOffset' + * positionsLimit: // value for 'positionsLimit' + * positionsOffset: // value for 'positionsOffset' + * positionsWhere: // value for 'positionsWhere' + * }, + * }); + */ +export function useGetAccountsQuery( + baseOptions?: Apollo.QueryHookOptions< + GetAccountsQuery, + GetAccountsQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetAccountsDocument, + options + ) +} +export function useGetAccountsLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetAccountsQuery, + GetAccountsQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery( + GetAccountsDocument, + options + ) +} +export function useGetAccountsSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetAccountsQuery, + GetAccountsQueryVariables + > +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery( + GetAccountsDocument, + options + ) +} +export type GetAccountsQueryHookResult = ReturnType +export type GetAccountsLazyQueryHookResult = ReturnType< + typeof useGetAccountsLazyQuery +> +export type GetAccountsSuspenseQueryHookResult = ReturnType< + typeof useGetAccountsSuspenseQuery +> +export type GetAccountsQueryResult = Apollo.QueryResult< + GetAccountsQuery, + GetAccountsQueryVariables +> +export const GetAccountsWithAggregatesDocument = { + 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: "claimsLimit" } + }, + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } } + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "claimsOffset" } + }, + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } } + }, + { + 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 + +/** + * __useGetAccountsWithAggregatesQuery__ + * + * To run a query within a React component, call `useGetAccountsWithAggregatesQuery` and pass it any options that fit your needs. + * When your component renders, `useGetAccountsWithAggregatesQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetAccountsWithAggregatesQuery({ + * variables: { + * limit: // value for 'limit' + * offset: // value for 'offset' + * orderBy: // value for 'orderBy' + * where: // value for 'where' + * claimsLimit: // value for 'claimsLimit' + * claimsOffset: // value for 'claimsOffset' + * positionsLimit: // value for 'positionsLimit' + * positionsOffset: // value for 'positionsOffset' + * positionsWhere: // value for 'positionsWhere' + * atomsWhere: // value for 'atomsWhere' + * atomsOrderBy: // value for 'atomsOrderBy' + * atomsLimit: // value for 'atomsLimit' + * atomsOffset: // value for 'atomsOffset' + * }, + * }); + */ +export function useGetAccountsWithAggregatesQuery( + baseOptions?: Apollo.QueryHookOptions< + GetAccountsWithAggregatesQuery, + GetAccountsWithAggregatesQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery< + GetAccountsWithAggregatesQuery, + GetAccountsWithAggregatesQueryVariables + >(GetAccountsWithAggregatesDocument, options) +} +export function useGetAccountsWithAggregatesLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetAccountsWithAggregatesQuery, + GetAccountsWithAggregatesQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetAccountsWithAggregatesQuery, + GetAccountsWithAggregatesQueryVariables + >(GetAccountsWithAggregatesDocument, options) +} +export function useGetAccountsWithAggregatesSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetAccountsWithAggregatesQuery, + GetAccountsWithAggregatesQueryVariables + > +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetAccountsWithAggregatesQuery, + GetAccountsWithAggregatesQueryVariables + >(GetAccountsWithAggregatesDocument, options) +} +export type GetAccountsWithAggregatesQueryHookResult = ReturnType< + typeof useGetAccountsWithAggregatesQuery +> +export type GetAccountsWithAggregatesLazyQueryHookResult = ReturnType< + typeof useGetAccountsWithAggregatesLazyQuery +> +export type GetAccountsWithAggregatesSuspenseQueryHookResult = ReturnType< + typeof useGetAccountsWithAggregatesSuspenseQuery +> +export type GetAccountsWithAggregatesQueryResult = Apollo.QueryResult< + GetAccountsWithAggregatesQuery, + GetAccountsWithAggregatesQueryVariables +> +export const GetAccountsCountDocument = { + 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 + +/** + * __useGetAccountsCountQuery__ + * + * To run a query within a React component, call `useGetAccountsCountQuery` and pass it any options that fit your needs. + * When your component renders, `useGetAccountsCountQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetAccountsCountQuery({ + * variables: { + * where: // value for 'where' + * }, + * }); + */ +export function useGetAccountsCountQuery( + baseOptions?: Apollo.QueryHookOptions< + GetAccountsCountQuery, + GetAccountsCountQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetAccountsCountDocument, + options + ) +} +export function useGetAccountsCountLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetAccountsCountQuery, + GetAccountsCountQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetAccountsCountQuery, + GetAccountsCountQueryVariables + >(GetAccountsCountDocument, options) +} +export function useGetAccountsCountSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetAccountsCountQuery, + GetAccountsCountQueryVariables + > +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetAccountsCountQuery, + GetAccountsCountQueryVariables + >(GetAccountsCountDocument, options) +} +export type GetAccountsCountQueryHookResult = ReturnType< + typeof useGetAccountsCountQuery +> +export type GetAccountsCountLazyQueryHookResult = ReturnType< + typeof useGetAccountsCountLazyQuery +> +export type GetAccountsCountSuspenseQueryHookResult = ReturnType< + typeof useGetAccountsCountSuspenseQuery +> +export type GetAccountsCountQueryResult = Apollo.QueryResult< + GetAccountsCountQuery, + GetAccountsCountQueryVariables +> +export const GetAccountDocument = { + 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: "claimsLimit" } + }, + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } } + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "claimsOffset" } + }, + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } } + }, + { + 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: "_ilike" + }, + 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: "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" } + } + ] + } + } + ] + } + }, + { + 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" } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode + +/** + * __useGetAccountQuery__ + * + * To run a query within a React component, call `useGetAccountQuery` and pass it any options that fit your needs. + * When your component renders, `useGetAccountQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetAccountQuery({ + * variables: { + * address: // value for 'address' + * claimsLimit: // value for 'claimsLimit' + * claimsOffset: // value for 'claimsOffset' + * positionsLimit: // value for 'positionsLimit' + * positionsOffset: // value for 'positionsOffset' + * positionsWhere: // value for 'positionsWhere' + * atomsWhere: // value for 'atomsWhere' + * atomsOrderBy: // value for 'atomsOrderBy' + * atomsLimit: // value for 'atomsLimit' + * atomsOffset: // value for 'atomsOffset' + * triplesWhere: // value for 'triplesWhere' + * triplesOrderBy: // value for 'triplesOrderBy' + * triplesLimit: // value for 'triplesLimit' + * triplesOffset: // value for 'triplesOffset' + * }, + * }); + */ +export function useGetAccountQuery( + baseOptions: Apollo.QueryHookOptions< + GetAccountQuery, + GetAccountQueryVariables + > & + ( + | { variables: GetAccountQueryVariables; skip?: boolean } + | { skip: boolean } + ) +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetAccountDocument, + options + ) +} +export function useGetAccountLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetAccountQuery, + GetAccountQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery( + GetAccountDocument, + options + ) +} +export function useGetAccountSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery( + GetAccountDocument, + options + ) +} +export type GetAccountQueryHookResult = ReturnType +export type GetAccountLazyQueryHookResult = ReturnType< + typeof useGetAccountLazyQuery +> +export type GetAccountSuspenseQueryHookResult = ReturnType< + typeof useGetAccountSuspenseQuery +> +export type GetAccountQueryResult = Apollo.QueryResult< + GetAccountQuery, + GetAccountQueryVariables +> +export const GetAccountWithPaginatedRelationsDocument = { + 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: "claimsLimit" } + }, + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } } + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "claimsOffset" } + }, + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } } + }, + { + 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: "_ilike" + }, + 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 + +/** + * __useGetAccountWithPaginatedRelationsQuery__ + * + * To run a query within a React component, call `useGetAccountWithPaginatedRelationsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetAccountWithPaginatedRelationsQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetAccountWithPaginatedRelationsQuery({ + * variables: { + * address: // value for 'address' + * claimsLimit: // value for 'claimsLimit' + * claimsOffset: // value for 'claimsOffset' + * positionsLimit: // value for 'positionsLimit' + * positionsOffset: // value for 'positionsOffset' + * positionsWhere: // value for 'positionsWhere' + * atomsLimit: // value for 'atomsLimit' + * atomsOffset: // value for 'atomsOffset' + * atomsWhere: // value for 'atomsWhere' + * atomsOrderBy: // value for 'atomsOrderBy' + * triplesLimit: // value for 'triplesLimit' + * triplesOffset: // value for 'triplesOffset' + * triplesWhere: // value for 'triplesWhere' + * triplesOrderBy: // value for 'triplesOrderBy' + * }, + * }); + */ +export function useGetAccountWithPaginatedRelationsQuery( + baseOptions: Apollo.QueryHookOptions< + GetAccountWithPaginatedRelationsQuery, + GetAccountWithPaginatedRelationsQueryVariables + > & + ( + | { + variables: GetAccountWithPaginatedRelationsQueryVariables + skip?: boolean + } + | { skip: boolean } + ) +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery< + GetAccountWithPaginatedRelationsQuery, + GetAccountWithPaginatedRelationsQueryVariables + >(GetAccountWithPaginatedRelationsDocument, options) +} +export function useGetAccountWithPaginatedRelationsLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetAccountWithPaginatedRelationsQuery, + GetAccountWithPaginatedRelationsQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetAccountWithPaginatedRelationsQuery, + GetAccountWithPaginatedRelationsQueryVariables + >(GetAccountWithPaginatedRelationsDocument, options) +} +export function useGetAccountWithPaginatedRelationsSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetAccountWithPaginatedRelationsQuery, + GetAccountWithPaginatedRelationsQueryVariables + > +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetAccountWithPaginatedRelationsQuery, + GetAccountWithPaginatedRelationsQueryVariables + >(GetAccountWithPaginatedRelationsDocument, options) +} +export type GetAccountWithPaginatedRelationsQueryHookResult = ReturnType< + typeof useGetAccountWithPaginatedRelationsQuery +> +export type GetAccountWithPaginatedRelationsLazyQueryHookResult = ReturnType< + typeof useGetAccountWithPaginatedRelationsLazyQuery +> +export type GetAccountWithPaginatedRelationsSuspenseQueryHookResult = + ReturnType +export type GetAccountWithPaginatedRelationsQueryResult = Apollo.QueryResult< + GetAccountWithPaginatedRelationsQuery, + GetAccountWithPaginatedRelationsQueryVariables +> +export const GetAccountWithAggregatesDocument = { + 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: "claimsLimit" } + }, + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } } + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "claimsOffset" } + }, + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } } + }, + { + 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: "AccountClaimsAggregate" } + }, + { + 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: "AccountClaimsAggregate" }, + 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: "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: "block_number" } + } + ] + } + } + ] + } + }, + { + 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: "_ilike" + }, + 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 + +/** + * __useGetAccountWithAggregatesQuery__ + * + * To run a query within a React component, call `useGetAccountWithAggregatesQuery` and pass it any options that fit your needs. + * When your component renders, `useGetAccountWithAggregatesQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetAccountWithAggregatesQuery({ + * variables: { + * address: // value for 'address' + * claimsLimit: // value for 'claimsLimit' + * claimsOffset: // value for 'claimsOffset' + * positionsLimit: // value for 'positionsLimit' + * positionsOffset: // value for 'positionsOffset' + * positionsWhere: // value for 'positionsWhere' + * atomsWhere: // value for 'atomsWhere' + * atomsOrderBy: // value for 'atomsOrderBy' + * atomsLimit: // value for 'atomsLimit' + * atomsOffset: // value for 'atomsOffset' + * triplesWhere: // value for 'triplesWhere' + * triplesOrderBy: // value for 'triplesOrderBy' + * triplesLimit: // value for 'triplesLimit' + * triplesOffset: // value for 'triplesOffset' + * }, + * }); + */ +export function useGetAccountWithAggregatesQuery( + baseOptions: Apollo.QueryHookOptions< + GetAccountWithAggregatesQuery, + GetAccountWithAggregatesQueryVariables + > & + ( + | { variables: GetAccountWithAggregatesQueryVariables; skip?: boolean } + | { skip: boolean } + ) +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery< + GetAccountWithAggregatesQuery, + GetAccountWithAggregatesQueryVariables + >(GetAccountWithAggregatesDocument, options) +} +export function useGetAccountWithAggregatesLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetAccountWithAggregatesQuery, + GetAccountWithAggregatesQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetAccountWithAggregatesQuery, + GetAccountWithAggregatesQueryVariables + >(GetAccountWithAggregatesDocument, options) +} +export function useGetAccountWithAggregatesSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetAccountWithAggregatesQuery, + GetAccountWithAggregatesQueryVariables + > +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetAccountWithAggregatesQuery, + GetAccountWithAggregatesQueryVariables + >(GetAccountWithAggregatesDocument, options) +} +export type GetAccountWithAggregatesQueryHookResult = ReturnType< + typeof useGetAccountWithAggregatesQuery +> +export type GetAccountWithAggregatesLazyQueryHookResult = ReturnType< + typeof useGetAccountWithAggregatesLazyQuery +> +export type GetAccountWithAggregatesSuspenseQueryHookResult = ReturnType< + typeof useGetAccountWithAggregatesSuspenseQuery +> +export type GetAccountWithAggregatesQueryResult = Apollo.QueryResult< + GetAccountWithAggregatesQuery, + GetAccountWithAggregatesQueryVariables +> +export const GetAtomsDocument = { + 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: "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: "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: "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 + +/** + * __useGetAtomsQuery__ + * + * To run a query within a React component, call `useGetAtomsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetAtomsQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetAtomsQuery({ + * variables: { + * limit: // value for 'limit' + * offset: // value for 'offset' + * orderBy: // value for 'orderBy' + * where: // value for 'where' + * }, + * }); + */ +export function useGetAtomsQuery( + baseOptions?: Apollo.QueryHookOptions +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetAtomsDocument, + options + ) +} +export function useGetAtomsLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetAtomsQuery, + GetAtomsQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery( + GetAtomsDocument, + options + ) +} +export function useGetAtomsSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery( + GetAtomsDocument, + options + ) +} +export type GetAtomsQueryHookResult = ReturnType +export type GetAtomsLazyQueryHookResult = ReturnType< + typeof useGetAtomsLazyQuery +> +export type GetAtomsSuspenseQueryHookResult = ReturnType< + typeof useGetAtomsSuspenseQuery +> +export type GetAtomsQueryResult = Apollo.QueryResult< + GetAtomsQuery, + GetAtomsQueryVariables +> +export const GetAtomsWithPositionsDocument = { + 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: "Field", + name: { kind: "Name", value: "as_subject_triples_aggregate" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "nodes" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "predicate" }, + 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: "object" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "label" } + }, + { + kind: "Field", + name: { kind: "Name", value: "term_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: "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 + +/** + * __useGetAtomsWithPositionsQuery__ + * + * To run a query within a React component, call `useGetAtomsWithPositionsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetAtomsWithPositionsQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetAtomsWithPositionsQuery({ + * variables: { + * limit: // value for 'limit' + * offset: // value for 'offset' + * orderBy: // value for 'orderBy' + * where: // value for 'where' + * address: // value for 'address' + * }, + * }); + */ +export function useGetAtomsWithPositionsQuery( + baseOptions?: Apollo.QueryHookOptions< + GetAtomsWithPositionsQuery, + GetAtomsWithPositionsQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery< + GetAtomsWithPositionsQuery, + GetAtomsWithPositionsQueryVariables + >(GetAtomsWithPositionsDocument, options) +} +export function useGetAtomsWithPositionsLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetAtomsWithPositionsQuery, + GetAtomsWithPositionsQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetAtomsWithPositionsQuery, + GetAtomsWithPositionsQueryVariables + >(GetAtomsWithPositionsDocument, options) +} +export function useGetAtomsWithPositionsSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetAtomsWithPositionsQuery, + GetAtomsWithPositionsQueryVariables + > +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetAtomsWithPositionsQuery, + GetAtomsWithPositionsQueryVariables + >(GetAtomsWithPositionsDocument, options) +} +export type GetAtomsWithPositionsQueryHookResult = ReturnType< + typeof useGetAtomsWithPositionsQuery +> +export type GetAtomsWithPositionsLazyQueryHookResult = ReturnType< + typeof useGetAtomsWithPositionsLazyQuery +> +export type GetAtomsWithPositionsSuspenseQueryHookResult = ReturnType< + typeof useGetAtomsWithPositionsSuspenseQuery +> +export type GetAtomsWithPositionsQueryResult = Apollo.QueryResult< + GetAtomsWithPositionsQuery, + GetAtomsWithPositionsQueryVariables +> +export const GetAtomsWithAggregatesDocument = { + 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: "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: "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" } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode + +/** + * __useGetAtomsWithAggregatesQuery__ + * + * To run a query within a React component, call `useGetAtomsWithAggregatesQuery` and pass it any options that fit your needs. + * When your component renders, `useGetAtomsWithAggregatesQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetAtomsWithAggregatesQuery({ + * variables: { + * limit: // value for 'limit' + * offset: // value for 'offset' + * orderBy: // value for 'orderBy' + * where: // value for 'where' + * }, + * }); + */ +export function useGetAtomsWithAggregatesQuery( + baseOptions?: Apollo.QueryHookOptions< + GetAtomsWithAggregatesQuery, + GetAtomsWithAggregatesQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery< + GetAtomsWithAggregatesQuery, + GetAtomsWithAggregatesQueryVariables + >(GetAtomsWithAggregatesDocument, options) +} +export function useGetAtomsWithAggregatesLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetAtomsWithAggregatesQuery, + GetAtomsWithAggregatesQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetAtomsWithAggregatesQuery, + GetAtomsWithAggregatesQueryVariables + >(GetAtomsWithAggregatesDocument, options) +} +export function useGetAtomsWithAggregatesSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetAtomsWithAggregatesQuery, + GetAtomsWithAggregatesQueryVariables + > +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetAtomsWithAggregatesQuery, + GetAtomsWithAggregatesQueryVariables + >(GetAtomsWithAggregatesDocument, options) +} +export type GetAtomsWithAggregatesQueryHookResult = ReturnType< + typeof useGetAtomsWithAggregatesQuery +> +export type GetAtomsWithAggregatesLazyQueryHookResult = ReturnType< + typeof useGetAtomsWithAggregatesLazyQuery +> +export type GetAtomsWithAggregatesSuspenseQueryHookResult = ReturnType< + typeof useGetAtomsWithAggregatesSuspenseQuery +> +export type GetAtomsWithAggregatesQueryResult = Apollo.QueryResult< + GetAtomsWithAggregatesQuery, + GetAtomsWithAggregatesQueryVariables +> +export const GetAtomsCountDocument = { + 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 + +/** + * __useGetAtomsCountQuery__ + * + * To run a query within a React component, call `useGetAtomsCountQuery` and pass it any options that fit your needs. + * When your component renders, `useGetAtomsCountQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetAtomsCountQuery({ + * variables: { + * where: // value for 'where' + * }, + * }); + */ +export function useGetAtomsCountQuery( + baseOptions?: Apollo.QueryHookOptions< + GetAtomsCountQuery, + GetAtomsCountQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetAtomsCountDocument, + options + ) +} +export function useGetAtomsCountLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetAtomsCountQuery, + GetAtomsCountQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery( + GetAtomsCountDocument, + options + ) +} +export function useGetAtomsCountSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetAtomsCountQuery, + GetAtomsCountQueryVariables + > +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetAtomsCountQuery, + GetAtomsCountQueryVariables + >(GetAtomsCountDocument, options) +} +export type GetAtomsCountQueryHookResult = ReturnType< + typeof useGetAtomsCountQuery +> +export type GetAtomsCountLazyQueryHookResult = ReturnType< + typeof useGetAtomsCountLazyQuery +> +export type GetAtomsCountSuspenseQueryHookResult = ReturnType< + typeof useGetAtomsCountSuspenseQuery +> +export type GetAtomsCountQueryResult = Apollo.QueryResult< + GetAtomsCountQuery, + GetAtomsCountQueryVariables +> +export const GetAtomDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "GetAtom" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "term_id" } + }, + 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: "term_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: "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: "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: "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 + +/** + * __useGetAtomQuery__ + * + * To run a query within a React component, call `useGetAtomQuery` and pass it any options that fit your needs. + * When your component renders, `useGetAtomQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetAtomQuery({ + * variables: { + * term_id: // value for 'term_id' + * }, + * }); + */ +export function useGetAtomQuery( + baseOptions: Apollo.QueryHookOptions & + ({ variables: GetAtomQueryVariables; skip?: boolean } | { skip: boolean }) +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetAtomDocument, + options + ) +} +export function useGetAtomLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery( + GetAtomDocument, + options + ) +} +export function useGetAtomSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery( + GetAtomDocument, + options + ) +} +export type GetAtomQueryHookResult = ReturnType +export type GetAtomLazyQueryHookResult = ReturnType +export type GetAtomSuspenseQueryHookResult = ReturnType< + typeof useGetAtomSuspenseQuery +> +export type GetAtomQueryResult = Apollo.QueryResult< + GetAtomQuery, + GetAtomQueryVariables +> +export const GetAtomByDataDocument = { + 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: "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: "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: "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 + +/** + * __useGetAtomByDataQuery__ + * + * To run a query within a React component, call `useGetAtomByDataQuery` and pass it any options that fit your needs. + * When your component renders, `useGetAtomByDataQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetAtomByDataQuery({ + * variables: { + * data: // value for 'data' + * }, + * }); + */ +export function useGetAtomByDataQuery( + baseOptions: Apollo.QueryHookOptions< + GetAtomByDataQuery, + GetAtomByDataQueryVariables + > & + ( + | { variables: GetAtomByDataQueryVariables; skip?: boolean } + | { skip: boolean } + ) +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetAtomByDataDocument, + options + ) +} +export function useGetAtomByDataLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetAtomByDataQuery, + GetAtomByDataQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery( + GetAtomByDataDocument, + options + ) +} +export function useGetAtomByDataSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetAtomByDataQuery, + GetAtomByDataQueryVariables + > +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetAtomByDataQuery, + GetAtomByDataQueryVariables + >(GetAtomByDataDocument, options) +} +export type GetAtomByDataQueryHookResult = ReturnType< + typeof useGetAtomByDataQuery +> +export type GetAtomByDataLazyQueryHookResult = ReturnType< + typeof useGetAtomByDataLazyQuery +> +export type GetAtomByDataSuspenseQueryHookResult = ReturnType< + typeof useGetAtomByDataSuspenseQuery +> +export type GetAtomByDataQueryResult = Apollo.QueryResult< + GetAtomByDataQuery, + GetAtomByDataQueryVariables +> +export const GetVerifiedAtomDetailsDocument = { + 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: "String" } } + } + }, + { + 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: "StringValue", + value: "3", + block: false + } + } + ] + } + } + ] + } + } + ], + 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 + +/** + * __useGetVerifiedAtomDetailsQuery__ + * + * To run a query within a React component, call `useGetVerifiedAtomDetailsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetVerifiedAtomDetailsQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetVerifiedAtomDetailsQuery({ + * variables: { + * id: // value for 'id' + * userPositionAddress: // value for 'userPositionAddress' + * }, + * }); + */ +export function useGetVerifiedAtomDetailsQuery( + baseOptions: Apollo.QueryHookOptions< + GetVerifiedAtomDetailsQuery, + GetVerifiedAtomDetailsQueryVariables + > & + ( + | { variables: GetVerifiedAtomDetailsQueryVariables; skip?: boolean } + | { skip: boolean } + ) +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery< + GetVerifiedAtomDetailsQuery, + GetVerifiedAtomDetailsQueryVariables + >(GetVerifiedAtomDetailsDocument, options) +} +export function useGetVerifiedAtomDetailsLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetVerifiedAtomDetailsQuery, + GetVerifiedAtomDetailsQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetVerifiedAtomDetailsQuery, + GetVerifiedAtomDetailsQueryVariables + >(GetVerifiedAtomDetailsDocument, options) +} +export function useGetVerifiedAtomDetailsSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetVerifiedAtomDetailsQuery, + GetVerifiedAtomDetailsQueryVariables + > +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetVerifiedAtomDetailsQuery, + GetVerifiedAtomDetailsQueryVariables + >(GetVerifiedAtomDetailsDocument, options) +} +export type GetVerifiedAtomDetailsQueryHookResult = ReturnType< + typeof useGetVerifiedAtomDetailsQuery +> +export type GetVerifiedAtomDetailsLazyQueryHookResult = ReturnType< + typeof useGetVerifiedAtomDetailsLazyQuery +> +export type GetVerifiedAtomDetailsSuspenseQueryHookResult = ReturnType< + typeof useGetVerifiedAtomDetailsSuspenseQuery +> +export type GetVerifiedAtomDetailsQueryResult = Apollo.QueryResult< + GetVerifiedAtomDetailsQuery, + GetVerifiedAtomDetailsQueryVariables +> +export const GetAtomDetailsDocument = { + 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: "String" } } + } + }, + { + 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: "StringValue", + value: "3", + block: false + } + ] + } + } + ] + } + } + ] + } + } + ], + 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 + +/** + * __useGetAtomDetailsQuery__ + * + * To run a query within a React component, call `useGetAtomDetailsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetAtomDetailsQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetAtomDetailsQuery({ + * variables: { + * id: // value for 'id' + * userPositionAddress: // value for 'userPositionAddress' + * }, + * }); + */ +export function useGetAtomDetailsQuery( + baseOptions: Apollo.QueryHookOptions< + GetAtomDetailsQuery, + GetAtomDetailsQueryVariables + > & + ( + | { variables: GetAtomDetailsQueryVariables; skip?: boolean } + | { skip: boolean } + ) +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetAtomDetailsDocument, + options + ) +} +export function useGetAtomDetailsLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetAtomDetailsQuery, + GetAtomDetailsQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery( + GetAtomDetailsDocument, + options + ) +} +export function useGetAtomDetailsSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetAtomDetailsQuery, + GetAtomDetailsQueryVariables + > +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetAtomDetailsQuery, + GetAtomDetailsQueryVariables + >(GetAtomDetailsDocument, options) +} +export type GetAtomDetailsQueryHookResult = ReturnType< + typeof useGetAtomDetailsQuery +> +export type GetAtomDetailsLazyQueryHookResult = ReturnType< + typeof useGetAtomDetailsLazyQuery +> +export type GetAtomDetailsSuspenseQueryHookResult = ReturnType< + typeof useGetAtomDetailsSuspenseQuery +> +export type GetAtomDetailsQueryResult = Apollo.QueryResult< + GetAtomDetailsQuery, + GetAtomDetailsQueryVariables +> +export const GetAtomsByCreatorDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "GetAtomsByCreator" }, + 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: "atoms" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "creator" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "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: "data" } }, + { kind: "Field", name: { kind: "Name", value: "image" } }, + { kind: "Field", name: { kind: "Name", value: "label" } }, + { kind: "Field", name: { kind: "Name", value: "type" } }, + { + 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: "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: "image" } + }, + { + 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" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "position_count" } + } + ] + } + }, + { + kind: "Field", + name: { kind: "Name", value: "total_market_cap" } + } + ] + } + }, + { + kind: "Field", + name: { kind: "Name", value: "as_subject_triples_aggregate" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "nodes" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "predicate" }, + 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: "object" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "label" } + }, + { + kind: "Field", + name: { kind: "Name", value: "term_id" } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode + +/** + * __useGetAtomsByCreatorQuery__ + * + * To run a query within a React component, call `useGetAtomsByCreatorQuery` and pass it any options that fit your needs. + * When your component renders, `useGetAtomsByCreatorQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetAtomsByCreatorQuery({ + * variables: { + * address: // value for 'address' + * }, + * }); + */ +export function useGetAtomsByCreatorQuery( + baseOptions: Apollo.QueryHookOptions< + GetAtomsByCreatorQuery, + GetAtomsByCreatorQueryVariables + > & + ( + | { variables: GetAtomsByCreatorQueryVariables; skip?: boolean } + | { skip: boolean } + ) +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery< + GetAtomsByCreatorQuery, + GetAtomsByCreatorQueryVariables + >(GetAtomsByCreatorDocument, options) +} +export function useGetAtomsByCreatorLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetAtomsByCreatorQuery, + GetAtomsByCreatorQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetAtomsByCreatorQuery, + GetAtomsByCreatorQueryVariables + >(GetAtomsByCreatorDocument, options) +} +export function useGetAtomsByCreatorSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetAtomsByCreatorQuery, + GetAtomsByCreatorQueryVariables + > +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetAtomsByCreatorQuery, + GetAtomsByCreatorQueryVariables + >(GetAtomsByCreatorDocument, options) +} +export type GetAtomsByCreatorQueryHookResult = ReturnType< + typeof useGetAtomsByCreatorQuery +> +export type GetAtomsByCreatorLazyQueryHookResult = ReturnType< + typeof useGetAtomsByCreatorLazyQuery +> +export type GetAtomsByCreatorSuspenseQueryHookResult = ReturnType< + typeof useGetAtomsByCreatorSuspenseQuery +> +export type GetAtomsByCreatorQueryResult = Apollo.QueryResult< + GetAtomsByCreatorQuery, + GetAtomsByCreatorQueryVariables +> +export const GetEventsFeedDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "GetEventsFeed" }, + 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: "addresses" } + }, + type: { + kind: "NonNullType", + type: { + kind: "ListType", + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" } + } + } + } + } + }, + { + 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: "Where" } + }, + type: { + kind: "NamedType", + name: { kind: "Name", value: "events_bool_exp" } + } + } + ], + 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: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_and" }, + value: { + kind: "ListValue", + values: [ + { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_or" }, + value: { + kind: "ListValue", + values: [ + { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "deposit" + }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "sender_id" + }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "_in" + }, + value: { + kind: "Variable", + name: { + kind: "Name", + value: "addresses" + } + } + } + ] + } + } + ] + } + } + ] + }, + { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "redemption" + }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "sender_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", + 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: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "created_at" }, + value: { kind: "EnumValue", value: "desc" } + } + ] + } + }, + { + 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: "_or" }, + value: { + kind: "ListValue", + values: [ + { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "deposit" + }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "sender_id" + }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "_in" + }, + value: { + kind: "Variable", + name: { + kind: "Name", + value: "addresses" + } + } + } + ] + } + } + ] + } + } + ] + }, + { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "redemption" + }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "sender_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: "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: "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_id" } + }, + { + kind: "Field", + name: { kind: "Name", value: "term" }, + 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: "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: "shares" } + }, + { + kind: "Field", + name: { kind: "Name", value: "account_id" } + } + ] + } + }, + { + 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_id" } + }, + { + kind: "Field", + name: { kind: "Name", value: "counter_term" }, + 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: "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: "shares" } + }, + { + kind: "Field", + name: { kind: "Name", value: "account_id" } + } + ] + } + }, + { + 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: "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: "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: "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: "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 + +/** + * __useGetEventsFeedQuery__ + * + * To run a query within a React component, call `useGetEventsFeedQuery` and pass it any options that fit your needs. + * When your component renders, `useGetEventsFeedQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetEventsFeedQuery({ + * variables: { + * limit: // value for 'limit' + * offset: // value for 'offset' + * addresses: // value for 'addresses' + * address: // value for 'address' + * Where: // value for 'Where' + * }, + * }); + */ +export function useGetEventsFeedQuery( + baseOptions: Apollo.QueryHookOptions< + GetEventsFeedQuery, + GetEventsFeedQueryVariables + > & + ( + | { variables: GetEventsFeedQueryVariables; skip?: boolean } + | { skip: boolean } + ) +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetEventsFeedDocument, + options + ) +} +export function useGetEventsFeedLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetEventsFeedQuery, + GetEventsFeedQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery( + GetEventsFeedDocument, + options + ) +} +export function useGetEventsFeedSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetEventsFeedQuery, + GetEventsFeedQueryVariables + > +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetEventsFeedQuery, + GetEventsFeedQueryVariables + >(GetEventsFeedDocument, options) +} +export type GetEventsFeedQueryHookResult = ReturnType< + typeof useGetEventsFeedQuery +> +export type GetEventsFeedLazyQueryHookResult = ReturnType< + typeof useGetEventsFeedLazyQuery +> +export type GetEventsFeedSuspenseQueryHookResult = ReturnType< + typeof useGetEventsFeedSuspenseQuery +> +export type GetEventsFeedQueryResult = Apollo.QueryResult< + GetEventsFeedQuery, + GetEventsFeedQueryVariables +> +export const GetEventsWithAggregatesDocument = { + 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: "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: "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: "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: "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: "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: "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: "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: "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: "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: "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: "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: "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: "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", + name: { kind: "Name", value: "position_count" } + }, + { + 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", + name: { kind: "Name", value: "position_count" } + }, + { + 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 + +/** + * __useGetEventsWithAggregatesQuery__ + * + * To run a query within a React component, call `useGetEventsWithAggregatesQuery` and pass it any options that fit your needs. + * When your component renders, `useGetEventsWithAggregatesQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetEventsWithAggregatesQuery({ + * variables: { + * limit: // value for 'limit' + * offset: // value for 'offset' + * orderBy: // value for 'orderBy' + * where: // value for 'where' + * addresses: // value for 'addresses' + * }, + * }); + */ +export function useGetEventsWithAggregatesQuery( + baseOptions?: Apollo.QueryHookOptions< + GetEventsWithAggregatesQuery, + GetEventsWithAggregatesQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery< + GetEventsWithAggregatesQuery, + GetEventsWithAggregatesQueryVariables + >(GetEventsWithAggregatesDocument, options) +} +export function useGetEventsWithAggregatesLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetEventsWithAggregatesQuery, + GetEventsWithAggregatesQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetEventsWithAggregatesQuery, + GetEventsWithAggregatesQueryVariables + >(GetEventsWithAggregatesDocument, options) +} +export function useGetEventsWithAggregatesSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetEventsWithAggregatesQuery, + GetEventsWithAggregatesQueryVariables + > +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetEventsWithAggregatesQuery, + GetEventsWithAggregatesQueryVariables + >(GetEventsWithAggregatesDocument, options) +} +export type GetEventsWithAggregatesQueryHookResult = ReturnType< + typeof useGetEventsWithAggregatesQuery +> +export type GetEventsWithAggregatesLazyQueryHookResult = ReturnType< + typeof useGetEventsWithAggregatesLazyQuery +> +export type GetEventsWithAggregatesSuspenseQueryHookResult = ReturnType< + typeof useGetEventsWithAggregatesSuspenseQuery +> +export type GetEventsWithAggregatesQueryResult = Apollo.QueryResult< + GetEventsWithAggregatesQuery, + GetEventsWithAggregatesQueryVariables +> +export const GetFollowingPositionsDocument = { + 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: "String" } } + } + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "predicateId" } + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "String" } } + } + }, + { + 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: "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 + +/** + * __useGetFollowingPositionsQuery__ + * + * To run a query within a React component, call `useGetFollowingPositionsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetFollowingPositionsQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetFollowingPositionsQuery({ + * variables: { + * subjectId: // value for 'subjectId' + * predicateId: // value for 'predicateId' + * address: // value for 'address' + * limit: // value for 'limit' + * offset: // value for 'offset' + * positionsOrderBy: // value for 'positionsOrderBy' + * }, + * }); + */ +export function useGetFollowingPositionsQuery( + baseOptions: Apollo.QueryHookOptions< + GetFollowingPositionsQuery, + GetFollowingPositionsQueryVariables + > & + ( + | { variables: GetFollowingPositionsQueryVariables; skip?: boolean } + | { skip: boolean } + ) +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery< + GetFollowingPositionsQuery, + GetFollowingPositionsQueryVariables + >(GetFollowingPositionsDocument, options) +} +export function useGetFollowingPositionsLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetFollowingPositionsQuery, + GetFollowingPositionsQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetFollowingPositionsQuery, + GetFollowingPositionsQueryVariables + >(GetFollowingPositionsDocument, options) +} +export function useGetFollowingPositionsSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetFollowingPositionsQuery, + GetFollowingPositionsQueryVariables + > +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetFollowingPositionsQuery, + GetFollowingPositionsQueryVariables + >(GetFollowingPositionsDocument, options) +} +export type GetFollowingPositionsQueryHookResult = ReturnType< + typeof useGetFollowingPositionsQuery +> +export type GetFollowingPositionsLazyQueryHookResult = ReturnType< + typeof useGetFollowingPositionsLazyQuery +> +export type GetFollowingPositionsSuspenseQueryHookResult = ReturnType< + typeof useGetFollowingPositionsSuspenseQuery +> +export type GetFollowingPositionsQueryResult = Apollo.QueryResult< + GetFollowingPositionsQuery, + GetFollowingPositionsQueryVariables +> +export const GetFollowerPositionsDocument = { + 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: "String" } } + } + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "predicateId" } + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "String" } } + } + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "objectId" } + }, + 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", + 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: "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 + +/** + * __useGetFollowerPositionsQuery__ + * + * To run a query within a React component, call `useGetFollowerPositionsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetFollowerPositionsQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetFollowerPositionsQuery({ + * variables: { + * subjectId: // value for 'subjectId' + * predicateId: // value for 'predicateId' + * objectId: // value for 'objectId' + * positionsLimit: // value for 'positionsLimit' + * positionsOffset: // value for 'positionsOffset' + * positionsOrderBy: // value for 'positionsOrderBy' + * positionsWhere: // value for 'positionsWhere' + * }, + * }); + */ +export function useGetFollowerPositionsQuery( + baseOptions: Apollo.QueryHookOptions< + GetFollowerPositionsQuery, + GetFollowerPositionsQueryVariables + > & + ( + | { variables: GetFollowerPositionsQueryVariables; skip?: boolean } + | { skip: boolean } + ) +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery< + GetFollowerPositionsQuery, + GetFollowerPositionsQueryVariables + >(GetFollowerPositionsDocument, options) +} +export function useGetFollowerPositionsLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetFollowerPositionsQuery, + GetFollowerPositionsQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetFollowerPositionsQuery, + GetFollowerPositionsQueryVariables + >(GetFollowerPositionsDocument, options) +} +export function useGetFollowerPositionsSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetFollowerPositionsQuery, + GetFollowerPositionsQueryVariables + > +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetFollowerPositionsQuery, + GetFollowerPositionsQueryVariables + >(GetFollowerPositionsDocument, options) +} +export type GetFollowerPositionsQueryHookResult = ReturnType< + typeof useGetFollowerPositionsQuery +> +export type GetFollowerPositionsLazyQueryHookResult = ReturnType< + typeof useGetFollowerPositionsLazyQuery +> +export type GetFollowerPositionsSuspenseQueryHookResult = ReturnType< + typeof useGetFollowerPositionsSuspenseQuery +> +export type GetFollowerPositionsQueryResult = Apollo.QueryResult< + GetFollowerPositionsQuery, + GetFollowerPositionsQueryVariables +> +export const GetConnectionsDocument = { + 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: "String" } } + } + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "predicateId" } + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "String" } } + } + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "objectId" } + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "String" } } + } + }, + { + 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 + +/** + * __useGetConnectionsQuery__ + * + * To run a query within a React component, call `useGetConnectionsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetConnectionsQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetConnectionsQuery({ + * variables: { + * subjectId: // value for 'subjectId' + * predicateId: // value for 'predicateId' + * objectId: // value for 'objectId' + * addresses: // value for 'addresses' + * positionsLimit: // value for 'positionsLimit' + * positionsOffset: // value for 'positionsOffset' + * positionsOrderBy: // value for 'positionsOrderBy' + * positionsWhere: // value for 'positionsWhere' + * }, + * }); + */ +export function useGetConnectionsQuery( + baseOptions: Apollo.QueryHookOptions< + GetConnectionsQuery, + GetConnectionsQueryVariables + > & + ( + | { variables: GetConnectionsQueryVariables; skip?: boolean } + | { skip: boolean } + ) +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetConnectionsDocument, + options + ) +} +export function useGetConnectionsLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetConnectionsQuery, + GetConnectionsQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery( + GetConnectionsDocument, + options + ) +} +export function useGetConnectionsSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetConnectionsQuery, + GetConnectionsQueryVariables + > +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetConnectionsQuery, + GetConnectionsQueryVariables + >(GetConnectionsDocument, options) +} +export type GetConnectionsQueryHookResult = ReturnType< + typeof useGetConnectionsQuery +> +export type GetConnectionsLazyQueryHookResult = ReturnType< + typeof useGetConnectionsLazyQuery +> +export type GetConnectionsSuspenseQueryHookResult = ReturnType< + typeof useGetConnectionsSuspenseQuery +> +export type GetConnectionsQueryResult = Apollo.QueryResult< + GetConnectionsQuery, + GetConnectionsQueryVariables +> +export const GetConnectionsCountDocument = { + 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: "String" } } + } + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "predicateId" } + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "String" } } + } + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "objectId" } + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "String" } } + } + }, + { + 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 + +/** + * __useGetConnectionsCountQuery__ + * + * To run a query within a React component, call `useGetConnectionsCountQuery` and pass it any options that fit your needs. + * When your component renders, `useGetConnectionsCountQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetConnectionsCountQuery({ + * variables: { + * subjectId: // value for 'subjectId' + * predicateId: // value for 'predicateId' + * objectId: // value for 'objectId' + * address: // value for 'address' + * }, + * }); + */ +export function useGetConnectionsCountQuery( + baseOptions: Apollo.QueryHookOptions< + GetConnectionsCountQuery, + GetConnectionsCountQueryVariables + > & + ( + | { variables: GetConnectionsCountQueryVariables; skip?: boolean } + | { skip: boolean } + ) +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery< + GetConnectionsCountQuery, + GetConnectionsCountQueryVariables + >(GetConnectionsCountDocument, options) +} +export function useGetConnectionsCountLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetConnectionsCountQuery, + GetConnectionsCountQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetConnectionsCountQuery, + GetConnectionsCountQueryVariables + >(GetConnectionsCountDocument, options) +} +export function useGetConnectionsCountSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetConnectionsCountQuery, + GetConnectionsCountQueryVariables + > +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetConnectionsCountQuery, + GetConnectionsCountQueryVariables + >(GetConnectionsCountDocument, options) +} +export type GetConnectionsCountQueryHookResult = ReturnType< + typeof useGetConnectionsCountQuery +> +export type GetConnectionsCountLazyQueryHookResult = ReturnType< + typeof useGetConnectionsCountLazyQuery +> +export type GetConnectionsCountSuspenseQueryHookResult = ReturnType< + typeof useGetConnectionsCountSuspenseQuery +> +export type GetConnectionsCountQueryResult = Apollo.QueryResult< + GetConnectionsCountQuery, + GetConnectionsCountQueryVariables +> +export const GetFollowingsFromAddressDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "getFollowingsFromAddress" }, + 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: "following" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "args" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "address" }, + 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: "image" } }, + { kind: "Field", name: { kind: "Name", value: "label" } }, + { kind: "Field", name: { kind: "Name", value: "type" } }, + { + kind: "Field", + name: { kind: "Name", value: "triples" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "order_by" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "block_number" }, + value: { kind: "EnumValue", value: "desc" } + } + ] + } + } + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "term_id" } + }, + { + kind: "Field", + name: { kind: "Name", value: "creator" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "label" } + }, + { + kind: "Field", + name: { kind: "Name", value: "id" } + }, + { + kind: "Field", + name: { kind: "Name", value: "type" } + } + ] + } + }, + { + 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: "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: "image" } + }, + { + kind: "Field", + name: { kind: "Name", value: "type" } + } + ] + } + }, + { + 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: "type" } + } + ] + } + }, + { + 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: "id" } + }, + { + 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: "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: "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: "counter_term" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "id" } + }, + { + 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: "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: "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: "positions_aggregate" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "limit" }, + value: { kind: "IntValue", value: "10" } + } + ], + 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: "shares" } + }, + { + kind: "Field", + name: { kind: "Name", value: "term" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "id" } + }, + { + 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: "object" + }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { + kind: "Name", + value: "term_id" + } + }, + { + kind: "Field", + name: { + kind: "Name", + value: "type" + } + }, + { + kind: "Field", + name: { + kind: "Name", + value: "image" + } + }, + { + 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: "type" + } + }, + { + kind: "Field", + name: { + kind: "Name", + value: "image" + } + }, + { + kind: "Field", + name: { + kind: "Name", + value: "label" + } + } + ] + } + }, + { + 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: "type" + } + }, + { + kind: "Field", + name: { + kind: "Name", + value: "image" + } + }, + { + kind: "Field", + name: { + kind: "Name", + value: "label" + } + } + ] + } + }, + { + kind: "Field", + name: { + kind: "Name", + value: "counter_term" + }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { + kind: "Name", + value: "id" + } + }, + { + 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: "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: "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: "term" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { + kind: "Name", + value: "id" + } + }, + { + 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: "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: "shares" + } + }, + { + kind: "Field", + name: { + kind: "Name", + value: "account" + }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { + kind: "Name", + value: "id" + } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode + +/** + * __useGetFollowingsFromAddressQuery__ + * + * To run a query within a React component, call `useGetFollowingsFromAddressQuery` and pass it any options that fit your needs. + * When your component renders, `useGetFollowingsFromAddressQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetFollowingsFromAddressQuery({ + * variables: { + * address: // value for 'address' + * }, + * }); + */ +export function useGetFollowingsFromAddressQuery( + baseOptions: Apollo.QueryHookOptions< + GetFollowingsFromAddressQuery, + GetFollowingsFromAddressQueryVariables + > & + ( + | { variables: GetFollowingsFromAddressQueryVariables; skip?: boolean } + | { skip: boolean } + ) +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery< + GetFollowingsFromAddressQuery, + GetFollowingsFromAddressQueryVariables + >(GetFollowingsFromAddressDocument, options) +} +export function useGetFollowingsFromAddressLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetFollowingsFromAddressQuery, + GetFollowingsFromAddressQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetFollowingsFromAddressQuery, + GetFollowingsFromAddressQueryVariables + >(GetFollowingsFromAddressDocument, options) +} +export function useGetFollowingsFromAddressSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetFollowingsFromAddressQuery, + GetFollowingsFromAddressQueryVariables + > +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetFollowingsFromAddressQuery, + GetFollowingsFromAddressQueryVariables + >(GetFollowingsFromAddressDocument, options) +} +export type GetFollowingsFromAddressQueryHookResult = ReturnType< + typeof useGetFollowingsFromAddressQuery +> +export type GetFollowingsFromAddressLazyQueryHookResult = ReturnType< + typeof useGetFollowingsFromAddressLazyQuery +> +export type GetFollowingsFromAddressSuspenseQueryHookResult = ReturnType< + typeof useGetFollowingsFromAddressSuspenseQuery +> +export type GetFollowingsFromAddressQueryResult = Apollo.QueryResult< + GetFollowingsFromAddressQuery, + GetFollowingsFromAddressQueryVariables +> +export const GetFollowersFromAddressDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "getFollowersFromAddress" }, + 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: "triples" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "predicate" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "label" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "StringValue", + value: "follow", + block: false + } + } + ] + } + } + ] + } + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "object" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "accounts" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "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: "predicate" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { 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: "term" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { + kind: "Field", + name: { kind: "Name", value: "positions" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + 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: "id" } }, + { + kind: "Field", + name: { kind: "Name", value: "positions" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + 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" } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode + +/** + * __useGetFollowersFromAddressQuery__ + * + * To run a query within a React component, call `useGetFollowersFromAddressQuery` and pass it any options that fit your needs. + * When your component renders, `useGetFollowersFromAddressQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetFollowersFromAddressQuery({ + * variables: { + * address: // value for 'address' + * }, + * }); + */ +export function useGetFollowersFromAddressQuery( + baseOptions: Apollo.QueryHookOptions< + GetFollowersFromAddressQuery, + GetFollowersFromAddressQueryVariables + > & + ( + | { variables: GetFollowersFromAddressQueryVariables; skip?: boolean } + | { skip: boolean } + ) +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery< + GetFollowersFromAddressQuery, + GetFollowersFromAddressQueryVariables + >(GetFollowersFromAddressDocument, options) +} +export function useGetFollowersFromAddressLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetFollowersFromAddressQuery, + GetFollowersFromAddressQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetFollowersFromAddressQuery, + GetFollowersFromAddressQueryVariables + >(GetFollowersFromAddressDocument, options) +} +export function useGetFollowersFromAddressSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetFollowersFromAddressQuery, + GetFollowersFromAddressQueryVariables + > +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetFollowersFromAddressQuery, + GetFollowersFromAddressQueryVariables + >(GetFollowersFromAddressDocument, options) +} +export type GetFollowersFromAddressQueryHookResult = ReturnType< + typeof useGetFollowersFromAddressQuery +> +export type GetFollowersFromAddressLazyQueryHookResult = ReturnType< + typeof useGetFollowersFromAddressLazyQuery +> +export type GetFollowersFromAddressSuspenseQueryHookResult = ReturnType< + typeof useGetFollowersFromAddressSuspenseQuery +> +export type GetFollowersFromAddressQueryResult = Apollo.QueryResult< + GetFollowersFromAddressQuery, + GetFollowersFromAddressQueryVariables +> +export const GetFollowingsTriplesDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "GetFollowingsTriples" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "accountId" } + }, + 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: "predicate" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "label" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "StringValue", + value: "follow", + block: false + } + } + ] + } + } + ] + } + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "subject" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "accounts" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "id" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "Variable", + name: { + kind: "Name", + value: "accountId" + } + } + } + ] + } + } + ] + } + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "type" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "StringValue", + value: "Account", + block: false + } + } + ] + } + } + ] + } + } + ] + } + } + ], + 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: "term_id" } + }, + { kind: "Field", name: { kind: "Name", value: "label" } }, + { kind: "Field", name: { kind: "Name", value: "type" } }, + { kind: "Field", name: { kind: "Name", value: "image" } }, + { + kind: "Field", + name: { kind: "Name", value: "accounts" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "id" } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode + +/** + * __useGetFollowingsTriplesQuery__ + * + * To run a query within a React component, call `useGetFollowingsTriplesQuery` and pass it any options that fit your needs. + * When your component renders, `useGetFollowingsTriplesQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetFollowingsTriplesQuery({ + * variables: { + * accountId: // value for 'accountId' + * }, + * }); + */ +export function useGetFollowingsTriplesQuery( + baseOptions: Apollo.QueryHookOptions< + GetFollowingsTriplesQuery, + GetFollowingsTriplesQueryVariables + > & + ( + | { variables: GetFollowingsTriplesQueryVariables; skip?: boolean } + | { skip: boolean } + ) +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery< + GetFollowingsTriplesQuery, + GetFollowingsTriplesQueryVariables + >(GetFollowingsTriplesDocument, options) +} +export function useGetFollowingsTriplesLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetFollowingsTriplesQuery, + GetFollowingsTriplesQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetFollowingsTriplesQuery, + GetFollowingsTriplesQueryVariables + >(GetFollowingsTriplesDocument, options) +} +export function useGetFollowingsTriplesSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetFollowingsTriplesQuery, + GetFollowingsTriplesQueryVariables + > +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetFollowingsTriplesQuery, + GetFollowingsTriplesQueryVariables + >(GetFollowingsTriplesDocument, options) +} +export type GetFollowingsTriplesQueryHookResult = ReturnType< + typeof useGetFollowingsTriplesQuery +> +export type GetFollowingsTriplesLazyQueryHookResult = ReturnType< + typeof useGetFollowingsTriplesLazyQuery +> +export type GetFollowingsTriplesSuspenseQueryHookResult = ReturnType< + typeof useGetFollowingsTriplesSuspenseQuery +> +export type GetFollowingsTriplesQueryResult = Apollo.QueryResult< + GetFollowingsTriplesQuery, + GetFollowingsTriplesQueryVariables +> +export const GetAccountByIdDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "GetAccountById" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "id" } }, + 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: "id" } } + } + ], + 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 + +/** + * __useGetAccountByIdQuery__ + * + * To run a query within a React component, call `useGetAccountByIdQuery` and pass it any options that fit your needs. + * When your component renders, `useGetAccountByIdQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetAccountByIdQuery({ + * variables: { + * id: // value for 'id' + * }, + * }); + */ +export function useGetAccountByIdQuery( + baseOptions: Apollo.QueryHookOptions< + GetAccountByIdQuery, + GetAccountByIdQueryVariables + > & + ( + | { variables: GetAccountByIdQueryVariables; skip?: boolean } + | { skip: boolean } + ) +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetAccountByIdDocument, + options + ) +} +export function useGetAccountByIdLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetAccountByIdQuery, + GetAccountByIdQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery( + GetAccountByIdDocument, + options + ) +} +export function useGetAccountByIdSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetAccountByIdQuery, + GetAccountByIdQueryVariables + > +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetAccountByIdQuery, + GetAccountByIdQueryVariables + >(GetAccountByIdDocument, options) +} +export type GetAccountByIdQueryHookResult = ReturnType< + typeof useGetAccountByIdQuery +> +export type GetAccountByIdLazyQueryHookResult = ReturnType< + typeof useGetAccountByIdLazyQuery +> +export type GetAccountByIdSuspenseQueryHookResult = ReturnType< + typeof useGetAccountByIdSuspenseQuery +> +export type GetAccountByIdQueryResult = Apollo.QueryResult< + GetAccountByIdQuery, + GetAccountByIdQueryVariables +> +export const GetPersonsByIdentifierDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "GetPersonsByIdentifier" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "identifier" } + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "String" } } + } + } + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "persons" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "identifier" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "identifier" } + } + } + ] + } + } + ] + } + } + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { 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: "email" } }, + { kind: "Field", name: { kind: "Name", value: "url" } }, + { kind: "Field", name: { kind: "Name", value: "identifier" } } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode + +/** + * __useGetPersonsByIdentifierQuery__ + * + * To run a query within a React component, call `useGetPersonsByIdentifierQuery` and pass it any options that fit your needs. + * When your component renders, `useGetPersonsByIdentifierQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetPersonsByIdentifierQuery({ + * variables: { + * identifier: // value for 'identifier' + * }, + * }); + */ +export function useGetPersonsByIdentifierQuery( + baseOptions: Apollo.QueryHookOptions< + GetPersonsByIdentifierQuery, + GetPersonsByIdentifierQueryVariables + > & + ( + | { variables: GetPersonsByIdentifierQueryVariables; skip?: boolean } + | { skip: boolean } + ) +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery< + GetPersonsByIdentifierQuery, + GetPersonsByIdentifierQueryVariables + >(GetPersonsByIdentifierDocument, options) +} +export function useGetPersonsByIdentifierLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetPersonsByIdentifierQuery, + GetPersonsByIdentifierQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetPersonsByIdentifierQuery, + GetPersonsByIdentifierQueryVariables + >(GetPersonsByIdentifierDocument, options) +} +export function useGetPersonsByIdentifierSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetPersonsByIdentifierQuery, + GetPersonsByIdentifierQueryVariables + > +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetPersonsByIdentifierQuery, + GetPersonsByIdentifierQueryVariables + >(GetPersonsByIdentifierDocument, options) +} +export type GetPersonsByIdentifierQueryHookResult = ReturnType< + typeof useGetPersonsByIdentifierQuery +> +export type GetPersonsByIdentifierLazyQueryHookResult = ReturnType< + typeof useGetPersonsByIdentifierLazyQuery +> +export type GetPersonsByIdentifierSuspenseQueryHookResult = ReturnType< + typeof useGetPersonsByIdentifierSuspenseQuery +> +export type GetPersonsByIdentifierQueryResult = Apollo.QueryResult< + GetPersonsByIdentifierQuery, + GetPersonsByIdentifierQueryVariables +> +export const GetListItemsDocument = { + 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: "String" } } + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "objectId" } + }, + type: { kind: "NamedType", name: { kind: "Name", value: "String" } } + } + ], + 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: "Variable", + name: { kind: "Name", 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: "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 + +/** + * __useGetListItemsQuery__ + * + * To run a query within a React component, call `useGetListItemsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetListItemsQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetListItemsQuery({ + * variables: { + * predicateId: // value for 'predicateId' + * objectId: // value for 'objectId' + * }, + * }); + */ +export function useGetListItemsQuery( + baseOptions?: Apollo.QueryHookOptions< + GetListItemsQuery, + GetListItemsQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetListItemsDocument, + options + ) +} +export function useGetListItemsLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetListItemsQuery, + GetListItemsQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery( + GetListItemsDocument, + options + ) +} +export function useGetListItemsSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetListItemsQuery, + GetListItemsQueryVariables + > +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery( + GetListItemsDocument, + options + ) +} +export type GetListItemsQueryHookResult = ReturnType< + typeof useGetListItemsQuery +> +export type GetListItemsLazyQueryHookResult = ReturnType< + typeof useGetListItemsLazyQuery +> +export type GetListItemsSuspenseQueryHookResult = ReturnType< + typeof useGetListItemsSuspenseQuery +> +export type GetListItemsQueryResult = Apollo.QueryResult< + GetListItemsQuery, + GetListItemsQueryVariables +> +export const GetListDetailsDocument = { + 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: "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" }, + 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 + +/** + * __useGetListDetailsQuery__ + * + * To run a query within a React component, call `useGetListDetailsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetListDetailsQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetListDetailsQuery({ + * variables: { + * globalWhere: // value for 'globalWhere' + * tagPredicateId: // value for 'tagPredicateId' + * limit: // value for 'limit' + * offset: // value for 'offset' + * orderBy: // value for 'orderBy' + * }, + * }); + */ +export function useGetListDetailsQuery( + baseOptions?: Apollo.QueryHookOptions< + GetListDetailsQuery, + GetListDetailsQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetListDetailsDocument, + options + ) +} +export function useGetListDetailsLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetListDetailsQuery, + GetListDetailsQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery( + GetListDetailsDocument, + options + ) +} +export function useGetListDetailsSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetListDetailsQuery, + GetListDetailsQueryVariables + > +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetListDetailsQuery, + GetListDetailsQueryVariables + >(GetListDetailsDocument, options) +} +export type GetListDetailsQueryHookResult = ReturnType< + typeof useGetListDetailsQuery +> +export type GetListDetailsLazyQueryHookResult = ReturnType< + typeof useGetListDetailsLazyQuery +> +export type GetListDetailsSuspenseQueryHookResult = ReturnType< + typeof useGetListDetailsSuspenseQuery +> +export type GetListDetailsQueryResult = Apollo.QueryResult< + GetListDetailsQuery, + GetListDetailsQueryVariables +> +export const GetListDetailsWithPositionDocument = { + 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: "String" } } + }, + { + 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 + +/** + * __useGetListDetailsWithPositionQuery__ + * + * To run a query within a React component, call `useGetListDetailsWithPositionQuery` and pass it any options that fit your needs. + * When your component renders, `useGetListDetailsWithPositionQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetListDetailsWithPositionQuery({ + * variables: { + * globalWhere: // value for 'globalWhere' + * tagPredicateId: // value for 'tagPredicateId' + * address: // value for 'address' + * limit: // value for 'limit' + * offset: // value for 'offset' + * orderBy: // value for 'orderBy' + * }, + * }); + */ +export function useGetListDetailsWithPositionQuery( + baseOptions?: Apollo.QueryHookOptions< + GetListDetailsWithPositionQuery, + GetListDetailsWithPositionQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery< + GetListDetailsWithPositionQuery, + GetListDetailsWithPositionQueryVariables + >(GetListDetailsWithPositionDocument, options) +} +export function useGetListDetailsWithPositionLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetListDetailsWithPositionQuery, + GetListDetailsWithPositionQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetListDetailsWithPositionQuery, + GetListDetailsWithPositionQueryVariables + >(GetListDetailsWithPositionDocument, options) +} +export function useGetListDetailsWithPositionSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetListDetailsWithPositionQuery, + GetListDetailsWithPositionQueryVariables + > +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetListDetailsWithPositionQuery, + GetListDetailsWithPositionQueryVariables + >(GetListDetailsWithPositionDocument, options) +} +export type GetListDetailsWithPositionQueryHookResult = ReturnType< + typeof useGetListDetailsWithPositionQuery +> +export type GetListDetailsWithPositionLazyQueryHookResult = ReturnType< + typeof useGetListDetailsWithPositionLazyQuery +> +export type GetListDetailsWithPositionSuspenseQueryHookResult = ReturnType< + typeof useGetListDetailsWithPositionSuspenseQuery +> +export type GetListDetailsWithPositionQueryResult = Apollo.QueryResult< + GetListDetailsWithPositionQuery, + GetListDetailsWithPositionQueryVariables +> +export const GetListDetailsWithUserDocument = { + 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: "String" } } + }, + { + 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 + +/** + * __useGetListDetailsWithUserQuery__ + * + * To run a query within a React component, call `useGetListDetailsWithUserQuery` and pass it any options that fit your needs. + * When your component renders, `useGetListDetailsWithUserQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetListDetailsWithUserQuery({ + * variables: { + * globalWhere: // value for 'globalWhere' + * userWhere: // value for 'userWhere' + * tagPredicateId: // value for 'tagPredicateId' + * address: // value for 'address' + * limit: // value for 'limit' + * offset: // value for 'offset' + * orderBy: // value for 'orderBy' + * }, + * }); + */ +export function useGetListDetailsWithUserQuery( + baseOptions?: Apollo.QueryHookOptions< + GetListDetailsWithUserQuery, + GetListDetailsWithUserQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery< + GetListDetailsWithUserQuery, + GetListDetailsWithUserQueryVariables + >(GetListDetailsWithUserDocument, options) +} +export function useGetListDetailsWithUserLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetListDetailsWithUserQuery, + GetListDetailsWithUserQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetListDetailsWithUserQuery, + GetListDetailsWithUserQueryVariables + >(GetListDetailsWithUserDocument, options) +} +export function useGetListDetailsWithUserSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetListDetailsWithUserQuery, + GetListDetailsWithUserQueryVariables + > +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetListDetailsWithUserQuery, + GetListDetailsWithUserQueryVariables + >(GetListDetailsWithUserDocument, options) +} +export type GetListDetailsWithUserQueryHookResult = ReturnType< + typeof useGetListDetailsWithUserQuery +> +export type GetListDetailsWithUserLazyQueryHookResult = ReturnType< + typeof useGetListDetailsWithUserLazyQuery +> +export type GetListDetailsWithUserSuspenseQueryHookResult = ReturnType< + typeof useGetListDetailsWithUserSuspenseQuery +> +export type GetListDetailsWithUserQueryResult = Apollo.QueryResult< + GetListDetailsWithUserQuery, + GetListDetailsWithUserQueryVariables +> +export const GetFeeTransfersDocument = { + 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 + +/** + * __useGetFeeTransfersQuery__ + * + * To run a query within a React component, call `useGetFeeTransfersQuery` and pass it any options that fit your needs. + * When your component renders, `useGetFeeTransfersQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetFeeTransfersQuery({ + * variables: { + * address: // value for 'address' + * cutoff_timestamp: // value for 'cutoff_timestamp' + * }, + * }); + */ +export function useGetFeeTransfersQuery( + baseOptions: Apollo.QueryHookOptions< + GetFeeTransfersQuery, + GetFeeTransfersQueryVariables + > & + ( + | { variables: GetFeeTransfersQueryVariables; skip?: boolean } + | { skip: boolean } + ) +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetFeeTransfersDocument, + options + ) +} +export function useGetFeeTransfersLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetFeeTransfersQuery, + GetFeeTransfersQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetFeeTransfersQuery, + GetFeeTransfersQueryVariables + >(GetFeeTransfersDocument, options) +} +export function useGetFeeTransfersSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetFeeTransfersQuery, + GetFeeTransfersQueryVariables + > +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetFeeTransfersQuery, + GetFeeTransfersQueryVariables + >(GetFeeTransfersDocument, options) +} +export type GetFeeTransfersQueryHookResult = ReturnType< + typeof useGetFeeTransfersQuery +> +export type GetFeeTransfersLazyQueryHookResult = ReturnType< + typeof useGetFeeTransfersLazyQuery +> +export type GetFeeTransfersSuspenseQueryHookResult = ReturnType< + typeof useGetFeeTransfersSuspenseQuery +> +export type GetFeeTransfersQueryResult = Apollo.QueryResult< + GetFeeTransfersQuery, + GetFeeTransfersQueryVariables +> +export const GetPositionsDocument = { + 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: "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 + +/** + * __useGetPositionsQuery__ + * + * To run a query within a React component, call `useGetPositionsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetPositionsQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetPositionsQuery({ + * variables: { + * limit: // value for 'limit' + * offset: // value for 'offset' + * orderBy: // value for 'orderBy' + * where: // value for 'where' + * }, + * }); + */ +export function useGetPositionsQuery( + baseOptions?: Apollo.QueryHookOptions< + GetPositionsQuery, + GetPositionsQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetPositionsDocument, + options + ) +} +export function useGetPositionsLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetPositionsQuery, + GetPositionsQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery( + GetPositionsDocument, + options + ) +} +export function useGetPositionsSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetPositionsQuery, + GetPositionsQueryVariables + > +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery( + GetPositionsDocument, + options + ) +} +export type GetPositionsQueryHookResult = ReturnType< + typeof useGetPositionsQuery +> +export type GetPositionsLazyQueryHookResult = ReturnType< + typeof useGetPositionsLazyQuery +> +export type GetPositionsSuspenseQueryHookResult = ReturnType< + typeof useGetPositionsSuspenseQuery +> +export type GetPositionsQueryResult = Apollo.QueryResult< + GetPositionsQuery, + GetPositionsQueryVariables +> +export const GetTriplePositionsByAddressDocument = { + 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: "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 + +/** + * __useGetTriplePositionsByAddressQuery__ + * + * To run a query within a React component, call `useGetTriplePositionsByAddressQuery` and pass it any options that fit your needs. + * When your component renders, `useGetTriplePositionsByAddressQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetTriplePositionsByAddressQuery({ + * variables: { + * limit: // value for 'limit' + * offset: // value for 'offset' + * orderBy: // value for 'orderBy' + * where: // value for 'where' + * address: // value for 'address' + * }, + * }); + */ +export function useGetTriplePositionsByAddressQuery( + baseOptions: Apollo.QueryHookOptions< + GetTriplePositionsByAddressQuery, + GetTriplePositionsByAddressQueryVariables + > & + ( + | { variables: GetTriplePositionsByAddressQueryVariables; skip?: boolean } + | { skip: boolean } + ) +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery< + GetTriplePositionsByAddressQuery, + GetTriplePositionsByAddressQueryVariables + >(GetTriplePositionsByAddressDocument, options) +} +export function useGetTriplePositionsByAddressLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetTriplePositionsByAddressQuery, + GetTriplePositionsByAddressQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetTriplePositionsByAddressQuery, + GetTriplePositionsByAddressQueryVariables + >(GetTriplePositionsByAddressDocument, options) +} +export function useGetTriplePositionsByAddressSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetTriplePositionsByAddressQuery, + GetTriplePositionsByAddressQueryVariables + > +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetTriplePositionsByAddressQuery, + GetTriplePositionsByAddressQueryVariables + >(GetTriplePositionsByAddressDocument, options) +} +export type GetTriplePositionsByAddressQueryHookResult = ReturnType< + typeof useGetTriplePositionsByAddressQuery +> +export type GetTriplePositionsByAddressLazyQueryHookResult = ReturnType< + typeof useGetTriplePositionsByAddressLazyQuery +> +export type GetTriplePositionsByAddressSuspenseQueryHookResult = ReturnType< + typeof useGetTriplePositionsByAddressSuspenseQuery +> +export type GetTriplePositionsByAddressQueryResult = Apollo.QueryResult< + GetTriplePositionsByAddressQuery, + GetTriplePositionsByAddressQueryVariables +> +export const GetPositionsWithAggregatesDocument = { + 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: "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 + +/** + * __useGetPositionsWithAggregatesQuery__ + * + * To run a query within a React component, call `useGetPositionsWithAggregatesQuery` and pass it any options that fit your needs. + * When your component renders, `useGetPositionsWithAggregatesQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetPositionsWithAggregatesQuery({ + * variables: { + * limit: // value for 'limit' + * offset: // value for 'offset' + * orderBy: // value for 'orderBy' + * where: // value for 'where' + * }, + * }); + */ +export function useGetPositionsWithAggregatesQuery( + baseOptions?: Apollo.QueryHookOptions< + GetPositionsWithAggregatesQuery, + GetPositionsWithAggregatesQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery< + GetPositionsWithAggregatesQuery, + GetPositionsWithAggregatesQueryVariables + >(GetPositionsWithAggregatesDocument, options) +} +export function useGetPositionsWithAggregatesLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetPositionsWithAggregatesQuery, + GetPositionsWithAggregatesQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetPositionsWithAggregatesQuery, + GetPositionsWithAggregatesQueryVariables + >(GetPositionsWithAggregatesDocument, options) +} +export function useGetPositionsWithAggregatesSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetPositionsWithAggregatesQuery, + GetPositionsWithAggregatesQueryVariables + > +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetPositionsWithAggregatesQuery, + GetPositionsWithAggregatesQueryVariables + >(GetPositionsWithAggregatesDocument, options) +} +export type GetPositionsWithAggregatesQueryHookResult = ReturnType< + typeof useGetPositionsWithAggregatesQuery +> +export type GetPositionsWithAggregatesLazyQueryHookResult = ReturnType< + typeof useGetPositionsWithAggregatesLazyQuery +> +export type GetPositionsWithAggregatesSuspenseQueryHookResult = ReturnType< + typeof useGetPositionsWithAggregatesSuspenseQuery +> +export type GetPositionsWithAggregatesQueryResult = Apollo.QueryResult< + GetPositionsWithAggregatesQuery, + GetPositionsWithAggregatesQueryVariables +> +export const GetPositionsCountDocument = { + 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 + +/** + * __useGetPositionsCountQuery__ + * + * To run a query within a React component, call `useGetPositionsCountQuery` and pass it any options that fit your needs. + * When your component renders, `useGetPositionsCountQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetPositionsCountQuery({ + * variables: { + * where: // value for 'where' + * }, + * }); + */ +export function useGetPositionsCountQuery( + baseOptions?: Apollo.QueryHookOptions< + GetPositionsCountQuery, + GetPositionsCountQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery< + GetPositionsCountQuery, + GetPositionsCountQueryVariables + >(GetPositionsCountDocument, options) +} +export function useGetPositionsCountLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetPositionsCountQuery, + GetPositionsCountQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetPositionsCountQuery, + GetPositionsCountQueryVariables + >(GetPositionsCountDocument, options) +} +export function useGetPositionsCountSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetPositionsCountQuery, + GetPositionsCountQueryVariables + > +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetPositionsCountQuery, + GetPositionsCountQueryVariables + >(GetPositionsCountDocument, options) +} +export type GetPositionsCountQueryHookResult = ReturnType< + typeof useGetPositionsCountQuery +> +export type GetPositionsCountLazyQueryHookResult = ReturnType< + typeof useGetPositionsCountLazyQuery +> +export type GetPositionsCountSuspenseQueryHookResult = ReturnType< + typeof useGetPositionsCountSuspenseQuery +> +export type GetPositionsCountQueryResult = Apollo.QueryResult< + GetPositionsCountQuery, + GetPositionsCountQueryVariables +> +export const GetPositionDocument = { + 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: "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 + +/** + * __useGetPositionQuery__ + * + * To run a query within a React component, call `useGetPositionQuery` and pass it any options that fit your needs. + * When your component renders, `useGetPositionQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetPositionQuery({ + * variables: { + * positionId: // value for 'positionId' + * }, + * }); + */ +export function useGetPositionQuery( + baseOptions: Apollo.QueryHookOptions< + GetPositionQuery, + GetPositionQueryVariables + > & + ( + | { variables: GetPositionQueryVariables; skip?: boolean } + | { skip: boolean } + ) +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetPositionDocument, + options + ) +} +export function useGetPositionLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetPositionQuery, + GetPositionQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery( + GetPositionDocument, + options + ) +} +export function useGetPositionSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetPositionQuery, + GetPositionQueryVariables + > +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery( + GetPositionDocument, + options + ) +} +export type GetPositionQueryHookResult = ReturnType +export type GetPositionLazyQueryHookResult = ReturnType< + typeof useGetPositionLazyQuery +> +export type GetPositionSuspenseQueryHookResult = ReturnType< + typeof useGetPositionSuspenseQuery +> +export type GetPositionQueryResult = Apollo.QueryResult< + GetPositionQuery, + GetPositionQueryVariables +> +export const GetPositionsCountByTypeDocument = { + 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 + +/** + * __useGetPositionsCountByTypeQuery__ + * + * To run a query within a React component, call `useGetPositionsCountByTypeQuery` and pass it any options that fit your needs. + * When your component renders, `useGetPositionsCountByTypeQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetPositionsCountByTypeQuery({ + * variables: { + * where: // value for 'where' + * }, + * }); + */ +export function useGetPositionsCountByTypeQuery( + baseOptions?: Apollo.QueryHookOptions< + GetPositionsCountByTypeQuery, + GetPositionsCountByTypeQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery< + GetPositionsCountByTypeQuery, + GetPositionsCountByTypeQueryVariables + >(GetPositionsCountByTypeDocument, options) +} +export function useGetPositionsCountByTypeLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetPositionsCountByTypeQuery, + GetPositionsCountByTypeQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetPositionsCountByTypeQuery, + GetPositionsCountByTypeQueryVariables + >(GetPositionsCountByTypeDocument, options) +} +export function useGetPositionsCountByTypeSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetPositionsCountByTypeQuery, + GetPositionsCountByTypeQueryVariables + > +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetPositionsCountByTypeQuery, + GetPositionsCountByTypeQueryVariables + >(GetPositionsCountByTypeDocument, options) +} +export type GetPositionsCountByTypeQueryHookResult = ReturnType< + typeof useGetPositionsCountByTypeQuery +> +export type GetPositionsCountByTypeLazyQueryHookResult = ReturnType< + typeof useGetPositionsCountByTypeLazyQuery +> +export type GetPositionsCountByTypeSuspenseQueryHookResult = ReturnType< + typeof useGetPositionsCountByTypeSuspenseQuery +> +export type GetPositionsCountByTypeQueryResult = Apollo.QueryResult< + GetPositionsCountByTypeQuery, + GetPositionsCountByTypeQueryVariables +> +export const GetSignalsDocument = { + 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: "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: "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: "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 + +/** + * __useGetSignalsQuery__ + * + * To run a query within a React component, call `useGetSignalsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetSignalsQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetSignalsQuery({ + * variables: { + * limit: // value for 'limit' + * offset: // value for 'offset' + * orderBy: // value for 'orderBy' + * addresses: // value for 'addresses' + * }, + * }); + */ +export function useGetSignalsQuery( + baseOptions?: Apollo.QueryHookOptions< + GetSignalsQuery, + GetSignalsQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetSignalsDocument, + options + ) +} +export function useGetSignalsLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetSignalsQuery, + GetSignalsQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery( + GetSignalsDocument, + options + ) +} +export function useGetSignalsSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery( + GetSignalsDocument, + options + ) +} +export type GetSignalsQueryHookResult = ReturnType +export type GetSignalsLazyQueryHookResult = ReturnType< + typeof useGetSignalsLazyQuery +> +export type GetSignalsSuspenseQueryHookResult = ReturnType< + typeof useGetSignalsSuspenseQuery +> +export type GetSignalsQueryResult = Apollo.QueryResult< + GetSignalsQuery, + GetSignalsQueryVariables +> +export const GetStatsDocument = { + 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 + +/** + * __useGetStatsQuery__ + * + * To run a query within a React component, call `useGetStatsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetStatsQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetStatsQuery({ + * variables: { + * }, + * }); + */ +export function useGetStatsQuery( + baseOptions?: Apollo.QueryHookOptions +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetStatsDocument, + options + ) +} +export function useGetStatsLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetStatsQuery, + GetStatsQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery( + GetStatsDocument, + options + ) +} +export function useGetStatsSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery( + GetStatsDocument, + options + ) +} +export type GetStatsQueryHookResult = ReturnType +export type GetStatsLazyQueryHookResult = ReturnType< + typeof useGetStatsLazyQuery +> +export type GetStatsSuspenseQueryHookResult = ReturnType< + typeof useGetStatsSuspenseQuery +> +export type GetStatsQueryResult = Apollo.QueryResult< + GetStatsQuery, + GetStatsQueryVariables +> +export const GetTagsDocument = { + 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: "String" } } + } + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "predicateId" } + }, + 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: "_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: "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", + name: { kind: "Name", value: "position_count" } + }, + { + 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", + name: { kind: "Name", value: "position_count" } + }, + { + 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 + +/** + * __useGetTagsQuery__ + * + * To run a query within a React component, call `useGetTagsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetTagsQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetTagsQuery({ + * variables: { + * subjectId: // value for 'subjectId' + * predicateId: // value for 'predicateId' + * }, + * }); + */ +export function useGetTagsQuery( + baseOptions: Apollo.QueryHookOptions & + ({ variables: GetTagsQueryVariables; skip?: boolean } | { skip: boolean }) +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetTagsDocument, + options + ) +} +export function useGetTagsLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery( + GetTagsDocument, + options + ) +} +export function useGetTagsSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery( + GetTagsDocument, + options + ) +} +export type GetTagsQueryHookResult = ReturnType +export type GetTagsLazyQueryHookResult = ReturnType +export type GetTagsSuspenseQueryHookResult = ReturnType< + typeof useGetTagsSuspenseQuery +> +export type GetTagsQueryResult = Apollo.QueryResult< + GetTagsQuery, + GetTagsQueryVariables +> +export const GetTagsCustomDocument = { + 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: "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", + name: { kind: "Name", value: "position_count" } + }, + { + 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", + name: { kind: "Name", value: "position_count" } + }, + { + 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 + +/** + * __useGetTagsCustomQuery__ + * + * To run a query within a React component, call `useGetTagsCustomQuery` and pass it any options that fit your needs. + * When your component renders, `useGetTagsCustomQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetTagsCustomQuery({ + * variables: { + * where: // value for 'where' + * }, + * }); + */ +export function useGetTagsCustomQuery( + baseOptions?: Apollo.QueryHookOptions< + GetTagsCustomQuery, + GetTagsCustomQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetTagsCustomDocument, + options + ) +} +export function useGetTagsCustomLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetTagsCustomQuery, + GetTagsCustomQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery( + GetTagsCustomDocument, + options + ) +} +export function useGetTagsCustomSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetTagsCustomQuery, + GetTagsCustomQueryVariables + > +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetTagsCustomQuery, + GetTagsCustomQueryVariables + >(GetTagsCustomDocument, options) +} +export type GetTagsCustomQueryHookResult = ReturnType< + typeof useGetTagsCustomQuery +> +export type GetTagsCustomLazyQueryHookResult = ReturnType< + typeof useGetTagsCustomLazyQuery +> +export type GetTagsCustomSuspenseQueryHookResult = ReturnType< + typeof useGetTagsCustomSuspenseQuery +> +export type GetTagsCustomQueryResult = Apollo.QueryResult< + GetTagsCustomQuery, + GetTagsCustomQueryVariables +> +export const GetListsTagsDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "GetListsTags" }, + variableDefinitions: [ + { + 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: "triplesWhere" } + }, + type: { + kind: "NamedType", + name: { kind: "Name", value: "triples_bool_exp" } + } + }, + { + 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" } + } + } + } + } + ], + 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" } } + ] + } + } + ] + } + }, + { + kind: "Field", + name: { kind: "Name", value: "atoms" }, + 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: "term_id" } }, + { kind: "Field", name: { kind: "Name", value: "label" } }, + { kind: "Field", name: { kind: "Name", value: "image" } }, + { + 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: "description" } + } + ] + } + } + ] + } + }, + { + kind: "Field", + name: { kind: "Name", value: "as_object_triples_aggregate" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "triplesWhere" } + } + } + ], + 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: "as_object_triples" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "triplesWhere" } + } + }, + { + kind: "Argument", + name: { kind: "Name", value: "limit" }, + value: { kind: "IntValue", value: "10" } + }, + { + kind: "Argument", + name: { kind: "Name", value: "order_by" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "term" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "total_market_cap" + }, + value: { kind: "EnumValue", value: "desc" } + } + ] + } + } + ] + } + } + ], + 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: "image" } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode + +/** + * __useGetListsTagsQuery__ + * + * To run a query within a React component, call `useGetListsTagsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetListsTagsQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetListsTagsQuery({ + * variables: { + * where: // value for 'where' + * triplesWhere: // value for 'triplesWhere' + * limit: // value for 'limit' + * offset: // value for 'offset' + * orderBy: // value for 'orderBy' + * }, + * }); + */ +export function useGetListsTagsQuery( + baseOptions?: Apollo.QueryHookOptions< + GetListsTagsQuery, + GetListsTagsQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetListsTagsDocument, + options + ) +} +export function useGetListsTagsLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetListsTagsQuery, + GetListsTagsQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery( + GetListsTagsDocument, + options + ) +} +export function useGetListsTagsSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetListsTagsQuery, + GetListsTagsQueryVariables + > +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery( + GetListsTagsDocument, + options + ) +} +export type GetListsTagsQueryHookResult = ReturnType< + typeof useGetListsTagsQuery +> +export type GetListsTagsLazyQueryHookResult = ReturnType< + typeof useGetListsTagsLazyQuery +> +export type GetListsTagsSuspenseQueryHookResult = ReturnType< + typeof useGetListsTagsSuspenseQuery +> +export type GetListsTagsQueryResult = Apollo.QueryResult< + GetListsTagsQuery, + GetListsTagsQueryVariables +> +export const GetTaggedObjectsDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "GetTaggedObjects" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "objectId" } + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "String" } } + } + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "predicateId" } + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "String" } } + } + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "address" } + }, + 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: "object_id" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "objectId" } + } + } + ] + } + }, + { + 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: "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: "image" } }, + { + 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: "person" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "description" } + } + ] + } + } + ] + } + }, + { + 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", + name: { kind: "Name", value: "term" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { + kind: "Field", + name: { kind: "Name", value: "vaults" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + 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: "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: "counter_term" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { + kind: "Field", + name: { kind: "Name", value: "vaults" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + 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: "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" } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode + +/** + * __useGetTaggedObjectsQuery__ + * + * To run a query within a React component, call `useGetTaggedObjectsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetTaggedObjectsQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetTaggedObjectsQuery({ + * variables: { + * objectId: // value for 'objectId' + * predicateId: // value for 'predicateId' + * address: // value for 'address' + * }, + * }); + */ +export function useGetTaggedObjectsQuery( + baseOptions: Apollo.QueryHookOptions< + GetTaggedObjectsQuery, + GetTaggedObjectsQueryVariables + > & + ( + | { variables: GetTaggedObjectsQueryVariables; skip?: boolean } + | { skip: boolean } + ) +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetTaggedObjectsDocument, + options + ) +} +export function useGetTaggedObjectsLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetTaggedObjectsQuery, + GetTaggedObjectsQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetTaggedObjectsQuery, + GetTaggedObjectsQueryVariables + >(GetTaggedObjectsDocument, options) +} +export function useGetTaggedObjectsSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetTaggedObjectsQuery, + GetTaggedObjectsQueryVariables + > +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetTaggedObjectsQuery, + GetTaggedObjectsQueryVariables + >(GetTaggedObjectsDocument, options) +} +export type GetTaggedObjectsQueryHookResult = ReturnType< + typeof useGetTaggedObjectsQuery +> +export type GetTaggedObjectsLazyQueryHookResult = ReturnType< + typeof useGetTaggedObjectsLazyQuery +> +export type GetTaggedObjectsSuspenseQueryHookResult = ReturnType< + typeof useGetTaggedObjectsSuspenseQuery +> +export type GetTaggedObjectsQueryResult = Apollo.QueryResult< + GetTaggedObjectsQuery, + GetTaggedObjectsQueryVariables +> +export const GetTriplesByCreatorDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "GetTriplesByCreator" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "address" } + }, + 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: "creator_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: "counter_term_id" } + }, + { kind: "Field", name: { kind: "Name", value: "creator_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: "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: "image" } }, + { kind: "Field", name: { kind: "Name", value: "type" } } + ] + } + }, + { + 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: "type" } } + ] + } + }, + { + kind: "Field", + name: { kind: "Name", value: "term" }, + 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: "counter_term" }, + 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: "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: "shares" } } + ] + } + }, + { + kind: "Field", + name: { kind: "Name", value: "counter_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: "shares" } } + ] + } + } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode + +/** + * __useGetTriplesByCreatorQuery__ + * + * To run a query within a React component, call `useGetTriplesByCreatorQuery` and pass it any options that fit your needs. + * When your component renders, `useGetTriplesByCreatorQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetTriplesByCreatorQuery({ + * variables: { + * address: // value for 'address' + * }, + * }); + */ +export function useGetTriplesByCreatorQuery( + baseOptions?: Apollo.QueryHookOptions< + GetTriplesByCreatorQuery, + GetTriplesByCreatorQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery< + GetTriplesByCreatorQuery, + GetTriplesByCreatorQueryVariables + >(GetTriplesByCreatorDocument, options) +} +export function useGetTriplesByCreatorLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetTriplesByCreatorQuery, + GetTriplesByCreatorQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetTriplesByCreatorQuery, + GetTriplesByCreatorQueryVariables + >(GetTriplesByCreatorDocument, options) +} +export function useGetTriplesByCreatorSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetTriplesByCreatorQuery, + GetTriplesByCreatorQueryVariables + > +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetTriplesByCreatorQuery, + GetTriplesByCreatorQueryVariables + >(GetTriplesByCreatorDocument, options) +} +export type GetTriplesByCreatorQueryHookResult = ReturnType< + typeof useGetTriplesByCreatorQuery +> +export type GetTriplesByCreatorLazyQueryHookResult = ReturnType< + typeof useGetTriplesByCreatorLazyQuery +> +export type GetTriplesByCreatorSuspenseQueryHookResult = ReturnType< + typeof useGetTriplesByCreatorSuspenseQuery +> +export type GetTriplesByCreatorQueryResult = Apollo.QueryResult< + GetTriplesByCreatorQuery, + GetTriplesByCreatorQueryVariables +> +export const GetTriplesDocument = { + 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: "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", + name: { kind: "Name", value: "position_count" } + }, + { + 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", + name: { kind: "Name", value: "position_count" } + }, + { + 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 + +/** + * __useGetTriplesQuery__ + * + * To run a query within a React component, call `useGetTriplesQuery` and pass it any options that fit your needs. + * When your component renders, `useGetTriplesQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetTriplesQuery({ + * variables: { + * limit: // value for 'limit' + * offset: // value for 'offset' + * orderBy: // value for 'orderBy' + * where: // value for 'where' + * }, + * }); + */ +export function useGetTriplesQuery( + baseOptions?: Apollo.QueryHookOptions< + GetTriplesQuery, + GetTriplesQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetTriplesDocument, + options + ) +} +export function useGetTriplesLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetTriplesQuery, + GetTriplesQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery( + GetTriplesDocument, + options + ) +} +export function useGetTriplesSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery( + GetTriplesDocument, + options + ) +} +export type GetTriplesQueryHookResult = ReturnType +export type GetTriplesLazyQueryHookResult = ReturnType< + typeof useGetTriplesLazyQuery +> +export type GetTriplesSuspenseQueryHookResult = ReturnType< + typeof useGetTriplesSuspenseQuery +> +export type GetTriplesQueryResult = Apollo.QueryResult< + GetTriplesQuery, + GetTriplesQueryVariables +> +export const GetTriplesWithAggregatesDocument = { + 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: "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", + name: { kind: "Name", value: "position_count" } + }, + { + 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", + name: { kind: "Name", value: "position_count" } + }, + { + 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 + +/** + * __useGetTriplesWithAggregatesQuery__ + * + * To run a query within a React component, call `useGetTriplesWithAggregatesQuery` and pass it any options that fit your needs. + * When your component renders, `useGetTriplesWithAggregatesQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetTriplesWithAggregatesQuery({ + * variables: { + * limit: // value for 'limit' + * offset: // value for 'offset' + * orderBy: // value for 'orderBy' + * where: // value for 'where' + * }, + * }); + */ +export function useGetTriplesWithAggregatesQuery( + baseOptions?: Apollo.QueryHookOptions< + GetTriplesWithAggregatesQuery, + GetTriplesWithAggregatesQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery< + GetTriplesWithAggregatesQuery, + GetTriplesWithAggregatesQueryVariables + >(GetTriplesWithAggregatesDocument, options) +} +export function useGetTriplesWithAggregatesLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetTriplesWithAggregatesQuery, + GetTriplesWithAggregatesQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetTriplesWithAggregatesQuery, + GetTriplesWithAggregatesQueryVariables + >(GetTriplesWithAggregatesDocument, options) +} +export function useGetTriplesWithAggregatesSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetTriplesWithAggregatesQuery, + GetTriplesWithAggregatesQueryVariables + > +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetTriplesWithAggregatesQuery, + GetTriplesWithAggregatesQueryVariables + >(GetTriplesWithAggregatesDocument, options) +} +export type GetTriplesWithAggregatesQueryHookResult = ReturnType< + typeof useGetTriplesWithAggregatesQuery +> +export type GetTriplesWithAggregatesLazyQueryHookResult = ReturnType< + typeof useGetTriplesWithAggregatesLazyQuery +> +export type GetTriplesWithAggregatesSuspenseQueryHookResult = ReturnType< + typeof useGetTriplesWithAggregatesSuspenseQuery +> +export type GetTriplesWithAggregatesQueryResult = Apollo.QueryResult< + GetTriplesWithAggregatesQuery, + GetTriplesWithAggregatesQueryVariables +> +export const GetTriplesCountDocument = { + 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 + +/** + * __useGetTriplesCountQuery__ + * + * To run a query within a React component, call `useGetTriplesCountQuery` and pass it any options that fit your needs. + * When your component renders, `useGetTriplesCountQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetTriplesCountQuery({ + * variables: { + * where: // value for 'where' + * }, + * }); + */ +export function useGetTriplesCountQuery( + baseOptions?: Apollo.QueryHookOptions< + GetTriplesCountQuery, + GetTriplesCountQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetTriplesCountDocument, + options + ) +} +export function useGetTriplesCountLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetTriplesCountQuery, + GetTriplesCountQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetTriplesCountQuery, + GetTriplesCountQueryVariables + >(GetTriplesCountDocument, options) +} +export function useGetTriplesCountSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetTriplesCountQuery, + GetTriplesCountQueryVariables + > +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetTriplesCountQuery, + GetTriplesCountQueryVariables + >(GetTriplesCountDocument, options) +} +export type GetTriplesCountQueryHookResult = ReturnType< + typeof useGetTriplesCountQuery +> +export type GetTriplesCountLazyQueryHookResult = ReturnType< + typeof useGetTriplesCountLazyQuery +> +export type GetTriplesCountSuspenseQueryHookResult = ReturnType< + typeof useGetTriplesCountSuspenseQuery +> +export type GetTriplesCountQueryResult = Apollo.QueryResult< + GetTriplesCountQuery, + GetTriplesCountQueryVariables +> +export const GetTripleDocument = { + 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: "String" } } + } + } + ], + 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: "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", + name: { kind: "Name", value: "position_count" } + }, + { + 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", + name: { kind: "Name", value: "position_count" } + }, + { + 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 + +/** + * __useGetTripleQuery__ + * + * To run a query within a React component, call `useGetTripleQuery` and pass it any options that fit your needs. + * When your component renders, `useGetTripleQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetTripleQuery({ + * variables: { + * tripleId: // value for 'tripleId' + * }, + * }); + */ +export function useGetTripleQuery( + baseOptions: Apollo.QueryHookOptions< + GetTripleQuery, + GetTripleQueryVariables + > & + ({ variables: GetTripleQueryVariables; skip?: boolean } | { skip: boolean }) +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetTripleDocument, + options + ) +} +export function useGetTripleLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetTripleQuery, + GetTripleQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery( + GetTripleDocument, + options + ) +} +export function useGetTripleSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery( + GetTripleDocument, + options + ) +} +export type GetTripleQueryHookResult = ReturnType +export type GetTripleLazyQueryHookResult = ReturnType< + typeof useGetTripleLazyQuery +> +export type GetTripleSuspenseQueryHookResult = ReturnType< + typeof useGetTripleSuspenseQuery +> +export type GetTripleQueryResult = Apollo.QueryResult< + GetTripleQuery, + GetTripleQueryVariables +> +export const GetAtomTriplesWithPositionsDocument = { + 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 + +/** + * __useGetAtomTriplesWithPositionsQuery__ + * + * To run a query within a React component, call `useGetAtomTriplesWithPositionsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetAtomTriplesWithPositionsQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetAtomTriplesWithPositionsQuery({ + * variables: { + * where: // value for 'where' + * }, + * }); + */ +export function useGetAtomTriplesWithPositionsQuery( + baseOptions?: Apollo.QueryHookOptions< + GetAtomTriplesWithPositionsQuery, + GetAtomTriplesWithPositionsQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery< + GetAtomTriplesWithPositionsQuery, + GetAtomTriplesWithPositionsQueryVariables + >(GetAtomTriplesWithPositionsDocument, options) +} +export function useGetAtomTriplesWithPositionsLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetAtomTriplesWithPositionsQuery, + GetAtomTriplesWithPositionsQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetAtomTriplesWithPositionsQuery, + GetAtomTriplesWithPositionsQueryVariables + >(GetAtomTriplesWithPositionsDocument, options) +} +export function useGetAtomTriplesWithPositionsSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetAtomTriplesWithPositionsQuery, + GetAtomTriplesWithPositionsQueryVariables + > +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetAtomTriplesWithPositionsQuery, + GetAtomTriplesWithPositionsQueryVariables + >(GetAtomTriplesWithPositionsDocument, options) +} +export type GetAtomTriplesWithPositionsQueryHookResult = ReturnType< + typeof useGetAtomTriplesWithPositionsQuery +> +export type GetAtomTriplesWithPositionsLazyQueryHookResult = ReturnType< + typeof useGetAtomTriplesWithPositionsLazyQuery +> +export type GetAtomTriplesWithPositionsSuspenseQueryHookResult = ReturnType< + typeof useGetAtomTriplesWithPositionsSuspenseQuery +> +export type GetAtomTriplesWithPositionsQueryResult = Apollo.QueryResult< + GetAtomTriplesWithPositionsQuery, + GetAtomTriplesWithPositionsQueryVariables +> +export const GetTriplesWithPositionsDocument = { + 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: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "triples_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: "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: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_and" }, + value: { + kind: "ListValue", + values: [ + { + kind: "Variable", + name: { kind: "Name", value: "where" } + }, + { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_or" }, + value: { + kind: "ListValue", + values: [ + { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "term" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "vaults" + }, + value: { + 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" + } + } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] + }, + { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "counter_term" + }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "vaults" + }, + value: { + 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: "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: "accounts" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "id" } + } + ] + } + } + ] + } + }, + { + kind: "Field", + name: { kind: "Name", value: "term" }, + 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: "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: "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: "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 + +/** + * __useGetTriplesWithPositionsQuery__ + * + * To run a query within a React component, call `useGetTriplesWithPositionsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetTriplesWithPositionsQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetTriplesWithPositionsQuery({ + * variables: { + * limit: // value for 'limit' + * offset: // value for 'offset' + * orderBy: // value for 'orderBy' + * where: // value for 'where' + * address: // value for 'address' + * }, + * }); + */ +export function useGetTriplesWithPositionsQuery( + baseOptions: Apollo.QueryHookOptions< + GetTriplesWithPositionsQuery, + GetTriplesWithPositionsQueryVariables + > & + ( + | { variables: GetTriplesWithPositionsQueryVariables; skip?: boolean } + | { skip: boolean } + ) +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery< + GetTriplesWithPositionsQuery, + GetTriplesWithPositionsQueryVariables + >(GetTriplesWithPositionsDocument, options) +} +export function useGetTriplesWithPositionsLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetTriplesWithPositionsQuery, + GetTriplesWithPositionsQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetTriplesWithPositionsQuery, + GetTriplesWithPositionsQueryVariables + >(GetTriplesWithPositionsDocument, options) +} +export function useGetTriplesWithPositionsSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetTriplesWithPositionsQuery, + GetTriplesWithPositionsQueryVariables + > +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetTriplesWithPositionsQuery, + GetTriplesWithPositionsQueryVariables + >(GetTriplesWithPositionsDocument, options) +} +export type GetTriplesWithPositionsQueryHookResult = ReturnType< + typeof useGetTriplesWithPositionsQuery +> +export type GetTriplesWithPositionsLazyQueryHookResult = ReturnType< + typeof useGetTriplesWithPositionsLazyQuery +> +export type GetTriplesWithPositionsSuspenseQueryHookResult = ReturnType< + typeof useGetTriplesWithPositionsSuspenseQuery +> +export type GetTriplesWithPositionsQueryResult = Apollo.QueryResult< + GetTriplesWithPositionsQuery, + GetTriplesWithPositionsQueryVariables +> +export const GetTriplesByAtomDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "GetTriplesByAtom" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "term_id" } + }, + type: { kind: "NamedType", name: { kind: "Name", value: "String" } } + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "address" } + }, + type: { kind: "NamedType", name: { kind: "Name", value: "String" } } + } + ], + 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: "_or" }, + value: { + kind: "ListValue", + values: [ + { + 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: "term_id" } + } + } + ] + } + } + ] + }, + { + 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: "term_id" } + } + } + ] + } + } + ] + }, + { + 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: "term_id" } + } + } + ] + } + } + ] + } + ] + } + } + ] + } + } + ], + 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: "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: "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: "image" } + }, + { + kind: "Field", + name: { kind: "Name", value: "type" } + } + ] + } + }, + { + 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: "type" } + } + ] + } + }, + { + kind: "Field", + name: { kind: "Name", value: "term" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "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: "_ilike" + }, + value: { + kind: "Variable", + name: { + kind: "Name", + value: "address" + } + } + } + ] + } + } + ] + } + } + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "shares" } + }, + { + kind: "Field", + name: { kind: "Name", value: "account_id" } + } + ] + } + }, + { + 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: "counter_term" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "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: "_ilike" + }, + value: { + kind: "Variable", + name: { + kind: "Name", + value: "address" + } + } + } + ] + } + } + ] + } + } + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "shares" } + }, + { + kind: "Field", + name: { kind: "Name", value: "account_id" } + } + ] + } + }, + { + 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" } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode + +/** + * __useGetTriplesByAtomQuery__ + * + * To run a query within a React component, call `useGetTriplesByAtomQuery` and pass it any options that fit your needs. + * When your component renders, `useGetTriplesByAtomQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetTriplesByAtomQuery({ + * variables: { + * term_id: // value for 'term_id' + * address: // value for 'address' + * }, + * }); + */ +export function useGetTriplesByAtomQuery( + baseOptions?: Apollo.QueryHookOptions< + GetTriplesByAtomQuery, + GetTriplesByAtomQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetTriplesByAtomDocument, + options + ) +} +export function useGetTriplesByAtomLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetTriplesByAtomQuery, + GetTriplesByAtomQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetTriplesByAtomQuery, + GetTriplesByAtomQueryVariables + >(GetTriplesByAtomDocument, options) +} +export function useGetTriplesByAtomSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetTriplesByAtomQuery, + GetTriplesByAtomQueryVariables + > +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetTriplesByAtomQuery, + GetTriplesByAtomQueryVariables + >(GetTriplesByAtomDocument, options) +} +export type GetTriplesByAtomQueryHookResult = ReturnType< + typeof useGetTriplesByAtomQuery +> +export type GetTriplesByAtomLazyQueryHookResult = ReturnType< + typeof useGetTriplesByAtomLazyQuery +> +export type GetTriplesByAtomSuspenseQueryHookResult = ReturnType< + typeof useGetTriplesByAtomSuspenseQuery +> +export type GetTriplesByAtomQueryResult = Apollo.QueryResult< + GetTriplesByAtomQuery, + GetTriplesByAtomQueryVariables +> +export const GetTriplesByUriDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "GetTriplesByUri" }, + variableDefinitions: [ + { + 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: "uriRegex" } + }, + 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: "_iregex" }, + value: { + kind: "Variable", + name: { + kind: "Name", + value: "uriRegex" + } + } + } + ] + } + } + ] + }, + { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "value" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "thing" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "url" + }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "_iregex" + }, + value: { + kind: "Variable", + name: { + kind: "Name", + value: "uriRegex" + } + } + } + ] + } + } + ] + } + } + ] + } + } + ] + }, + { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "value" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "person" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "url" + }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "_iregex" + }, + value: { + kind: "Variable", + name: { + kind: "Name", + value: "uriRegex" + } + } + } + ] + } + } + ] + } + } + ] + } + } + ] + }, + { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "value" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "organization" + }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "url" + }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "_iregex" + }, + value: { + kind: "Variable", + name: { + kind: "Name", + value: "uriRegex" + } + } + } + ] + } + } + ] + } + } + ] + } + } + ] + }, + { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "value" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "book" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "url" + }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "_iregex" + }, + value: { + kind: "Variable", + name: { + kind: "Name", + value: "uriRegex" + } + } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + ] + } + } + ] + } + } + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "as_subject_triples_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: "nodes" }, + 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: "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: "vaults" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { + kind: "Name", + value: "curve_id" + } + } + ] + } + } + ] + } + }, + { + kind: "Field", + name: { kind: "Name", value: "counter_term" }, + 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: "vaults" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { + kind: "Name", + value: "curve_id" + } + } + ] + } + } + ] + } + }, + { + kind: "Field", + name: { kind: "Name", value: "subject" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "label" } + }, + { + kind: "Field", + name: { kind: "Name", value: "image" } + }, + { + kind: "Field", + name: { kind: "Name", value: "type" } + }, + { + kind: "Field", + name: { kind: "Name", value: "term_id" } + } + ] + } + }, + { + kind: "Field", + name: { kind: "Name", value: "predicate" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "label" } + }, + { + kind: "Field", + name: { kind: "Name", value: "image" } + }, + { + kind: "Field", + name: { kind: "Name", value: "type" } + }, + { + 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: "label" } + }, + { + kind: "Field", + name: { kind: "Name", value: "image" } + }, + { + kind: "Field", + name: { kind: "Name", value: "type" } + }, + { + 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: "_ilike" + }, + value: { + kind: "Variable", + name: { + kind: "Name", + value: "address" + } + } + } + ] + } + } + ] + } + } + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "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: "counter_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: "shares" } + } + ] + } + }, + { + kind: "Field", + name: { + kind: "Name", + value: "counter_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: "creator" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "label" } + }, + { + kind: "Field", + name: { kind: "Name", value: "id" } + }, + { + kind: "Field", + name: { kind: "Name", value: "type" } + } + ] + } + } + ] + } + } + ] + } + }, + { + kind: "Field", + name: { kind: "Name", value: "as_object_triples_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: "nodes" }, + 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: "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: "vaults" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { + kind: "Name", + value: "curve_id" + } + } + ] + } + } + ] + } + }, + { + kind: "Field", + name: { kind: "Name", value: "counter_term" }, + 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: "vaults" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { + kind: "Name", + value: "curve_id" + } + } + ] + } + } + ] + } + }, + { + kind: "Field", + name: { kind: "Name", value: "predicate" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "label" } + }, + { + kind: "Field", + name: { kind: "Name", value: "image" } + }, + { + kind: "Field", + name: { kind: "Name", value: "type" } + }, + { + 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: "label" } + }, + { + kind: "Field", + name: { kind: "Name", value: "image" } + }, + { + kind: "Field", + name: { kind: "Name", value: "type" } + }, + { + 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: "label" } + }, + { + kind: "Field", + name: { kind: "Name", value: "image" } + }, + { + kind: "Field", + name: { kind: "Name", value: "type" } + }, + { + kind: "Field", + name: { kind: "Name", value: "term_id" } + } + ] + } + }, + { + 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: "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: "shares" } + } + ] + } + }, + { + kind: "Field", + name: { + kind: "Name", + value: "counter_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: "counter_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: "shares" } + } + ] + } + }, + { + kind: "Field", + name: { kind: "Name", value: "creator" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "label" } + }, + { + kind: "Field", + name: { kind: "Name", value: "id" } + }, + { + kind: "Field", + name: { kind: "Name", value: "type" } + } + ] + } + } + ] + } + } + ] + } + }, + { 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: "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: "value" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "thing" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "description" } + }, + { + kind: "Field", + name: { kind: "Name", value: "url" } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode + +/** + * __useGetTriplesByUriQuery__ + * + * To run a query within a React component, call `useGetTriplesByUriQuery` and pass it any options that fit your needs. + * When your component renders, `useGetTriplesByUriQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetTriplesByUriQuery({ + * variables: { + * address: // value for 'address' + * uriRegex: // value for 'uriRegex' + * }, + * }); + */ +export function useGetTriplesByUriQuery( + baseOptions?: Apollo.QueryHookOptions< + GetTriplesByUriQuery, + GetTriplesByUriQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetTriplesByUriDocument, + options + ) +} +export function useGetTriplesByUriLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetTriplesByUriQuery, + GetTriplesByUriQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetTriplesByUriQuery, + GetTriplesByUriQueryVariables + >(GetTriplesByUriDocument, options) +} +export function useGetTriplesByUriSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetTriplesByUriQuery, + GetTriplesByUriQueryVariables + > +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetTriplesByUriQuery, + GetTriplesByUriQueryVariables + >(GetTriplesByUriDocument, options) +} +export type GetTriplesByUriQueryHookResult = ReturnType< + typeof useGetTriplesByUriQuery +> +export type GetTriplesByUriLazyQueryHookResult = ReturnType< + typeof useGetTriplesByUriLazyQuery +> +export type GetTriplesByUriSuspenseQueryHookResult = ReturnType< + typeof useGetTriplesByUriSuspenseQuery +> +export type GetTriplesByUriQueryResult = Apollo.QueryResult< + GetTriplesByUriQuery, + GetTriplesByUriQueryVariables +> +export const GetVaultsDocument = { + 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 + +/** + * __useGetVaultsQuery__ + * + * To run a query within a React component, call `useGetVaultsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetVaultsQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetVaultsQuery({ + * variables: { + * limit: // value for 'limit' + * offset: // value for 'offset' + * orderBy: // value for 'orderBy' + * where: // value for 'where' + * }, + * }); + */ +export function useGetVaultsQuery( + baseOptions?: Apollo.QueryHookOptions +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetVaultsDocument, + options + ) +} +export function useGetVaultsLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetVaultsQuery, + GetVaultsQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery( + GetVaultsDocument, + options + ) +} +export function useGetVaultsSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery( + GetVaultsDocument, + options + ) +} +export type GetVaultsQueryHookResult = ReturnType +export type GetVaultsLazyQueryHookResult = ReturnType< + typeof useGetVaultsLazyQuery +> +export type GetVaultsSuspenseQueryHookResult = ReturnType< + typeof useGetVaultsSuspenseQuery +> +export type GetVaultsQueryResult = Apollo.QueryResult< + GetVaultsQuery, + GetVaultsQueryVariables +> +export const GetVaultDocument = { + 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: "String" } } + } + }, + { + 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 + +/** + * __useGetVaultQuery__ + * + * To run a query within a React component, call `useGetVaultQuery` and pass it any options that fit your needs. + * When your component renders, `useGetVaultQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetVaultQuery({ + * variables: { + * termId: // value for 'termId' + * curveId: // value for 'curveId' + * }, + * }); + */ +export function useGetVaultQuery( + baseOptions: Apollo.QueryHookOptions & + ({ variables: GetVaultQueryVariables; skip?: boolean } | { skip: boolean }) +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetVaultDocument, + options + ) +} +export function useGetVaultLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetVaultQuery, + GetVaultQueryVariables + > +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery( + GetVaultDocument, + options + ) +} +export function useGetVaultSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery( + GetVaultDocument, + options + ) +} +export type GetVaultQueryHookResult = ReturnType +export type GetVaultLazyQueryHookResult = ReturnType< + typeof useGetVaultLazyQuery +> +export type GetVaultSuspenseQueryHookResult = ReturnType< + typeof useGetVaultSuspenseQuery +> +export type GetVaultQueryResult = Apollo.QueryResult< + GetVaultQuery, + GetVaultQueryVariables +> +export const EventsDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "subscription", + name: { kind: "Name", value: "Events" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "addresses" } + }, + type: { + kind: "NonNullType", + type: { + kind: "ListType", + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" } + } + } + } + } + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "limit" } + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } } + } + } + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "events" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "order_by" }, + value: { + kind: "ListValue", + values: [ + { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "block_number" }, + value: { kind: "EnumValue", value: "desc" } + } + ] + } + ] + } + }, + { + kind: "Argument", + name: { kind: "Name", value: "limit" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "limit" } + } + } + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "FragmentSpread", + name: { kind: "Name", value: "EventDetailsSubscription" } + } + ] + } + } + ] + } + }, + { + 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: "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: "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: "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: "FragmentDefinition", + name: { kind: "Name", value: "EventDetailsSubscription" }, + 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_id" } }, + { + kind: "Field", + name: { kind: "Name", value: "term" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { + kind: "Field", + name: { kind: "Name", value: "total_market_cap" } + }, + { + kind: "Field", + name: { kind: "Name", value: "vaults" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + 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: "TripleMetadataSubscription" } + }, + { 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: "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: "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: "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: "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: "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: "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: "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: "FragmentDefinition", + name: { kind: "Name", value: "TripleMetadataSubscription" }, + 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: "creator" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "image" } }, + { kind: "Field", name: { kind: "Name", value: "label" } }, + { kind: "Field", name: { kind: "Name", value: "id" } } + ] + } + }, + { kind: "Field", name: { kind: "Name", value: "creator_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: "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: "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: "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 + +/** + * __useEventsSubscription__ + * + * To run a query within a React component, call `useEventsSubscription` and pass it any options that fit your needs. + * When your component renders, `useEventsSubscription` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useEventsSubscription({ + * variables: { + * addresses: // value for 'addresses' + * limit: // value for 'limit' + * }, + * }); + */ +export function useEventsSubscription( + baseOptions: Apollo.SubscriptionHookOptions< + EventsSubscription, + EventsSubscriptionVariables + > & + ( + | { variables: EventsSubscriptionVariables; skip?: boolean } + | { skip: boolean } + ) +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useSubscription< + EventsSubscription, + EventsSubscriptionVariables + >(EventsDocument, options) +} +export type EventsSubscriptionHookResult = ReturnType< + typeof useEventsSubscription +> +export type EventsSubscriptionResult = + Apollo.SubscriptionResult +export const AccountClaimsAggregate = { + kind: "Document", + definitions: [ + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "AccountClaimsAggregate" }, + 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" } } + ] + } + } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode +export const AccountClaims = { + kind: "Document", + definitions: [ + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "AccountClaims" }, + 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: "claimsLimit" } + } + }, + { + kind: "Argument", + name: { kind: "Name", value: "offset" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "claimsOffset" } + } + }, + { + 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" } } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode +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: "_ilike" + }, + 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: "block_number" } + } + ] + } + } + ] + } + }, + { + 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: "_ilike" + }, + 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" } + } + ] + } + } + ] + } + }, + { + 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" } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] +} 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: "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: "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" } } + ] + } + } + ] + } + } + ] + } + } + ] +} 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: "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: "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" } } + ] + } + } + ] + } + } + ] + } + } + ] +} 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" } } + ] + } + } + ] + } + } + ] + } + } + ] +} 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" } } + ] + } + } + ] + } + } + ] + } + } + ] +} 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", + name: { kind: "Name", value: "position_count" } + }, + { + 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", + name: { kind: "Name", value: "position_count" } + }, + { + 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: "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: "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: "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: "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: "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: "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: "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: "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: "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: "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: "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: "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: "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: "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", + name: { kind: "Name", value: "position_count" } + }, + { + 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", + name: { kind: "Name", value: "position_count" } + }, + { + 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 TripleMetadataSubscription = { + kind: "Document", + definitions: [ + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "TripleMetadataSubscription" }, + 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: "creator" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "image" } }, + { kind: "Field", name: { kind: "Name", value: "label" } }, + { kind: "Field", name: { kind: "Name", value: "id" } } + ] + } + }, + { kind: "Field", name: { kind: "Name", value: "creator_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: "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: "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" } } + ] + } + } + ] + } + } + ] +} 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 EventDetailsSubscription = { + kind: "Document", + definitions: [ + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "EventDetailsSubscription" }, + 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_id" } }, + { + kind: "Field", + name: { kind: "Name", value: "term" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { + kind: "Field", + name: { kind: "Name", value: "total_market_cap" } + }, + { + kind: "Field", + name: { kind: "Name", value: "vaults" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + 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: "TripleMetadataSubscription" } + }, + { 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: "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: "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: "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: "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: "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: "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: "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: "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: "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: "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: "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: "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: "FragmentDefinition", + name: { kind: "Name", value: "TripleMetadataSubscription" }, + 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: "creator" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "image" } }, + { kind: "Field", name: { kind: "Name", value: "label" } }, + { kind: "Field", name: { kind: "Name", value: "id" } } + ] + } + }, + { kind: "Field", name: { kind: "Name", value: "creator_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: "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: "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: "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 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" } } + ] + } + } + ] + } + } + ] + } + } + ] +} 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: "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 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" } } + ] + } + } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode +export const PinPerson = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "pinPerson" }, + 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" } } + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "email" } + }, + type: { kind: "NamedType", name: { kind: "Name", value: "String" } } + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "identifier" } + }, + type: { kind: "NamedType", name: { kind: "Name", value: "String" } } + } + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "pinPerson" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "person" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "name" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "name" } + } + }, + { + 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: "url" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "url" } + } + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "email" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "email" } + } + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "identifier" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "identifier" } + } + } + ] + } + } + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "uri" } } + ] + } + } + ] + } + } + ] +} 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: "claimsLimit" } + }, + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } } + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "claimsOffset" } + }, + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } } + }, + { + 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: "claimsLimit" } + }, + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } } + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "claimsOffset" } + }, + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } } + }, + { + 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: "claimsLimit" } + }, + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } } + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "claimsOffset" } + }, + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } } + }, + { + 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: "_ilike" + }, + 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: "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" } + } + ] + } + } + ] + } + }, + { + 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" } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] +} 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: "claimsLimit" } + }, + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } } + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "claimsOffset" } + }, + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } } + }, + { + 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: "_ilike" + }, + 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: "claimsLimit" } + }, + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } } + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "claimsOffset" } + }, + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } } + }, + { + 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: "AccountClaimsAggregate" } + }, + { + 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: "AccountClaimsAggregate" }, + 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: "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: "block_number" } + } + ] + } + } + ] + } + }, + { + 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: "_ilike" + }, + 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 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: "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: "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: "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: "Field", + name: { kind: "Name", value: "as_subject_triples_aggregate" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "nodes" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "predicate" }, + 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: "object" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "label" } + }, + { + kind: "Field", + name: { kind: "Name", value: "term_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: "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: "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: "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" } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] +} 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: "term_id" } + }, + 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: "term_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: "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: "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: "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: "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: "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: "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: "String" } } + } + }, + { + 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: "StringValue", + value: "3", + block: false + } + } + ] + } + } + ] + } + } + ], + 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: "String" } } + } + }, + { + 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: "StringValue", + value: "3", + block: false + } + ] + } + } + ] + } + } + ] + } + } + ], + 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 GetAtomsByCreator = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "GetAtomsByCreator" }, + 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: "atoms" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "creator" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "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: "data" } }, + { kind: "Field", name: { kind: "Name", value: "image" } }, + { kind: "Field", name: { kind: "Name", value: "label" } }, + { kind: "Field", name: { kind: "Name", value: "type" } }, + { + 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: "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: "image" } + }, + { + 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" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "position_count" } + } + ] + } + }, + { + kind: "Field", + name: { kind: "Name", value: "total_market_cap" } + } + ] + } + }, + { + kind: "Field", + name: { kind: "Name", value: "as_subject_triples_aggregate" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "nodes" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "predicate" }, + 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: "object" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "label" } + }, + { + kind: "Field", + name: { kind: "Name", value: "term_id" } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode +export const GetEventsFeed = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "GetEventsFeed" }, + 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: "addresses" } + }, + type: { + kind: "NonNullType", + type: { + kind: "ListType", + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" } + } + } + } + } + }, + { + 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: "Where" } + }, + type: { + kind: "NamedType", + name: { kind: "Name", value: "events_bool_exp" } + } + } + ], + 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: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_and" }, + value: { + kind: "ListValue", + values: [ + { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_or" }, + value: { + kind: "ListValue", + values: [ + { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "deposit" + }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "sender_id" + }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "_in" + }, + value: { + kind: "Variable", + name: { + kind: "Name", + value: "addresses" + } + } + } + ] + } + } + ] + } + } + ] + }, + { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "redemption" + }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "sender_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", + 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: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "created_at" }, + value: { kind: "EnumValue", value: "desc" } + } + ] + } + }, + { + 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: "_or" }, + value: { + kind: "ListValue", + values: [ + { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "deposit" + }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "sender_id" + }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "_in" + }, + value: { + kind: "Variable", + name: { + kind: "Name", + value: "addresses" + } + } + } + ] + } + } + ] + } + } + ] + }, + { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "redemption" + }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "sender_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: "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: "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_id" } + }, + { + kind: "Field", + name: { kind: "Name", value: "term" }, + 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: "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: "shares" } + }, + { + kind: "Field", + name: { kind: "Name", value: "account_id" } + } + ] + } + }, + { + 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_id" } + }, + { + kind: "Field", + name: { kind: "Name", value: "counter_term" }, + 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: "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: "shares" } + }, + { + kind: "Field", + name: { kind: "Name", value: "account_id" } + } + ] + } + }, + { + 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: "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: "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: "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: "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: "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: "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: "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: "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: "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: "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: "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: "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: "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: "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: "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: "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: "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", + name: { kind: "Name", value: "position_count" } + }, + { + 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", + name: { kind: "Name", value: "position_count" } + }, + { + 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 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: "String" } } + } + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "predicateId" } + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "String" } } + } + }, + { + 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: "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: "String" } } + } + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "predicateId" } + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "String" } } + } + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "objectId" } + }, + 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", + 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: "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: "String" } } + } + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "predicateId" } + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "String" } } + } + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "objectId" } + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "String" } } + } + }, + { + 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: "String" } } + } + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "predicateId" } + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "String" } } + } + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "objectId" } + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "String" } } + } + }, + { + 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 GetFollowingsFromAddress = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "getFollowingsFromAddress" }, + 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: "following" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "args" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "address" }, + 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: "image" } }, + { kind: "Field", name: { kind: "Name", value: "label" } }, + { kind: "Field", name: { kind: "Name", value: "type" } }, + { + kind: "Field", + name: { kind: "Name", value: "triples" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "order_by" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "block_number" }, + value: { kind: "EnumValue", value: "desc" } + } + ] + } + } + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "term_id" } + }, + { + kind: "Field", + name: { kind: "Name", value: "creator" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "label" } + }, + { + kind: "Field", + name: { kind: "Name", value: "id" } + }, + { + kind: "Field", + name: { kind: "Name", value: "type" } + } + ] + } + }, + { + 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: "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: "image" } + }, + { + kind: "Field", + name: { kind: "Name", value: "type" } + } + ] + } + }, + { + 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: "type" } + } + ] + } + }, + { + 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: "id" } + }, + { + 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: "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: "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: "counter_term" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "id" } + }, + { + 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: "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: "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: "positions_aggregate" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "limit" }, + value: { kind: "IntValue", value: "10" } + } + ], + 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: "shares" } + }, + { + kind: "Field", + name: { kind: "Name", value: "term" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "id" } + }, + { + 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: "object" + }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { + kind: "Name", + value: "term_id" + } + }, + { + kind: "Field", + name: { + kind: "Name", + value: "type" + } + }, + { + kind: "Field", + name: { + kind: "Name", + value: "image" + } + }, + { + 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: "type" + } + }, + { + kind: "Field", + name: { + kind: "Name", + value: "image" + } + }, + { + kind: "Field", + name: { + kind: "Name", + value: "label" + } + } + ] + } + }, + { + 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: "type" + } + }, + { + kind: "Field", + name: { + kind: "Name", + value: "image" + } + }, + { + kind: "Field", + name: { + kind: "Name", + value: "label" + } + } + ] + } + }, + { + kind: "Field", + name: { + kind: "Name", + value: "counter_term" + }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { + kind: "Name", + value: "id" + } + }, + { + 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: "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: "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: "term" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { + kind: "Name", + value: "id" + } + }, + { + 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: "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: "shares" + } + }, + { + kind: "Field", + name: { + kind: "Name", + value: "account" + }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { + kind: "Name", + value: "id" + } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode +export const GetFollowersFromAddress = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "getFollowersFromAddress" }, + 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: "triples" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "predicate" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "label" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "StringValue", + value: "follow", + block: false + } + } + ] + } + } + ] + } + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "object" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "accounts" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "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: "predicate" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { 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: "term" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { + kind: "Field", + name: { kind: "Name", value: "positions" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + 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: "id" } }, + { + kind: "Field", + name: { kind: "Name", value: "positions" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + 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" } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode +export const GetFollowingsTriples = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "GetFollowingsTriples" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "accountId" } + }, + 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: "predicate" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "label" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "StringValue", + value: "follow", + block: false + } + } + ] + } + } + ] + } + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "subject" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "accounts" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "id" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "Variable", + name: { + kind: "Name", + value: "accountId" + } + } + } + ] + } + } + ] + } + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "type" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "StringValue", + value: "Account", + block: false + } + } + ] + } + } + ] + } + } + ] + } + } + ], + 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: "term_id" } + }, + { kind: "Field", name: { kind: "Name", value: "label" } }, + { kind: "Field", name: { kind: "Name", value: "type" } }, + { kind: "Field", name: { kind: "Name", value: "image" } }, + { + kind: "Field", + name: { kind: "Name", value: "accounts" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "id" } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode +export const GetAccountById = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "GetAccountById" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "id" } }, + 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: "id" } } + } + ], + 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 GetPersonsByIdentifier = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "GetPersonsByIdentifier" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "identifier" } + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "String" } } + } + } + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "persons" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "identifier" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "identifier" } + } + } + ] + } + } + ] + } + } + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { 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: "email" } }, + { kind: "Field", name: { kind: "Name", value: "url" } }, + { kind: "Field", name: { kind: "Name", value: "identifier" } } + ] + } + } + ] + } + } + ] +} 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: "String" } } + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "objectId" } + }, + type: { kind: "NamedType", name: { kind: "Name", value: "String" } } + } + ], + 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: "Variable", + name: { kind: "Name", 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: "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: "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" }, + 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: "String" } } + }, + { + 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: "String" } } + }, + { + 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 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: "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: "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: "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: "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 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: "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: "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: "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: "String" } } + } + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "predicateId" } + }, + 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: "_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: "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", + name: { kind: "Name", value: "position_count" } + }, + { + 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", + name: { kind: "Name", value: "position_count" } + }, + { + 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: "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", + name: { kind: "Name", value: "position_count" } + }, + { + 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", + name: { kind: "Name", value: "position_count" } + }, + { + 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 GetListsTags = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "GetListsTags" }, + variableDefinitions: [ + { + 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: "triplesWhere" } + }, + type: { + kind: "NamedType", + name: { kind: "Name", value: "triples_bool_exp" } + } + }, + { + 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" } + } + } + } + } + ], + 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" } } + ] + } + } + ] + } + }, + { + kind: "Field", + name: { kind: "Name", value: "atoms" }, + 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: "term_id" } }, + { kind: "Field", name: { kind: "Name", value: "label" } }, + { kind: "Field", name: { kind: "Name", value: "image" } }, + { + 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: "description" } + } + ] + } + } + ] + } + }, + { + kind: "Field", + name: { kind: "Name", value: "as_object_triples_aggregate" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "triplesWhere" } + } + } + ], + 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: "as_object_triples" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "triplesWhere" } + } + }, + { + kind: "Argument", + name: { kind: "Name", value: "limit" }, + value: { kind: "IntValue", value: "10" } + }, + { + kind: "Argument", + name: { kind: "Name", value: "order_by" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "term" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "total_market_cap" + }, + value: { kind: "EnumValue", value: "desc" } + } + ] + } + } + ] + } + } + ], + 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: "image" } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode +export const GetTaggedObjects = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "GetTaggedObjects" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "objectId" } + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "String" } } + } + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "predicateId" } + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "String" } } + } + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "address" } + }, + 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: "object_id" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "objectId" } + } + } + ] + } + }, + { + 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: "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: "image" } }, + { + 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: "person" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "description" } + } + ] + } + } + ] + } + }, + { + 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", + name: { kind: "Name", value: "term" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { + kind: "Field", + name: { kind: "Name", value: "vaults" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + 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: "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: "counter_term" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { + kind: "Field", + name: { kind: "Name", value: "vaults" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + 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: "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" } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode +export const GetTriplesByCreator = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "GetTriplesByCreator" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "address" } + }, + 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: "creator_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: "counter_term_id" } + }, + { kind: "Field", name: { kind: "Name", value: "creator_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: "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: "image" } }, + { kind: "Field", name: { kind: "Name", value: "type" } } + ] + } + }, + { + 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: "type" } } + ] + } + }, + { + kind: "Field", + name: { kind: "Name", value: "term" }, + 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: "counter_term" }, + 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: "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: "shares" } } + ] + } + }, + { + kind: "Field", + name: { kind: "Name", value: "counter_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: "shares" } } + ] + } + } + ] + } + } + ] + } + } + ] +} 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: "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", + name: { kind: "Name", value: "position_count" } + }, + { + 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", + name: { kind: "Name", value: "position_count" } + }, + { + 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: "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", + name: { kind: "Name", value: "position_count" } + }, + { + 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", + name: { kind: "Name", value: "position_count" } + }, + { + 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: "String" } } + } + } + ], + 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: "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", + name: { kind: "Name", value: "position_count" } + }, + { + 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", + name: { kind: "Name", value: "position_count" } + }, + { + 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: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "triples_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: "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: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_and" }, + value: { + kind: "ListValue", + values: [ + { + kind: "Variable", + name: { kind: "Name", value: "where" } + }, + { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_or" }, + value: { + kind: "ListValue", + values: [ + { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "term" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "vaults" + }, + value: { + 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" + } + } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] + }, + { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "counter_term" + }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "vaults" + }, + value: { + 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: "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: "accounts" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "id" } + } + ] + } + } + ] + } + }, + { + kind: "Field", + name: { kind: "Name", value: "term" }, + 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: "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: "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: "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 GetTriplesByAtom = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "GetTriplesByAtom" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "term_id" } + }, + type: { kind: "NamedType", name: { kind: "Name", value: "String" } } + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "address" } + }, + type: { kind: "NamedType", name: { kind: "Name", value: "String" } } + } + ], + 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: "_or" }, + value: { + kind: "ListValue", + values: [ + { + 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: "term_id" } + } + } + ] + } + } + ] + }, + { + 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: "term_id" } + } + } + ] + } + } + ] + }, + { + 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: "term_id" } + } + } + ] + } + } + ] + } + ] + } + } + ] + } + } + ], + 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: "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: "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: "image" } + }, + { + kind: "Field", + name: { kind: "Name", value: "type" } + } + ] + } + }, + { + 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: "type" } + } + ] + } + }, + { + kind: "Field", + name: { kind: "Name", value: "term" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "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: "_ilike" + }, + value: { + kind: "Variable", + name: { + kind: "Name", + value: "address" + } + } + } + ] + } + } + ] + } + } + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "shares" } + }, + { + kind: "Field", + name: { kind: "Name", value: "account_id" } + } + ] + } + }, + { + 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: "counter_term" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "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: "_ilike" + }, + value: { + kind: "Variable", + name: { + kind: "Name", + value: "address" + } + } + } + ] + } + } + ] + } + } + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "shares" } + }, + { + kind: "Field", + name: { kind: "Name", value: "account_id" } + } + ] + } + }, + { + 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" } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode +export const GetTriplesByUri = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "GetTriplesByUri" }, + variableDefinitions: [ + { + 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: "uriRegex" } + }, + 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: "_iregex" }, + value: { + kind: "Variable", + name: { + kind: "Name", + value: "uriRegex" + } + } + } + ] + } + } + ] + }, + { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "value" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "thing" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "url" + }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "_iregex" + }, + value: { + kind: "Variable", + name: { + kind: "Name", + value: "uriRegex" + } + } + } + ] + } + } + ] + } + } + ] + } + } + ] + }, + { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "value" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "person" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "url" + }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "_iregex" + }, + value: { + kind: "Variable", + name: { + kind: "Name", + value: "uriRegex" + } + } + } + ] + } + } + ] + } + } + ] + } + } + ] + }, + { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "value" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "organization" + }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "url" + }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "_iregex" + }, + value: { + kind: "Variable", + name: { + kind: "Name", + value: "uriRegex" + } + } + } + ] + } + } + ] + } + } + ] + } + } + ] + }, + { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "value" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "book" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "url" + }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { + kind: "Name", + value: "_iregex" + }, + value: { + kind: "Variable", + name: { + kind: "Name", + value: "uriRegex" + } + } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + ] + } + } + ] + } + } + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "as_subject_triples_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: "nodes" }, + 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: "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: "vaults" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { + kind: "Name", + value: "curve_id" + } + } + ] + } + } + ] + } + }, + { + kind: "Field", + name: { kind: "Name", value: "counter_term" }, + 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: "vaults" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { + kind: "Name", + value: "curve_id" + } + } + ] + } + } + ] + } + }, + { + kind: "Field", + name: { kind: "Name", value: "subject" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "label" } + }, + { + kind: "Field", + name: { kind: "Name", value: "image" } + }, + { + kind: "Field", + name: { kind: "Name", value: "type" } + }, + { + kind: "Field", + name: { kind: "Name", value: "term_id" } + } + ] + } + }, + { + kind: "Field", + name: { kind: "Name", value: "predicate" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "label" } + }, + { + kind: "Field", + name: { kind: "Name", value: "image" } + }, + { + kind: "Field", + name: { kind: "Name", value: "type" } + }, + { + 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: "label" } + }, + { + kind: "Field", + name: { kind: "Name", value: "image" } + }, + { + kind: "Field", + name: { kind: "Name", value: "type" } + }, + { + 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: "_ilike" + }, + value: { + kind: "Variable", + name: { + kind: "Name", + value: "address" + } + } + } + ] + } + } + ] + } + } + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "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: "counter_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: "shares" } + } + ] + } + }, + { + kind: "Field", + name: { + kind: "Name", + value: "counter_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: "creator" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "label" } + }, + { + kind: "Field", + name: { kind: "Name", value: "id" } + }, + { + kind: "Field", + name: { kind: "Name", value: "type" } + } + ] + } + } + ] + } + } + ] + } + }, + { + kind: "Field", + name: { kind: "Name", value: "as_object_triples_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: "nodes" }, + 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: "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: "vaults" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { + kind: "Name", + value: "curve_id" + } + } + ] + } + } + ] + } + }, + { + kind: "Field", + name: { kind: "Name", value: "counter_term" }, + 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: "vaults" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { + kind: "Name", + value: "curve_id" + } + } + ] + } + } + ] + } + }, + { + kind: "Field", + name: { kind: "Name", value: "predicate" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "label" } + }, + { + kind: "Field", + name: { kind: "Name", value: "image" } + }, + { + kind: "Field", + name: { kind: "Name", value: "type" } + }, + { + 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: "label" } + }, + { + kind: "Field", + name: { kind: "Name", value: "image" } + }, + { + kind: "Field", + name: { kind: "Name", value: "type" } + }, + { + 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: "label" } + }, + { + kind: "Field", + name: { kind: "Name", value: "image" } + }, + { + kind: "Field", + name: { kind: "Name", value: "type" } + }, + { + kind: "Field", + name: { kind: "Name", value: "term_id" } + } + ] + } + }, + { + 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: "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: "shares" } + } + ] + } + }, + { + kind: "Field", + name: { + kind: "Name", + value: "counter_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: "counter_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: "shares" } + } + ] + } + }, + { + kind: "Field", + name: { kind: "Name", value: "creator" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "label" } + }, + { + kind: "Field", + name: { kind: "Name", value: "id" } + }, + { + kind: "Field", + name: { kind: "Name", value: "type" } + } + ] + } + } + ] + } + } + ] + } + }, + { 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: "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: "value" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "thing" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "description" } + }, + { + kind: "Field", + name: { kind: "Name", value: "url" } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] +} 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: "String" } } + } + }, + { + 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 Events = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "subscription", + name: { kind: "Name", value: "Events" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "addresses" } + }, + type: { + kind: "NonNullType", + type: { + kind: "ListType", + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "String" } + } + } + } + } + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "limit" } + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } } + } + } + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "events" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "order_by" }, + value: { + kind: "ListValue", + values: [ + { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "block_number" }, + value: { kind: "EnumValue", value: "desc" } + } + ] + } + ] + } + }, + { + kind: "Argument", + name: { kind: "Name", value: "limit" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "limit" } + } + } + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "FragmentSpread", + name: { kind: "Name", value: "EventDetailsSubscription" } + } + ] + } + } + ] + } + }, + { + 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: "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: "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: "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: "FragmentDefinition", + name: { kind: "Name", value: "EventDetailsSubscription" }, + 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_id" } }, + { + kind: "Field", + name: { kind: "Name", value: "term" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { + kind: "Field", + name: { kind: "Name", value: "total_market_cap" } + }, + { + kind: "Field", + name: { kind: "Name", value: "vaults" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + 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: "TripleMetadataSubscription" } + }, + { 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: "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: "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: "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: "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: "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: "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: "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: "FragmentDefinition", + name: { kind: "Name", value: "TripleMetadataSubscription" }, + 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: "creator" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "image" } }, + { kind: "Field", name: { kind: "Name", value: "label" } }, + { kind: "Field", name: { kind: "Name", value: "id" } } + ] + } + }, + { kind: "Field", name: { kind: "Name", value: "creator_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: "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: "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: "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 diff --git a/packages/graphql/src/generated/subscriptions.ts b/packages/graphql/src/generated/subscriptions.ts new file mode 100644 index 00000000..88416c3e --- /dev/null +++ b/packages/graphql/src/generated/subscriptions.ts @@ -0,0 +1,63117 @@ +import * as Apollo from '@apollo/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< + 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 + } +const defaultOptions = {} as const +/** 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 } + 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 */ + claims: Array + /** An aggregate relationship */ + claims_aggregate: Claims_Aggregate + /** 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 AccountsClaimsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +/** columns and relationships of "account" */ +export type AccountsClaims_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 + claims?: InputMaybe + claims_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 + claims_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 enum Accounts_Select_Column { + /** column name */ + AtomId = 'atom_id', + /** column name */ + Id = 'id', + /** column name */ + Image = 'image', + /** column name */ + Label = 'label', + /** column name */ + Type = '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 +} + +export type Accounts_That_Claim_About_Account_Args = { + address?: InputMaybe + predicate?: InputMaybe + subject?: 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 enum Atom_Values_Select_Column { + /** column name */ + AccountId = 'account_id', + /** column name */ + BookId = 'book_id', + /** column name */ + ByteObjectId = 'byte_object_id', + /** column name */ + Id = 'id', + /** column name */ + JsonObjectId = 'json_object_id', + /** column name */ + OrganizationId = 'organization_id', + /** column name */ + PersonId = 'person_id', + /** column name */ + TextObjectId = 'text_object_id', + /** column name */ + ThingId = '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'] + block_timestamp: Scalars['bigint']['output'] + cached_image?: Maybe + /** An object relationship */ + controller?: Maybe + /** 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'] + /** 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 + block_timestamp?: Maybe + term_id?: Maybe + value_id?: Maybe +} + +/** order by avg() on columns of table "atom" */ +export type Atoms_Avg_Order_By = { + block_number?: InputMaybe + block_timestamp?: 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 + block_timestamp?: InputMaybe + controller?: 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 + value?: InputMaybe + value_id?: InputMaybe + wallet_id?: InputMaybe +} + +/** aggregate max on columns */ +export type Atoms_Max_Fields = { + __typename?: 'atoms_max_fields' + block_number?: Maybe + block_timestamp?: Maybe + creator_id?: Maybe + data?: Maybe + emoji?: Maybe + image?: Maybe + label?: Maybe + term_id?: Maybe + transaction_hash?: Maybe + type?: Maybe + value_id?: Maybe + wallet_id?: Maybe +} + +/** order by max() on columns of table "atom" */ +export type Atoms_Max_Order_By = { + block_number?: InputMaybe + block_timestamp?: InputMaybe + creator_id?: InputMaybe + data?: InputMaybe + emoji?: InputMaybe + image?: InputMaybe + label?: InputMaybe + term_id?: InputMaybe + transaction_hash?: InputMaybe + type?: InputMaybe + value_id?: InputMaybe + wallet_id?: InputMaybe +} + +/** aggregate min on columns */ +export type Atoms_Min_Fields = { + __typename?: 'atoms_min_fields' + block_number?: Maybe + block_timestamp?: Maybe + creator_id?: Maybe + data?: Maybe + emoji?: Maybe + image?: Maybe + label?: Maybe + term_id?: Maybe + transaction_hash?: Maybe + type?: Maybe + value_id?: Maybe + wallet_id?: Maybe +} + +/** order by min() on columns of table "atom" */ +export type Atoms_Min_Order_By = { + block_number?: InputMaybe + block_timestamp?: InputMaybe + creator_id?: InputMaybe + data?: InputMaybe + emoji?: InputMaybe + image?: InputMaybe + label?: InputMaybe + term_id?: InputMaybe + transaction_hash?: InputMaybe + type?: 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 + block_timestamp?: InputMaybe + controller?: 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 + value?: InputMaybe + value_id?: InputMaybe + wallet_id?: InputMaybe +} + +/** select columns of table "atom" */ +export enum Atoms_Select_Column { + /** column name */ + BlockNumber = 'block_number', + /** column name */ + BlockTimestamp = 'block_timestamp', + /** column name */ + CreatorId = 'creator_id', + /** column name */ + Data = 'data', + /** column name */ + Emoji = 'emoji', + /** column name */ + Image = 'image', + /** column name */ + Label = 'label', + /** column name */ + TermId = 'term_id', + /** column name */ + TransactionHash = 'transaction_hash', + /** column name */ + Type = 'type', + /** column name */ + ValueId = 'value_id', + /** column name */ + WalletId = 'wallet_id', +} + +/** aggregate stddev on columns */ +export type Atoms_Stddev_Fields = { + __typename?: 'atoms_stddev_fields' + block_number?: Maybe + block_timestamp?: Maybe + term_id?: Maybe + value_id?: Maybe +} + +/** order by stddev() on columns of table "atom" */ +export type Atoms_Stddev_Order_By = { + block_number?: InputMaybe + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: InputMaybe + creator_id?: InputMaybe + data?: InputMaybe + emoji?: InputMaybe + image?: InputMaybe + label?: InputMaybe + term_id?: InputMaybe + transaction_hash?: InputMaybe + type?: InputMaybe + value_id?: InputMaybe + wallet_id?: InputMaybe +} + +/** aggregate sum on columns */ +export type Atoms_Sum_Fields = { + __typename?: 'atoms_sum_fields' + block_number?: Maybe + block_timestamp?: Maybe + term_id?: Maybe + value_id?: Maybe +} + +/** order by sum() on columns of table "atom" */ +export type Atoms_Sum_Order_By = { + block_number?: InputMaybe + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: InputMaybe + term_id?: InputMaybe + value_id?: InputMaybe +} + +/** aggregate variance on columns */ +export type Atoms_Variance_Fields = { + __typename?: 'atoms_variance_fields' + block_number?: Maybe + block_timestamp?: Maybe + term_id?: Maybe + value_id?: Maybe +} + +/** order by variance() on columns of table "atom" */ +export type Atoms_Variance_Order_By = { + block_number?: InputMaybe + block_timestamp?: 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 enum Books_Select_Column { + /** column name */ + Description = 'description', + /** column name */ + Genre = 'genre', + /** column name */ + Id = 'id', + /** column name */ + Name = 'name', + /** column name */ + Url = '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 enum Byte_Object_Select_Column { + /** column name */ + Data = 'data', + /** column name */ + Id = '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 enum Cached_Images_Cached_Image_Select_Column { + /** column name */ + CreatedAt = 'created_at', + /** column name */ + Model = 'model', + /** column name */ + OriginalUrl = 'original_url', + /** column name */ + Safe = 'safe', + /** column name */ + Score = '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 + /** 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 enum Caip10_Select_Column { + /** column name */ + AccountAddress = 'account_address', + /** column name */ + ChainId = 'chain_id', + /** column name */ + Id = 'id', + /** column name */ + Namespace = '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 enum Chainlink_Prices_Select_Column { + /** column name */ + Id = '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 + /** 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 +} + +/** columns and relationships of "claim" */ +export type Claims = { + __typename?: 'claims' + /** An object relationship */ + account?: Maybe + account_id: Scalars['String']['output'] + id: Scalars['String']['output'] + /** An object relationship */ + position: Positions + position_id: Scalars['String']['output'] +} + +/** aggregated selection of "claim" */ +export type Claims_Aggregate = { + __typename?: 'claims_aggregate' + aggregate?: Maybe + nodes: Array +} + +export type Claims_Aggregate_Bool_Exp = { + count?: InputMaybe +} + +export type Claims_Aggregate_Bool_Exp_Count = { + arguments?: InputMaybe> + distinct?: InputMaybe + filter?: InputMaybe + predicate: Int_Comparison_Exp +} + +/** aggregate fields of "claim" */ +export type Claims_Aggregate_Fields = { + __typename?: 'claims_aggregate_fields' + count: Scalars['Int']['output'] + max?: Maybe + min?: Maybe +} + +/** aggregate fields of "claim" */ +export type Claims_Aggregate_FieldsCountArgs = { + columns?: InputMaybe> + distinct?: InputMaybe +} + +/** order by aggregate values of table "claim" */ +export type Claims_Aggregate_Order_By = { + count?: InputMaybe + max?: InputMaybe + min?: InputMaybe +} + +/** Boolean expression to filter rows from the table "claim". All fields are combined with a logical 'AND'. */ +export type Claims_Bool_Exp = { + _and?: InputMaybe> + _not?: InputMaybe + _or?: InputMaybe> + account?: InputMaybe + account_id?: InputMaybe + id?: InputMaybe + position?: InputMaybe + position_id?: InputMaybe +} + +export type Claims_From_Following_Args = { + address?: InputMaybe +} + +/** aggregate max on columns */ +export type Claims_Max_Fields = { + __typename?: 'claims_max_fields' + account_id?: Maybe + id?: Maybe + position_id?: Maybe +} + +/** order by max() on columns of table "claim" */ +export type Claims_Max_Order_By = { + account_id?: InputMaybe + id?: InputMaybe + position_id?: InputMaybe +} + +/** aggregate min on columns */ +export type Claims_Min_Fields = { + __typename?: 'claims_min_fields' + account_id?: Maybe + id?: Maybe + position_id?: Maybe +} + +/** order by min() on columns of table "claim" */ +export type Claims_Min_Order_By = { + account_id?: InputMaybe + id?: InputMaybe + position_id?: InputMaybe +} + +/** Ordering options when selecting data from "claim". */ +export type Claims_Order_By = { + account?: InputMaybe + account_id?: InputMaybe + id?: InputMaybe + position?: InputMaybe + position_id?: InputMaybe +} + +/** select columns of table "claim" */ +export enum Claims_Select_Column { + /** column name */ + AccountId = 'account_id', + /** column name */ + Id = 'id', + /** column name */ + PositionId = 'position_id', +} + +/** Streaming cursor of the table "claims" */ +export type Claims_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Claims_Stream_Cursor_Value_Input + /** cursor ordering */ + ordering?: InputMaybe +} + +/** Initial value of the column from where the streaming should start */ +export type Claims_Stream_Cursor_Value_Input = { + account_id?: InputMaybe + id?: InputMaybe + position_id?: InputMaybe +} + +/** ordering argument of a cursor */ +export enum Cursor_Ordering { + /** ascending ordering of the cursor */ + Asc = 'ASC', + /** descending ordering of the cursor */ + Desc = 'DESC', +} + +/** columns and relationships of "deposit" */ +export type Deposits = { + __typename?: 'deposits' + block_number: Scalars['numeric']['output'] + block_timestamp: Scalars['bigint']['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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 enum Deposits_Select_Column { + /** column name */ + BlockNumber = 'block_number', + /** column name */ + BlockTimestamp = 'block_timestamp', + /** column name */ + CurveId = 'curve_id', + /** column name */ + EntryFee = 'entry_fee', + /** column name */ + Id = 'id', + /** column name */ + IsAtomWallet = 'is_atom_wallet', + /** column name */ + IsTriple = 'is_triple', + /** column name */ + ReceiverId = 'receiver_id', + /** column name */ + ReceiverTotalSharesInVault = 'receiver_total_shares_in_vault', + /** column name */ + SenderAssetsAfterTotalFees = 'sender_assets_after_total_fees', + /** column name */ + SenderId = 'sender_id', + /** column name */ + SharesForReceiver = 'shares_for_receiver', + /** column name */ + TermId = 'term_id', + /** column name */ + TransactionHash = 'transaction_hash', +} + +/** select "deposits_aggregate_bool_exp_bool_and_arguments_columns" columns of table "deposit" */ +export enum Deposits_Select_Column_Deposits_Aggregate_Bool_Exp_Bool_And_Arguments_Columns { + /** column name */ + IsAtomWallet = 'is_atom_wallet', + /** column name */ + IsTriple = 'is_triple', +} + +/** select "deposits_aggregate_bool_exp_bool_or_arguments_columns" columns of table "deposit" */ +export enum Deposits_Select_Column_Deposits_Aggregate_Bool_Exp_Bool_Or_Arguments_Columns { + /** column name */ + IsAtomWallet = 'is_atom_wallet', + /** column name */ + IsTriple = 'is_triple', +} + +/** aggregate stddev on columns */ +export type Deposits_Stddev_Fields = { + __typename?: 'deposits_stddev_fields' + block_number?: Maybe + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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'] + block_timestamp: Scalars['bigint']['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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 enum Events_Select_Column { + /** column name */ + AtomId = 'atom_id', + /** column name */ + BlockNumber = 'block_number', + /** column name */ + BlockTimestamp = 'block_timestamp', + /** column name */ + DepositId = 'deposit_id', + /** column name */ + FeeTransferId = 'fee_transfer_id', + /** column name */ + Id = 'id', + /** column name */ + RedemptionId = 'redemption_id', + /** column name */ + TransactionHash = 'transaction_hash', + /** column name */ + TripleId = '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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: Maybe + triple_id?: Maybe +} + +/** aggregate variance on columns */ +export type Events_Variance_Fields = { + __typename?: 'events_variance_fields' + atom_id?: Maybe + block_number?: Maybe + block_timestamp?: 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'] + block_timestamp: Scalars['bigint']['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 + block_timestamp?: Maybe +} + +/** order by avg() on columns of table "fee_transfer" */ +export type Fee_Transfers_Avg_Order_By = { + amount?: InputMaybe + block_number?: InputMaybe + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: InputMaybe + id?: InputMaybe + receiver?: InputMaybe + receiver_id?: InputMaybe + sender?: InputMaybe + sender_id?: InputMaybe + transaction_hash?: InputMaybe +} + +/** select columns of table "fee_transfer" */ +export enum Fee_Transfers_Select_Column { + /** column name */ + Amount = 'amount', + /** column name */ + BlockNumber = 'block_number', + /** column name */ + BlockTimestamp = 'block_timestamp', + /** column name */ + Id = 'id', + /** column name */ + ReceiverId = 'receiver_id', + /** column name */ + SenderId = 'sender_id', + /** column name */ + TransactionHash = 'transaction_hash', +} + +/** aggregate stddev on columns */ +export type Fee_Transfers_Stddev_Fields = { + __typename?: 'fee_transfers_stddev_fields' + amount?: Maybe + block_number?: Maybe + block_timestamp?: Maybe +} + +/** order by stddev() on columns of table "fee_transfer" */ +export type Fee_Transfers_Stddev_Order_By = { + amount?: InputMaybe + block_number?: InputMaybe + block_timestamp?: InputMaybe +} + +/** aggregate stddev_pop on columns */ +export type Fee_Transfers_Stddev_Pop_Fields = { + __typename?: 'fee_transfers_stddev_pop_fields' + amount?: Maybe + block_number?: Maybe + block_timestamp?: Maybe +} + +/** order by stddev_pop() on columns of table "fee_transfer" */ +export type Fee_Transfers_Stddev_Pop_Order_By = { + amount?: InputMaybe + block_number?: InputMaybe + block_timestamp?: InputMaybe +} + +/** aggregate stddev_samp on columns */ +export type Fee_Transfers_Stddev_Samp_Fields = { + __typename?: 'fee_transfers_stddev_samp_fields' + amount?: Maybe + block_number?: Maybe + block_timestamp?: Maybe +} + +/** order by stddev_samp() on columns of table "fee_transfer" */ +export type Fee_Transfers_Stddev_Samp_Order_By = { + amount?: InputMaybe + block_number?: InputMaybe + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: Maybe +} + +/** order by sum() on columns of table "fee_transfer" */ +export type Fee_Transfers_Sum_Order_By = { + amount?: InputMaybe + block_number?: InputMaybe + block_timestamp?: InputMaybe +} + +/** aggregate var_pop on columns */ +export type Fee_Transfers_Var_Pop_Fields = { + __typename?: 'fee_transfers_var_pop_fields' + amount?: Maybe + block_number?: Maybe + block_timestamp?: Maybe +} + +/** order by var_pop() on columns of table "fee_transfer" */ +export type Fee_Transfers_Var_Pop_Order_By = { + amount?: InputMaybe + block_number?: InputMaybe + block_timestamp?: InputMaybe +} + +/** aggregate var_samp on columns */ +export type Fee_Transfers_Var_Samp_Fields = { + __typename?: 'fee_transfers_var_samp_fields' + amount?: Maybe + block_number?: Maybe + block_timestamp?: Maybe +} + +/** order by var_samp() on columns of table "fee_transfer" */ +export type Fee_Transfers_Var_Samp_Order_By = { + amount?: InputMaybe + block_number?: InputMaybe + block_timestamp?: InputMaybe +} + +/** aggregate variance on columns */ +export type Fee_Transfers_Variance_Fields = { + __typename?: 'fee_transfers_variance_fields' + amount?: Maybe + block_number?: Maybe + block_timestamp?: Maybe +} + +/** order by variance() on columns of table "fee_transfer" */ +export type Fee_Transfers_Variance_Order_By = { + amount?: InputMaybe + block_number?: InputMaybe + block_timestamp?: 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 enum Json_Objects_Select_Column { + /** column name */ + Data = 'data', + /** column name */ + Id = '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 enum Order_By { + /** in ascending order, nulls last */ + Asc = 'asc', + /** in ascending order, nulls first */ + AscNullsFirst = 'asc_nulls_first', + /** in ascending order, nulls last */ + AscNullsLast = 'asc_nulls_last', + /** in descending order, nulls first */ + Desc = 'desc', + /** in descending order, nulls first */ + DescNullsFirst = 'desc_nulls_first', + /** in descending order, nulls last */ + DescNullsLast = '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 enum Organizations_Select_Column { + /** column name */ + Description = 'description', + /** column name */ + Email = 'email', + /** column name */ + Id = 'id', + /** column name */ + Image = 'image', + /** column name */ + Name = 'name', + /** column name */ + Url = '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 enum Persons_Select_Column { + /** column name */ + Description = 'description', + /** column name */ + Email = 'email', + /** column name */ + Id = 'id', + /** column name */ + Identifier = 'identifier', + /** column name */ + Image = 'image', + /** column name */ + Name = 'name', + /** column name */ + Url = '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'] + curve_id: Scalars['numeric']['output'] + id: Scalars['String']['output'] + shares: Scalars['numeric']['output'] + /** An object relationship */ + term: Terms + term_id: Scalars['numeric']['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 + curve_id?: InputMaybe + id?: InputMaybe + shares?: InputMaybe + term?: InputMaybe + term_id?: InputMaybe + vault?: InputMaybe +} + +/** aggregate max on columns */ +export type Positions_Max_Fields = { + __typename?: 'positions_max_fields' + account_id?: Maybe + curve_id?: Maybe + id?: Maybe + shares?: Maybe + term_id?: Maybe +} + +/** order by max() on columns of table "position" */ +export type Positions_Max_Order_By = { + account_id?: InputMaybe + curve_id?: InputMaybe + id?: InputMaybe + shares?: InputMaybe + term_id?: InputMaybe +} + +/** aggregate min on columns */ +export type Positions_Min_Fields = { + __typename?: 'positions_min_fields' + account_id?: Maybe + curve_id?: Maybe + id?: Maybe + shares?: Maybe + term_id?: Maybe +} + +/** order by min() on columns of table "position" */ +export type Positions_Min_Order_By = { + account_id?: InputMaybe + curve_id?: InputMaybe + id?: InputMaybe + shares?: InputMaybe + term_id?: InputMaybe +} + +/** Ordering options when selecting data from "position". */ +export type Positions_Order_By = { + account?: InputMaybe + account_id?: InputMaybe + curve_id?: InputMaybe + id?: InputMaybe + shares?: InputMaybe + term?: InputMaybe + term_id?: InputMaybe + vault?: InputMaybe +} + +/** select columns of table "position" */ +export enum Positions_Select_Column { + /** column name */ + AccountId = 'account_id', + /** column name */ + CurveId = 'curve_id', + /** column name */ + Id = 'id', + /** column name */ + Shares = 'shares', + /** column name */ + TermId = 'term_id', +} + +/** 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 + curve_id?: InputMaybe + id?: InputMaybe + shares?: InputMaybe + term_id?: 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' + claim_count: Scalars['Int']['output'] + 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' + claim_count?: Maybe + 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 = { + claim_count?: InputMaybe + 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> + claim_count?: 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' + claim_count?: Maybe + 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 = { + claim_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' + claim_count?: Maybe + 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 = { + claim_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 = { + claim_count?: InputMaybe + id?: InputMaybe + object?: InputMaybe + object_id?: InputMaybe + predicate?: InputMaybe + predicate_id?: InputMaybe + triple_count?: InputMaybe +} + +/** select columns of table "predicate_object" */ +export enum Predicate_Objects_Select_Column { + /** column name */ + ClaimCount = 'claim_count', + /** column name */ + Id = 'id', + /** column name */ + ObjectId = 'object_id', + /** column name */ + PredicateId = 'predicate_id', + /** column name */ + TripleCount = 'triple_count', +} + +/** aggregate stddev on columns */ +export type Predicate_Objects_Stddev_Fields = { + __typename?: 'predicate_objects_stddev_fields' + claim_count?: Maybe + 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 = { + claim_count?: InputMaybe + 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' + claim_count?: Maybe + 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 = { + claim_count?: InputMaybe + 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' + claim_count?: Maybe + 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 = { + claim_count?: InputMaybe + 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 = { + claim_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' + claim_count?: Maybe + 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 = { + claim_count?: InputMaybe + 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' + claim_count?: Maybe + 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 = { + claim_count?: InputMaybe + 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' + claim_count?: Maybe + 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 = { + claim_count?: InputMaybe + object_id?: InputMaybe + predicate_id?: InputMaybe + triple_count?: InputMaybe +} + +/** aggregate variance on columns */ +export type Predicate_Objects_Variance_Fields = { + __typename?: 'predicate_objects_variance_fields' + claim_count?: Maybe + 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 = { + claim_count?: InputMaybe + 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 + /** execute function "accounts_that_claim_about_account" which returns "account" */ + accounts_that_claim_about_account: Array + /** execute function "accounts_that_claim_about_account" and query aggregates on result of table type "account" */ + accounts_that_claim_about_account_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: "claim" using primary key columns */ + claim?: Maybe + /** An array relationship */ + claims: Array + /** An aggregate relationship */ + claims_aggregate: Claims_Aggregate + /** execute function "claims_from_following" which returns "claim" */ + claims_from_following: Array + /** execute function "claims_from_following" and query aggregates on result of table type "claim" */ + claims_from_following_aggregate: Claims_Aggregate + /** 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 + /** 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 + /** fetch data from the table: "share_price_change" using primary key columns */ + share_price_change?: Maybe + /** An array relationship */ + share_price_changes: Array + /** An aggregate relationship */ + share_price_changes_aggregate: Share_Price_Changes_Aggregate + /** fetch data from the table: "signal" using primary key columns */ + signal?: Maybe + /** 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 + /** 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_RootAccounts_That_Claim_About_AccountArgs = { + args: Accounts_That_Claim_About_Account_Args + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootAccounts_That_Claim_About_Account_AggregateArgs = { + args: Accounts_That_Claim_About_Account_Args + 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_RootClaimArgs = { + id: Scalars['String']['input'] +} + +export type Query_RootClaimsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootClaims_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootClaims_From_FollowingArgs = { + args: Claims_From_Following_Args + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Query_RootClaims_From_Following_AggregateArgs = { + args: Claims_From_Following_Args + 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_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_RootShare_Price_ChangeArgs = { + id: Scalars['bigint']['input'] +} + +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_RootSignalArgs = { + id: Scalars['String']['input'] +} + +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_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'] + block_timestamp: Scalars['bigint']['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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 enum Redemptions_Select_Column { + /** column name */ + AssetsForReceiver = 'assets_for_receiver', + /** column name */ + BlockNumber = 'block_number', + /** column name */ + BlockTimestamp = 'block_timestamp', + /** column name */ + CurveId = 'curve_id', + /** column name */ + ExitFee = 'exit_fee', + /** column name */ + Id = 'id', + /** column name */ + ReceiverId = 'receiver_id', + /** column name */ + SenderId = 'sender_id', + /** column name */ + SenderTotalSharesInVault = 'sender_total_shares_in_vault', + /** column name */ + SharesRedeemedBySender = 'shares_redeemed_by_sender', + /** column name */ + TermId = 'term_id', + /** column name */ + TransactionHash = 'transaction_hash', +} + +/** aggregate stddev on columns */ +export type Redemptions_Stddev_Fields = { + __typename?: 'redemptions_stddev_fields' + assets_for_receiver?: Maybe + block_number?: Maybe + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: InputMaybe + curve_id?: InputMaybe + exit_fee?: InputMaybe + sender_total_shares_in_vault?: InputMaybe + shares_redeemed_by_sender?: 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?: Maybe + /** 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 enum Share_Price_Changes_Select_Column { + /** column name */ + BlockNumber = 'block_number', + /** column name */ + BlockTimestamp = 'block_timestamp', + /** column name */ + CurveId = 'curve_id', + /** column name */ + Id = 'id', + /** column name */ + SharePrice = 'share_price', + /** column name */ + TermId = 'term_id', + /** column name */ + TotalAssets = 'total_assets', + /** column name */ + TotalShares = 'total_shares', + /** column name */ + TransactionHash = 'transaction_hash', + /** column name */ + UpdatedAt = '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" */ +export type Signals = { + __typename?: 'signals' + /** An object relationship */ + account?: Maybe + account_id: Scalars['String']['output'] + atom_id?: Maybe + block_number: Scalars['numeric']['output'] + block_timestamp: Scalars['bigint']['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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 enum Signals_Select_Column { + /** column name */ + AccountId = 'account_id', + /** column name */ + AtomId = 'atom_id', + /** column name */ + BlockNumber = 'block_number', + /** column name */ + BlockTimestamp = 'block_timestamp', + /** column name */ + Delta = 'delta', + /** column name */ + DepositId = 'deposit_id', + /** column name */ + Id = 'id', + /** column name */ + RedemptionId = 'redemption_id', + /** column name */ + TransactionHash = 'transaction_hash', + /** column name */ + TripleId = 'triple_id', +} + +/** aggregate stddev on columns */ +export type Signals_Stddev_Fields = { + __typename?: 'signals_stddev_fields' + atom_id?: Maybe + block_number?: Maybe + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 enum Stats_Select_Column { + /** column name */ + ContractBalance = 'contract_balance', + /** column name */ + Id = 'id', + /** column name */ + TotalAccounts = 'total_accounts', + /** column name */ + TotalAtoms = 'total_atoms', + /** column name */ + TotalFees = 'total_fees', + /** column name */ + TotalPositions = 'total_positions', + /** column name */ + TotalSignals = 'total_signals', + /** column name */ + TotalTriples = '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 + /** execute function "accounts_that_claim_about_account" which returns "account" */ + accounts_that_claim_about_account: Array + /** execute function "accounts_that_claim_about_account" and query aggregates on result of table type "account" */ + accounts_that_claim_about_account_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 + /** 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: "claim" using primary key columns */ + claim?: Maybe + /** An array relationship */ + claims: Array + /** An aggregate relationship */ + claims_aggregate: Claims_Aggregate + /** execute function "claims_from_following" which returns "claim" */ + claims_from_following: Array + /** execute function "claims_from_following" and query aggregates on result of table type "claim" */ + claims_from_following_aggregate: Claims_Aggregate + /** fetch data from the table in a streaming manner: "claim" */ + claims_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 + /** 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 + /** fetch data from the table: "share_price_change" using primary key columns */ + share_price_change?: Maybe + /** 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" using primary key columns */ + signal?: Maybe + /** 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 + /** 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_RootAccounts_That_Claim_About_AccountArgs = { + args: Accounts_That_Claim_About_Account_Args + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootAccounts_That_Claim_About_Account_AggregateArgs = { + args: Accounts_That_Claim_About_Account_Args + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + 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_RootClaimArgs = { + id: Scalars['String']['input'] +} + +export type Subscription_RootClaimsArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootClaims_AggregateArgs = { + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootClaims_From_FollowingArgs = { + args: Claims_From_Following_Args + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootClaims_From_Following_AggregateArgs = { + args: Claims_From_Following_Args + distinct_on?: InputMaybe> + limit?: InputMaybe + offset?: InputMaybe + order_by?: InputMaybe> + where?: InputMaybe +} + +export type Subscription_RootClaims_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_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_RootShare_Price_ChangeArgs = { + id: Scalars['bigint']['input'] +} + +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_RootSignalArgs = { + id: Scalars['String']['input'] +} + +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_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_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_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 +} + +/** aggregated selection of "term" */ +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_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_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 enum Terms_Select_Column { + /** column name */ + AtomId = 'atom_id', + /** column name */ + Id = 'id', + /** column name */ + TotalAssets = 'total_assets', + /** column name */ + TotalMarketCap = 'total_market_cap', + /** column name */ + TripleId = 'triple_id', + /** column name */ + Type = '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 enum Text_Objects_Select_Column { + /** column name */ + Data = 'data', + /** column name */ + Id = '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 enum Things_Select_Column { + /** column name */ + Description = 'description', + /** column name */ + Id = 'id', + /** column name */ + Image = 'image', + /** column name */ + Name = 'name', + /** column name */ + Url = '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" */ +export type Triples = { + __typename?: 'triples' + block_number: Scalars['numeric']['output'] + block_timestamp: Scalars['bigint']['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'] + /** 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'] +} + +/** 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: InputMaybe + counter_positions?: InputMaybe + counter_positions_aggregate?: InputMaybe + counter_term?: InputMaybe + counter_term_id?: 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 +} + +/** aggregate max on columns */ +export type Triples_Max_Fields = { + __typename?: 'triples_max_fields' + block_number?: Maybe + block_timestamp?: Maybe + counter_term_id?: 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 + block_timestamp?: InputMaybe + counter_term_id?: 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 + block_timestamp?: Maybe + counter_term_id?: 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 + block_timestamp?: InputMaybe + counter_term_id?: 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 + block_timestamp?: InputMaybe + counter_positions_aggregate?: InputMaybe + counter_term?: InputMaybe + counter_term_id?: 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 +} + +/** select columns of table "triple" */ +export enum Triples_Select_Column { + /** column name */ + BlockNumber = 'block_number', + /** column name */ + BlockTimestamp = 'block_timestamp', + /** column name */ + CounterTermId = 'counter_term_id', + /** column name */ + CreatorId = 'creator_id', + /** column name */ + ObjectId = 'object_id', + /** column name */ + PredicateId = 'predicate_id', + /** column name */ + SubjectId = 'subject_id', + /** column name */ + TermId = 'term_id', + /** column name */ + TransactionHash = 'transaction_hash', +} + +/** aggregate stddev on columns */ +export type Triples_Stddev_Fields = { + __typename?: 'triples_stddev_fields' + block_number?: Maybe + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: InputMaybe + counter_term_id?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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 + block_timestamp?: 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' + 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?: Maybe + 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_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?: Maybe + total_shares: Scalars['numeric']['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_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> + 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_changes?: InputMaybe + share_price_changes_aggregate?: InputMaybe + signals?: InputMaybe + signals_aggregate?: InputMaybe + term?: InputMaybe + term_id?: InputMaybe + total_assets?: InputMaybe + total_shares?: InputMaybe +} + +/** aggregate max on columns */ +export type Vaults_Max_Fields = { + __typename?: 'vaults_max_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 max() on columns of table "vault" */ +export type Vaults_Max_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 min on columns */ +export type Vaults_Min_Fields = { + __typename?: 'vaults_min_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 min() on columns of table "vault" */ +export type Vaults_Min_Order_By = { + current_share_price?: InputMaybe + curve_id?: InputMaybe + market_cap?: InputMaybe + position_count?: InputMaybe + term_id?: InputMaybe + total_assets?: InputMaybe + total_shares?: InputMaybe +} + +/** Ordering options when selecting data from "vault". */ +export type Vaults_Order_By = { + current_share_price?: InputMaybe + curve_id?: InputMaybe + deposits_aggregate?: InputMaybe + market_cap?: InputMaybe + position_count?: InputMaybe + positions_aggregate?: InputMaybe + redemptions_aggregate?: InputMaybe + share_price_changes_aggregate?: InputMaybe + signals_aggregate?: InputMaybe + term?: InputMaybe + term_id?: InputMaybe + total_assets?: InputMaybe + total_shares?: InputMaybe +} + +/** select columns of table "vault" */ +export enum Vaults_Select_Column { + /** column name */ + CurrentSharePrice = 'current_share_price', + /** column name */ + CurveId = 'curve_id', + /** column name */ + MarketCap = 'market_cap', + /** column name */ + PositionCount = 'position_count', + /** column name */ + TermId = 'term_id', + /** column name */ + TotalAssets = 'total_assets', + /** column name */ + TotalShares = 'total_shares', +} + +/** 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 = { + current_share_price?: InputMaybe + curve_id?: InputMaybe + market_cap?: InputMaybe + position_count?: InputMaybe + term_id?: InputMaybe + total_assets?: InputMaybe + total_shares?: 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 AccountClaimsAggregateFragment = { + __typename?: 'accounts' + claims_aggregate: { + __typename?: 'claims_aggregate' + aggregate?: { __typename?: 'claims_aggregate_fields'; count: number } | null + nodes: Array<{ + __typename?: 'claims' + id: string + position: { __typename?: 'positions'; shares: any } + }> + } +} + +export type AccountClaimsFragment = { + __typename?: 'accounts' + claims: Array<{ + __typename?: 'claims' + id: string + position: { __typename?: 'positions'; shares: 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 + } | 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 + } | null +} + +export type AtomTxnFragment = { + __typename?: 'atoms' + block_number: any + block_timestamp: 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 + }> + }> + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + } | 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 + block_timestamp: 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 + } | 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 + } | 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 + } | 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 + } | 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 EventDetailsSubscriptionFragment = { + __typename?: 'events' + block_number: any + block_timestamp: 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' + id: any + total_market_cap?: any | null + vaults: Array<{ __typename?: 'vaults'; 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 + } | null + } | null + triple?: { + __typename?: 'triples' + term_id: any + counter_term_id: any + creator_id: string + subject_id: any + predicate_id: any + object_id: any + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + } | null + } + creator?: { + __typename?: 'accounts' + image?: string | null + label: string + id: string + } | 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 + } + } + 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: { + __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 + } + } + 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + block_timestamp: 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 TripleMetadataSubscriptionFragment = { + __typename?: 'triples' + term_id: any + creator_id: string + subject_id: any + predicate_id: any + object_id: any + creator?: { + __typename?: 'accounts' + image?: string | null + label: string + id: string + } | 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 + } + } + 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: { + __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 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 PinPersonMutationVariables = Exact<{ + name: Scalars['String']['input'] + description?: InputMaybe + image?: InputMaybe + url?: InputMaybe + email?: InputMaybe + identifier?: InputMaybe +}> + +export type PinPersonMutation = { + __typename?: 'mutation_root' + pinPerson?: { __typename?: 'PinOutput'; uri?: string | null } | 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 + claimsLimit?: InputMaybe + claimsOffset?: InputMaybe + claimsWhere?: 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 + claims: Array<{ + __typename?: 'claims' + id: string + position: { __typename?: 'positions'; shares: 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 GetAccountsWithAggregatesQueryVariables = Exact<{ + limit?: InputMaybe + offset?: InputMaybe + orderBy?: InputMaybe | Accounts_Order_By> + where?: InputMaybe + claimsLimit?: InputMaybe + claimsOffset?: InputMaybe + claimsWhere?: 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 + claims: Array<{ + __typename?: 'claims' + id: string + position: { __typename?: 'positions'; shares: 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'] + claimsLimit?: InputMaybe + claimsOffset?: InputMaybe + claimsWhere?: InputMaybe + 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 + }> + }> + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + } | 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 + } | null + } | null + claims: Array<{ + __typename?: 'claims' + id: string + position: { __typename?: 'positions'; shares: 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 + chainlink_prices: Array<{ __typename?: 'chainlink_prices'; usd?: any | null }> +} + +export type GetAccountWithPaginatedRelationsQueryVariables = Exact<{ + address: Scalars['String']['input'] + claimsLimit?: InputMaybe + claimsOffset?: InputMaybe + claimsWhere?: InputMaybe + 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 + claims: Array<{ + __typename?: 'claims' + id: string + position: { __typename?: 'positions'; shares: 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'] + claimsLimit?: InputMaybe + claimsOffset?: InputMaybe + claimsWhere?: InputMaybe + 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 + claims_aggregate: { + __typename?: 'claims_aggregate' + aggregate?: { + __typename?: 'claims_aggregate_fields' + count: number + } | null + nodes: Array<{ + __typename?: 'claims' + id: string + position: { __typename?: 'positions'; shares: 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 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 + block_timestamp: 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 + }> + }> + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + } | 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 + } | 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 + block_timestamp: 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 + } + as_subject_triples_aggregate: { + __typename?: 'triples_aggregate' + nodes: Array<{ + __typename?: 'triples' + predicate: { __typename?: 'atoms'; label?: string | null; term_id: any } + object: { __typename?: 'atoms'; label?: string | null; term_id: 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 + } | 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 + block_timestamp: 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 + }> + }> + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + } | 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 + } | 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<{ + term_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 + block_timestamp: 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 + }> + }> + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + } | 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 + } | 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 + block_timestamp: 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 + }> + }> + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + } | 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 + } | 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 + block_timestamp: 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 + block_timestamp: 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 GetAtomsByCreatorQueryVariables = Exact<{ + address: Scalars['String']['input'] +}> + +export type GetAtomsByCreatorQuery = { + __typename?: 'query_root' + atoms: Array<{ + __typename?: 'atoms' + term_id: any + data?: string | null + image?: string | null + label?: string | null + type: any + block_number: any + block_timestamp: any + transaction_hash: string + creator_id: string + value?: { + __typename?: 'atom_values' + thing?: { + __typename?: 'things' + name?: string | null + image?: string | null + description?: string | null + url?: string | null + } | null + } | null + term: { + __typename?: 'terms' + total_market_cap?: any | null + vaults: Array<{ __typename?: 'vaults'; position_count: number }> + } + as_subject_triples_aggregate: { + __typename?: 'triples_aggregate' + nodes: Array<{ + __typename?: 'triples' + predicate: { __typename?: 'atoms'; label?: string | null; term_id: any } + object: { __typename?: 'atoms'; label?: string | null; term_id: any } + }> + } + }> +} + +export type GetClaimsByAddressQueryVariables = Exact<{ + address?: InputMaybe +}> + +export type GetClaimsByAddressQuery = { + __typename?: 'query_root' + claims_aggregate: { + __typename?: 'claims_aggregate' + aggregate?: { __typename?: 'claims_aggregate_fields'; count: number } | null + nodes: Array<{ + __typename?: 'claims' + account?: { __typename?: 'accounts'; label: string } | null + position: { + __typename?: 'positions' + shares: any + term: { + __typename?: 'terms' + triple?: { + __typename?: 'triples' + term_id: any + counter_term_id: any + subject: { __typename?: 'atoms'; label?: string | null } + predicate: { __typename?: 'atoms'; label?: string | null } + object: { __typename?: 'atoms'; label?: string | null } + } | null + } + } + }> + } +} + +export type GetClaimsByUriQueryVariables = Exact<{ + address?: InputMaybe + uri?: InputMaybe +}> + +export type GetClaimsByUriQuery = { + __typename?: 'query_root' + atoms: Array<{ + __typename?: 'atoms' + term_id: any + label?: string | null + image?: string | null + as_subject_triples_aggregate: { + __typename?: 'triples_aggregate' + aggregate?: { + __typename?: 'triples_aggregate_fields' + count: number + } | null + nodes: Array<{ + __typename?: 'triples' + term_id: any + predicate: { + __typename?: 'atoms' + label?: string | null + image?: string | null + type: any + term_id: any + } + object: { + __typename?: 'atoms' + label?: string | null + image?: string | null + type: any + term_id: any + } + positions: Array<{ __typename?: 'positions'; shares: any }> + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + } | null + } + counter_positions: Array<{ __typename?: 'positions'; shares: any }> + counter_positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + } | null + } + creator?: { + __typename?: 'accounts' + label: string + id: string + type: any + } | null + }> + } + as_object_triples_aggregate: { + __typename?: 'triples_aggregate' + aggregate?: { + __typename?: 'triples_aggregate_fields' + count: number + } | null + nodes: Array<{ + __typename?: 'triples' + term_id: any + predicate: { + __typename?: 'atoms' + label?: string | null + image?: string | null + type: any + term_id: any + } + subject: { + __typename?: 'atoms' + label?: string | null + image?: string | null + type: any + term_id: any + } + object: { + __typename?: 'atoms' + label?: string | null + image?: string | null + type: any + term_id: any + } + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + } | null + } + positions: Array<{ __typename?: 'positions'; shares: any }> + counter_positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + } | null + } + counter_positions: Array<{ __typename?: 'positions'; shares: any }> + creator?: { + __typename?: 'accounts' + label: string + id: string + type: any + } | null + }> + } + as_predicate_triples_aggregate: { + __typename?: 'triples_aggregate' + aggregate?: { + __typename?: 'triples_aggregate_fields' + count: number + } | null + nodes: Array<{ + __typename?: 'triples' + term_id: any + predicate: { + __typename?: 'atoms' + image?: string | null + label?: string | null + type: any + term_id: any + } + subject: { + __typename?: 'atoms' + label?: string | null + image?: string | null + type: any + term_id: any + } + object: { + __typename?: 'atoms' + label?: string | null + image?: string | null + type: any + term_id: any + } + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + } | null + } + positions: Array<{ __typename?: 'positions'; shares: any }> + counter_positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + } | null + } + counter_positions: Array<{ __typename?: 'positions'; shares: any }> + creator?: { + __typename?: 'accounts' + label: string + id: string + type: any + } | null + }> + } + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + } | null + } + value?: { + __typename?: 'atom_values' + thing?: { + __typename?: 'things' + description?: string | null + url?: string | null + } | null + } | 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 + block_timestamp: 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 + } | 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 + } | 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 + } | 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 + } | 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' + block_timestamp?: any | null + block_number?: any | null + } | null + min?: { + __typename?: 'events_min_fields' + block_timestamp?: any | null + block_number?: any | null + } | null + } | null + nodes: Array<{ + __typename?: 'events' + block_number: any + block_timestamp: 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 + } | 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 + } | 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 + } | 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 + } | 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' + block_timestamp?: any | null + block_number?: any | null + } | null + min?: { + __typename?: 'events_min_fields' + block_timestamp?: 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 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 GetFollowingsFromAddressQueryVariables = Exact<{ + address: Scalars['String']['input'] +}> + +export type GetFollowingsFromAddressQuery = { + __typename?: 'query_root' + following: Array<{ + __typename?: 'accounts' + id: string + image?: string | null + label: string + type: any + triples: Array<{ + __typename?: 'triples' + term_id: any + counter_term_id: any + creator?: { + __typename?: 'accounts' + label: string + id: string + type: any + } | null + subject: { + __typename?: 'atoms' + term_id: any + label?: string | null + image?: string | null + type: any + } + predicate: { + __typename?: 'atoms' + term_id: any + label?: string | null + image?: string | null + type: any + } + object: { + __typename?: 'atoms' + term_id: any + label?: string | null + image?: string | null + type: any + } + term?: { + __typename?: 'terms' + id: any + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + } | null + } + positions: Array<{ + __typename?: 'positions' + shares: any + account?: { __typename?: 'accounts'; id: string } | null + }> + } | null + counter_term?: { + __typename?: 'terms' + id: any + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + } | null + } + positions: Array<{ + __typename?: 'positions' + shares: any + account?: { __typename?: 'accounts'; id: string } | null + }> + } | null + }> + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + } | null + nodes: Array<{ + __typename?: 'positions' + shares: any + term: { + __typename?: 'terms' + id: any + triple?: { + __typename?: 'triples' + term_id: any + object: { + __typename?: 'atoms' + term_id: any + type: any + image?: string | null + label?: string | null + } + predicate: { + __typename?: 'atoms' + term_id: any + type: any + image?: string | null + label?: string | null + } + subject: { + __typename?: 'atoms' + term_id: any + type: any + image?: string | null + label?: string | null + } + counter_term?: { + __typename?: 'terms' + id: any + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + } | null + } + positions: Array<{ + __typename?: 'positions' + shares: any + account?: { __typename?: 'accounts'; id: string } | null + }> + } | null + term?: { + __typename?: 'terms' + id: any + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + } | null + } + positions: Array<{ + __typename?: 'positions' + shares: any + account?: { __typename?: 'accounts'; id: string } | null + }> + } | null + } | null + } + }> + } + }> +} + +export type GetFollowersFromAddressQueryVariables = Exact<{ + address: Scalars['String']['input'] +}> + +export type GetFollowersFromAddressQuery = { + __typename?: 'query_root' + triples: Array<{ + __typename?: 'triples' + term_id: any + predicate: { __typename?: 'atoms'; label?: string | null } + object: { __typename?: 'atoms'; term_id: any } + term?: { + __typename?: 'terms' + id: any + positions: Array<{ + __typename?: 'positions' + shares: any + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + }> + } | null + counter_term?: { + __typename?: 'terms' + id: any + positions: Array<{ + __typename?: 'positions' + shares: any + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null + }> + } | null + }> +} + +export type GetFollowingsTriplesQueryVariables = Exact<{ + accountId: Scalars['String']['input'] +}> + +export type GetFollowingsTriplesQuery = { + __typename?: 'query_root' + triples: Array<{ + __typename?: 'triples' + term_id: any + object: { + __typename?: 'atoms' + term_id: any + label?: string | null + type: any + image?: string | null + accounts: Array<{ __typename?: 'accounts'; id: string }> + } + }> +} + +export type GetAccountByIdQueryVariables = Exact<{ + id: Scalars['String']['input'] +}> + +export type GetAccountByIdQuery = { + __typename?: 'query_root' + account?: { + __typename?: 'accounts' + id: string + label: string + image?: string | null + } | null +} + +export type GetPersonsByIdentifierQueryVariables = Exact<{ + identifier: Scalars['String']['input'] +}> + +export type GetPersonsByIdentifierQuery = { + __typename?: 'query_root' + persons: Array<{ + __typename?: 'persons' + id: any + name?: string | null + image?: string | null + description?: string | null + email?: string | null + url?: string | null + identifier?: string | 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 + claim_count: number + 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + 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 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 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 + block_timestamp: 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 GetListsTagsQueryVariables = Exact<{ + where?: InputMaybe + triplesWhere?: InputMaybe + limit?: InputMaybe + offset?: InputMaybe + orderBy?: InputMaybe | Atoms_Order_By> +}> + +export type GetListsTagsQuery = { + __typename?: 'query_root' + atoms_aggregate: { + __typename?: 'atoms_aggregate' + aggregate?: { __typename?: 'atoms_aggregate_fields'; count: number } | null + } + atoms: Array<{ + __typename?: 'atoms' + term_id: any + label?: string | null + image?: string | null + value?: { + __typename?: 'atom_values' + thing?: { __typename?: 'things'; description?: string | null } | null + } | null + as_object_triples_aggregate: { + __typename?: 'triples_aggregate' + aggregate?: { + __typename?: 'triples_aggregate_fields' + count: number + } | null + } + as_object_triples: Array<{ + __typename?: 'triples' + subject: { + __typename?: 'atoms' + label?: string | null + image?: string | null + } + }> + }> +} + +export type GetTaggedObjectsQueryVariables = Exact<{ + objectId: Scalars['numeric']['input'] + predicateId: Scalars['numeric']['input'] + address?: InputMaybe +}> + +export type GetTaggedObjectsQuery = { + __typename?: 'query_root' + triples: Array<{ + __typename?: 'triples' + term_id: any + subject: { + __typename?: 'atoms' + term_id: any + label?: string | null + image?: string | null + value?: { + __typename?: 'atom_values' + thing?: { + __typename?: 'things' + name?: string | null + description?: string | null + url?: string | null + } | null + person?: { __typename?: 'persons'; description?: string | null } | null + } | null + term: { + __typename?: 'terms' + vaults: Array<{ __typename?: 'vaults'; position_count: number }> + } + } + term?: { + __typename?: 'terms' + id: any + vaults: Array<{ __typename?: 'vaults'; position_count: number }> + positions: Array<{ __typename?: 'positions'; shares: any }> + } | null + counter_term?: { + __typename?: 'terms' + id: any + vaults: Array<{ __typename?: 'vaults'; position_count: number }> + positions: Array<{ __typename?: 'positions'; shares: any }> + } | null + }> +} + +export type GetTriplesByCreatorQueryVariables = Exact<{ + address?: InputMaybe +}> + +export type GetTriplesByCreatorQuery = { + __typename?: 'query_root' + triples: Array<{ + __typename?: 'triples' + term_id: any + creator_id: string + subject: { + __typename?: 'atoms' + term_id: any + label?: string | null + image?: string | null + type: any + } + predicate: { + __typename?: 'atoms' + term_id: any + label?: string | null + image?: string | null + type: any + } + object: { + __typename?: 'atoms' + term_id: any + label?: string | null + image?: string | null + type: any + } + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + } | null + } + counter_positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + } | 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 + block_timestamp: 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + block_timestamp: 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + block_timestamp: 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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 + } | 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' + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + } | null + } + 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' + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + } | null + } + 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 GetTriplesByAtomQueryVariables = Exact<{ + term_id?: InputMaybe + address?: InputMaybe +}> + +export type GetTriplesByAtomQuery = { + __typename?: 'query_root' + 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 + image?: string | null + type: any + } + predicate: { + __typename?: 'atoms' + term_id: any + label?: string | null + image?: string | null + type: any + } + object: { + __typename?: 'atoms' + term_id: any + label?: string | null + image?: string | null + type: any + } + term?: { + __typename?: 'terms' + id: any + positions: Array<{ + __typename?: 'positions' + shares: any + account_id: string + }> + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + } | null + } + } | null + counter_term?: { + __typename?: 'terms' + id: any + positions: Array<{ + __typename?: 'positions' + shares: any + account_id: string + }> + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + } | null + } + } | null + }> + } +} + +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 type EventsSubscriptionVariables = Exact<{ + addresses: Array | Scalars['String']['input'] + limit: Scalars['Int']['input'] +}> + +export type EventsSubscription = { + __typename?: 'subscription_root' + events: Array<{ + __typename?: 'events' + block_number: any + block_timestamp: 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' + id: any + total_market_cap?: any | null + vaults: Array<{ __typename?: 'vaults'; 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 + } | null + } | null + triple?: { + __typename?: 'triples' + term_id: any + counter_term_id: any + creator_id: string + subject_id: any + predicate_id: any + object_id: any + positions_aggregate: { + __typename?: 'positions_aggregate' + aggregate?: { + __typename?: 'positions_aggregate_fields' + count: number + } | null + } + creator?: { + __typename?: 'accounts' + image?: string | null + label: string + id: string + } | 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 + } + } + 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: { + __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 + } + } + 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 + } | 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 const AccountClaimsAggregateFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountClaimsAggregate' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'claims_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'position' }, + 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: 'position' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const AccountClaimsFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AccountClaims' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'claims' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'position' }, + 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: 'claimsLimit' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'offset' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'claimsOffset' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'claimsWhere' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'position' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const AccountPositionsAggregateFragmentDoc = { + 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 AccountPositionsFragmentDoc = { + 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 AccountAtomsFragmentDoc = { + 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 AccountAtomsAggregateFragmentDoc = { + 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 AccountTriplesFragmentDoc = { + 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 AccountTriplesAggregateFragmentDoc = { + 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 AtomTxnFragmentDoc = { + 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: 'block_timestamp' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transaction_hash' } }, + { kind: 'Field', name: { kind: 'Name', value: 'creator_id' } }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const AtomVaultDetailsFragmentDoc = { + 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' }, + }, + ], + }, + }, + ], + }, + }, + { + 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' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const AccountMetadataFragmentDoc = { + 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 AtomTripleFragmentDoc = { + 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 AtomVaultDetailsWithPositionsFragmentDoc = { + 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 DepositEventFragmentFragmentDoc = { + 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 RedemptionEventFragmentFragmentDoc = { + 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 AtomValueFragmentDoc = { + 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' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const AtomMetadataFragmentDoc = { + 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' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const PositionAggregateFieldsFragmentDoc = { + 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 PositionFieldsFragmentDoc = { + 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 TripleMetadataFragmentDoc = { + 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: '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 EventDetailsFragmentDoc = { + 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: 'block_timestamp' } }, + { 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: '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 TripleMetadataSubscriptionFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'TripleMetadataSubscription' }, + 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: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'creator_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: '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: '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: '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 VaultBasicDetailsFragmentDoc = { + 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 VaultFilteredPositionsFragmentDoc = { + 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 VaultDetailsWithFilteredPositionsFragmentDoc = { + 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 TripleVaultCouterVaultDetailsWithPositionsFragmentDoc = { + 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 EventDetailsSubscriptionFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'EventDetailsSubscription' }, + 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: 'block_timestamp' } }, + { 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_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'total_market_cap' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + 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: 'TripleMetadataSubscription' }, + }, + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'TripleVaultCouterVaultDetailsWithPositions', + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'counter_term_id' }, + }, + { + 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: '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: '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: '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: '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: 'TripleMetadataSubscription' }, + 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: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'creator_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: '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: '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: '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 FollowMetadataFragmentDoc = { + 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 FollowAggregateFragmentDoc = { + 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 StatDetailsFragmentDoc = { + 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 TripleTxnFragmentDoc = { + 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: 'block_timestamp' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transaction_hash' } }, + { kind: 'Field', name: { kind: 'Name', value: 'creator_id' } }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const PositionDetailsFragmentDoc = { + 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' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const TripleVaultDetailsFragmentDoc = { + 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: '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 VaultUnfilteredPositionsFragmentDoc = { + 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 VaultDetailsFragmentDoc = { + 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 VaultPositionsAggregateFragmentDoc = { + 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 VaultFieldsForTripleFragmentDoc = { + 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 AtomMetadataMaybedeletethisFragmentDoc = { + 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' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const PinPersonDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'pinPerson' }, + 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' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'email' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'identifier' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'pinPerson' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'person' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'name' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'name' }, + }, + }, + { + 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: 'url' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'url' }, + }, + }, + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'email' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'email' }, + }, + }, + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'identifier' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'identifier' }, + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'uri' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export type PinPersonMutationFn = Apollo.MutationFunction< + PinPersonMutation, + PinPersonMutationVariables +> + +/** + * __usePinPersonMutation__ + * + * To run a mutation, you first call `usePinPersonMutation` within a React component and pass it any options that fit your needs. + * When your component renders, `usePinPersonMutation` returns a tuple that includes: + * - A mutate function that you can call at any time to execute the mutation + * - An object with fields that represent the current status of the mutation's execution + * + * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; + * + * @example + * const [pinPersonMutation, { data, loading, error }] = usePinPersonMutation({ + * variables: { + * name: // value for 'name' + * description: // value for 'description' + * image: // value for 'image' + * url: // value for 'url' + * email: // value for 'email' + * identifier: // value for 'identifier' + * }, + * }); + */ +export function usePinPersonMutation( + baseOptions?: Apollo.MutationHookOptions< + PinPersonMutation, + PinPersonMutationVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useMutation( + PinPersonDocument, + options, + ) +} +export type PinPersonMutationHookResult = ReturnType< + typeof usePinPersonMutation +> +export type PinPersonMutationResult = Apollo.MutationResult +export type PinPersonMutationOptions = Apollo.BaseMutationOptions< + PinPersonMutation, + PinPersonMutationVariables +> +export const PinThingDocument = { + 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 type PinThingMutationFn = Apollo.MutationFunction< + PinThingMutation, + PinThingMutationVariables +> + +/** + * __usePinThingMutation__ + * + * To run a mutation, you first call `usePinThingMutation` within a React component and pass it any options that fit your needs. + * When your component renders, `usePinThingMutation` returns a tuple that includes: + * - A mutate function that you can call at any time to execute the mutation + * - An object with fields that represent the current status of the mutation's execution + * + * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; + * + * @example + * const [pinThingMutation, { data, loading, error }] = usePinThingMutation({ + * variables: { + * name: // value for 'name' + * description: // value for 'description' + * image: // value for 'image' + * url: // value for 'url' + * }, + * }); + */ +export function usePinThingMutation( + baseOptions?: Apollo.MutationHookOptions< + PinThingMutation, + PinThingMutationVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useMutation( + PinThingDocument, + options, + ) +} +export type PinThingMutationHookResult = ReturnType +export type PinThingMutationResult = Apollo.MutationResult +export type PinThingMutationOptions = Apollo.BaseMutationOptions< + PinThingMutation, + PinThingMutationVariables +> +export const GetAccountsDocument = { + 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: 'claimsLimit' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'claimsOffset' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'claimsWhere' }, + }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'claims_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: 'AccountClaims' }, + }, + { + 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: 'AccountClaims' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'claims' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'position' }, + 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: 'claimsLimit' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'offset' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'claimsOffset' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'claimsWhere' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'position' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + 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 + +/** + * __useGetAccountsQuery__ + * + * To run a query within a React component, call `useGetAccountsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetAccountsQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetAccountsQuery({ + * variables: { + * limit: // value for 'limit' + * offset: // value for 'offset' + * orderBy: // value for 'orderBy' + * where: // value for 'where' + * claimsLimit: // value for 'claimsLimit' + * claimsOffset: // value for 'claimsOffset' + * claimsWhere: // value for 'claimsWhere' + * positionsLimit: // value for 'positionsLimit' + * positionsOffset: // value for 'positionsOffset' + * positionsWhere: // value for 'positionsWhere' + * }, + * }); + */ +export function useGetAccountsQuery( + baseOptions?: Apollo.QueryHookOptions< + GetAccountsQuery, + GetAccountsQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetAccountsDocument, + options, + ) +} +export function useGetAccountsLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetAccountsQuery, + GetAccountsQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery( + GetAccountsDocument, + options, + ) +} +export function useGetAccountsSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetAccountsQuery, + GetAccountsQueryVariables + >, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery( + GetAccountsDocument, + options, + ) +} +export type GetAccountsQueryHookResult = ReturnType +export type GetAccountsLazyQueryHookResult = ReturnType< + typeof useGetAccountsLazyQuery +> +export type GetAccountsSuspenseQueryHookResult = ReturnType< + typeof useGetAccountsSuspenseQuery +> +export type GetAccountsQueryResult = Apollo.QueryResult< + GetAccountsQuery, + GetAccountsQueryVariables +> +export const GetAccountsWithAggregatesDocument = { + 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: 'claimsLimit' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'claimsOffset' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'claimsWhere' }, + }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'claims_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: 'AccountClaims' }, + }, + { + 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: 'AccountClaims' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'claims' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'position' }, + 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: 'claimsLimit' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'offset' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'claimsOffset' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'claimsWhere' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'position' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + 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 + +/** + * __useGetAccountsWithAggregatesQuery__ + * + * To run a query within a React component, call `useGetAccountsWithAggregatesQuery` and pass it any options that fit your needs. + * When your component renders, `useGetAccountsWithAggregatesQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetAccountsWithAggregatesQuery({ + * variables: { + * limit: // value for 'limit' + * offset: // value for 'offset' + * orderBy: // value for 'orderBy' + * where: // value for 'where' + * claimsLimit: // value for 'claimsLimit' + * claimsOffset: // value for 'claimsOffset' + * claimsWhere: // value for 'claimsWhere' + * positionsLimit: // value for 'positionsLimit' + * positionsOffset: // value for 'positionsOffset' + * positionsWhere: // value for 'positionsWhere' + * atomsWhere: // value for 'atomsWhere' + * atomsOrderBy: // value for 'atomsOrderBy' + * atomsLimit: // value for 'atomsLimit' + * atomsOffset: // value for 'atomsOffset' + * }, + * }); + */ +export function useGetAccountsWithAggregatesQuery( + baseOptions?: Apollo.QueryHookOptions< + GetAccountsWithAggregatesQuery, + GetAccountsWithAggregatesQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery< + GetAccountsWithAggregatesQuery, + GetAccountsWithAggregatesQueryVariables + >(GetAccountsWithAggregatesDocument, options) +} +export function useGetAccountsWithAggregatesLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetAccountsWithAggregatesQuery, + GetAccountsWithAggregatesQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetAccountsWithAggregatesQuery, + GetAccountsWithAggregatesQueryVariables + >(GetAccountsWithAggregatesDocument, options) +} +export function useGetAccountsWithAggregatesSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetAccountsWithAggregatesQuery, + GetAccountsWithAggregatesQueryVariables + >, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetAccountsWithAggregatesQuery, + GetAccountsWithAggregatesQueryVariables + >(GetAccountsWithAggregatesDocument, options) +} +export type GetAccountsWithAggregatesQueryHookResult = ReturnType< + typeof useGetAccountsWithAggregatesQuery +> +export type GetAccountsWithAggregatesLazyQueryHookResult = ReturnType< + typeof useGetAccountsWithAggregatesLazyQuery +> +export type GetAccountsWithAggregatesSuspenseQueryHookResult = ReturnType< + typeof useGetAccountsWithAggregatesSuspenseQuery +> +export type GetAccountsWithAggregatesQueryResult = Apollo.QueryResult< + GetAccountsWithAggregatesQuery, + GetAccountsWithAggregatesQueryVariables +> +export const GetAccountsCountDocument = { + 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 + +/** + * __useGetAccountsCountQuery__ + * + * To run a query within a React component, call `useGetAccountsCountQuery` and pass it any options that fit your needs. + * When your component renders, `useGetAccountsCountQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetAccountsCountQuery({ + * variables: { + * where: // value for 'where' + * }, + * }); + */ +export function useGetAccountsCountQuery( + baseOptions?: Apollo.QueryHookOptions< + GetAccountsCountQuery, + GetAccountsCountQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetAccountsCountDocument, + options, + ) +} +export function useGetAccountsCountLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetAccountsCountQuery, + GetAccountsCountQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetAccountsCountQuery, + GetAccountsCountQueryVariables + >(GetAccountsCountDocument, options) +} +export function useGetAccountsCountSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetAccountsCountQuery, + GetAccountsCountQueryVariables + >, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetAccountsCountQuery, + GetAccountsCountQueryVariables + >(GetAccountsCountDocument, options) +} +export type GetAccountsCountQueryHookResult = ReturnType< + typeof useGetAccountsCountQuery +> +export type GetAccountsCountLazyQueryHookResult = ReturnType< + typeof useGetAccountsCountLazyQuery +> +export type GetAccountsCountSuspenseQueryHookResult = ReturnType< + typeof useGetAccountsCountSuspenseQuery +> +export type GetAccountsCountQueryResult = Apollo.QueryResult< + GetAccountsCountQuery, + GetAccountsCountQueryVariables +> +export const GetAccountDocument = { + 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: 'claimsLimit' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'claimsOffset' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'claimsWhere' }, + }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'claims_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' } }, + }, + { + 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: 'AccountClaims' }, + }, + { + 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: 'AccountClaims' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'claims' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'position' }, + 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: 'claimsLimit' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'offset' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'claimsOffset' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'claimsWhere' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'position' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + 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: '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' }, + }, + ], + }, + }, + ], + }, + }, + { + 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' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode + +/** + * __useGetAccountQuery__ + * + * To run a query within a React component, call `useGetAccountQuery` and pass it any options that fit your needs. + * When your component renders, `useGetAccountQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetAccountQuery({ + * variables: { + * address: // value for 'address' + * claimsLimit: // value for 'claimsLimit' + * claimsOffset: // value for 'claimsOffset' + * claimsWhere: // value for 'claimsWhere' + * positionsLimit: // value for 'positionsLimit' + * positionsOffset: // value for 'positionsOffset' + * positionsWhere: // value for 'positionsWhere' + * atomsWhere: // value for 'atomsWhere' + * atomsOrderBy: // value for 'atomsOrderBy' + * atomsLimit: // value for 'atomsLimit' + * atomsOffset: // value for 'atomsOffset' + * triplesWhere: // value for 'triplesWhere' + * triplesOrderBy: // value for 'triplesOrderBy' + * triplesLimit: // value for 'triplesLimit' + * triplesOffset: // value for 'triplesOffset' + * }, + * }); + */ +export function useGetAccountQuery( + baseOptions: Apollo.QueryHookOptions< + GetAccountQuery, + GetAccountQueryVariables + > & + ( + | { variables: GetAccountQueryVariables; skip?: boolean } + | { skip: boolean } + ), +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetAccountDocument, + options, + ) +} +export function useGetAccountLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetAccountQuery, + GetAccountQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery( + GetAccountDocument, + options, + ) +} +export function useGetAccountSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetAccountQuery, + GetAccountQueryVariables + >, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery( + GetAccountDocument, + options, + ) +} +export type GetAccountQueryHookResult = ReturnType +export type GetAccountLazyQueryHookResult = ReturnType< + typeof useGetAccountLazyQuery +> +export type GetAccountSuspenseQueryHookResult = ReturnType< + typeof useGetAccountSuspenseQuery +> +export type GetAccountQueryResult = Apollo.QueryResult< + GetAccountQuery, + GetAccountQueryVariables +> +export const GetAccountWithPaginatedRelationsDocument = { + 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: 'claimsLimit' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'claimsOffset' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'claimsWhere' }, + }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'claims_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: '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: 'AccountClaims' }, + }, + { + 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: 'AccountClaims' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'claims' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'position' }, + 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: 'claimsLimit' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'offset' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'claimsOffset' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'claimsWhere' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'position' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + 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 + +/** + * __useGetAccountWithPaginatedRelationsQuery__ + * + * To run a query within a React component, call `useGetAccountWithPaginatedRelationsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetAccountWithPaginatedRelationsQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetAccountWithPaginatedRelationsQuery({ + * variables: { + * address: // value for 'address' + * claimsLimit: // value for 'claimsLimit' + * claimsOffset: // value for 'claimsOffset' + * claimsWhere: // value for 'claimsWhere' + * positionsLimit: // value for 'positionsLimit' + * positionsOffset: // value for 'positionsOffset' + * positionsWhere: // value for 'positionsWhere' + * atomsLimit: // value for 'atomsLimit' + * atomsOffset: // value for 'atomsOffset' + * atomsWhere: // value for 'atomsWhere' + * atomsOrderBy: // value for 'atomsOrderBy' + * triplesLimit: // value for 'triplesLimit' + * triplesOffset: // value for 'triplesOffset' + * triplesWhere: // value for 'triplesWhere' + * triplesOrderBy: // value for 'triplesOrderBy' + * }, + * }); + */ +export function useGetAccountWithPaginatedRelationsQuery( + baseOptions: Apollo.QueryHookOptions< + GetAccountWithPaginatedRelationsQuery, + GetAccountWithPaginatedRelationsQueryVariables + > & + ( + | { + variables: GetAccountWithPaginatedRelationsQueryVariables + skip?: boolean + } + | { skip: boolean } + ), +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery< + GetAccountWithPaginatedRelationsQuery, + GetAccountWithPaginatedRelationsQueryVariables + >(GetAccountWithPaginatedRelationsDocument, options) +} +export function useGetAccountWithPaginatedRelationsLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetAccountWithPaginatedRelationsQuery, + GetAccountWithPaginatedRelationsQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetAccountWithPaginatedRelationsQuery, + GetAccountWithPaginatedRelationsQueryVariables + >(GetAccountWithPaginatedRelationsDocument, options) +} +export function useGetAccountWithPaginatedRelationsSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetAccountWithPaginatedRelationsQuery, + GetAccountWithPaginatedRelationsQueryVariables + >, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetAccountWithPaginatedRelationsQuery, + GetAccountWithPaginatedRelationsQueryVariables + >(GetAccountWithPaginatedRelationsDocument, options) +} +export type GetAccountWithPaginatedRelationsQueryHookResult = ReturnType< + typeof useGetAccountWithPaginatedRelationsQuery +> +export type GetAccountWithPaginatedRelationsLazyQueryHookResult = ReturnType< + typeof useGetAccountWithPaginatedRelationsLazyQuery +> +export type GetAccountWithPaginatedRelationsSuspenseQueryHookResult = + ReturnType +export type GetAccountWithPaginatedRelationsQueryResult = Apollo.QueryResult< + GetAccountWithPaginatedRelationsQuery, + GetAccountWithPaginatedRelationsQueryVariables +> +export const GetAccountWithAggregatesDocument = { + 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: 'claimsLimit' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'claimsOffset' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'claimsWhere' }, + }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'claims_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' } }, + }, + { + 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: 'AccountClaimsAggregate' }, + }, + { + 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: 'AccountClaimsAggregate' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'accounts' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'claims_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'position' }, + 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: 'position' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + 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 + +/** + * __useGetAccountWithAggregatesQuery__ + * + * To run a query within a React component, call `useGetAccountWithAggregatesQuery` and pass it any options that fit your needs. + * When your component renders, `useGetAccountWithAggregatesQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetAccountWithAggregatesQuery({ + * variables: { + * address: // value for 'address' + * claimsLimit: // value for 'claimsLimit' + * claimsOffset: // value for 'claimsOffset' + * claimsWhere: // value for 'claimsWhere' + * positionsLimit: // value for 'positionsLimit' + * positionsOffset: // value for 'positionsOffset' + * positionsWhere: // value for 'positionsWhere' + * atomsWhere: // value for 'atomsWhere' + * atomsOrderBy: // value for 'atomsOrderBy' + * atomsLimit: // value for 'atomsLimit' + * atomsOffset: // value for 'atomsOffset' + * triplesWhere: // value for 'triplesWhere' + * triplesOrderBy: // value for 'triplesOrderBy' + * triplesLimit: // value for 'triplesLimit' + * triplesOffset: // value for 'triplesOffset' + * }, + * }); + */ +export function useGetAccountWithAggregatesQuery( + baseOptions: Apollo.QueryHookOptions< + GetAccountWithAggregatesQuery, + GetAccountWithAggregatesQueryVariables + > & + ( + | { variables: GetAccountWithAggregatesQueryVariables; skip?: boolean } + | { skip: boolean } + ), +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery< + GetAccountWithAggregatesQuery, + GetAccountWithAggregatesQueryVariables + >(GetAccountWithAggregatesDocument, options) +} +export function useGetAccountWithAggregatesLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetAccountWithAggregatesQuery, + GetAccountWithAggregatesQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetAccountWithAggregatesQuery, + GetAccountWithAggregatesQueryVariables + >(GetAccountWithAggregatesDocument, options) +} +export function useGetAccountWithAggregatesSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetAccountWithAggregatesQuery, + GetAccountWithAggregatesQueryVariables + >, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetAccountWithAggregatesQuery, + GetAccountWithAggregatesQueryVariables + >(GetAccountWithAggregatesDocument, options) +} +export type GetAccountWithAggregatesQueryHookResult = ReturnType< + typeof useGetAccountWithAggregatesQuery +> +export type GetAccountWithAggregatesLazyQueryHookResult = ReturnType< + typeof useGetAccountWithAggregatesLazyQuery +> +export type GetAccountWithAggregatesSuspenseQueryHookResult = ReturnType< + typeof useGetAccountWithAggregatesSuspenseQuery +> +export type GetAccountWithAggregatesQueryResult = Apollo.QueryResult< + GetAccountWithAggregatesQuery, + GetAccountWithAggregatesQueryVariables +> +export const GetAtomsDocument = { + 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: '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: 'block_timestamp' } }, + { 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: '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: '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 + +/** + * __useGetAtomsQuery__ + * + * To run a query within a React component, call `useGetAtomsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetAtomsQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetAtomsQuery({ + * variables: { + * limit: // value for 'limit' + * offset: // value for 'offset' + * orderBy: // value for 'orderBy' + * where: // value for 'where' + * }, + * }); + */ +export function useGetAtomsQuery( + baseOptions?: Apollo.QueryHookOptions, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetAtomsDocument, + options, + ) +} +export function useGetAtomsLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetAtomsQuery, + GetAtomsQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery( + GetAtomsDocument, + options, + ) +} +export function useGetAtomsSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery( + GetAtomsDocument, + options, + ) +} +export type GetAtomsQueryHookResult = ReturnType +export type GetAtomsLazyQueryHookResult = ReturnType< + typeof useGetAtomsLazyQuery +> +export type GetAtomsSuspenseQueryHookResult = ReturnType< + typeof useGetAtomsSuspenseQuery +> +export type GetAtomsQueryResult = Apollo.QueryResult< + GetAtomsQuery, + GetAtomsQueryVariables +> +export const GetAtomsWithPositionsDocument = { + 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: '_eq', + }, + 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: 'Field', + name: { kind: 'Name', value: 'as_subject_triples_aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'nodes' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + 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: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_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: '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: 'block_timestamp' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transaction_hash' } }, + { kind: 'Field', name: { kind: 'Name', value: 'creator_id' } }, + ], + }, + }, + ], +} as unknown as DocumentNode + +/** + * __useGetAtomsWithPositionsQuery__ + * + * To run a query within a React component, call `useGetAtomsWithPositionsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetAtomsWithPositionsQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetAtomsWithPositionsQuery({ + * variables: { + * limit: // value for 'limit' + * offset: // value for 'offset' + * orderBy: // value for 'orderBy' + * where: // value for 'where' + * address: // value for 'address' + * }, + * }); + */ +export function useGetAtomsWithPositionsQuery( + baseOptions?: Apollo.QueryHookOptions< + GetAtomsWithPositionsQuery, + GetAtomsWithPositionsQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery< + GetAtomsWithPositionsQuery, + GetAtomsWithPositionsQueryVariables + >(GetAtomsWithPositionsDocument, options) +} +export function useGetAtomsWithPositionsLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetAtomsWithPositionsQuery, + GetAtomsWithPositionsQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetAtomsWithPositionsQuery, + GetAtomsWithPositionsQueryVariables + >(GetAtomsWithPositionsDocument, options) +} +export function useGetAtomsWithPositionsSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetAtomsWithPositionsQuery, + GetAtomsWithPositionsQueryVariables + >, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetAtomsWithPositionsQuery, + GetAtomsWithPositionsQueryVariables + >(GetAtomsWithPositionsDocument, options) +} +export type GetAtomsWithPositionsQueryHookResult = ReturnType< + typeof useGetAtomsWithPositionsQuery +> +export type GetAtomsWithPositionsLazyQueryHookResult = ReturnType< + typeof useGetAtomsWithPositionsLazyQuery +> +export type GetAtomsWithPositionsSuspenseQueryHookResult = ReturnType< + typeof useGetAtomsWithPositionsSuspenseQuery +> +export type GetAtomsWithPositionsQueryResult = Apollo.QueryResult< + GetAtomsWithPositionsQuery, + GetAtomsWithPositionsQueryVariables +> +export const GetAtomsWithAggregatesDocument = { + 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: '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: 'block_timestamp' } }, + { 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: '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' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode + +/** + * __useGetAtomsWithAggregatesQuery__ + * + * To run a query within a React component, call `useGetAtomsWithAggregatesQuery` and pass it any options that fit your needs. + * When your component renders, `useGetAtomsWithAggregatesQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetAtomsWithAggregatesQuery({ + * variables: { + * limit: // value for 'limit' + * offset: // value for 'offset' + * orderBy: // value for 'orderBy' + * where: // value for 'where' + * }, + * }); + */ +export function useGetAtomsWithAggregatesQuery( + baseOptions?: Apollo.QueryHookOptions< + GetAtomsWithAggregatesQuery, + GetAtomsWithAggregatesQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery< + GetAtomsWithAggregatesQuery, + GetAtomsWithAggregatesQueryVariables + >(GetAtomsWithAggregatesDocument, options) +} +export function useGetAtomsWithAggregatesLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetAtomsWithAggregatesQuery, + GetAtomsWithAggregatesQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetAtomsWithAggregatesQuery, + GetAtomsWithAggregatesQueryVariables + >(GetAtomsWithAggregatesDocument, options) +} +export function useGetAtomsWithAggregatesSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetAtomsWithAggregatesQuery, + GetAtomsWithAggregatesQueryVariables + >, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetAtomsWithAggregatesQuery, + GetAtomsWithAggregatesQueryVariables + >(GetAtomsWithAggregatesDocument, options) +} +export type GetAtomsWithAggregatesQueryHookResult = ReturnType< + typeof useGetAtomsWithAggregatesQuery +> +export type GetAtomsWithAggregatesLazyQueryHookResult = ReturnType< + typeof useGetAtomsWithAggregatesLazyQuery +> +export type GetAtomsWithAggregatesSuspenseQueryHookResult = ReturnType< + typeof useGetAtomsWithAggregatesSuspenseQuery +> +export type GetAtomsWithAggregatesQueryResult = Apollo.QueryResult< + GetAtomsWithAggregatesQuery, + GetAtomsWithAggregatesQueryVariables +> +export const GetAtomsCountDocument = { + 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 + +/** + * __useGetAtomsCountQuery__ + * + * To run a query within a React component, call `useGetAtomsCountQuery` and pass it any options that fit your needs. + * When your component renders, `useGetAtomsCountQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetAtomsCountQuery({ + * variables: { + * where: // value for 'where' + * }, + * }); + */ +export function useGetAtomsCountQuery( + baseOptions?: Apollo.QueryHookOptions< + GetAtomsCountQuery, + GetAtomsCountQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetAtomsCountDocument, + options, + ) +} +export function useGetAtomsCountLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetAtomsCountQuery, + GetAtomsCountQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery( + GetAtomsCountDocument, + options, + ) +} +export function useGetAtomsCountSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetAtomsCountQuery, + GetAtomsCountQueryVariables + >, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetAtomsCountQuery, + GetAtomsCountQueryVariables + >(GetAtomsCountDocument, options) +} +export type GetAtomsCountQueryHookResult = ReturnType< + typeof useGetAtomsCountQuery +> +export type GetAtomsCountLazyQueryHookResult = ReturnType< + typeof useGetAtomsCountLazyQuery +> +export type GetAtomsCountSuspenseQueryHookResult = ReturnType< + typeof useGetAtomsCountSuspenseQuery +> +export type GetAtomsCountQueryResult = Apollo.QueryResult< + GetAtomsCountQuery, + GetAtomsCountQueryVariables +> +export const GetAtomDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetAtom' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'term_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: 'term_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: '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: 'block_timestamp' } }, + { 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: '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: '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 + +/** + * __useGetAtomQuery__ + * + * To run a query within a React component, call `useGetAtomQuery` and pass it any options that fit your needs. + * When your component renders, `useGetAtomQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetAtomQuery({ + * variables: { + * term_id: // value for 'term_id' + * }, + * }); + */ +export function useGetAtomQuery( + baseOptions: Apollo.QueryHookOptions & + ({ variables: GetAtomQueryVariables; skip?: boolean } | { skip: boolean }), +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetAtomDocument, + options, + ) +} +export function useGetAtomLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetAtomQuery, + GetAtomQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery( + GetAtomDocument, + options, + ) +} +export function useGetAtomSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery( + GetAtomDocument, + options, + ) +} +export type GetAtomQueryHookResult = ReturnType +export type GetAtomLazyQueryHookResult = ReturnType +export type GetAtomSuspenseQueryHookResult = ReturnType< + typeof useGetAtomSuspenseQuery +> +export type GetAtomQueryResult = Apollo.QueryResult< + GetAtomQuery, + GetAtomQueryVariables +> +export const GetAtomByDataDocument = { + 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: '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: 'block_timestamp' } }, + { 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: '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: '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 + +/** + * __useGetAtomByDataQuery__ + * + * To run a query within a React component, call `useGetAtomByDataQuery` and pass it any options that fit your needs. + * When your component renders, `useGetAtomByDataQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetAtomByDataQuery({ + * variables: { + * data: // value for 'data' + * }, + * }); + */ +export function useGetAtomByDataQuery( + baseOptions: Apollo.QueryHookOptions< + GetAtomByDataQuery, + GetAtomByDataQueryVariables + > & + ( + | { variables: GetAtomByDataQueryVariables; skip?: boolean } + | { skip: boolean } + ), +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetAtomByDataDocument, + options, + ) +} +export function useGetAtomByDataLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetAtomByDataQuery, + GetAtomByDataQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery( + GetAtomByDataDocument, + options, + ) +} +export function useGetAtomByDataSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetAtomByDataQuery, + GetAtomByDataQueryVariables + >, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetAtomByDataQuery, + GetAtomByDataQueryVariables + >(GetAtomByDataDocument, options) +} +export type GetAtomByDataQueryHookResult = ReturnType< + typeof useGetAtomByDataQuery +> +export type GetAtomByDataLazyQueryHookResult = ReturnType< + typeof useGetAtomByDataLazyQuery +> +export type GetAtomByDataSuspenseQueryHookResult = ReturnType< + typeof useGetAtomByDataSuspenseQuery +> +export type GetAtomByDataQueryResult = Apollo.QueryResult< + GetAtomByDataQuery, + GetAtomByDataQueryVariables +> +export const GetVerifiedAtomDetailsDocument = { + 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: 'block_timestamp' }, + }, + { 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' }, + }, + ], + }, + }, + ], + }, + }, + { + 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 + +/** + * __useGetVerifiedAtomDetailsQuery__ + * + * To run a query within a React component, call `useGetVerifiedAtomDetailsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetVerifiedAtomDetailsQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetVerifiedAtomDetailsQuery({ + * variables: { + * id: // value for 'id' + * userPositionAddress: // value for 'userPositionAddress' + * }, + * }); + */ +export function useGetVerifiedAtomDetailsQuery( + baseOptions: Apollo.QueryHookOptions< + GetVerifiedAtomDetailsQuery, + GetVerifiedAtomDetailsQueryVariables + > & + ( + | { variables: GetVerifiedAtomDetailsQueryVariables; skip?: boolean } + | { skip: boolean } + ), +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery< + GetVerifiedAtomDetailsQuery, + GetVerifiedAtomDetailsQueryVariables + >(GetVerifiedAtomDetailsDocument, options) +} +export function useGetVerifiedAtomDetailsLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetVerifiedAtomDetailsQuery, + GetVerifiedAtomDetailsQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetVerifiedAtomDetailsQuery, + GetVerifiedAtomDetailsQueryVariables + >(GetVerifiedAtomDetailsDocument, options) +} +export function useGetVerifiedAtomDetailsSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetVerifiedAtomDetailsQuery, + GetVerifiedAtomDetailsQueryVariables + >, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetVerifiedAtomDetailsQuery, + GetVerifiedAtomDetailsQueryVariables + >(GetVerifiedAtomDetailsDocument, options) +} +export type GetVerifiedAtomDetailsQueryHookResult = ReturnType< + typeof useGetVerifiedAtomDetailsQuery +> +export type GetVerifiedAtomDetailsLazyQueryHookResult = ReturnType< + typeof useGetVerifiedAtomDetailsLazyQuery +> +export type GetVerifiedAtomDetailsSuspenseQueryHookResult = ReturnType< + typeof useGetVerifiedAtomDetailsSuspenseQuery +> +export type GetVerifiedAtomDetailsQueryResult = Apollo.QueryResult< + GetVerifiedAtomDetailsQuery, + GetVerifiedAtomDetailsQueryVariables +> +export const GetAtomDetailsDocument = { + 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: 'block_timestamp' }, + }, + { 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 + +/** + * __useGetAtomDetailsQuery__ + * + * To run a query within a React component, call `useGetAtomDetailsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetAtomDetailsQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetAtomDetailsQuery({ + * variables: { + * id: // value for 'id' + * userPositionAddress: // value for 'userPositionAddress' + * }, + * }); + */ +export function useGetAtomDetailsQuery( + baseOptions: Apollo.QueryHookOptions< + GetAtomDetailsQuery, + GetAtomDetailsQueryVariables + > & + ( + | { variables: GetAtomDetailsQueryVariables; skip?: boolean } + | { skip: boolean } + ), +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetAtomDetailsDocument, + options, + ) +} +export function useGetAtomDetailsLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetAtomDetailsQuery, + GetAtomDetailsQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery( + GetAtomDetailsDocument, + options, + ) +} +export function useGetAtomDetailsSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetAtomDetailsQuery, + GetAtomDetailsQueryVariables + >, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetAtomDetailsQuery, + GetAtomDetailsQueryVariables + >(GetAtomDetailsDocument, options) +} +export type GetAtomDetailsQueryHookResult = ReturnType< + typeof useGetAtomDetailsQuery +> +export type GetAtomDetailsLazyQueryHookResult = ReturnType< + typeof useGetAtomDetailsLazyQuery +> +export type GetAtomDetailsSuspenseQueryHookResult = ReturnType< + typeof useGetAtomDetailsSuspenseQuery +> +export type GetAtomDetailsQueryResult = Apollo.QueryResult< + GetAtomDetailsQuery, + GetAtomDetailsQueryVariables +> +export const GetAtomsByCreatorDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetAtomsByCreator' }, + 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: 'atoms' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'creator' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '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: '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: 'type' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'block_number' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'block_timestamp' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'transaction_hash' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'creator_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: 'image' }, + }, + { + 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' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'position_count' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'total_market_cap' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'as_subject_triples_aggregate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'nodes' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + 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: 'object' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode + +/** + * __useGetAtomsByCreatorQuery__ + * + * To run a query within a React component, call `useGetAtomsByCreatorQuery` and pass it any options that fit your needs. + * When your component renders, `useGetAtomsByCreatorQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetAtomsByCreatorQuery({ + * variables: { + * address: // value for 'address' + * }, + * }); + */ +export function useGetAtomsByCreatorQuery( + baseOptions: Apollo.QueryHookOptions< + GetAtomsByCreatorQuery, + GetAtomsByCreatorQueryVariables + > & + ( + | { variables: GetAtomsByCreatorQueryVariables; skip?: boolean } + | { skip: boolean } + ), +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery< + GetAtomsByCreatorQuery, + GetAtomsByCreatorQueryVariables + >(GetAtomsByCreatorDocument, options) +} +export function useGetAtomsByCreatorLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetAtomsByCreatorQuery, + GetAtomsByCreatorQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetAtomsByCreatorQuery, + GetAtomsByCreatorQueryVariables + >(GetAtomsByCreatorDocument, options) +} +export function useGetAtomsByCreatorSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetAtomsByCreatorQuery, + GetAtomsByCreatorQueryVariables + >, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetAtomsByCreatorQuery, + GetAtomsByCreatorQueryVariables + >(GetAtomsByCreatorDocument, options) +} +export type GetAtomsByCreatorQueryHookResult = ReturnType< + typeof useGetAtomsByCreatorQuery +> +export type GetAtomsByCreatorLazyQueryHookResult = ReturnType< + typeof useGetAtomsByCreatorLazyQuery +> +export type GetAtomsByCreatorSuspenseQueryHookResult = ReturnType< + typeof useGetAtomsByCreatorSuspenseQuery +> +export type GetAtomsByCreatorQueryResult = Apollo.QueryResult< + GetAtomsByCreatorQuery, + GetAtomsByCreatorQueryVariables +> +export const GetClaimsByAddressDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetClaimsByAddress' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'address' }, + }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'claims_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: '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: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'position' }, + 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: 'label', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'predicate', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'label', + }, + }, + ], + }, + }, + { + 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', + name: { + kind: 'Name', + value: 'counter_term_id', + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode + +/** + * __useGetClaimsByAddressQuery__ + * + * To run a query within a React component, call `useGetClaimsByAddressQuery` and pass it any options that fit your needs. + * When your component renders, `useGetClaimsByAddressQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetClaimsByAddressQuery({ + * variables: { + * address: // value for 'address' + * }, + * }); + */ +export function useGetClaimsByAddressQuery( + baseOptions?: Apollo.QueryHookOptions< + GetClaimsByAddressQuery, + GetClaimsByAddressQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery< + GetClaimsByAddressQuery, + GetClaimsByAddressQueryVariables + >(GetClaimsByAddressDocument, options) +} +export function useGetClaimsByAddressLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetClaimsByAddressQuery, + GetClaimsByAddressQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetClaimsByAddressQuery, + GetClaimsByAddressQueryVariables + >(GetClaimsByAddressDocument, options) +} +export function useGetClaimsByAddressSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetClaimsByAddressQuery, + GetClaimsByAddressQueryVariables + >, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetClaimsByAddressQuery, + GetClaimsByAddressQueryVariables + >(GetClaimsByAddressDocument, options) +} +export type GetClaimsByAddressQueryHookResult = ReturnType< + typeof useGetClaimsByAddressQuery +> +export type GetClaimsByAddressLazyQueryHookResult = ReturnType< + typeof useGetClaimsByAddressLazyQuery +> +export type GetClaimsByAddressSuspenseQueryHookResult = ReturnType< + typeof useGetClaimsByAddressSuspenseQuery +> +export type GetClaimsByAddressQueryResult = Apollo.QueryResult< + GetClaimsByAddressQuery, + GetClaimsByAddressQueryVariables +> +export const GetClaimsByUriDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetClaimsByUri' }, + variableDefinitions: [ + { + 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: 'uri' } }, + 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: 'value' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'thing' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'url', + }, + 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: 'value' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'person' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'url', + }, + 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: 'value' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'organization', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'url', + }, + 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: 'value' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'book' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'url', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_eq', + }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'uri', + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'as_subject_triples_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: 'nodes' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'type' }, + }, + { + 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: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'type' }, + }, + { + 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: '_eq', + }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'address', + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: '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: 'counter_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' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'counter_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: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'type' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'as_object_triples_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: 'nodes' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'type' }, + }, + { + 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: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'type' }, + }, + { + 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: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'type' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + ], + }, + }, + { + 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: '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' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'counter_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: 'counter_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' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'type' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'as_predicate_triples_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: 'nodes' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'type' }, + }, + { + 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: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'type' }, + }, + { + 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: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'image' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'type' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + ], + }, + }, + { + 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: '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' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'counter_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: 'counter_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' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'type' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { 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: '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: 'value' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'thing' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'url' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode + +/** + * __useGetClaimsByUriQuery__ + * + * To run a query within a React component, call `useGetClaimsByUriQuery` and pass it any options that fit your needs. + * When your component renders, `useGetClaimsByUriQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetClaimsByUriQuery({ + * variables: { + * address: // value for 'address' + * uri: // value for 'uri' + * }, + * }); + */ +export function useGetClaimsByUriQuery( + baseOptions?: Apollo.QueryHookOptions< + GetClaimsByUriQuery, + GetClaimsByUriQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetClaimsByUriDocument, + options, + ) +} +export function useGetClaimsByUriLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetClaimsByUriQuery, + GetClaimsByUriQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery( + GetClaimsByUriDocument, + options, + ) +} +export function useGetClaimsByUriSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetClaimsByUriQuery, + GetClaimsByUriQueryVariables + >, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetClaimsByUriQuery, + GetClaimsByUriQueryVariables + >(GetClaimsByUriDocument, options) +} +export type GetClaimsByUriQueryHookResult = ReturnType< + typeof useGetClaimsByUriQuery +> +export type GetClaimsByUriLazyQueryHookResult = ReturnType< + typeof useGetClaimsByUriLazyQuery +> +export type GetClaimsByUriSuspenseQueryHookResult = ReturnType< + typeof useGetClaimsByUriSuspenseQuery +> +export type GetClaimsByUriQueryResult = Apollo.QueryResult< + GetClaimsByUriQuery, + GetClaimsByUriQueryVariables +> +export const GetEventsDocument = { + 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: 'block_timestamp' }, + }, + { 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: '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 + +/** + * __useGetEventsQuery__ + * + * To run a query within a React component, call `useGetEventsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetEventsQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetEventsQuery({ + * variables: { + * limit: // value for 'limit' + * offset: // value for 'offset' + * orderBy: // value for 'orderBy' + * where: // value for 'where' + * addresses: // value for 'addresses' + * }, + * }); + */ +export function useGetEventsQuery( + baseOptions?: Apollo.QueryHookOptions< + GetEventsQuery, + GetEventsQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetEventsDocument, + options, + ) +} +export function useGetEventsLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetEventsQuery, + GetEventsQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery( + GetEventsDocument, + options, + ) +} +export function useGetEventsSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery( + GetEventsDocument, + options, + ) +} +export type GetEventsQueryHookResult = ReturnType +export type GetEventsLazyQueryHookResult = ReturnType< + typeof useGetEventsLazyQuery +> +export type GetEventsSuspenseQueryHookResult = ReturnType< + typeof useGetEventsSuspenseQuery +> +export type GetEventsQueryResult = Apollo.QueryResult< + GetEventsQuery, + GetEventsQueryVariables +> +export const GetEventsWithAggregatesDocument = { + 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: 'block_timestamp' }, + }, + { + 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: 'block_timestamp' }, + }, + { + 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: '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: 'block_timestamp' } }, + { 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 + +/** + * __useGetEventsWithAggregatesQuery__ + * + * To run a query within a React component, call `useGetEventsWithAggregatesQuery` and pass it any options that fit your needs. + * When your component renders, `useGetEventsWithAggregatesQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetEventsWithAggregatesQuery({ + * variables: { + * limit: // value for 'limit' + * offset: // value for 'offset' + * orderBy: // value for 'orderBy' + * where: // value for 'where' + * addresses: // value for 'addresses' + * }, + * }); + */ +export function useGetEventsWithAggregatesQuery( + baseOptions?: Apollo.QueryHookOptions< + GetEventsWithAggregatesQuery, + GetEventsWithAggregatesQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery< + GetEventsWithAggregatesQuery, + GetEventsWithAggregatesQueryVariables + >(GetEventsWithAggregatesDocument, options) +} +export function useGetEventsWithAggregatesLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetEventsWithAggregatesQuery, + GetEventsWithAggregatesQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetEventsWithAggregatesQuery, + GetEventsWithAggregatesQueryVariables + >(GetEventsWithAggregatesDocument, options) +} +export function useGetEventsWithAggregatesSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetEventsWithAggregatesQuery, + GetEventsWithAggregatesQueryVariables + >, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetEventsWithAggregatesQuery, + GetEventsWithAggregatesQueryVariables + >(GetEventsWithAggregatesDocument, options) +} +export type GetEventsWithAggregatesQueryHookResult = ReturnType< + typeof useGetEventsWithAggregatesQuery +> +export type GetEventsWithAggregatesLazyQueryHookResult = ReturnType< + typeof useGetEventsWithAggregatesLazyQuery +> +export type GetEventsWithAggregatesSuspenseQueryHookResult = ReturnType< + typeof useGetEventsWithAggregatesSuspenseQuery +> +export type GetEventsWithAggregatesQueryResult = Apollo.QueryResult< + GetEventsWithAggregatesQuery, + GetEventsWithAggregatesQueryVariables +> +export const GetEventsCountDocument = { + 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 + +/** + * __useGetEventsCountQuery__ + * + * To run a query within a React component, call `useGetEventsCountQuery` and pass it any options that fit your needs. + * When your component renders, `useGetEventsCountQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetEventsCountQuery({ + * variables: { + * where: // value for 'where' + * }, + * }); + */ +export function useGetEventsCountQuery( + baseOptions?: Apollo.QueryHookOptions< + GetEventsCountQuery, + GetEventsCountQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetEventsCountDocument, + options, + ) +} +export function useGetEventsCountLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetEventsCountQuery, + GetEventsCountQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery( + GetEventsCountDocument, + options, + ) +} +export function useGetEventsCountSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetEventsCountQuery, + GetEventsCountQueryVariables + >, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetEventsCountQuery, + GetEventsCountQueryVariables + >(GetEventsCountDocument, options) +} +export type GetEventsCountQueryHookResult = ReturnType< + typeof useGetEventsCountQuery +> +export type GetEventsCountLazyQueryHookResult = ReturnType< + typeof useGetEventsCountLazyQuery +> +export type GetEventsCountSuspenseQueryHookResult = ReturnType< + typeof useGetEventsCountSuspenseQuery +> +export type GetEventsCountQueryResult = Apollo.QueryResult< + GetEventsCountQuery, + GetEventsCountQueryVariables +> +export const GetEventsDataDocument = { + 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: 'block_timestamp' }, + }, + { + 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: 'block_timestamp' }, + }, + { + 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 + +/** + * __useGetEventsDataQuery__ + * + * To run a query within a React component, call `useGetEventsDataQuery` and pass it any options that fit your needs. + * When your component renders, `useGetEventsDataQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetEventsDataQuery({ + * variables: { + * where: // value for 'where' + * }, + * }); + */ +export function useGetEventsDataQuery( + baseOptions?: Apollo.QueryHookOptions< + GetEventsDataQuery, + GetEventsDataQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetEventsDataDocument, + options, + ) +} +export function useGetEventsDataLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetEventsDataQuery, + GetEventsDataQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery( + GetEventsDataDocument, + options, + ) +} +export function useGetEventsDataSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetEventsDataQuery, + GetEventsDataQueryVariables + >, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetEventsDataQuery, + GetEventsDataQueryVariables + >(GetEventsDataDocument, options) +} +export type GetEventsDataQueryHookResult = ReturnType< + typeof useGetEventsDataQuery +> +export type GetEventsDataLazyQueryHookResult = ReturnType< + typeof useGetEventsDataLazyQuery +> +export type GetEventsDataSuspenseQueryHookResult = ReturnType< + typeof useGetEventsDataSuspenseQuery +> +export type GetEventsDataQueryResult = Apollo.QueryResult< + GetEventsDataQuery, + GetEventsDataQueryVariables +> +export const GetDebugEventsDocument = { + 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 + +/** + * __useGetDebugEventsQuery__ + * + * To run a query within a React component, call `useGetDebugEventsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetDebugEventsQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetDebugEventsQuery({ + * variables: { + * addresses: // value for 'addresses' + * }, + * }); + */ +export function useGetDebugEventsQuery( + baseOptions?: Apollo.QueryHookOptions< + GetDebugEventsQuery, + GetDebugEventsQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetDebugEventsDocument, + options, + ) +} +export function useGetDebugEventsLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetDebugEventsQuery, + GetDebugEventsQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery( + GetDebugEventsDocument, + options, + ) +} +export function useGetDebugEventsSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetDebugEventsQuery, + GetDebugEventsQueryVariables + >, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetDebugEventsQuery, + GetDebugEventsQueryVariables + >(GetDebugEventsDocument, options) +} +export type GetDebugEventsQueryHookResult = ReturnType< + typeof useGetDebugEventsQuery +> +export type GetDebugEventsLazyQueryHookResult = ReturnType< + typeof useGetDebugEventsLazyQuery +> +export type GetDebugEventsSuspenseQueryHookResult = ReturnType< + typeof useGetDebugEventsSuspenseQuery +> +export type GetDebugEventsQueryResult = Apollo.QueryResult< + GetDebugEventsQuery, + GetDebugEventsQueryVariables +> +export const GetFollowingPositionsDocument = { + 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: '_eq', + }, + 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: '_eq', + }, + 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: '_eq', + }, + 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: '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 + +/** + * __useGetFollowingPositionsQuery__ + * + * To run a query within a React component, call `useGetFollowingPositionsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetFollowingPositionsQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetFollowingPositionsQuery({ + * variables: { + * subjectId: // value for 'subjectId' + * predicateId: // value for 'predicateId' + * address: // value for 'address' + * limit: // value for 'limit' + * offset: // value for 'offset' + * positionsOrderBy: // value for 'positionsOrderBy' + * }, + * }); + */ +export function useGetFollowingPositionsQuery( + baseOptions: Apollo.QueryHookOptions< + GetFollowingPositionsQuery, + GetFollowingPositionsQueryVariables + > & + ( + | { variables: GetFollowingPositionsQueryVariables; skip?: boolean } + | { skip: boolean } + ), +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery< + GetFollowingPositionsQuery, + GetFollowingPositionsQueryVariables + >(GetFollowingPositionsDocument, options) +} +export function useGetFollowingPositionsLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetFollowingPositionsQuery, + GetFollowingPositionsQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetFollowingPositionsQuery, + GetFollowingPositionsQueryVariables + >(GetFollowingPositionsDocument, options) +} +export function useGetFollowingPositionsSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetFollowingPositionsQuery, + GetFollowingPositionsQueryVariables + >, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetFollowingPositionsQuery, + GetFollowingPositionsQueryVariables + >(GetFollowingPositionsDocument, options) +} +export type GetFollowingPositionsQueryHookResult = ReturnType< + typeof useGetFollowingPositionsQuery +> +export type GetFollowingPositionsLazyQueryHookResult = ReturnType< + typeof useGetFollowingPositionsLazyQuery +> +export type GetFollowingPositionsSuspenseQueryHookResult = ReturnType< + typeof useGetFollowingPositionsSuspenseQuery +> +export type GetFollowingPositionsQueryResult = Apollo.QueryResult< + GetFollowingPositionsQuery, + GetFollowingPositionsQueryVariables +> +export const GetFollowerPositionsDocument = { + 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: '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 + +/** + * __useGetFollowerPositionsQuery__ + * + * To run a query within a React component, call `useGetFollowerPositionsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetFollowerPositionsQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetFollowerPositionsQuery({ + * variables: { + * subjectId: // value for 'subjectId' + * predicateId: // value for 'predicateId' + * objectId: // value for 'objectId' + * positionsLimit: // value for 'positionsLimit' + * positionsOffset: // value for 'positionsOffset' + * positionsOrderBy: // value for 'positionsOrderBy' + * positionsWhere: // value for 'positionsWhere' + * }, + * }); + */ +export function useGetFollowerPositionsQuery( + baseOptions: Apollo.QueryHookOptions< + GetFollowerPositionsQuery, + GetFollowerPositionsQueryVariables + > & + ( + | { variables: GetFollowerPositionsQueryVariables; skip?: boolean } + | { skip: boolean } + ), +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery< + GetFollowerPositionsQuery, + GetFollowerPositionsQueryVariables + >(GetFollowerPositionsDocument, options) +} +export function useGetFollowerPositionsLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetFollowerPositionsQuery, + GetFollowerPositionsQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetFollowerPositionsQuery, + GetFollowerPositionsQueryVariables + >(GetFollowerPositionsDocument, options) +} +export function useGetFollowerPositionsSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetFollowerPositionsQuery, + GetFollowerPositionsQueryVariables + >, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetFollowerPositionsQuery, + GetFollowerPositionsQueryVariables + >(GetFollowerPositionsDocument, options) +} +export type GetFollowerPositionsQueryHookResult = ReturnType< + typeof useGetFollowerPositionsQuery +> +export type GetFollowerPositionsLazyQueryHookResult = ReturnType< + typeof useGetFollowerPositionsLazyQuery +> +export type GetFollowerPositionsSuspenseQueryHookResult = ReturnType< + typeof useGetFollowerPositionsSuspenseQuery +> +export type GetFollowerPositionsQueryResult = Apollo.QueryResult< + GetFollowerPositionsQuery, + GetFollowerPositionsQueryVariables +> +export const GetConnectionsDocument = { + 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 + +/** + * __useGetConnectionsQuery__ + * + * To run a query within a React component, call `useGetConnectionsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetConnectionsQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetConnectionsQuery({ + * variables: { + * subjectId: // value for 'subjectId' + * predicateId: // value for 'predicateId' + * objectId: // value for 'objectId' + * addresses: // value for 'addresses' + * positionsLimit: // value for 'positionsLimit' + * positionsOffset: // value for 'positionsOffset' + * positionsOrderBy: // value for 'positionsOrderBy' + * positionsWhere: // value for 'positionsWhere' + * }, + * }); + */ +export function useGetConnectionsQuery( + baseOptions: Apollo.QueryHookOptions< + GetConnectionsQuery, + GetConnectionsQueryVariables + > & + ( + | { variables: GetConnectionsQueryVariables; skip?: boolean } + | { skip: boolean } + ), +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetConnectionsDocument, + options, + ) +} +export function useGetConnectionsLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetConnectionsQuery, + GetConnectionsQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery( + GetConnectionsDocument, + options, + ) +} +export function useGetConnectionsSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetConnectionsQuery, + GetConnectionsQueryVariables + >, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetConnectionsQuery, + GetConnectionsQueryVariables + >(GetConnectionsDocument, options) +} +export type GetConnectionsQueryHookResult = ReturnType< + typeof useGetConnectionsQuery +> +export type GetConnectionsLazyQueryHookResult = ReturnType< + typeof useGetConnectionsLazyQuery +> +export type GetConnectionsSuspenseQueryHookResult = ReturnType< + typeof useGetConnectionsSuspenseQuery +> +export type GetConnectionsQueryResult = Apollo.QueryResult< + GetConnectionsQuery, + GetConnectionsQueryVariables +> +export const GetConnectionsCountDocument = { + 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: '_eq', + }, + 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 + +/** + * __useGetConnectionsCountQuery__ + * + * To run a query within a React component, call `useGetConnectionsCountQuery` and pass it any options that fit your needs. + * When your component renders, `useGetConnectionsCountQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetConnectionsCountQuery({ + * variables: { + * subjectId: // value for 'subjectId' + * predicateId: // value for 'predicateId' + * objectId: // value for 'objectId' + * address: // value for 'address' + * }, + * }); + */ +export function useGetConnectionsCountQuery( + baseOptions: Apollo.QueryHookOptions< + GetConnectionsCountQuery, + GetConnectionsCountQueryVariables + > & + ( + | { variables: GetConnectionsCountQueryVariables; skip?: boolean } + | { skip: boolean } + ), +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery< + GetConnectionsCountQuery, + GetConnectionsCountQueryVariables + >(GetConnectionsCountDocument, options) +} +export function useGetConnectionsCountLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetConnectionsCountQuery, + GetConnectionsCountQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetConnectionsCountQuery, + GetConnectionsCountQueryVariables + >(GetConnectionsCountDocument, options) +} +export function useGetConnectionsCountSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetConnectionsCountQuery, + GetConnectionsCountQueryVariables + >, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetConnectionsCountQuery, + GetConnectionsCountQueryVariables + >(GetConnectionsCountDocument, options) +} +export type GetConnectionsCountQueryHookResult = ReturnType< + typeof useGetConnectionsCountQuery +> +export type GetConnectionsCountLazyQueryHookResult = ReturnType< + typeof useGetConnectionsCountLazyQuery +> +export type GetConnectionsCountSuspenseQueryHookResult = ReturnType< + typeof useGetConnectionsCountSuspenseQuery +> +export type GetConnectionsCountQueryResult = Apollo.QueryResult< + GetConnectionsCountQuery, + GetConnectionsCountQueryVariables +> +export const GetFollowingsFromAddressDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'getFollowingsFromAddress' }, + 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: 'following' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'args' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'address' }, + 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: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'triples' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'term_id' }, + value: { kind: 'EnumValue', value: 'desc' }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'term_id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'type' }, + }, + ], + }, + }, + { + 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: '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: 'image' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'type' }, + }, + ], + }, + }, + { + 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: 'type' }, + }, + ], + }, + }, + { + 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: 'id' }, + }, + { + 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: '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' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'counter_term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + 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: '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' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { kind: 'IntValue', value: '10' }, + }, + ], + 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: 'shares' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + 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: 'object', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'term_id', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'type', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'image', + }, + }, + { + 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: 'type', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'image', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'label', + }, + }, + ], + }, + }, + { + 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: 'type', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'image', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'label', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'counter_term', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'id', + }, + }, + { + 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: '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', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'account', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'id', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'id', + }, + }, + { + 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: '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', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'account', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'id', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode + +/** + * __useGetFollowingsFromAddressQuery__ + * + * To run a query within a React component, call `useGetFollowingsFromAddressQuery` and pass it any options that fit your needs. + * When your component renders, `useGetFollowingsFromAddressQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetFollowingsFromAddressQuery({ + * variables: { + * address: // value for 'address' + * }, + * }); + */ +export function useGetFollowingsFromAddressQuery( + baseOptions: Apollo.QueryHookOptions< + GetFollowingsFromAddressQuery, + GetFollowingsFromAddressQueryVariables + > & + ( + | { variables: GetFollowingsFromAddressQueryVariables; skip?: boolean } + | { skip: boolean } + ), +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery< + GetFollowingsFromAddressQuery, + GetFollowingsFromAddressQueryVariables + >(GetFollowingsFromAddressDocument, options) +} +export function useGetFollowingsFromAddressLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetFollowingsFromAddressQuery, + GetFollowingsFromAddressQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetFollowingsFromAddressQuery, + GetFollowingsFromAddressQueryVariables + >(GetFollowingsFromAddressDocument, options) +} +export function useGetFollowingsFromAddressSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetFollowingsFromAddressQuery, + GetFollowingsFromAddressQueryVariables + >, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetFollowingsFromAddressQuery, + GetFollowingsFromAddressQueryVariables + >(GetFollowingsFromAddressDocument, options) +} +export type GetFollowingsFromAddressQueryHookResult = ReturnType< + typeof useGetFollowingsFromAddressQuery +> +export type GetFollowingsFromAddressLazyQueryHookResult = ReturnType< + typeof useGetFollowingsFromAddressLazyQuery +> +export type GetFollowingsFromAddressSuspenseQueryHookResult = ReturnType< + typeof useGetFollowingsFromAddressSuspenseQuery +> +export type GetFollowingsFromAddressQueryResult = Apollo.QueryResult< + GetFollowingsFromAddressQuery, + GetFollowingsFromAddressQueryVariables +> +export const GetFollowersFromAddressDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'getFollowersFromAddress' }, + 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: 'triples' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'predicate' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'label' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: 'follow', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'object' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'accounts' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '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: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'predicate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { 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: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + 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: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'positions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + 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' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode + +/** + * __useGetFollowersFromAddressQuery__ + * + * To run a query within a React component, call `useGetFollowersFromAddressQuery` and pass it any options that fit your needs. + * When your component renders, `useGetFollowersFromAddressQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetFollowersFromAddressQuery({ + * variables: { + * address: // value for 'address' + * }, + * }); + */ +export function useGetFollowersFromAddressQuery( + baseOptions: Apollo.QueryHookOptions< + GetFollowersFromAddressQuery, + GetFollowersFromAddressQueryVariables + > & + ( + | { variables: GetFollowersFromAddressQueryVariables; skip?: boolean } + | { skip: boolean } + ), +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery< + GetFollowersFromAddressQuery, + GetFollowersFromAddressQueryVariables + >(GetFollowersFromAddressDocument, options) +} +export function useGetFollowersFromAddressLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetFollowersFromAddressQuery, + GetFollowersFromAddressQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetFollowersFromAddressQuery, + GetFollowersFromAddressQueryVariables + >(GetFollowersFromAddressDocument, options) +} +export function useGetFollowersFromAddressSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetFollowersFromAddressQuery, + GetFollowersFromAddressQueryVariables + >, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetFollowersFromAddressQuery, + GetFollowersFromAddressQueryVariables + >(GetFollowersFromAddressDocument, options) +} +export type GetFollowersFromAddressQueryHookResult = ReturnType< + typeof useGetFollowersFromAddressQuery +> +export type GetFollowersFromAddressLazyQueryHookResult = ReturnType< + typeof useGetFollowersFromAddressLazyQuery +> +export type GetFollowersFromAddressSuspenseQueryHookResult = ReturnType< + typeof useGetFollowersFromAddressSuspenseQuery +> +export type GetFollowersFromAddressQueryResult = Apollo.QueryResult< + GetFollowersFromAddressQuery, + GetFollowersFromAddressQueryVariables +> +export const GetFollowingsTriplesDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetFollowingsTriples' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'accountId' }, + }, + 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: 'predicate' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'label' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: 'follow', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'subject' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'accounts' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'accountId', + }, + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'type' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'StringValue', + value: 'Account', + block: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + 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: 'term_id' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'accounts' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode + +/** + * __useGetFollowingsTriplesQuery__ + * + * To run a query within a React component, call `useGetFollowingsTriplesQuery` and pass it any options that fit your needs. + * When your component renders, `useGetFollowingsTriplesQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetFollowingsTriplesQuery({ + * variables: { + * accountId: // value for 'accountId' + * }, + * }); + */ +export function useGetFollowingsTriplesQuery( + baseOptions: Apollo.QueryHookOptions< + GetFollowingsTriplesQuery, + GetFollowingsTriplesQueryVariables + > & + ( + | { variables: GetFollowingsTriplesQueryVariables; skip?: boolean } + | { skip: boolean } + ), +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery< + GetFollowingsTriplesQuery, + GetFollowingsTriplesQueryVariables + >(GetFollowingsTriplesDocument, options) +} +export function useGetFollowingsTriplesLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetFollowingsTriplesQuery, + GetFollowingsTriplesQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetFollowingsTriplesQuery, + GetFollowingsTriplesQueryVariables + >(GetFollowingsTriplesDocument, options) +} +export function useGetFollowingsTriplesSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetFollowingsTriplesQuery, + GetFollowingsTriplesQueryVariables + >, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetFollowingsTriplesQuery, + GetFollowingsTriplesQueryVariables + >(GetFollowingsTriplesDocument, options) +} +export type GetFollowingsTriplesQueryHookResult = ReturnType< + typeof useGetFollowingsTriplesQuery +> +export type GetFollowingsTriplesLazyQueryHookResult = ReturnType< + typeof useGetFollowingsTriplesLazyQuery +> +export type GetFollowingsTriplesSuspenseQueryHookResult = ReturnType< + typeof useGetFollowingsTriplesSuspenseQuery +> +export type GetFollowingsTriplesQueryResult = Apollo.QueryResult< + GetFollowingsTriplesQuery, + GetFollowingsTriplesQueryVariables +> +export const GetAccountByIdDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetAccountById' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + 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: 'id' }, + }, + }, + ], + 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 + +/** + * __useGetAccountByIdQuery__ + * + * To run a query within a React component, call `useGetAccountByIdQuery` and pass it any options that fit your needs. + * When your component renders, `useGetAccountByIdQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetAccountByIdQuery({ + * variables: { + * id: // value for 'id' + * }, + * }); + */ +export function useGetAccountByIdQuery( + baseOptions: Apollo.QueryHookOptions< + GetAccountByIdQuery, + GetAccountByIdQueryVariables + > & + ( + | { variables: GetAccountByIdQueryVariables; skip?: boolean } + | { skip: boolean } + ), +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetAccountByIdDocument, + options, + ) +} +export function useGetAccountByIdLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetAccountByIdQuery, + GetAccountByIdQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery( + GetAccountByIdDocument, + options, + ) +} +export function useGetAccountByIdSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetAccountByIdQuery, + GetAccountByIdQueryVariables + >, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetAccountByIdQuery, + GetAccountByIdQueryVariables + >(GetAccountByIdDocument, options) +} +export type GetAccountByIdQueryHookResult = ReturnType< + typeof useGetAccountByIdQuery +> +export type GetAccountByIdLazyQueryHookResult = ReturnType< + typeof useGetAccountByIdLazyQuery +> +export type GetAccountByIdSuspenseQueryHookResult = ReturnType< + typeof useGetAccountByIdSuspenseQuery +> +export type GetAccountByIdQueryResult = Apollo.QueryResult< + GetAccountByIdQuery, + GetAccountByIdQueryVariables +> +export const GetPersonsByIdentifierDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetPersonsByIdentifier' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'identifier' }, + }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'String' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'persons' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'identifier' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'identifier' }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { 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: 'email' } }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + { kind: 'Field', name: { kind: 'Name', value: 'identifier' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode + +/** + * __useGetPersonsByIdentifierQuery__ + * + * To run a query within a React component, call `useGetPersonsByIdentifierQuery` and pass it any options that fit your needs. + * When your component renders, `useGetPersonsByIdentifierQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetPersonsByIdentifierQuery({ + * variables: { + * identifier: // value for 'identifier' + * }, + * }); + */ +export function useGetPersonsByIdentifierQuery( + baseOptions: Apollo.QueryHookOptions< + GetPersonsByIdentifierQuery, + GetPersonsByIdentifierQueryVariables + > & + ( + | { variables: GetPersonsByIdentifierQueryVariables; skip?: boolean } + | { skip: boolean } + ), +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery< + GetPersonsByIdentifierQuery, + GetPersonsByIdentifierQueryVariables + >(GetPersonsByIdentifierDocument, options) +} +export function useGetPersonsByIdentifierLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetPersonsByIdentifierQuery, + GetPersonsByIdentifierQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetPersonsByIdentifierQuery, + GetPersonsByIdentifierQueryVariables + >(GetPersonsByIdentifierDocument, options) +} +export function useGetPersonsByIdentifierSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetPersonsByIdentifierQuery, + GetPersonsByIdentifierQueryVariables + >, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetPersonsByIdentifierQuery, + GetPersonsByIdentifierQueryVariables + >(GetPersonsByIdentifierDocument, options) +} +export type GetPersonsByIdentifierQueryHookResult = ReturnType< + typeof useGetPersonsByIdentifierQuery +> +export type GetPersonsByIdentifierLazyQueryHookResult = ReturnType< + typeof useGetPersonsByIdentifierLazyQuery +> +export type GetPersonsByIdentifierSuspenseQueryHookResult = ReturnType< + typeof useGetPersonsByIdentifierSuspenseQuery +> +export type GetPersonsByIdentifierQueryResult = Apollo.QueryResult< + GetPersonsByIdentifierQuery, + GetPersonsByIdentifierQueryVariables +> +export const GetListsDocument = { + 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: 'claim_count' }, + value: { kind: 'EnumValue', value: 'desc' }, + }, + ], + }, + { + 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: 'claim_count' } }, + { + 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 + +/** + * __useGetListsQuery__ + * + * To run a query within a React component, call `useGetListsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetListsQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetListsQuery({ + * variables: { + * where: // value for 'where' + * }, + * }); + */ +export function useGetListsQuery( + baseOptions?: Apollo.QueryHookOptions, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetListsDocument, + options, + ) +} +export function useGetListsLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetListsQuery, + GetListsQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery( + GetListsDocument, + options, + ) +} +export function useGetListsSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery( + GetListsDocument, + options, + ) +} +export type GetListsQueryHookResult = ReturnType +export type GetListsLazyQueryHookResult = ReturnType< + typeof useGetListsLazyQuery +> +export type GetListsSuspenseQueryHookResult = ReturnType< + typeof useGetListsSuspenseQuery +> +export type GetListsQueryResult = Apollo.QueryResult< + GetListsQuery, + GetListsQueryVariables +> +export const GetListItemsDocument = { + 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: '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 + +/** + * __useGetListItemsQuery__ + * + * To run a query within a React component, call `useGetListItemsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetListItemsQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetListItemsQuery({ + * variables: { + * predicateId: // value for 'predicateId' + * objectId: // value for 'objectId' + * }, + * }); + */ +export function useGetListItemsQuery( + baseOptions?: Apollo.QueryHookOptions< + GetListItemsQuery, + GetListItemsQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetListItemsDocument, + options, + ) +} +export function useGetListItemsLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetListItemsQuery, + GetListItemsQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery( + GetListItemsDocument, + options, + ) +} +export function useGetListItemsSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetListItemsQuery, + GetListItemsQueryVariables + >, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery( + GetListItemsDocument, + options, + ) +} +export type GetListItemsQueryHookResult = ReturnType< + typeof useGetListItemsQuery +> +export type GetListItemsLazyQueryHookResult = ReturnType< + typeof useGetListItemsLazyQuery +> +export type GetListItemsSuspenseQueryHookResult = ReturnType< + typeof useGetListItemsSuspenseQuery +> +export type GetListItemsQueryResult = Apollo.QueryResult< + GetListItemsQuery, + GetListItemsQueryVariables +> +export const GetListDetailsDocument = { + 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', + 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 + +/** + * __useGetListDetailsQuery__ + * + * To run a query within a React component, call `useGetListDetailsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetListDetailsQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetListDetailsQuery({ + * variables: { + * globalWhere: // value for 'globalWhere' + * tagPredicateId: // value for 'tagPredicateId' + * limit: // value for 'limit' + * offset: // value for 'offset' + * orderBy: // value for 'orderBy' + * }, + * }); + */ +export function useGetListDetailsQuery( + baseOptions?: Apollo.QueryHookOptions< + GetListDetailsQuery, + GetListDetailsQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetListDetailsDocument, + options, + ) +} +export function useGetListDetailsLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetListDetailsQuery, + GetListDetailsQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery( + GetListDetailsDocument, + options, + ) +} +export function useGetListDetailsSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetListDetailsQuery, + GetListDetailsQueryVariables + >, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetListDetailsQuery, + GetListDetailsQueryVariables + >(GetListDetailsDocument, options) +} +export type GetListDetailsQueryHookResult = ReturnType< + typeof useGetListDetailsQuery +> +export type GetListDetailsLazyQueryHookResult = ReturnType< + typeof useGetListDetailsLazyQuery +> +export type GetListDetailsSuspenseQueryHookResult = ReturnType< + typeof useGetListDetailsSuspenseQuery +> +export type GetListDetailsQueryResult = Apollo.QueryResult< + GetListDetailsQuery, + GetListDetailsQueryVariables +> +export const GetListDetailsWithPositionDocument = { + 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: '_eq' }, + 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: '_eq' }, + 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 + +/** + * __useGetListDetailsWithPositionQuery__ + * + * To run a query within a React component, call `useGetListDetailsWithPositionQuery` and pass it any options that fit your needs. + * When your component renders, `useGetListDetailsWithPositionQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetListDetailsWithPositionQuery({ + * variables: { + * globalWhere: // value for 'globalWhere' + * tagPredicateId: // value for 'tagPredicateId' + * address: // value for 'address' + * limit: // value for 'limit' + * offset: // value for 'offset' + * orderBy: // value for 'orderBy' + * }, + * }); + */ +export function useGetListDetailsWithPositionQuery( + baseOptions?: Apollo.QueryHookOptions< + GetListDetailsWithPositionQuery, + GetListDetailsWithPositionQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery< + GetListDetailsWithPositionQuery, + GetListDetailsWithPositionQueryVariables + >(GetListDetailsWithPositionDocument, options) +} +export function useGetListDetailsWithPositionLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetListDetailsWithPositionQuery, + GetListDetailsWithPositionQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetListDetailsWithPositionQuery, + GetListDetailsWithPositionQueryVariables + >(GetListDetailsWithPositionDocument, options) +} +export function useGetListDetailsWithPositionSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetListDetailsWithPositionQuery, + GetListDetailsWithPositionQueryVariables + >, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetListDetailsWithPositionQuery, + GetListDetailsWithPositionQueryVariables + >(GetListDetailsWithPositionDocument, options) +} +export type GetListDetailsWithPositionQueryHookResult = ReturnType< + typeof useGetListDetailsWithPositionQuery +> +export type GetListDetailsWithPositionLazyQueryHookResult = ReturnType< + typeof useGetListDetailsWithPositionLazyQuery +> +export type GetListDetailsWithPositionSuspenseQueryHookResult = ReturnType< + typeof useGetListDetailsWithPositionSuspenseQuery +> +export type GetListDetailsWithPositionQueryResult = Apollo.QueryResult< + GetListDetailsWithPositionQuery, + GetListDetailsWithPositionQueryVariables +> +export const GetListDetailsWithUserDocument = { + 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: '_eq' }, + 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: '_eq' }, + 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: '_eq' }, + 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: '_eq' }, + 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 + +/** + * __useGetListDetailsWithUserQuery__ + * + * To run a query within a React component, call `useGetListDetailsWithUserQuery` and pass it any options that fit your needs. + * When your component renders, `useGetListDetailsWithUserQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetListDetailsWithUserQuery({ + * variables: { + * globalWhere: // value for 'globalWhere' + * userWhere: // value for 'userWhere' + * tagPredicateId: // value for 'tagPredicateId' + * address: // value for 'address' + * limit: // value for 'limit' + * offset: // value for 'offset' + * orderBy: // value for 'orderBy' + * }, + * }); + */ +export function useGetListDetailsWithUserQuery( + baseOptions?: Apollo.QueryHookOptions< + GetListDetailsWithUserQuery, + GetListDetailsWithUserQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery< + GetListDetailsWithUserQuery, + GetListDetailsWithUserQueryVariables + >(GetListDetailsWithUserDocument, options) +} +export function useGetListDetailsWithUserLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetListDetailsWithUserQuery, + GetListDetailsWithUserQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetListDetailsWithUserQuery, + GetListDetailsWithUserQueryVariables + >(GetListDetailsWithUserDocument, options) +} +export function useGetListDetailsWithUserSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetListDetailsWithUserQuery, + GetListDetailsWithUserQueryVariables + >, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetListDetailsWithUserQuery, + GetListDetailsWithUserQueryVariables + >(GetListDetailsWithUserDocument, options) +} +export type GetListDetailsWithUserQueryHookResult = ReturnType< + typeof useGetListDetailsWithUserQuery +> +export type GetListDetailsWithUserLazyQueryHookResult = ReturnType< + typeof useGetListDetailsWithUserLazyQuery +> +export type GetListDetailsWithUserSuspenseQueryHookResult = ReturnType< + typeof useGetListDetailsWithUserSuspenseQuery +> +export type GetListDetailsWithUserQueryResult = Apollo.QueryResult< + GetListDetailsWithUserQuery, + GetListDetailsWithUserQueryVariables +> +export const GetFeeTransfersDocument = { + 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: 'bigint' } }, + }, + ], + 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: 'block_timestamp' }, + 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: '_eq' }, + 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: 'block_timestamp' }, + 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: '_eq' }, + 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 + +/** + * __useGetFeeTransfersQuery__ + * + * To run a query within a React component, call `useGetFeeTransfersQuery` and pass it any options that fit your needs. + * When your component renders, `useGetFeeTransfersQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetFeeTransfersQuery({ + * variables: { + * address: // value for 'address' + * cutoff_timestamp: // value for 'cutoff_timestamp' + * }, + * }); + */ +export function useGetFeeTransfersQuery( + baseOptions: Apollo.QueryHookOptions< + GetFeeTransfersQuery, + GetFeeTransfersQueryVariables + > & + ( + | { variables: GetFeeTransfersQueryVariables; skip?: boolean } + | { skip: boolean } + ), +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetFeeTransfersDocument, + options, + ) +} +export function useGetFeeTransfersLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetFeeTransfersQuery, + GetFeeTransfersQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetFeeTransfersQuery, + GetFeeTransfersQueryVariables + >(GetFeeTransfersDocument, options) +} +export function useGetFeeTransfersSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetFeeTransfersQuery, + GetFeeTransfersQueryVariables + >, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetFeeTransfersQuery, + GetFeeTransfersQueryVariables + >(GetFeeTransfersDocument, options) +} +export type GetFeeTransfersQueryHookResult = ReturnType< + typeof useGetFeeTransfersQuery +> +export type GetFeeTransfersLazyQueryHookResult = ReturnType< + typeof useGetFeeTransfersLazyQuery +> +export type GetFeeTransfersSuspenseQueryHookResult = ReturnType< + typeof useGetFeeTransfersSuspenseQuery +> +export type GetFeeTransfersQueryResult = Apollo.QueryResult< + GetFeeTransfersQuery, + GetFeeTransfersQueryVariables +> +export const GetPositionsDocument = { + 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: '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 + +/** + * __useGetPositionsQuery__ + * + * To run a query within a React component, call `useGetPositionsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetPositionsQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetPositionsQuery({ + * variables: { + * limit: // value for 'limit' + * offset: // value for 'offset' + * orderBy: // value for 'orderBy' + * where: // value for 'where' + * }, + * }); + */ +export function useGetPositionsQuery( + baseOptions?: Apollo.QueryHookOptions< + GetPositionsQuery, + GetPositionsQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetPositionsDocument, + options, + ) +} +export function useGetPositionsLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetPositionsQuery, + GetPositionsQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery( + GetPositionsDocument, + options, + ) +} +export function useGetPositionsSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetPositionsQuery, + GetPositionsQueryVariables + >, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery( + GetPositionsDocument, + options, + ) +} +export type GetPositionsQueryHookResult = ReturnType< + typeof useGetPositionsQuery +> +export type GetPositionsLazyQueryHookResult = ReturnType< + typeof useGetPositionsLazyQuery +> +export type GetPositionsSuspenseQueryHookResult = ReturnType< + typeof useGetPositionsSuspenseQuery +> +export type GetPositionsQueryResult = Apollo.QueryResult< + GetPositionsQuery, + GetPositionsQueryVariables +> +export const GetTriplePositionsByAddressDocument = { + 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: '_eq', + }, + 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: '_eq', + }, + 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: '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 + +/** + * __useGetTriplePositionsByAddressQuery__ + * + * To run a query within a React component, call `useGetTriplePositionsByAddressQuery` and pass it any options that fit your needs. + * When your component renders, `useGetTriplePositionsByAddressQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetTriplePositionsByAddressQuery({ + * variables: { + * limit: // value for 'limit' + * offset: // value for 'offset' + * orderBy: // value for 'orderBy' + * where: // value for 'where' + * address: // value for 'address' + * }, + * }); + */ +export function useGetTriplePositionsByAddressQuery( + baseOptions: Apollo.QueryHookOptions< + GetTriplePositionsByAddressQuery, + GetTriplePositionsByAddressQueryVariables + > & + ( + | { variables: GetTriplePositionsByAddressQueryVariables; skip?: boolean } + | { skip: boolean } + ), +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery< + GetTriplePositionsByAddressQuery, + GetTriplePositionsByAddressQueryVariables + >(GetTriplePositionsByAddressDocument, options) +} +export function useGetTriplePositionsByAddressLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetTriplePositionsByAddressQuery, + GetTriplePositionsByAddressQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetTriplePositionsByAddressQuery, + GetTriplePositionsByAddressQueryVariables + >(GetTriplePositionsByAddressDocument, options) +} +export function useGetTriplePositionsByAddressSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetTriplePositionsByAddressQuery, + GetTriplePositionsByAddressQueryVariables + >, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetTriplePositionsByAddressQuery, + GetTriplePositionsByAddressQueryVariables + >(GetTriplePositionsByAddressDocument, options) +} +export type GetTriplePositionsByAddressQueryHookResult = ReturnType< + typeof useGetTriplePositionsByAddressQuery +> +export type GetTriplePositionsByAddressLazyQueryHookResult = ReturnType< + typeof useGetTriplePositionsByAddressLazyQuery +> +export type GetTriplePositionsByAddressSuspenseQueryHookResult = ReturnType< + typeof useGetTriplePositionsByAddressSuspenseQuery +> +export type GetTriplePositionsByAddressQueryResult = Apollo.QueryResult< + GetTriplePositionsByAddressQuery, + GetTriplePositionsByAddressQueryVariables +> +export const GetPositionsWithAggregatesDocument = { + 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: '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 + +/** + * __useGetPositionsWithAggregatesQuery__ + * + * To run a query within a React component, call `useGetPositionsWithAggregatesQuery` and pass it any options that fit your needs. + * When your component renders, `useGetPositionsWithAggregatesQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetPositionsWithAggregatesQuery({ + * variables: { + * limit: // value for 'limit' + * offset: // value for 'offset' + * orderBy: // value for 'orderBy' + * where: // value for 'where' + * }, + * }); + */ +export function useGetPositionsWithAggregatesQuery( + baseOptions?: Apollo.QueryHookOptions< + GetPositionsWithAggregatesQuery, + GetPositionsWithAggregatesQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery< + GetPositionsWithAggregatesQuery, + GetPositionsWithAggregatesQueryVariables + >(GetPositionsWithAggregatesDocument, options) +} +export function useGetPositionsWithAggregatesLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetPositionsWithAggregatesQuery, + GetPositionsWithAggregatesQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetPositionsWithAggregatesQuery, + GetPositionsWithAggregatesQueryVariables + >(GetPositionsWithAggregatesDocument, options) +} +export function useGetPositionsWithAggregatesSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetPositionsWithAggregatesQuery, + GetPositionsWithAggregatesQueryVariables + >, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetPositionsWithAggregatesQuery, + GetPositionsWithAggregatesQueryVariables + >(GetPositionsWithAggregatesDocument, options) +} +export type GetPositionsWithAggregatesQueryHookResult = ReturnType< + typeof useGetPositionsWithAggregatesQuery +> +export type GetPositionsWithAggregatesLazyQueryHookResult = ReturnType< + typeof useGetPositionsWithAggregatesLazyQuery +> +export type GetPositionsWithAggregatesSuspenseQueryHookResult = ReturnType< + typeof useGetPositionsWithAggregatesSuspenseQuery +> +export type GetPositionsWithAggregatesQueryResult = Apollo.QueryResult< + GetPositionsWithAggregatesQuery, + GetPositionsWithAggregatesQueryVariables +> +export const GetPositionsCountDocument = { + 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 + +/** + * __useGetPositionsCountQuery__ + * + * To run a query within a React component, call `useGetPositionsCountQuery` and pass it any options that fit your needs. + * When your component renders, `useGetPositionsCountQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetPositionsCountQuery({ + * variables: { + * where: // value for 'where' + * }, + * }); + */ +export function useGetPositionsCountQuery( + baseOptions?: Apollo.QueryHookOptions< + GetPositionsCountQuery, + GetPositionsCountQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery< + GetPositionsCountQuery, + GetPositionsCountQueryVariables + >(GetPositionsCountDocument, options) +} +export function useGetPositionsCountLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetPositionsCountQuery, + GetPositionsCountQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetPositionsCountQuery, + GetPositionsCountQueryVariables + >(GetPositionsCountDocument, options) +} +export function useGetPositionsCountSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetPositionsCountQuery, + GetPositionsCountQueryVariables + >, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetPositionsCountQuery, + GetPositionsCountQueryVariables + >(GetPositionsCountDocument, options) +} +export type GetPositionsCountQueryHookResult = ReturnType< + typeof useGetPositionsCountQuery +> +export type GetPositionsCountLazyQueryHookResult = ReturnType< + typeof useGetPositionsCountLazyQuery +> +export type GetPositionsCountSuspenseQueryHookResult = ReturnType< + typeof useGetPositionsCountSuspenseQuery +> +export type GetPositionsCountQueryResult = Apollo.QueryResult< + GetPositionsCountQuery, + GetPositionsCountQueryVariables +> +export const GetPositionDocument = { + 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: '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 + +/** + * __useGetPositionQuery__ + * + * To run a query within a React component, call `useGetPositionQuery` and pass it any options that fit your needs. + * When your component renders, `useGetPositionQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetPositionQuery({ + * variables: { + * positionId: // value for 'positionId' + * }, + * }); + */ +export function useGetPositionQuery( + baseOptions: Apollo.QueryHookOptions< + GetPositionQuery, + GetPositionQueryVariables + > & + ( + | { variables: GetPositionQueryVariables; skip?: boolean } + | { skip: boolean } + ), +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetPositionDocument, + options, + ) +} +export function useGetPositionLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetPositionQuery, + GetPositionQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery( + GetPositionDocument, + options, + ) +} +export function useGetPositionSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetPositionQuery, + GetPositionQueryVariables + >, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery( + GetPositionDocument, + options, + ) +} +export type GetPositionQueryHookResult = ReturnType +export type GetPositionLazyQueryHookResult = ReturnType< + typeof useGetPositionLazyQuery +> +export type GetPositionSuspenseQueryHookResult = ReturnType< + typeof useGetPositionSuspenseQuery +> +export type GetPositionQueryResult = Apollo.QueryResult< + GetPositionQuery, + GetPositionQueryVariables +> +export const GetPositionsCountByTypeDocument = { + 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 + +/** + * __useGetPositionsCountByTypeQuery__ + * + * To run a query within a React component, call `useGetPositionsCountByTypeQuery` and pass it any options that fit your needs. + * When your component renders, `useGetPositionsCountByTypeQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetPositionsCountByTypeQuery({ + * variables: { + * where: // value for 'where' + * }, + * }); + */ +export function useGetPositionsCountByTypeQuery( + baseOptions?: Apollo.QueryHookOptions< + GetPositionsCountByTypeQuery, + GetPositionsCountByTypeQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery< + GetPositionsCountByTypeQuery, + GetPositionsCountByTypeQueryVariables + >(GetPositionsCountByTypeDocument, options) +} +export function useGetPositionsCountByTypeLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetPositionsCountByTypeQuery, + GetPositionsCountByTypeQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetPositionsCountByTypeQuery, + GetPositionsCountByTypeQueryVariables + >(GetPositionsCountByTypeDocument, options) +} +export function useGetPositionsCountByTypeSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetPositionsCountByTypeQuery, + GetPositionsCountByTypeQueryVariables + >, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetPositionsCountByTypeQuery, + GetPositionsCountByTypeQueryVariables + >(GetPositionsCountByTypeDocument, options) +} +export type GetPositionsCountByTypeQueryHookResult = ReturnType< + typeof useGetPositionsCountByTypeQuery +> +export type GetPositionsCountByTypeLazyQueryHookResult = ReturnType< + typeof useGetPositionsCountByTypeLazyQuery +> +export type GetPositionsCountByTypeSuspenseQueryHookResult = ReturnType< + typeof useGetPositionsCountByTypeSuspenseQuery +> +export type GetPositionsCountByTypeQueryResult = Apollo.QueryResult< + GetPositionsCountByTypeQuery, + GetPositionsCountByTypeQueryVariables +> +export const GetSignalsDocument = { + 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: 'block_timestamp' }, + }, + { + 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: '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 + +/** + * __useGetSignalsQuery__ + * + * To run a query within a React component, call `useGetSignalsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetSignalsQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetSignalsQuery({ + * variables: { + * limit: // value for 'limit' + * offset: // value for 'offset' + * orderBy: // value for 'orderBy' + * addresses: // value for 'addresses' + * }, + * }); + */ +export function useGetSignalsQuery( + baseOptions?: Apollo.QueryHookOptions< + GetSignalsQuery, + GetSignalsQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetSignalsDocument, + options, + ) +} +export function useGetSignalsLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetSignalsQuery, + GetSignalsQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery( + GetSignalsDocument, + options, + ) +} +export function useGetSignalsSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetSignalsQuery, + GetSignalsQueryVariables + >, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery( + GetSignalsDocument, + options, + ) +} +export type GetSignalsQueryHookResult = ReturnType +export type GetSignalsLazyQueryHookResult = ReturnType< + typeof useGetSignalsLazyQuery +> +export type GetSignalsSuspenseQueryHookResult = ReturnType< + typeof useGetSignalsSuspenseQuery +> +export type GetSignalsQueryResult = Apollo.QueryResult< + GetSignalsQuery, + GetSignalsQueryVariables +> +export const GetStatsDocument = { + 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 + +/** + * __useGetStatsQuery__ + * + * To run a query within a React component, call `useGetStatsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetStatsQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetStatsQuery({ + * variables: { + * }, + * }); + */ +export function useGetStatsQuery( + baseOptions?: Apollo.QueryHookOptions, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetStatsDocument, + options, + ) +} +export function useGetStatsLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetStatsQuery, + GetStatsQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery( + GetStatsDocument, + options, + ) +} +export function useGetStatsSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery( + GetStatsDocument, + options, + ) +} +export type GetStatsQueryHookResult = ReturnType +export type GetStatsLazyQueryHookResult = ReturnType< + typeof useGetStatsLazyQuery +> +export type GetStatsSuspenseQueryHookResult = ReturnType< + typeof useGetStatsSuspenseQuery +> +export type GetStatsQueryResult = Apollo.QueryResult< + GetStatsQuery, + GetStatsQueryVariables +> +export const GetTagsDocument = { + 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: '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 + +/** + * __useGetTagsQuery__ + * + * To run a query within a React component, call `useGetTagsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetTagsQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetTagsQuery({ + * variables: { + * subjectId: // value for 'subjectId' + * predicateId: // value for 'predicateId' + * }, + * }); + */ +export function useGetTagsQuery( + baseOptions: Apollo.QueryHookOptions & + ({ variables: GetTagsQueryVariables; skip?: boolean } | { skip: boolean }), +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetTagsDocument, + options, + ) +} +export function useGetTagsLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetTagsQuery, + GetTagsQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery( + GetTagsDocument, + options, + ) +} +export function useGetTagsSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery( + GetTagsDocument, + options, + ) +} +export type GetTagsQueryHookResult = ReturnType +export type GetTagsLazyQueryHookResult = ReturnType +export type GetTagsSuspenseQueryHookResult = ReturnType< + typeof useGetTagsSuspenseQuery +> +export type GetTagsQueryResult = Apollo.QueryResult< + GetTagsQuery, + GetTagsQueryVariables +> +export const GetTagsCustomDocument = { + 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: '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 + +/** + * __useGetTagsCustomQuery__ + * + * To run a query within a React component, call `useGetTagsCustomQuery` and pass it any options that fit your needs. + * When your component renders, `useGetTagsCustomQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetTagsCustomQuery({ + * variables: { + * where: // value for 'where' + * }, + * }); + */ +export function useGetTagsCustomQuery( + baseOptions?: Apollo.QueryHookOptions< + GetTagsCustomQuery, + GetTagsCustomQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetTagsCustomDocument, + options, + ) +} +export function useGetTagsCustomLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetTagsCustomQuery, + GetTagsCustomQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery( + GetTagsCustomDocument, + options, + ) +} +export function useGetTagsCustomSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetTagsCustomQuery, + GetTagsCustomQueryVariables + >, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetTagsCustomQuery, + GetTagsCustomQueryVariables + >(GetTagsCustomDocument, options) +} +export type GetTagsCustomQueryHookResult = ReturnType< + typeof useGetTagsCustomQuery +> +export type GetTagsCustomLazyQueryHookResult = ReturnType< + typeof useGetTagsCustomLazyQuery +> +export type GetTagsCustomSuspenseQueryHookResult = ReturnType< + typeof useGetTagsCustomSuspenseQuery +> +export type GetTagsCustomQueryResult = Apollo.QueryResult< + GetTagsCustomQuery, + GetTagsCustomQueryVariables +> +export const GetListsTagsDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetListsTags' }, + variableDefinitions: [ + { + 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: 'triplesWhere' }, + }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'triples_bool_exp' }, + }, + }, + { + 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' }, + }, + }, + }, + }, + ], + 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' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'atoms' }, + 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: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { + 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: 'description' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'as_object_triples_aggregate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'triplesWhere' }, + }, + }, + ], + 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: 'as_object_triples' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'where' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'triplesWhere' }, + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { kind: 'IntValue', value: '10' }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'term' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'total_market_cap', + }, + value: { kind: 'EnumValue', value: 'desc' }, + }, + ], + }, + }, + ], + }, + }, + ], + 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: 'image' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode + +/** + * __useGetListsTagsQuery__ + * + * To run a query within a React component, call `useGetListsTagsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetListsTagsQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetListsTagsQuery({ + * variables: { + * where: // value for 'where' + * triplesWhere: // value for 'triplesWhere' + * limit: // value for 'limit' + * offset: // value for 'offset' + * orderBy: // value for 'orderBy' + * }, + * }); + */ +export function useGetListsTagsQuery( + baseOptions?: Apollo.QueryHookOptions< + GetListsTagsQuery, + GetListsTagsQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetListsTagsDocument, + options, + ) +} +export function useGetListsTagsLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetListsTagsQuery, + GetListsTagsQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery( + GetListsTagsDocument, + options, + ) +} +export function useGetListsTagsSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetListsTagsQuery, + GetListsTagsQueryVariables + >, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery( + GetListsTagsDocument, + options, + ) +} +export type GetListsTagsQueryHookResult = ReturnType< + typeof useGetListsTagsQuery +> +export type GetListsTagsLazyQueryHookResult = ReturnType< + typeof useGetListsTagsLazyQuery +> +export type GetListsTagsSuspenseQueryHookResult = ReturnType< + typeof useGetListsTagsSuspenseQuery +> +export type GetListsTagsQueryResult = Apollo.QueryResult< + GetListsTagsQuery, + GetListsTagsQueryVariables +> +export const GetTaggedObjectsDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetTaggedObjects' }, + variableDefinitions: [ + { + 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: 'predicateId' }, + }, + type: { + kind: 'NonNullType', + 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' } }, + }, + ], + 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: 'object_id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: '_eq' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'objectId' }, + }, + }, + ], + }, + }, + { + 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: '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: 'image' } }, + { + 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: 'person' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'description', + }, + }, + ], + }, + }, + ], + }, + }, + { + 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', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + 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: '_eq' }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'address', + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + 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: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + 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: '_eq' }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'address', + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'shares' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode + +/** + * __useGetTaggedObjectsQuery__ + * + * To run a query within a React component, call `useGetTaggedObjectsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetTaggedObjectsQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetTaggedObjectsQuery({ + * variables: { + * objectId: // value for 'objectId' + * predicateId: // value for 'predicateId' + * address: // value for 'address' + * }, + * }); + */ +export function useGetTaggedObjectsQuery( + baseOptions: Apollo.QueryHookOptions< + GetTaggedObjectsQuery, + GetTaggedObjectsQueryVariables + > & + ( + | { variables: GetTaggedObjectsQueryVariables; skip?: boolean } + | { skip: boolean } + ), +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetTaggedObjectsDocument, + options, + ) +} +export function useGetTaggedObjectsLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetTaggedObjectsQuery, + GetTaggedObjectsQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetTaggedObjectsQuery, + GetTaggedObjectsQueryVariables + >(GetTaggedObjectsDocument, options) +} +export function useGetTaggedObjectsSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetTaggedObjectsQuery, + GetTaggedObjectsQueryVariables + >, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetTaggedObjectsQuery, + GetTaggedObjectsQueryVariables + >(GetTaggedObjectsDocument, options) +} +export type GetTaggedObjectsQueryHookResult = ReturnType< + typeof useGetTaggedObjectsQuery +> +export type GetTaggedObjectsLazyQueryHookResult = ReturnType< + typeof useGetTaggedObjectsLazyQuery +> +export type GetTaggedObjectsSuspenseQueryHookResult = ReturnType< + typeof useGetTaggedObjectsSuspenseQuery +> +export type GetTaggedObjectsQueryResult = Apollo.QueryResult< + GetTaggedObjectsQuery, + GetTaggedObjectsQueryVariables +> +export const GetTriplesByCreatorDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetTriplesByCreator' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'address' }, + }, + 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: 'creator_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: 'term_id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'creator_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: '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: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + 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: 'type' } }, + ], + }, + }, + { + 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: 'counter_positions_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 + +/** + * __useGetTriplesByCreatorQuery__ + * + * To run a query within a React component, call `useGetTriplesByCreatorQuery` and pass it any options that fit your needs. + * When your component renders, `useGetTriplesByCreatorQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetTriplesByCreatorQuery({ + * variables: { + * address: // value for 'address' + * }, + * }); + */ +export function useGetTriplesByCreatorQuery( + baseOptions?: Apollo.QueryHookOptions< + GetTriplesByCreatorQuery, + GetTriplesByCreatorQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery< + GetTriplesByCreatorQuery, + GetTriplesByCreatorQueryVariables + >(GetTriplesByCreatorDocument, options) +} +export function useGetTriplesByCreatorLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetTriplesByCreatorQuery, + GetTriplesByCreatorQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetTriplesByCreatorQuery, + GetTriplesByCreatorQueryVariables + >(GetTriplesByCreatorDocument, options) +} +export function useGetTriplesByCreatorSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetTriplesByCreatorQuery, + GetTriplesByCreatorQueryVariables + >, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetTriplesByCreatorQuery, + GetTriplesByCreatorQueryVariables + >(GetTriplesByCreatorDocument, options) +} +export type GetTriplesByCreatorQueryHookResult = ReturnType< + typeof useGetTriplesByCreatorQuery +> +export type GetTriplesByCreatorLazyQueryHookResult = ReturnType< + typeof useGetTriplesByCreatorLazyQuery +> +export type GetTriplesByCreatorSuspenseQueryHookResult = ReturnType< + typeof useGetTriplesByCreatorSuspenseQuery +> +export type GetTriplesByCreatorQueryResult = Apollo.QueryResult< + GetTriplesByCreatorQuery, + GetTriplesByCreatorQueryVariables +> +export const GetTriplesDocument = { + 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: '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: 'block_timestamp' } }, + { 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 + +/** + * __useGetTriplesQuery__ + * + * To run a query within a React component, call `useGetTriplesQuery` and pass it any options that fit your needs. + * When your component renders, `useGetTriplesQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetTriplesQuery({ + * variables: { + * limit: // value for 'limit' + * offset: // value for 'offset' + * orderBy: // value for 'orderBy' + * where: // value for 'where' + * }, + * }); + */ +export function useGetTriplesQuery( + baseOptions?: Apollo.QueryHookOptions< + GetTriplesQuery, + GetTriplesQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetTriplesDocument, + options, + ) +} +export function useGetTriplesLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetTriplesQuery, + GetTriplesQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery( + GetTriplesDocument, + options, + ) +} +export function useGetTriplesSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetTriplesQuery, + GetTriplesQueryVariables + >, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery( + GetTriplesDocument, + options, + ) +} +export type GetTriplesQueryHookResult = ReturnType +export type GetTriplesLazyQueryHookResult = ReturnType< + typeof useGetTriplesLazyQuery +> +export type GetTriplesSuspenseQueryHookResult = ReturnType< + typeof useGetTriplesSuspenseQuery +> +export type GetTriplesQueryResult = Apollo.QueryResult< + GetTriplesQuery, + GetTriplesQueryVariables +> +export const GetTriplesWithAggregatesDocument = { + 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: '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: 'block_timestamp' } }, + { 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 + +/** + * __useGetTriplesWithAggregatesQuery__ + * + * To run a query within a React component, call `useGetTriplesWithAggregatesQuery` and pass it any options that fit your needs. + * When your component renders, `useGetTriplesWithAggregatesQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetTriplesWithAggregatesQuery({ + * variables: { + * limit: // value for 'limit' + * offset: // value for 'offset' + * orderBy: // value for 'orderBy' + * where: // value for 'where' + * }, + * }); + */ +export function useGetTriplesWithAggregatesQuery( + baseOptions?: Apollo.QueryHookOptions< + GetTriplesWithAggregatesQuery, + GetTriplesWithAggregatesQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery< + GetTriplesWithAggregatesQuery, + GetTriplesWithAggregatesQueryVariables + >(GetTriplesWithAggregatesDocument, options) +} +export function useGetTriplesWithAggregatesLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetTriplesWithAggregatesQuery, + GetTriplesWithAggregatesQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetTriplesWithAggregatesQuery, + GetTriplesWithAggregatesQueryVariables + >(GetTriplesWithAggregatesDocument, options) +} +export function useGetTriplesWithAggregatesSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetTriplesWithAggregatesQuery, + GetTriplesWithAggregatesQueryVariables + >, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetTriplesWithAggregatesQuery, + GetTriplesWithAggregatesQueryVariables + >(GetTriplesWithAggregatesDocument, options) +} +export type GetTriplesWithAggregatesQueryHookResult = ReturnType< + typeof useGetTriplesWithAggregatesQuery +> +export type GetTriplesWithAggregatesLazyQueryHookResult = ReturnType< + typeof useGetTriplesWithAggregatesLazyQuery +> +export type GetTriplesWithAggregatesSuspenseQueryHookResult = ReturnType< + typeof useGetTriplesWithAggregatesSuspenseQuery +> +export type GetTriplesWithAggregatesQueryResult = Apollo.QueryResult< + GetTriplesWithAggregatesQuery, + GetTriplesWithAggregatesQueryVariables +> +export const GetTriplesCountDocument = { + 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 + +/** + * __useGetTriplesCountQuery__ + * + * To run a query within a React component, call `useGetTriplesCountQuery` and pass it any options that fit your needs. + * When your component renders, `useGetTriplesCountQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetTriplesCountQuery({ + * variables: { + * where: // value for 'where' + * }, + * }); + */ +export function useGetTriplesCountQuery( + baseOptions?: Apollo.QueryHookOptions< + GetTriplesCountQuery, + GetTriplesCountQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetTriplesCountDocument, + options, + ) +} +export function useGetTriplesCountLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetTriplesCountQuery, + GetTriplesCountQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetTriplesCountQuery, + GetTriplesCountQueryVariables + >(GetTriplesCountDocument, options) +} +export function useGetTriplesCountSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetTriplesCountQuery, + GetTriplesCountQueryVariables + >, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetTriplesCountQuery, + GetTriplesCountQueryVariables + >(GetTriplesCountDocument, options) +} +export type GetTriplesCountQueryHookResult = ReturnType< + typeof useGetTriplesCountQuery +> +export type GetTriplesCountLazyQueryHookResult = ReturnType< + typeof useGetTriplesCountLazyQuery +> +export type GetTriplesCountSuspenseQueryHookResult = ReturnType< + typeof useGetTriplesCountSuspenseQuery +> +export type GetTriplesCountQueryResult = Apollo.QueryResult< + GetTriplesCountQuery, + GetTriplesCountQueryVariables +> +export const GetTripleDocument = { + 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: '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: 'block_timestamp' } }, + { 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 + +/** + * __useGetTripleQuery__ + * + * To run a query within a React component, call `useGetTripleQuery` and pass it any options that fit your needs. + * When your component renders, `useGetTripleQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetTripleQuery({ + * variables: { + * tripleId: // value for 'tripleId' + * }, + * }); + */ +export function useGetTripleQuery( + baseOptions: Apollo.QueryHookOptions< + GetTripleQuery, + GetTripleQueryVariables + > & + ( + | { variables: GetTripleQueryVariables; skip?: boolean } + | { skip: boolean } + ), +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetTripleDocument, + options, + ) +} +export function useGetTripleLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetTripleQuery, + GetTripleQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery( + GetTripleDocument, + options, + ) +} +export function useGetTripleSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery( + GetTripleDocument, + options, + ) +} +export type GetTripleQueryHookResult = ReturnType +export type GetTripleLazyQueryHookResult = ReturnType< + typeof useGetTripleLazyQuery +> +export type GetTripleSuspenseQueryHookResult = ReturnType< + typeof useGetTripleSuspenseQuery +> +export type GetTripleQueryResult = Apollo.QueryResult< + GetTripleQuery, + GetTripleQueryVariables +> +export const GetAtomTriplesWithPositionsDocument = { + 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 + +/** + * __useGetAtomTriplesWithPositionsQuery__ + * + * To run a query within a React component, call `useGetAtomTriplesWithPositionsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetAtomTriplesWithPositionsQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetAtomTriplesWithPositionsQuery({ + * variables: { + * where: // value for 'where' + * }, + * }); + */ +export function useGetAtomTriplesWithPositionsQuery( + baseOptions?: Apollo.QueryHookOptions< + GetAtomTriplesWithPositionsQuery, + GetAtomTriplesWithPositionsQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery< + GetAtomTriplesWithPositionsQuery, + GetAtomTriplesWithPositionsQueryVariables + >(GetAtomTriplesWithPositionsDocument, options) +} +export function useGetAtomTriplesWithPositionsLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetAtomTriplesWithPositionsQuery, + GetAtomTriplesWithPositionsQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetAtomTriplesWithPositionsQuery, + GetAtomTriplesWithPositionsQueryVariables + >(GetAtomTriplesWithPositionsDocument, options) +} +export function useGetAtomTriplesWithPositionsSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetAtomTriplesWithPositionsQuery, + GetAtomTriplesWithPositionsQueryVariables + >, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetAtomTriplesWithPositionsQuery, + GetAtomTriplesWithPositionsQueryVariables + >(GetAtomTriplesWithPositionsDocument, options) +} +export type GetAtomTriplesWithPositionsQueryHookResult = ReturnType< + typeof useGetAtomTriplesWithPositionsQuery +> +export type GetAtomTriplesWithPositionsLazyQueryHookResult = ReturnType< + typeof useGetAtomTriplesWithPositionsLazyQuery +> +export type GetAtomTriplesWithPositionsSuspenseQueryHookResult = ReturnType< + typeof useGetAtomTriplesWithPositionsSuspenseQuery +> +export type GetAtomTriplesWithPositionsQueryResult = Apollo.QueryResult< + GetAtomTriplesWithPositionsQuery, + GetAtomTriplesWithPositionsQueryVariables +> +export const GetTriplesWithPositionsDocument = { + 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: '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: '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: '_eq', + }, + 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_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: '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: '_eq', + }, + 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 + +/** + * __useGetTriplesWithPositionsQuery__ + * + * To run a query within a React component, call `useGetTriplesWithPositionsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetTriplesWithPositionsQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetTriplesWithPositionsQuery({ + * variables: { + * limit: // value for 'limit' + * offset: // value for 'offset' + * orderBy: // value for 'orderBy' + * where: // value for 'where' + * address: // value for 'address' + * }, + * }); + */ +export function useGetTriplesWithPositionsQuery( + baseOptions?: Apollo.QueryHookOptions< + GetTriplesWithPositionsQuery, + GetTriplesWithPositionsQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery< + GetTriplesWithPositionsQuery, + GetTriplesWithPositionsQueryVariables + >(GetTriplesWithPositionsDocument, options) +} +export function useGetTriplesWithPositionsLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetTriplesWithPositionsQuery, + GetTriplesWithPositionsQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetTriplesWithPositionsQuery, + GetTriplesWithPositionsQueryVariables + >(GetTriplesWithPositionsDocument, options) +} +export function useGetTriplesWithPositionsSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetTriplesWithPositionsQuery, + GetTriplesWithPositionsQueryVariables + >, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetTriplesWithPositionsQuery, + GetTriplesWithPositionsQueryVariables + >(GetTriplesWithPositionsDocument, options) +} +export type GetTriplesWithPositionsQueryHookResult = ReturnType< + typeof useGetTriplesWithPositionsQuery +> +export type GetTriplesWithPositionsLazyQueryHookResult = ReturnType< + typeof useGetTriplesWithPositionsLazyQuery +> +export type GetTriplesWithPositionsSuspenseQueryHookResult = ReturnType< + typeof useGetTriplesWithPositionsSuspenseQuery +> +export type GetTriplesWithPositionsQueryResult = Apollo.QueryResult< + GetTriplesWithPositionsQuery, + GetTriplesWithPositionsQueryVariables +> +export const GetTriplesByAtomDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetTriplesByAtom' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'term_id' }, + }, + 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' } }, + }, + ], + 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: '_or' }, + value: { + kind: 'ListValue', + values: [ + { + 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: 'term_id', + }, + }, + }, + ], + }, + }, + ], + }, + { + 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: 'term_id', + }, + }, + }, + ], + }, + }, + ], + }, + { + 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: 'term_id', + }, + }, + }, + ], + }, + }, + ], + }, + ], + }, + }, + ], + }, + }, + ], + 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: '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: 'image' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'type' }, + }, + ], + }, + }, + { + 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: 'type' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: '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' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account_id' }, + }, + ], + }, + }, + { + 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: 'counter_term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: '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' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'account_id' }, + }, + ], + }, + }, + { + 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', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode + +/** + * __useGetTriplesByAtomQuery__ + * + * To run a query within a React component, call `useGetTriplesByAtomQuery` and pass it any options that fit your needs. + * When your component renders, `useGetTriplesByAtomQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetTriplesByAtomQuery({ + * variables: { + * term_id: // value for 'term_id' + * address: // value for 'address' + * }, + * }); + */ +export function useGetTriplesByAtomQuery( + baseOptions?: Apollo.QueryHookOptions< + GetTriplesByAtomQuery, + GetTriplesByAtomQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetTriplesByAtomDocument, + options, + ) +} +export function useGetTriplesByAtomLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetTriplesByAtomQuery, + GetTriplesByAtomQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery< + GetTriplesByAtomQuery, + GetTriplesByAtomQueryVariables + >(GetTriplesByAtomDocument, options) +} +export function useGetTriplesByAtomSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions< + GetTriplesByAtomQuery, + GetTriplesByAtomQueryVariables + >, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery< + GetTriplesByAtomQuery, + GetTriplesByAtomQueryVariables + >(GetTriplesByAtomDocument, options) +} +export type GetTriplesByAtomQueryHookResult = ReturnType< + typeof useGetTriplesByAtomQuery +> +export type GetTriplesByAtomLazyQueryHookResult = ReturnType< + typeof useGetTriplesByAtomLazyQuery +> +export type GetTriplesByAtomSuspenseQueryHookResult = ReturnType< + typeof useGetTriplesByAtomSuspenseQuery +> +export type GetTriplesByAtomQueryResult = Apollo.QueryResult< + GetTriplesByAtomQuery, + GetTriplesByAtomQueryVariables +> +export const GetVaultsDocument = { + 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 + +/** + * __useGetVaultsQuery__ + * + * To run a query within a React component, call `useGetVaultsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetVaultsQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetVaultsQuery({ + * variables: { + * limit: // value for 'limit' + * offset: // value for 'offset' + * orderBy: // value for 'orderBy' + * where: // value for 'where' + * }, + * }); + */ +export function useGetVaultsQuery( + baseOptions?: Apollo.QueryHookOptions< + GetVaultsQuery, + GetVaultsQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetVaultsDocument, + options, + ) +} +export function useGetVaultsLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetVaultsQuery, + GetVaultsQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery( + GetVaultsDocument, + options, + ) +} +export function useGetVaultsSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery( + GetVaultsDocument, + options, + ) +} +export type GetVaultsQueryHookResult = ReturnType +export type GetVaultsLazyQueryHookResult = ReturnType< + typeof useGetVaultsLazyQuery +> +export type GetVaultsSuspenseQueryHookResult = ReturnType< + typeof useGetVaultsSuspenseQuery +> +export type GetVaultsQueryResult = Apollo.QueryResult< + GetVaultsQuery, + GetVaultsQueryVariables +> +export const GetVaultDocument = { + 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 + +/** + * __useGetVaultQuery__ + * + * To run a query within a React component, call `useGetVaultQuery` and pass it any options that fit your needs. + * When your component renders, `useGetVaultQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetVaultQuery({ + * variables: { + * termId: // value for 'termId' + * curveId: // value for 'curveId' + * }, + * }); + */ +export function useGetVaultQuery( + baseOptions: Apollo.QueryHookOptions & + ({ variables: GetVaultQueryVariables; skip?: boolean } | { skip: boolean }), +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useQuery( + GetVaultDocument, + options, + ) +} +export function useGetVaultLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetVaultQuery, + GetVaultQueryVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useLazyQuery( + GetVaultDocument, + options, + ) +} +export function useGetVaultSuspenseQuery( + baseOptions?: + | Apollo.SkipToken + | Apollo.SuspenseQueryHookOptions, +) { + const options = + baseOptions === Apollo.skipToken + ? baseOptions + : { ...defaultOptions, ...baseOptions } + return Apollo.useSuspenseQuery( + GetVaultDocument, + options, + ) +} +export type GetVaultQueryHookResult = ReturnType +export type GetVaultLazyQueryHookResult = ReturnType< + typeof useGetVaultLazyQuery +> +export type GetVaultSuspenseQueryHookResult = ReturnType< + typeof useGetVaultSuspenseQuery +> +export type GetVaultQueryResult = Apollo.QueryResult< + GetVaultQuery, + GetVaultQueryVariables +> +export const EventsDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'subscription', + name: { kind: 'Name', value: 'Events' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'addresses' }, + }, + type: { + kind: 'NonNullType', + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'String' }, + }, + }, + }, + }, + }, + { + kind: 'VariableDefinition', + variable: { + kind: 'Variable', + name: { kind: 'Name', value: 'limit' }, + }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + }, + ], + 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: '_or' }, + value: { + kind: 'ListValue', + values: [ + { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'deposit' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'is_atom_wallet', + }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: '_eq', + }, + value: { + kind: 'BooleanValue', + value: false, + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'order_by' }, + value: { + kind: 'ListValue', + values: [ + { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'block_number' }, + value: { kind: 'EnumValue', value: 'desc' }, + }, + ], + }, + ], + }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'limit' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'EventDetailsSubscription' }, + }, + ], + }, + }, + ], + }, + }, + { + 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: '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: 'EventDetailsSubscription' }, + 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: 'block_timestamp' } }, + { 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_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'term' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'total_market_cap' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'vaults' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + 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: 'TripleMetadataSubscription' }, + }, + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'TripleVaultCouterVaultDetailsWithPositions', + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'term_id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'counter_term_id' }, + }, + { + 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: '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: '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: '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: 'TripleMetadataSubscription' }, + 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: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'image' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'creator_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: '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: '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: '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 + +/** + * __useEventsSubscription__ + * + * To run a query within a React component, call `useEventsSubscription` and pass it any options that fit your needs. + * When your component renders, `useEventsSubscription` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useEventsSubscription({ + * variables: { + * addresses: // value for 'addresses' + * limit: // value for 'limit' + * }, + * }); + */ +export function useEventsSubscription( + baseOptions: Apollo.SubscriptionHookOptions< + EventsSubscription, + EventsSubscriptionVariables + > & + ( + | { variables: EventsSubscriptionVariables; skip?: boolean } + | { skip: boolean } + ), +) { + const options = { ...defaultOptions, ...baseOptions } + return Apollo.useSubscription< + EventsSubscription, + EventsSubscriptionVariables + >(EventsDocument, options) +} +export type EventsSubscriptionHookResult = ReturnType< + typeof useEventsSubscription +> +export type EventsSubscriptionResult = + Apollo.SubscriptionResult diff --git a/packages/graphql/src/index.ts b/packages/graphql/src/index.ts new file mode 100644 index 00000000..7d88c6e3 --- /dev/null +++ b/packages/graphql/src/index.ts @@ -0,0 +1,8 @@ +export * from './generated/index' +export * from './constants' +export { + configureClient, + fetcher, + createServerClient, + type ClientConfig, +} from './client' diff --git a/packages/graphql/src/mutations/pin-person.graphql b/packages/graphql/src/mutations/pin-person.graphql new file mode 100644 index 00000000..133231f4 --- /dev/null +++ b/packages/graphql/src/mutations/pin-person.graphql @@ -0,0 +1,15 @@ +mutation pinPerson( + $name: String! + $description: String + $image: String + $url: String + $email: String + $identifier : String +) { + pinPerson( + person: { name: $name, description: $description, image: $image, url: $url, email: $email, identifier: $identifier} + ) { + uri + } +} + diff --git a/packages/graphql/src/mutations/pin-thing.graphql b/packages/graphql/src/mutations/pin-thing.graphql new file mode 100644 index 00000000..dc2a8a55 --- /dev/null +++ b/packages/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/graphql/src/queries/accounts.graphql b/packages/graphql/src/queries/accounts.graphql new file mode 100644 index 00000000..92a3e8be --- /dev/null +++ b/packages/graphql/src/queries/accounts.graphql @@ -0,0 +1,173 @@ +# Main pagination query +query GetAccounts( + $limit: Int + $offset: Int + $orderBy: [accounts_order_by!] + $where: accounts_bool_exp + $claimsLimit: Int + $claimsOffset: Int + $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 + $claimsLimit: Int + $claimsOffset: Int + $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! + # Claims pagination + $claimsLimit: Int + $claimsOffset: Int + # 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! + $claimsLimit: Int + $claimsOffset: Int + $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! + # Claims pagination + $claimsLimit: Int + $claimsOffset: Int + # 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 + ...AccountClaimsAggregate + ...AccountPositionsAggregate + ...AccountAtomsAggregate + ...AccountTriplesAggregate + } +} diff --git a/packages/graphql/src/queries/atoms.graphql b/packages/graphql/src/queries/atoms.graphql new file mode 100644 index 00000000..ab7850b2 --- /dev/null +++ b/packages/graphql/src/queries/atoms.graphql @@ -0,0 +1,317 @@ +# 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 + } + as_subject_triples_aggregate { + nodes { + predicate { + label + term_id + } + object { + label + term_id + } + } + } + } +} + +# 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($term_id: String!) { + atom(term_id: $term_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: String!, $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 + } + } + 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: String!, $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 GetAtomsByCreator($address: String!) { + atoms(where: { creator: { id: { _ilike: $address } } }) { + term_id + data + image + label + type + block_number + created_at + transaction_hash + creator_id + value { + thing { + name + image + description + url + } + } + term { + vaults { + position_count + } + total_market_cap + } + + as_subject_triples_aggregate { + nodes { + predicate { + label + term_id + } + object { + label + term_id + } + } + } + } +} diff --git a/packages/graphql/src/queries/events.graphql b/packages/graphql/src/queries/events.graphql new file mode 100644 index 00000000..83026b97 --- /dev/null +++ b/packages/graphql/src/queries/events.graphql @@ -0,0 +1,216 @@ +# Main pagination query +query GetEventsFeed( + $limit: Int + $offset: Int + $addresses: [String!]! + $address: String! + $Where: events_bool_exp +) { + total: events_aggregate( + where: { + _and: [ + { + _or: [ + { deposit: { sender_id: { _in: $addresses } } } + { redemption: { sender_id: { _in: $addresses } } } + ] + } + ] + } + ) { + aggregate { + count + } + } + events( + limit: $limit + offset: $offset + order_by: { created_at: desc } + where: { + _and: [ + { + _or: [ + { deposit: { sender_id: { _in: $addresses } } } + { redemption: { sender_id: { _in: $addresses } } } + ] + } + ] + } + ) { + 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 { + 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_id + term { + positions_aggregate { + aggregate { count } + } + positions(where: { account_id: { _ilike: $address } }) { + shares + account_id + } + 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_id + counter_term { + positions_aggregate { + aggregate { count } + } + positions(where: { account_id: { _ilike: $address } }) { + shares + account_id + } + 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 + label + image + } + 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 + } + } + } +} + +# 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 + } + } +} + diff --git a/packages/graphql/src/queries/follows.graphql b/packages/graphql/src/queries/follows.graphql new file mode 100644 index 00000000..a533bf6c --- /dev/null +++ b/packages/graphql/src/queries/follows.graphql @@ -0,0 +1,429 @@ +query GetFollowingPositions( + $subjectId: String! + $predicateId: String! + $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: String! + $predicateId: String! + $objectId: String! + $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: String! + $predicateId: String! + $objectId: String! + $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: String! + $predicateId: String! + $objectId: String! + $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 + } + } + } + } + } + } +} + + +query getFollowingsFromAddress($address: String!) { + following(args: { address: $address }) { + id + image + label + type + + triples(order_by: { block_number: desc }) { + term_id + creator { + label + id + type + } + subject { + term_id + label + image + type + } + predicate { + term_id + label + image + type + } + object { + term_id + label + image + type + } + counter_term_id + + term { + id + positions_aggregate { + aggregate { + count + } + } + positions(where: { account_id: { _ilike: $address } }) { + shares + account { + id + } + } + } + + counter_term { + id + positions_aggregate { + aggregate { + count + } + } + positions(where: { account_id: { _ilike: $address } }) { + shares + account { + id + } + } + } + } + + positions_aggregate(limit: 10) { + aggregate { + count + } + nodes { + shares + term { + id + triple { + term_id + object { + term_id + type + image + label + } + predicate { + term_id + type + image + label + } + subject { + term_id + type + image + label + } + counter_term { + id + positions_aggregate { + aggregate { + count + } + } + positions(where: { account_id: { _ilike: $address } }) { + shares + account { + id + } + } + } + term { + id + positions_aggregate { + aggregate { + count + } + } + positions(where: { account_id: { _ilike: $address } }) { + shares + account { + id + } + } + } + } + } + } + } + } +} + + +query getFollowersFromAddress($address: String!) { + triples( + where: { + predicate: { label: { _eq: "follow" } } + object: { accounts: { id: { _ilike: $address } } } + } + ) { + term_id + predicate { + label + } + object { + term_id + } + + term { + id + positions { + shares + account { + id + label + image + } + } + } + + counter_term { + id + positions { + shares + account { + id + label + image + } + } + } + } +} + + +query GetFollowingsTriples($accountId: String!) { + triples( + where: { + predicate: { label: { _eq: "follow" } } + subject: { accounts: { id: { _eq: $accountId } }, type: { _eq: "Account" } } + } + ) { + term_id + object { + term_id + label + type + image + accounts { + id + } + } + } +} \ No newline at end of file diff --git a/packages/graphql/src/queries/get-account.graphql b/packages/graphql/src/queries/get-account.graphql new file mode 100644 index 00000000..85bf3a47 --- /dev/null +++ b/packages/graphql/src/queries/get-account.graphql @@ -0,0 +1,7 @@ +query GetAccountById($id: String!) { + account(id: $id) { + id + label + image + } +} diff --git a/packages/graphql/src/queries/getAtomByIdentifier.graphql b/packages/graphql/src/queries/getAtomByIdentifier.graphql new file mode 100644 index 00000000..c736be26 --- /dev/null +++ b/packages/graphql/src/queries/getAtomByIdentifier.graphql @@ -0,0 +1,11 @@ +query GetPersonsByIdentifier($identifier: String!) { + persons(where: { identifier: { _eq: $identifier } }) { + id + name + image + description + email + url + identifier + } +} diff --git a/packages/graphql/src/queries/lists.graphql b/packages/graphql/src/queries/lists.graphql new file mode 100644 index 00000000..474a9acd --- /dev/null +++ b/packages/graphql/src/queries/lists.graphql @@ -0,0 +1,394 @@ + + +query GetListItems($predicateId: String, $objectId: String) { + 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: 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(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: String + $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: String + $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 + } + } + } +} diff --git a/packages/graphql/src/queries/points.graphql b/packages/graphql/src/queries/points.graphql new file mode 100644 index 00000000..39886bcf --- /dev/null +++ b/packages/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/graphql/src/queries/positions.graphql b/packages/graphql/src/queries/positions.graphql new file mode 100644 index 00000000..3ec7c1af --- /dev/null +++ b/packages/graphql/src/queries/positions.graphql @@ -0,0 +1,121 @@ +# 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 + } + } +} diff --git a/packages/graphql/src/queries/signals.graphql b/packages/graphql/src/queries/signals.graphql new file mode 100644 index 00000000..970e0fb2 --- /dev/null +++ b/packages/graphql/src/queries/signals.graphql @@ -0,0 +1,206 @@ +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 + } + + + 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 + } + + + } + } +} + +fragment AtomValue on atoms { + value { + person { + name + image + description + url + } + thing { + name + image + description + url + } + organization { + name + image + description + url + } + } +} + +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/graphql/src/queries/stats.graphql b/packages/graphql/src/queries/stats.graphql new file mode 100644 index 00000000..f2db1bea --- /dev/null +++ b/packages/graphql/src/queries/stats.graphql @@ -0,0 +1,5 @@ +query GetStats { + stats { + ...StatDetails + } +} diff --git a/packages/graphql/src/queries/tags.graphql b/packages/graphql/src/queries/tags.graphql new file mode 100644 index 00000000..2f8ec72b --- /dev/null +++ b/packages/graphql/src/queries/tags.graphql @@ -0,0 +1,118 @@ +query GetTags($subjectId: String!, $predicateId: String!) { + triples( + where: { + _and: [ + { subject_id: { _eq: $subjectId } } + { predicate_id: { _eq: $predicateId } } + ] + } + ) { + ...TripleMetadata + } +} + +query GetTagsCustom($where: triples_bool_exp) { + triples(where: $where) { + ...TripleMetadata + } +} + +query GetListsTags( + $where: atoms_bool_exp + $triplesWhere: triples_bool_exp + $limit: Int + $offset: Int + $orderBy: [atoms_order_by!] +) { + atoms_aggregate(where: $where) { + aggregate { count } + } + atoms( + where: $where + limit: $limit + offset: $offset + order_by: $orderBy + ) { + term_id + label + image + value { + thing { description } + } + as_object_triples_aggregate(where: $triplesWhere) { + aggregate { count } + } + as_object_triples( + where: $triplesWhere + limit: 10 + order_by: { term: { total_market_cap: desc } } + ) { + subject { label image } + } + } +} + + +query GetTaggedObjects( + $objectId: String!, + $predicateId: String!, + $address: String +) { + triples( + where: { + object_id: { _eq: $objectId } + predicate_id: { _eq: $predicateId } + } + ) { + term_id + subject { + term_id + label + image + value { + thing { + name + description + url + } + person { + description + } + } + term { + vaults { + position_count + } + } + } + term { + id + vaults { + position_count + } + positions (where: { account_id: { _ilike: $address } }){ + shares + } + positions_aggregate { + aggregate { + count + } + } + } + + counter_term { + id + vaults { + position_count + } + positions (where: { account_id: { _ilike: $address } }){ + shares + } + positions_aggregate { + aggregate { + count + } + } + } + } +} diff --git a/packages/graphql/src/queries/triples.graphql b/packages/graphql/src/queries/triples.graphql new file mode 100644 index 00000000..9b01e210 --- /dev/null +++ b/packages/graphql/src/queries/triples.graphql @@ -0,0 +1,433 @@ +# Main pagination query +query GetTriplesByCreator($address: String) { + triples(where: { creator_id: { _ilike: $address } }) { + term_id + counter_term_id + creator_id + subject { + term_id + label + image + type + } + predicate { + term_id + label + image + type + } + object { + term_id + label + image + type + } + term { + positions_aggregate { + aggregate { + count + } + } + } + counter_term { + positions_aggregate { + aggregate { + count + } + } + } + positions(where: { account_id: { _ilike: $address } }) { + shares + } + counter_positions(where: { account_id: { _ilike: $address } }) { + shares + } + } +} +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: String!) { + 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: { + _and: [ + $where, + { + _or: [ + { term: { vaults: { positions: { account_id: { _ilike: $address } } } } }, + { counter_term: { vaults: { positions: { account_id: { _ilike: $address } } } } } + ] + } + ] + } + ) { + term_id + counter_term_id + subject { + term_id + label + image + } + predicate { + term_id + label + image + } + object { + term_id + label + image + accounts { + id + } + } + term { + positions_aggregate { + aggregate { count } + } + vaults { + total_shares + position_count + positions(where: { account_id: { _ilike: $address } }) { + account { + id + label + image + } + shares + } + } + } + counter_term { + positions_aggregate { + aggregate { count } + } + vaults { + total_shares + position_count + positions(where: { account_id: { _ilike: $address } }) { + account { + id + label + image + } + shares + } + } + } + } +} + + + +query GetTriplesByAtom($term_id: String, $address: String) { + triples_aggregate( + where: { + _or: [ + { object_id: { _eq: $term_id } } + { subject_id: { _eq: $term_id } } + { predicate_id: { _eq: $term_id } } + ] + } + ) { + aggregate { + count + } + nodes { + term_id + counter_term_id + subject { + term_id + label + image + type + } + predicate { + term_id + label + image + type + } + object { + term_id + label + image + type + } + term { + id + positions(where: { account_id: { _ilike: $address } }) { + shares + account_id + } + positions_aggregate { + aggregate { + count + } + } + } + counter_term { + id + positions(where: { account_id: { _ilike: $address } }) { + shares + account_id + } + positions_aggregate { + aggregate { + count + } + } + } + } + } +} + +query GetTriplesByUri($address: String, $uriRegex: String) { + atoms( + where: { + _or: [ + { data: { _iregex: $uriRegex } } + { value: { thing: { url: { _iregex: $uriRegex } } } } + { value: { person: { url: { _iregex: $uriRegex } } } } + { value: { organization: { url: { _iregex: $uriRegex } } } } + { value: { book: { url: { _iregex: $uriRegex } } } } + ] + } + ) { + as_subject_triples_aggregate { + aggregate { + count + } + nodes { + term_id + counter_term_id + term { + positions_aggregate { + aggregate { + count + } + } + vaults { + curve_id + } + } + counter_term { + positions_aggregate { + aggregate { + count + } + } + vaults { + curve_id + } + } + subject { + label + image + type + term_id + } + predicate { + label + image + type + term_id + } + object { + label + image + type + term_id + } + positions(where: { account_id: { _ilike: $address } }) { + shares + } + positions_aggregate { + aggregate { + count + } + } + counter_positions(where: { account_id: { _ilike: $address } }) { + shares + } + counter_positions_aggregate { + aggregate { + count + } + } + creator { + label + id + type + } + } + } + as_object_triples_aggregate { + aggregate { + count + } + nodes { + term_id + counter_term_id + term { + positions_aggregate { + aggregate { + count + } + } + vaults { + curve_id + } + } + counter_term { + positions_aggregate { + aggregate { + count + } + } + vaults { + curve_id + } + } + predicate { + label + image + type + term_id + } + subject { + label + image + type + term_id + } + object { + label + image + type + term_id + } + positions_aggregate { + aggregate { + count + } + } + positions(where: { account_id: { _ilike: $address } }) { + shares + } + counter_positions_aggregate { + aggregate { + count + } + } + counter_positions(where: { account_id: { _ilike: $address } }) { + shares + } + creator { + label + id + type + } + } + } + term_id + label + image + positions_aggregate { + aggregate { + count + } + } + value { + thing { + description + url + } + } + } +} diff --git a/packages/graphql/src/queries/vaults.graphql b/packages/graphql/src/queries/vaults.graphql new file mode 100644 index 00000000..989b8613 --- /dev/null +++ b/packages/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: String!, $curveId: numeric!) { + vault(term_id: $termId, curve_id: $curveId) { + ...VaultDetails + } +} diff --git a/packages/graphql/src/subscription /events.graphql b/packages/graphql/src/subscription /events.graphql new file mode 100644 index 00000000..8aa2d176 --- /dev/null +++ b/packages/graphql/src/subscription /events.graphql @@ -0,0 +1,7 @@ +subscription Events($addresses: [String!]!, $limit: Int!) { + events( + order_by: [{ block_number: desc }] + limit: $limit) { + ...EventDetailsSubscription + } +} \ No newline at end of file diff --git a/packages/graphql/tests/client.test.ts b/packages/graphql/tests/client.test.ts new file mode 100644 index 00000000..a8db6580 --- /dev/null +++ b/packages/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/graphql/tsconfig.json b/packages/graphql/tsconfig.json new file mode 100644 index 00000000..70b7acd5 --- /dev/null +++ b/packages/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/graphql/tsconfig.lib.json b/packages/graphql/tsconfig.lib.json new file mode 100644 index 00000000..fc8520e7 --- /dev/null +++ b/packages/graphql/tsconfig.lib.json @@ -0,0 +1,3 @@ +{ + "extends": "./tsconfig.json" +} diff --git a/packages/graphql/tsup.config.ts b/packages/graphql/tsup.config.ts new file mode 100644 index 00000000..39a56b22 --- /dev/null +++ b/packages/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/graphql/vitest.config.ts b/packages/graphql/vitest.config.ts new file mode 100644 index 00000000..99209557 --- /dev/null +++ b/packages/graphql/vitest.config.ts @@ -0,0 +1,6 @@ +import { defineConfig } from 'vitest/config' + +// https://vitest.dev/config/ +export default defineConfig({ + test: {}, +}) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 875ce85e..d99ff124 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,47 +12,50 @@ importers: specifier: ^0.3.6 version: 0.3.6(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(tailwindcss@3.3.0(postcss@8.4.31)) '@0xintuition/graphql': - specifier: ^0.6.0 - version: 0.6.0(react@18.2.0) + specifier: 2.0.0-alpha.4 + version: 2.0.0-alpha.4(react@18.2.0) '@0xintuition/protocol': - specifier: ^0.1.4 - version: 0.1.4(bufferutil@4.0.9)(typescript@5.8.2)(utf-8-validate@5.0.10)(zod@3.24.2) + specifier: 2.0.0-alpha.4 + version: 2.0.0-alpha.4(viem@2.37.5(typescript@5.9.2)(zod@3.25.76)) + '@0xintuition/sdk': + specifier: 2.0.0-alpha.4 + version: 2.0.0-alpha.4(react@18.2.0)(viem@2.37.5(typescript@5.9.2)(zod@3.25.76)) '@apollo/client': specifier: ^3.13.8 - version: 3.13.8(@types/react@18.2.48)(graphql-ws@6.0.4(graphql@16.10.0)(ws@8.18.1(bufferutil@4.0.9)(utf-8-validate@5.0.10)))(graphql@16.10.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + version: 3.14.0(@types/react@18.2.48)(graphql-ws@6.0.6(graphql@16.11.0)(ws@8.18.3))(graphql@16.11.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) '@floating-ui/react-dom': specifier: ^2.1.2 - version: 2.1.2(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + version: 2.1.6(react-dom@18.2.0(react@18.2.0))(react@18.2.0) '@graphql-codegen/typescript-document-nodes': specifier: ^4.0.11 - version: 4.0.15(graphql@16.10.0) + version: 4.0.16(graphql@16.11.0) '@plasmohq/storage': specifier: ^1.15.0 version: 1.15.0(react@18.2.0) '@radix-ui/react-collapsible': specifier: ^1.1.4 - version: 1.1.4(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + version: 1.1.12(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) '@radix-ui/react-dropdown-menu': specifier: ^2.1.15 - version: 2.1.15(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + version: 2.1.16(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) '@radix-ui/react-hover-card': specifier: ^1.1.7 - version: 1.1.7(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + version: 1.1.15(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) '@radix-ui/react-icons': specifier: ^1.3.2 version: 1.3.2(react@18.2.0) '@radix-ui/react-slot': specifier: ^1.1.2 - version: 1.1.2(@types/react@18.2.48)(react@18.2.0) + version: 1.2.3(@types/react@18.2.48)(react@18.2.0) '@tanstack/react-query': specifier: ^5.69.0 - version: 5.69.0(react@18.2.0) + version: 5.87.4(react@18.2.0) '@types/three': specifier: ^0.175.0 version: 0.175.0 '@warzieram/graphql': - specifier: ^0.5.31 - version: 0.5.31(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(ws@8.18.1(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + specifier: workspace:* + version: link:packages/graphql class-variance-authority: specifier: ^0.7.1 version: 0.7.1 @@ -61,16 +64,16 @@ importers: version: 2.1.1 ethers: specifier: ^6.15.0 - version: 6.15.0(bufferutil@4.0.9)(utf-8-validate@5.0.10) + version: 6.15.0 graphql: specifier: ^16.10.0 - version: 16.10.0 + version: 16.11.0 graphql-request: specifier: ^7.1.2 - version: 7.1.2(graphql@16.10.0) + version: 7.2.0(graphql@16.11.0) graphql-ws: specifier: ^6.0.4 - version: 6.0.4(graphql@16.10.0)(ws@8.18.1(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + version: 6.0.6(graphql@16.11.0)(ws@8.18.3) lucide-react: specifier: ^0.483.0 version: 0.483.0(react@18.2.0) @@ -88,53 +91,53 @@ importers: version: 3.39.3(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react-router-dom: specifier: ^7.3.0 - version: 7.3.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + version: 7.9.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) tailwind-merge: specifier: ^3.0.2 - version: 3.0.2 + version: 3.3.1 three: specifier: ^0.175.0 version: 0.175.0 use-debounce: specifier: ^10.0.4 - version: 10.0.4(react@18.2.0) + version: 10.0.6(react@18.2.0) viem: specifier: ^2.23.15 - version: 2.23.15(bufferutil@4.0.9)(typescript@5.8.2)(utf-8-validate@5.0.10)(zod@3.24.2) + version: 2.37.5(typescript@5.9.2)(zod@3.25.76) devDependencies: '@0no-co/graphqlsp': specifier: ^1.12.16 - version: 1.12.16(graphql@16.10.0)(typescript@5.8.2) + version: 1.15.0(graphql@16.11.0)(typescript@5.9.2) '@graphql-codegen/cli': specifier: ^5.0.3 - version: 5.0.5(@parcel/watcher@2.5.1)(@types/node@20.11.5)(bufferutil@4.0.9)(graphql@16.10.0)(typescript@5.8.2)(utf-8-validate@5.0.10) + version: 5.0.7(@parcel/watcher@2.5.1)(@types/node@20.11.5)(graphql@16.11.0)(typescript@5.9.2) '@graphql-codegen/client-preset': specifier: ^4.4.0 - version: 4.7.0(graphql@16.10.0) + version: 4.8.3(graphql@16.11.0) '@graphql-codegen/introspection': specifier: ^4.0.3 - version: 4.0.3(graphql@16.10.0) + version: 4.0.3(graphql@16.11.0) '@graphql-codegen/plugin-helpers': specifier: ^5.0.4 - version: 5.1.0(graphql@16.10.0) + version: 5.1.1(graphql@16.11.0) '@graphql-codegen/schema-ast': specifier: ^4.1.0 - version: 4.1.0(graphql@16.10.0) + version: 4.1.0(graphql@16.11.0) '@graphql-codegen/typescript': specifier: ^4.1.0 - version: 4.1.5(graphql@16.10.0) + version: 4.1.6(graphql@16.11.0) '@graphql-codegen/typescript-operations': specifier: ^4.3.0 - version: 4.5.1(graphql@16.10.0) + version: 4.6.1(graphql@16.11.0) '@graphql-codegen/typescript-react-apollo': specifier: ^4.3.2 - version: 4.3.2(graphql@16.10.0) + version: 4.3.3(graphql@16.11.0) '@graphql-codegen/typescript-react-query': specifier: ^6.1.0 - version: 6.1.0(graphql@16.10.0) + version: 6.1.1(graphql@16.11.0) '@graphql-typed-document-node/core': specifier: ^3.2.0 - version: 3.2.0(graphql@16.10.0) + version: 3.2.0(graphql@16.11.0) '@ianvs/prettier-plugin-sort-imports': specifier: 4.1.1 version: 4.1.1(@vue/compiler-sfc@3.3.4)(prettier@3.2.4) @@ -164,7 +167,7 @@ importers: version: 7.0.3 plasmo: specifier: 0.90.3 - version: 0.90.3(@swc/core@1.11.11(@swc/helpers@0.5.15))(@swc/helpers@0.5.15)(@types/node@20.11.5)(lodash@4.17.21)(postcss@8.4.31)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + version: 0.90.3(@swc/core@1.13.5(@swc/helpers@0.5.17))(@swc/helpers@0.5.17)(@types/node@20.11.5)(lodash@4.17.21)(postcss@8.4.31)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) postcss: specifier: 8.4.31 version: 8.4.31 @@ -179,29 +182,102 @@ importers: version: 3.3.0(postcss@8.4.31) tsup: specifier: ^6.7.0 - version: 6.7.0(@swc/core@1.11.11(@swc/helpers@0.5.15))(postcss@8.4.31)(typescript@5.8.2) + version: 6.7.0(@swc/core@1.13.5(@swc/helpers@0.5.17))(postcss@8.4.31)(typescript@5.9.2) typescript: specifier: ^5.4.5 - version: 5.8.2 + version: 5.9.2 vite: specifier: ^5.2.11 - version: 5.4.15(@types/node@20.11.5)(less@4.2.2)(lightningcss@1.29.3)(sass@1.86.0) + version: 5.4.20(@types/node@20.11.5)(less@4.4.1)(lightningcss@1.30.1)(sass@1.92.1) vitest: specifier: ^1.3.1 - version: 1.6.1(@types/node@20.11.5)(less@4.2.2)(lightningcss@1.29.3)(sass@1.86.0) + version: 1.6.1(@types/node@20.11.5)(less@4.4.1)(lightningcss@1.30.1)(sass@1.92.1) + + packages/graphql: + dependencies: + '@apollo/client': + specifier: ^3.13.8 + version: 3.14.0(@types/react@18.2.48)(graphql-ws@6.0.6(graphql@16.11.0)(ws@8.18.3))(graphql@16.11.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@graphql-codegen/typescript-document-nodes': + specifier: ^4.0.11 + version: 4.0.16(graphql@16.11.0) + '@tanstack/react-query': + specifier: ^5.32.0 + version: 5.87.4(react@18.2.0) + graphql: + specifier: ^16.9.0 + version: 16.11.0 + graphql-request: + specifier: ^7.1.0 + version: 7.2.0(graphql@16.11.0) + graphql-ws: + specifier: ^6.0.5 + version: 6.0.6(graphql@16.11.0)(ws@8.18.3) + 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@22.7.5)(graphql@16.11.0)(typescript@5.9.2) + '@graphql-codegen/client-preset': + specifier: ^4.4.0 + version: 4.8.3(graphql@16.11.0) + '@graphql-codegen/introspection': + specifier: ^4.0.3 + version: 4.0.3(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(graphql@16.11.0) + '@graphql-codegen/typescript-operations': + specifier: ^4.3.0 + version: 4.6.1(graphql@16.11.0) + '@graphql-codegen/typescript-react-apollo': + specifier: ^4.3.2 + version: 4.3.3(graphql@16.11.0) + '@graphql-codegen/typescript-react-query': + specifier: ^6.1.0 + version: 6.1.1(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 + tsup: + specifier: ^6.7.0 + version: 6.7.0(@swc/core@1.13.5(@swc/helpers@0.5.17))(postcss@8.5.6)(typescript@5.9.2) + typescript: + specifier: ^5.4.5 + version: 5.9.2 + vite: + specifier: ^5.2.11 + version: 5.4.20(@types/node@22.7.5)(less@4.4.1)(lightningcss@1.30.1)(sass@1.92.1) + vitest: + specifier: ^1.3.1 + version: 1.6.1(@types/node@22.7.5)(less@4.4.1)(lightningcss@1.30.1)(sass@1.92.1) packages: - '@0no-co/graphql.web@1.1.2': - resolution: {integrity: sha512-N2NGsU5FLBhT8NZ+3l2YrzZSHITjNXNuDhC4iDiikv0IujaJ0Xc6xIxQZ/Ek3Cb+rgPjnLHYyJm11tInuJn+cw==} + '@0no-co/graphql.web@1.2.0': + resolution: {integrity: sha512-/1iHy9TTr63gE1YcR5idjx8UREz1s0kFhydf3bBLCXyqjhkIc6igAzTOx3zPifCwFR87tsh/4Pa9cNts6d2otw==} 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==} + '@0no-co/graphqlsp@1.15.0': + resolution: {integrity: sha512-SReJAGmOeXrHGod+9Odqrz4s43liK0b2DFUetb/jmYvxFpWmeNfFYo0seCh0jz8vG3p1pnYMav0+Tm7XwWtOJw==} peerDependencies: graphql: ^15.5.0 || ^16.0.0 || ^17.0.0 typescript: ^5.0.0 @@ -215,11 +291,18 @@ packages: '@0xintuition/graphql@0.5.0': resolution: {integrity: sha512-yRe8jSqd3QaJRj1UkYTyOlBuTh5qWhEQTe1wmDuCnkc4eW65ehdlVgW+IRFTi82eEXV4AMgdCBroG5p39Syfow==} - '@0xintuition/graphql@0.6.0': - resolution: {integrity: sha512-2KfAINWWdrfcggVlcM1huZve8iYVgPNuztRgKbWEW0FR88phaaBEDD0UBHkj10OD3iDG1DbIi0G1Hy/Kb9wVyg==} + '@0xintuition/graphql@2.0.0-alpha.4': + resolution: {integrity: sha512-4LPmtW4tRrnu8JcvtzRAHpFVIOXMI0fnN5ISn5KmWKHUGcMgtfHIYB0OE28sFh/LzpLZ1Sscvyc554T9M2mAYQ==} + + '@0xintuition/protocol@2.0.0-alpha.4': + resolution: {integrity: sha512-A0tA4MO4PPp6sO6in8HmyELoI1FINf42pxTYQUkTBCCzssF7Hy4Tp/HvGPzvSjg1SjkIHTK1QVX2cP4BySv1gA==} + peerDependencies: + viem: ^2.0.0 - '@0xintuition/protocol@0.1.4': - resolution: {integrity: sha512-4EKBpCKuOsSRVBXwUVER7/Zg1ZaNZexMrV8sHRVNPydaU1H3juy3RyH48XsjBgybAMmVUm+zbbLfYAcHSFy+Hw==} + '@0xintuition/sdk@2.0.0-alpha.4': + resolution: {integrity: sha512-jQpYlGeQrOJW192Qm5QKX45+H5paeEr44KbOKpz5LeyP7/q0zdd/K9wWCbvTzGxc3TrpVLVSwk1iuY/TQQDAbQ==} + peerDependencies: + viem: ^2.0.0 '@adraffy/ens-normalize@1.10.1': resolution: {integrity: sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==} @@ -231,8 +314,8 @@ packages: resolution: {integrity: sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==} engines: {node: '>=6.0.0'} - '@apollo/client@3.13.8': - resolution: {integrity: sha512-YM9lQpm0VfVco4DSyKooHS/fDTiKQcCHfxr7i3iL6a0kP/jNO5+4NFK6vtRDxaYisd5BrwOZHLJpPBnvRVpKPg==} + '@apollo/client@3.14.0': + resolution: {integrity: sha512-0YQKKRIxiMlIou+SekQqdCo0ZTHxOcES+K8vKB53cIDpwABNR0P0yRzPgsbgcj3zRJniD93S/ontsnZsCLZrxQ==} peerDependencies: graphql: ^15.0.0 || ^16.0.0 graphql-ws: ^5.5.5 || ^6.0.3 @@ -261,86 +344,90 @@ packages: peerDependencies: graphql: '*' - '@babel/code-frame@7.26.2': - resolution: {integrity: sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ==} + '@babel/code-frame@7.27.1': + resolution: {integrity: sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==} engines: {node: '>=6.9.0'} - '@babel/compat-data@7.26.8': - resolution: {integrity: sha512-oH5UPLMWR3L2wEFLnFJ1TZXqHufiTKAiLfqw5zkhS4dKXLJ10yVztfil/twG8EDTA4F/tvVNw9nOl4ZMslB8rQ==} + '@babel/compat-data@7.28.4': + resolution: {integrity: sha512-YsmSKC29MJwf0gF8Rjjrg5LQCmyh+j/nD8/eP7f+BeoQTKYqs9RoWbjGOdy0+1Ekr68RJZMUOPVQaQisnIo4Rw==} engines: {node: '>=6.9.0'} - '@babel/core@7.26.10': - resolution: {integrity: sha512-vMqyb7XCDMPvJFFOaT9kxtiRh42GwlZEg1/uIgtZshS5a/8OaduUfCi7kynKgc3Tw/6Uo2D+db9qBttghhmxwQ==} + '@babel/core@7.28.4': + resolution: {integrity: sha512-2BCOP7TN8M+gVDj7/ht3hsaO/B/n5oDbiAyyvnRlNOs+u1o+JWNYTQrmpuNp1/Wq2gcFrI01JAW+paEKDMx/CA==} engines: {node: '>=6.9.0'} - '@babel/generator@7.26.10': - resolution: {integrity: sha512-rRHT8siFIXQrAYOYqZQVsAr8vJ+cBNqcVAY6m5V8/4QqzaPl+zDBe6cLEPRDuNOUf3ww8RfJVlOyQMoSI+5Ang==} + '@babel/generator@7.28.3': + resolution: {integrity: sha512-3lSpxGgvnmZznmBkCRnVREPUFJv2wrv9iAoFDvADJc0ypmdOxdUtcLeBgBJ6zE0PMeTKnxeQzyk0xTBq4Ep7zw==} engines: {node: '>=6.9.0'} - '@babel/helper-annotate-as-pure@7.25.9': - resolution: {integrity: sha512-gv7320KBUFJz1RnylIg5WWYPRXKZ884AGkYpgpWW02TH66Dl+HaC1t1CKd0z3R4b6hdYEcmrNZHUmfCP+1u3/g==} + '@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.26.5': - resolution: {integrity: sha512-IXuyn5EkouFJscIDuFF5EsiSolseme1s0CZB+QxVugqJLYmKdxI1VfIBOst0SUu4rnk2Z7kqTwmoO1lp3HIfnA==} + '@babel/helper-compilation-targets@7.27.2': + resolution: {integrity: sha512-2+1thGUUWWjLTYTHZWK1n8Yga0ijBz1XAhUXcKy81rd5g6yh7hGqMp45v7cadSbEHc9G3OTv45SyneRN3ps4DQ==} engines: {node: '>=6.9.0'} - '@babel/helper-create-class-features-plugin@7.26.9': - resolution: {integrity: sha512-ubbUqCofvxPRurw5L8WTsCLSkQiVpov4Qx0WMA+jUN+nXBK8ADPlJO1grkFw5CWKC5+sZSOfuGMdX1aI1iT9Sg==} + '@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-member-expression-to-functions@7.25.9': - resolution: {integrity: sha512-wbfdZ9w5vk0C0oyHqAJbc62+vet5prjj01jjJ8sKn3j9h3MQQlflEdXYvuqRWjHnM12coDEqiC1IRCi0U/EKwQ==} + '@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.25.9': - resolution: {integrity: sha512-tnUA4RsrmflIM6W6RFTLFSXITtl0wKjgpnLgXyowocVPrbYrLUXSBXDgTs8BlbmIzIdlBySRQjINYs2BAkiLtw==} + '@babel/helper-module-imports@7.27.1': + resolution: {integrity: sha512-0gSFWUPNXNopqtIPQvlD5WgXYI5GY2kP2cCvoT8kczjbfcfuIljTbcWrulD1CIPIX2gt1wghbDy08yE1p+/r3w==} engines: {node: '>=6.9.0'} - '@babel/helper-module-transforms@7.26.0': - resolution: {integrity: sha512-xO+xu6B5K2czEnQye6BHA7DolFFmS3LB7stHZFaOLb1pAwO1HWLS8fXA+eh0A2yIvltPVmx3eNNDBJA2SLHXFw==} + '@babel/helper-module-transforms@7.28.3': + resolution: {integrity: sha512-gytXUbs8k2sXS9PnQptz5o0QnpLL51SwASIORY6XaBKF88nsOT0Zw9szLqlSGQDP/4TljBAD5y98p2U1fqkdsw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 - '@babel/helper-optimise-call-expression@7.25.9': - resolution: {integrity: sha512-FIpuNaz5ow8VyrYcnXQTDRGvV6tTjkNtCK/RYNDXGSLlUD6cBuQTSw43CShGxjvfBTfcUA/r6UhUCbtYqkhcuQ==} + '@babel/helper-optimise-call-expression@7.27.1': + resolution: {integrity: sha512-URMGH08NzYFhubNSGJrpUEphGKQwMQYBySzat5cAByY1/YgIRkULnIy3tAMeszlL/so2HbeilYloUmSpd7GdVw==} engines: {node: '>=6.9.0'} - '@babel/helper-plugin-utils@7.26.5': - resolution: {integrity: sha512-RS+jZcRdZdRFzMyr+wcsaqOmld1/EqTghfaBGQQd/WnRdzdlvSZ//kF7U8VQTxf1ynZ4cjUcYgjVGx13ewNPMg==} + '@babel/helper-plugin-utils@7.27.1': + resolution: {integrity: sha512-1gn1Up5YXka3YYAHGKpbideQ5Yjf1tDa9qYcgysz+cNCXukyLl6DjPXhD3VRwSb8c0J9tA4b2+rHEZtc6R0tlw==} engines: {node: '>=6.9.0'} - '@babel/helper-replace-supers@7.26.5': - resolution: {integrity: sha512-bJ6iIVdYX1YooY2X7w1q6VITt+LnUILtNk7zT78ykuwStx8BauCzxvFqFaHjOpW1bVnSUM1PN1f0p5P21wHxvg==} + '@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.25.9': - resolution: {integrity: sha512-K4Du3BFa3gvyhzgPcntrkDgZzQaq6uozzcpGbOO1OEJaI+EJdqWIMTLgFgQf6lrfiDFo5FU+BxKepI9RmZqahA==} + '@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.25.9': - resolution: {integrity: sha512-4A/SCr/2KLd5jrtOMFzaKjVtAei3+2r/NChoBNoZ3EyP/+GlhoaEGoWOZUmFmoITP7zOJyHIMm+DYRd8o3PvHA==} + '@babel/helper-string-parser@7.27.1': + resolution: {integrity: sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==} engines: {node: '>=6.9.0'} - '@babel/helper-validator-identifier@7.25.9': - resolution: {integrity: sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ==} + '@babel/helper-validator-identifier@7.27.1': + resolution: {integrity: sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow==} engines: {node: '>=6.9.0'} - '@babel/helper-validator-option@7.25.9': - resolution: {integrity: sha512-e/zv1co8pp55dNdEcCynfj9X7nyUKUXoUEwfXqaZt0omVOmDe9oOTdKStH4GmAw6zxMFs50ZayuMfHDKlO7Tfw==} + '@babel/helper-validator-option@7.27.1': + resolution: {integrity: sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg==} engines: {node: '>=6.9.0'} - '@babel/helpers@7.26.10': - resolution: {integrity: sha512-UPYc3SauzZ3JGgj87GgZ89JVdC5dj0AoetR5Bw6wj4niittNyFh6+eOGonYvJ1ao6B8lEa3Q3klS7ADZ53bc5g==} + '@babel/helpers@7.28.4': + resolution: {integrity: sha512-HFN59MmQXGHVyYadKLVumYsA9dBFun/ldYxipEjzA4196jpLZd8UjEEBLkbEkvfYreDqJhZxYAWFPtrfhNpj4w==} engines: {node: '>=6.9.0'} - '@babel/parser@7.26.10': - resolution: {integrity: sha512-6aQR2zGE/QFi8JpDLjUZEPYOs7+mhKXm86VaKFiLP35JQwQb6bwUE+XbvkH0EptsYhbNBSUGaUBLKqxH1xSgsA==} + '@babel/parser@7.28.4': + resolution: {integrity: sha512-yZbBqeM6TkpP9du/I2pUZnJsRMGGvOuIrhjzC1AwHwW+6he4mni6Bp/m8ijn0iOuZuPI2BfkCoSRunpyjnrQKg==} engines: {node: '>=6.0.0'} hasBin: true @@ -363,20 +450,20 @@ packages: peerDependencies: '@babel/core': ^7.0.0-0 - '@babel/plugin-syntax-flow@7.26.0': - resolution: {integrity: sha512-B+O2DnPc0iG+YXFqOxv2WNuNU97ToWjOomUQ78DouOENWUaM5sVrmet9mcomUGQFwpJd//gvUagXBSdzO1fRKg==} + '@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.26.0': - resolution: {integrity: sha512-QCWT5Hh830hK5EQa7XzuqIkQU9tT/whqbDz7kuaZMHFl1inRRg7JnuAEOQ0Ur0QUl0NufCk1msK2BeY79Aj/eg==} + '@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.25.9': - resolution: {integrity: sha512-ld6oezHQMZsZfp6pWtbjaNDF2tiiCYYDqQszHt5VV437lewP9aSi2Of99CK0D0XB21k7FLgnLcmQKyKzynfeAA==} + '@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 @@ -386,147 +473,147 @@ packages: peerDependencies: '@babel/core': ^7.0.0-0 - '@babel/plugin-transform-arrow-functions@7.25.9': - resolution: {integrity: sha512-6jmooXYIwn9ca5/RylZADJ+EnSxVUS5sjeJ9UPk6RWRzXCmOJCy6dqItPJFpw2cuCangPK4OYr5uhGKcmrm5Qg==} + '@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.26.5': - resolution: {integrity: sha512-chuTSY+hq09+/f5lMj8ZSYgCFpppV2CbYrhNFJ1BFoXpiWPnnAb7R0MqrafCpN8E1+YRrtM1MXZHJdIx8B6rMQ==} + '@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.25.9': - resolution: {integrity: sha512-1F05O7AYjymAtqbsFETboN1NvBdcnzMerO+zlMyJBEz6WkMdejvGWw9p05iTSjC85RLlBseHHQpYaM4gzJkBGg==} + '@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.25.9': - resolution: {integrity: sha512-mD8APIXmseE7oZvZgGABDyM34GUmK45Um2TXiBUt7PnuAxrgoSVf123qUzPxEr/+/BHrRn5NMZCdE2m/1F8DGg==} + '@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.25.9': - resolution: {integrity: sha512-HnBegGqXZR12xbcTHlJ9HGxw1OniltT26J5YpfruGqtUHlz/xKf/G2ak9e+t0rVqrjXa9WOhvYPz1ERfMj23AA==} + '@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.25.9': - resolution: {integrity: sha512-WkCGb/3ZxXepmMiX101nnGiU+1CAdut8oHyEOHxkKuS1qKpU2SMXE2uSvfz8PBuLd49V6LEsbtyPhWC7fnkgvQ==} + '@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.26.5': - resolution: {integrity: sha512-eGK26RsbIkYUns3Y8qKl362juDDYK+wEdPGHGrhzUl6CewZFo55VZ7hg+CyMFU4dd5QQakBN86nBMpRsFpRvbQ==} + '@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.26.9': - resolution: {integrity: sha512-Hry8AusVm8LW5BVFgiyUReuoGzPUpdHQQqJY5bZnbbf+ngOHWuCuYFKw/BqaaWlvEUrF91HMhDtEaI1hZzNbLg==} + '@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.25.9': - resolution: {integrity: sha512-8lP+Yxjv14Vc5MuWBpJsoUCd3hD6V9DgBon2FVYL4jJgbnVQ9fTgYmonchzZJOVNgzEgbxp4OwAf6xz6M/14XA==} + '@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.25.9': - resolution: {integrity: sha512-9N7+2lFziW8W9pBl2TzaNht3+pgMIRP74zizeCSrtnSKVdUl8mAjjOP2OOVQAfZ881P2cNjDj1uAMEdeD50nuQ==} + '@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.25.9': - resolution: {integrity: sha512-PYazBVfofCQkkMzh2P6IdIUaCEWni3iYEerAsRWuVd8+jlM1S9S9cz1dF9hIzyoZ8IA3+OwVYIp9v9e+GbgZhA==} + '@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.26.3': - resolution: {integrity: sha512-MgR55l4q9KddUDITEzEFYn5ZsGDXMSsU9E+kh7fjRXTIC3RHqfCo8RPRbyReYJh44HQ/yomFkqbOFohXvDCiIQ==} + '@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.25.9': - resolution: {integrity: sha512-Kj/Gh+Rw2RNLbCK1VAWj2U48yxxqL2x0k10nPtSdRa0O2xnHXalD0s+o1A6a0W43gJ00ANo38jxkQreckOzv5A==} + '@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.25.9': - resolution: {integrity: sha512-wzz6MKwpnshBAiRmn4jR8LYz/g8Ksg0o80XmwZDlordjwEk9SxBzTWC7F5ef1jhbrbOW2DJ5J6ayRukrJmnr0g==} + '@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.25.9': - resolution: {integrity: sha512-IvIUeV5KrS/VPavfSM/Iu+RE6llrHrYIKY1yfCzyO/lMXHQ+p7uGhonmGVisv6tSBSVgWzMBohTcvkC9vQcQFA==} + '@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.25.9': - resolution: {integrity: sha512-KJfMlYIUxQB1CJfO3e0+h0ZHWOTLCPP115Awhaz8U0Zpq36Gl/cXlpoyMRnUWlhNUBAzldnCiAZNvCDj7CrKxQ==} + '@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@7.25.9': - resolution: {integrity: sha512-s5XwpQYCqGerXl+Pu6VDL3x0j2d82eiV77UJ8a2mDHAW7j9SWRqQ2y1fNo1Z74CdcYipl5Z41zvjj4Nfzq36rw==} + '@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.25.9': - resolution: {integrity: sha512-MUv6t0FhO5qHnS/W8XCbHmiRWOphNufpE1IVxhK5kuN3Td9FT1x4rx4K42s3RYdMXCXpfWkGSbCSd0Z64xA7Ng==} + '@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.25.9': - resolution: {integrity: sha512-oNknIB0TbURU5pqJFVbOOFspVlrpVwo2H1+HUIsVDvp5VauGGDP1ZEvO8Nn5xyMEs3dakajOxlmkNW7kNgSm6A==} + '@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.26.8': - resolution: {integrity: sha512-OmGDL5/J0CJPJZTHZbi2XpO0tyT2Ia7fzpW5GURwdtp2X3fMmN8au/ej6peC/T33/+CRiIpA8Krse8hFGVmT5Q==} + '@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.26.10': - resolution: {integrity: sha512-2WJMeRQPHKSPemqk/awGrAiuFfzBmOIPXKizAsVhWH9YJqLZ0H+HS4c8loHGgW6utJ3E/ejXQUsiGaQy2NZ9Fw==} + '@babel/runtime@7.28.4': + resolution: {integrity: sha512-Q/N6JNWvIvPnLDvjlE1OUBLPQHH6l3CltCEsHIujp45zQUSSh8K+gHnaEX45yAT1nyngnINhvWtzN+Nb9D8RAQ==} engines: {node: '>=6.9.0'} - '@babel/template@7.26.9': - resolution: {integrity: sha512-qyRplbeIpNZhmzOysF/wFMuP9sctmh2cFzRAZOn1YapxBsE1i9bJIY586R/WBLfLcmcBlM8ROBiQURnnNy+zfA==} + '@babel/template@7.27.2': + resolution: {integrity: sha512-LPDZ85aEJyYSd18/DkjNh4/y1ntkE5KwUHWTiqgRxruuZL2F1yuHligVHLvcHY2vMHXttKFpJn6LwfI7cw7ODw==} engines: {node: '>=6.9.0'} - '@babel/traverse@7.26.10': - resolution: {integrity: sha512-k8NuDrxr0WrPH5Aupqb2LCVURP/S0vBEn5mK6iH+GIYob66U5EtoZvcdudR2jQ4cmTwhEwW1DLB+Yyas9zjF6A==} + '@babel/traverse@7.28.4': + resolution: {integrity: sha512-YEzuboP2qvQavAcjgQNVgsvHIDv6ZpwXvcvjmyySP2DIMuByS/6ioU5G9pYrWHM6T2YDfc7xga9iNzYOs12CFQ==} engines: {node: '>=6.9.0'} - '@babel/types@7.26.10': - resolution: {integrity: sha512-emqcG3vHrpxUKTrxcblR36dcrcoRDvKmnL/dCL6ZsHaShW80qxCAcNhzQZrpeM765VzEos+xOi4s+r4IXzTwdQ==} + '@babel/types@7.28.4': + resolution: {integrity: sha512-bkFqkLhh3pMBUQQkpVgWDWq/lqzc2678eUyDlTBhRqhCHFguYYGM0Efga7tYk4TogG/3x0EEl66/OQ+WGbWB/Q==} engines: {node: '>=6.9.0'} - '@emnapi/runtime@1.3.1': - resolution: {integrity: sha512-kEBmG8KyqtxJZv+ygbEim+KCGtIq1fC22Ms3S4ziXmYKm8uyoLX0MHONVKwp+9opg390VaKRNt4a7A9NwmpNhw==} + '@emnapi/runtime@1.5.0': + resolution: {integrity: sha512-97/BJ3iXHww3djw6hYIfErCZFee7qCtrneuLa20UXFCOTCfBM2cvQHjWJ2EG0s0MtdNwInarqCTz35i4wWXHsQ==} - '@envelop/core@5.2.3': - resolution: {integrity: sha512-KfoGlYD/XXQSc3BkM1/k15+JQbkQ4ateHazeZoWl9P71FsLTDXSjGy6j7QqfhpIDSbxNISqhPMfZHYSbDFOofQ==} + '@envelop/core@5.3.1': + resolution: {integrity: sha512-n29V3vRqXvPcG76C8zE482LQykk0P66zv1mjpk7aHeGe9qnh8AzB/RvoX5SVFwApJQPp0ixob8NoYXg4FHKMGA==} engines: {node: '>=18.0.0'} '@envelop/instrumentation@1.0.0': @@ -959,20 +1046,23 @@ packages: resolution: {integrity: sha512-QdWi16+CHB9JYP7gma19OVVg0BFkvU8zNj9GjWorYI8Iv8FUxjOCcYRuAmX4s/h91e4e7BPsskc8cSrZYho9Ew==} engines: {node: '>=12'} - '@floating-ui/core@1.6.9': - resolution: {integrity: sha512-uMXCuQ3BItDUbAMhIXw7UPXRfAlOAvZzdK9BWpE60MCn+Svt3aLn9jsPTi/WNGlRUu2uI0v5S7JiIUsbsvh3fw==} + '@fastify/busboy@3.2.0': + resolution: {integrity: sha512-m9FVDXU3GT2ITSe0UaMA5rU3QkfC/UXtCU8y0gSN/GugTqtVldOBWIB5V6V3sbmenVZUIpU6f+mPEO2+m5iTaA==} - '@floating-ui/dom@1.6.13': - resolution: {integrity: sha512-umqzocjDgNRGTuO7Q8CU32dkHkECqI8ZdMZ5Swb6QAM0t5rnlrN3lGo1hdpscRd3WS8T6DKYK4ephgIH9iRh3w==} + '@floating-ui/core@1.7.3': + resolution: {integrity: sha512-sGnvb5dmrJaKEZ+LDIpguvdX3bDlEllmv4/ClQ9awcmCZrlx5jQyyMWFM5kBI+EyNOCDDiKk8il0zeuX3Zlg/w==} - '@floating-ui/react-dom@2.1.2': - resolution: {integrity: sha512-06okr5cgPzMNBy+Ycse2A6udMi4bqwW/zgBF/rwjcNqWkyr82Mcg8b0vjX8OJpZFy/FKjJmw6wV7t44kK6kW7A==} + '@floating-ui/dom@1.7.4': + resolution: {integrity: sha512-OOchDgh4F2CchOX94cRVqhvy7b3AFb+/rQXyswmzmGakRfkMgoWVjfnLWkRirfLEfuD4ysVW16eXzwt3jHIzKA==} + + '@floating-ui/react-dom@2.1.6': + resolution: {integrity: sha512-4JX6rEatQEvlmgU80wZyq9RT96HZJa88q8hp0pBd+LrczeDI4o6uA2M+uvxngVHo4Ihr8uibXxH6+70zhAFrVw==} peerDependencies: react: '>=16.8.0' react-dom: '>=16.8.0' - '@floating-ui/utils@0.2.9': - resolution: {integrity: sha512-MDWhGtE+eHw5JW7lq4qhc5yRLS11ERl1c7Z6Xd0a58DozHES6EnNNwUWbMiG4J9Cgj053Bhk8zvlhFYKVhULwg==} + '@floating-ui/utils@0.2.10': + resolution: {integrity: sha512-aGTxbpbg8/b5JfU1HXSrbH3wXZuLPJcNEcZQFMxLs3oSzgtVu6nFPkbbGGUvBcUjKV2YyB9Wxxabo+HEH9tcRQ==} '@gql.tada/internal@1.0.8': resolution: {integrity: sha512-XYdxJhtHC5WtZfdDqtKjcQ4d7R1s0d1rnlSs3OcBEUbYiPoJJfZU7tWsVXuv047Z6msvmr4ompJ7eLSK5Km57g==} @@ -985,8 +1075,8 @@ packages: 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.5': - resolution: {integrity: sha512-9p9SI5dPhJdyU+O6p1LUqi5ajDwpm6pUhutb1fBONd0GZltLFwkgWFiFtM6smxkYXlYVzw61p1kTtwqsuXO16w==} + '@graphql-codegen/cli@5.0.7': + resolution: {integrity: sha512-h/sxYvSaWtxZxo8GtaA8SvcHTyViaaPd7dweF/hmRDpaQU1o3iU3EZxlcJ+oLTunU0tSMFsnrIXm/mhXxI11Cw==} engines: {node: '>=16'} hasBin: true peerDependencies: @@ -996,19 +1086,23 @@ packages: '@parcel/watcher': optional: true - '@graphql-codegen/client-preset@4.7.0': - resolution: {integrity: sha512-U15GrsvSd0k6Wgo3vFN/oJMTMWUtbEkjQhifrfzkJpvUK+cqyB+C/SgLdSbzyxKd3GyMl8kfwgGr5K+yfksQ/g==} + '@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.16': - resolution: {integrity: sha512-+R9OC2P0fS025VlCIKfjTR53cijMY3dPfbleuD4+wFaLY2rx0bYghU2YO5Y7AyqPNJLrw6p/R4ecnSkJ0odBDQ==} + '@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 @@ -1018,18 +1112,13 @@ packages: 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==} + '@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 @@ -1039,73 +1128,81 @@ packages: 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.0': - resolution: {integrity: sha512-CkMI1zmVd6nCoynzr3GO7RawWJIkt4AdCmS3wPxb3u8lwElcKTK7QCKA2d/fveC8OM0cATur+l0hyAkIkMft9g==} + '@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.15': - resolution: {integrity: sha512-uBbGtNHbOsepiTdtUBAB4uhSnLzwGAkbdBExHzosl5OTVivKMu9x+hrqodTPwRMRr5D9OlqH42oGZeUD2bu6EA==} + '@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.5.1': - resolution: {integrity: sha512-KL+sYPm7GWHwVvFPVaaWSOv9WF7PDxkmOX8DEBtzqTYez5xCWqtCz7LIrwzmtDd7XoJGkRpWlyrHdpuw5VakhA==} + '@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.2': - resolution: {integrity: sha512-io2tWfeehBqOB2X6llqLE6B9wjjsXZT/GTZlguGVXdbR7WhSJO9GXyLflXYKxom/h2bPjkVL534Ev6wZLcs0wA==} + '@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.0': - resolution: {integrity: sha512-SpaQ13fOZmog/xjgKnb7/G1CZSK54wopEbPBSav0IHN99iHaA4lJi6xJJoWrlDutOPgB26KAfGEXTD+lTm9esg==} + '@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.5': - resolution: {integrity: sha512-BmbXcS8hv75qDIp4LCFshFXXDq0PCd48n8WLZ5Qf4XCOmHYGSxMn49dp/eKeApMqXWYTkAZuNt8z90zsRSQeOg==} + '@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.1': - resolution: {integrity: sha512-mD9ufZhDGhyrSaWQGrU1Q1c5f01TeWtSWy/cDwXYjJcHIj1Y/DG2x0tOflEfCvh5WcnmHNIw4lzDsg1W7iFJEg==} + '@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.7.1': - resolution: {integrity: sha512-jnBjDN7IghoPy1TLqIE1E4O0XcoRc7dJOHENkHvzGhu0SnvPL6ZgJxkQiADI4Vg2hj/4UiTGqo8q/GRoZz22lQ==} + '@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-tools/apollo-engine-loader@8.0.20': - resolution: {integrity: sha512-m5k9nXSyjq31yNsEqDXLyykEjjn3K3Mo73oOKI+Xjy8cpnsgbT4myeUJIYYQdLrp7fr9Y9p7ZgwT5YcnwmnAbA==} + '@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.14': - resolution: {integrity: sha512-B7qDM/n4lBLfJ2Cd74PAt0OMoJq1hRrVVKMfw9i4+RZ8RNgzmspGZIZx4HHnsCGQ4/rUQLCeDCjL1oY4x+0K8g==} + '@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.20': - resolution: {integrity: sha512-GzIbjjWJIc04KWnEr8VKuPe0FA2vDTlkaeub5p4lLimljnJ6C0QSkOyCUnFmsB9jetQcHm0Wfmn/akMnFUG+wA==} + '@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.15': - resolution: {integrity: sha512-4qwgzt2VDXHZ+I0xUuZ1BCGu1Wn/QqYwz75fdj71J8VzHj0Zu4Kl4Ka59hoPdG+wq4ekW27MXvFhKmVISq02cw==} + '@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 @@ -1122,74 +1219,80 @@ packages: peerDependencies: graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 - '@graphql-tools/executor-graphql-ws@2.0.5': - resolution: {integrity: sha512-gI/D9VUzI1Jt1G28GYpvm5ckupgJ5O8mi5Y657UyuUozX34ErfVdZ81g6oVcKFQZ60LhCzk7jJeykK48gaLhDw==} + '@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.1': - resolution: {integrity: sha512-Fg0/EZKdzMKMn4cnoFcYUn6udsOgmCZIC2h2xQVLkvIkaYv2fT53RXBKBUoxNaX+VDg6zKysh19ZJqjC2+K0cg==} + '@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.17': - resolution: {integrity: sha512-TvltY6eL4DY1Vt66Z8kt9jVmNcI+WkvVPQZrPbMCM3rv2Jw/sWvSwzUBezRuWX0sIckMifYVh23VPcGBUKX/wg==} + '@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.6': - resolution: {integrity: sha512-vtwuotFe9DR1gZ2VXYRxcL6GVP6dYUHWibA9JNOkdRiwCW/icTY7oU9xUVITnOAfjNh9k8Z43kZmiyr2aMopVA==} + '@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.24': - resolution: {integrity: sha512-ypLC9N2bKNC0QNbrEBTbWKwbV607f7vK2rSGi9uFeGr8E29tWplo6or9V/+TM0ZfIkUsNp/4QX/zKTgo8SbwQg==} + '@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.20': - resolution: {integrity: sha512-Icch8bKZ1iP3zXCB9I0ded1hda9NPskSSalw7ZM21kXvLiOR5nZhdqPF65gCFkIKo+O4NR4Bp51MkKj+wl+vpg==} + '@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.0.19': - resolution: {integrity: sha512-kyEZL4rRJ5LelfCXL3GLgbMiu5Zd7memZaL8ZxPXGI7DA8On1e5IVBH3zZJwf7LzhjSVnPaHM7O/bRzGvTbXzQ==} + '@graphql-tools/graphql-file-loader@8.1.1': + resolution: {integrity: sha512-5JaUE3zMHW21Oh3bGSNKcr/Mi6oZ9/QWlBCNYbGy+09U23EOZmhPn9a44zP3gXcnnj0C+YVEr8dsMaoaB3UVGQ==} 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.19': - resolution: {integrity: sha512-LEw/6IYOUz48HjbWntZXDCzSXsOIM1AyWZrlLoJOrA8QAlhFd8h5Tny7opCypj8FO9VvpPFugWoNDh5InPOEQA==} + '@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.0.18': - resolution: {integrity: sha512-1tw1/1QLB0n5bPWfIrhCRnrHIlbMvbwuifDc98g4FPhJ7OXD+iUQe+IpmD5KHVwYWXWhZOuJuq45DfV/WLNq3A==} + '@graphql-tools/import@7.1.1': + resolution: {integrity: sha512-zhlhaUmeTfV76vMoLRn9xCVMVc7sLf10ve5GKEhXFFDcWA6+vEZGk9CCm1VlPf2kyKGlF7bwLVzfepb3ZoOU9Q==} 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.18': - resolution: {integrity: sha512-JjjIxxewgk8HeMR3npR3YbOkB7fxmdgmqB9kZLWdkRKBxrRXVzhryyq+mhmI0Evzt6pNoHIc3vqwmSctG2sddg==} + '@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.0.19': - resolution: {integrity: sha512-YA3T9xTy2B6dNTnqsCzqSclA23j4v3p3A2Vdn0jEbZPGLMRPzWW8MJu2nlgQ8uua1IpYD/J8xgyrFxxAo3qPmQ==} + '@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.0.24': - resolution: {integrity: sha512-NzWx/Afl/1qHT3Nm1bghGG2l4jub28AdvtG11PoUlmjcIjnFBJMv4vqL0qnxWe8A82peWo4/TkVdjJRLXwgGEw==} + '@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 @@ -1216,42 +1319,37 @@ packages: peerDependencies: graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 - '@graphql-tools/relay-operation-optimizer@7.0.19': - resolution: {integrity: sha512-xnjLpfzw63yIX1bo+BVh4j1attSwqEkUbpJ+HAhdiSUa3FOQFfpWgijRju+3i87CwhjBANqdTZbcsqLT1hEXig==} + '@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.23': - resolution: {integrity: sha512-aEGVpd1PCuGEwqTXCStpEkmheTHNdMayiIKH1xDWqYp9i8yKv9FRDgkGrY4RD8TNxnf7iII+6KOBGaJ3ygH95A==} + '@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.31': - resolution: {integrity: sha512-QGP3py6DAdKERHO5D38Oi+6j+v0O3rkBbnLpyOo87rmIRbwE6sOkL5JeHegHs7EEJ279fBX6lMt8ry0wBMGtyA==} + '@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.8.6': - resolution: {integrity: sha512-Alc9Vyg0oOsGhRapfL3xvqh1zV8nKoFUdtLhXX7Ki4nClaIJXckrA86j+uxEuG3ic6j4jlM1nvcWXRn/71AVLQ==} + '@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@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.33': - resolution: {integrity: sha512-pFF439LHkRhdFOAbVewgfFFzeA502NM4mqs4z1Lq5eMNdVlV/nAFgAzd0ocAyHBPG8ife3NixdJR8DO+UAZUoQ==} + '@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 @@ -1380,8 +1478,21 @@ packages: cpu: [x64] os: [win32] - '@inquirer/checkbox@4.1.4': - resolution: {integrity: sha512-d30576EZdApjAMceijXA5jDzRQHT/MygbC+J8I7EqA6f/FRpYxlRtRJbHF8gHeWYeSdOuTEJqonn7QLB1ELezA==} + '@inquirer/ansi@1.0.0': + resolution: {integrity: sha512-JWaTfCxI1eTmJ1BIv86vUfjVatOdxwD0DAVKYevY8SazeUUZtW+tNbsdejVO1GYE0GXJW1N1ahmiC3TFd+7wZA==} + engines: {node: '>=18'} + + '@inquirer/checkbox@4.2.4': + resolution: {integrity: sha512-2n9Vgf4HSciFq8ttKXk+qy+GsyTXPV1An6QAwe/8bkbbqvG4VW1I/ZY1pNu2rf+h9bdzMLPbRSfcNxkHBy/Ydw==} + engines: {node: '>=18'} + peerDependencies: + '@types/node': '>=18' + peerDependenciesMeta: + '@types/node': + optional: true + + '@inquirer/confirm@5.1.18': + resolution: {integrity: sha512-MilmWOzHa3Ks11tzvuAmFoAd/wRuaP3SwlT1IZhyMke31FKLxPiuDWcGXhU+PKveNOpAc4axzAgrgxuIJJRmLw==} engines: {node: '>=18'} peerDependencies: '@types/node': '>=18' @@ -1389,8 +1500,8 @@ packages: '@types/node': optional: true - '@inquirer/confirm@5.1.8': - resolution: {integrity: sha512-dNLWCYZvXDjO3rnQfk2iuJNL4Ivwz/T2+C3+WnNfJKsNGSuOs3wAo2F6e0p946gtSAk31nZMfW+MRmYaplPKsg==} + '@inquirer/core@10.2.2': + resolution: {integrity: sha512-yXq/4QUnk4sHMtmbd7irwiepjB8jXU0kkFRL4nr/aDBA2mDz13cMakEWdDwX3eSCTkk03kwcndD1zfRAIlELxA==} engines: {node: '>=18'} peerDependencies: '@types/node': '>=18' @@ -1398,8 +1509,8 @@ packages: '@types/node': optional: true - '@inquirer/core@10.1.9': - resolution: {integrity: sha512-sXhVB8n20NYkUBfDYgizGHlpRVaCRjtuzNZA6xpALIUbkgfd2Hjz+DfEN6+h1BRnuxw0/P4jCIMjMsEOAMwAJw==} + '@inquirer/editor@4.2.20': + resolution: {integrity: sha512-7omh5y5bK672Q+Brk4HBbnHNowOZwrb/78IFXdrEB9PfdxL3GudQyDk8O9vQ188wj3xrEebS2M9n18BjJoI83g==} engines: {node: '>=18'} peerDependencies: '@types/node': '>=18' @@ -1407,8 +1518,8 @@ packages: '@types/node': optional: true - '@inquirer/editor@4.2.9': - resolution: {integrity: sha512-8HjOppAxO7O4wV1ETUlJFg6NDjp/W2NP5FB9ZPAcinAlNT4ZIWOLe2pUVwmmPRSV0NMdI5r/+lflN55AwZOKSw==} + '@inquirer/expand@4.0.20': + resolution: {integrity: sha512-Dt9S+6qUg94fEvgn54F2Syf0Z3U8xmnBI9ATq2f5h9xt09fs2IJXSCIXyyVHwvggKWFXEY/7jATRo2K6Dkn6Ow==} engines: {node: '>=18'} peerDependencies: '@types/node': '>=18' @@ -1416,8 +1527,8 @@ packages: '@types/node': optional: true - '@inquirer/expand@4.0.11': - resolution: {integrity: sha512-OZSUW4hFMW2TYvX/Sv+NnOZgO8CHT2TU1roUCUIF2T+wfw60XFRRp9MRUPCT06cRnKL+aemt2YmTWwt7rOrNEA==} + '@inquirer/external-editor@1.0.2': + resolution: {integrity: sha512-yy9cOoBnx58TlsPrIxauKIFQTiyH+0MK4e97y4sV9ERbI+zDxw7i2hxHLCIEGIE/8PPvDxGhgzIOTSOWcs6/MQ==} engines: {node: '>=18'} peerDependencies: '@types/node': '>=18' @@ -1425,12 +1536,12 @@ packages: '@types/node': optional: true - '@inquirer/figures@1.0.11': - resolution: {integrity: sha512-eOg92lvrn/aRUqbxRyvpEWnrvRuTYRifixHkYVpJiygTgVSBIHDqLh0SrMQXkafvULg3ck11V7xvR+zcgvpHFw==} + '@inquirer/figures@1.0.13': + resolution: {integrity: sha512-lGPVU3yO9ZNqA7vTYz26jny41lE7yoQansmqdMLBEfqaGsmdg7V3W9mK9Pvb5IL4EVZ9GnSDGMO/cJXud5dMaw==} engines: {node: '>=18'} - '@inquirer/input@4.1.8': - resolution: {integrity: sha512-WXJI16oOZ3/LiENCAxe8joniNp8MQxF6Wi5V+EBbVA0ZIOpFcL4I9e7f7cXse0HJeIPCWO8Lcgnk98juItCi7Q==} + '@inquirer/input@4.2.4': + resolution: {integrity: sha512-cwSGpLBMwpwcZZsc6s1gThm0J+it/KIJ+1qFL2euLmSKUMGumJ5TcbMgxEjMjNHRGadouIYbiIgruKoDZk7klw==} engines: {node: '>=18'} peerDependencies: '@types/node': '>=18' @@ -1438,8 +1549,8 @@ packages: '@types/node': optional: true - '@inquirer/number@3.0.11': - resolution: {integrity: sha512-pQK68CsKOgwvU2eA53AG/4npRTH2pvs/pZ2bFvzpBhrznh8Mcwt19c+nMO7LHRr3Vreu1KPhNBF3vQAKrjIulw==} + '@inquirer/number@3.0.20': + resolution: {integrity: sha512-bbooay64VD1Z6uMfNehED2A2YOPHSJnQLs9/4WNiV/EK+vXczf/R988itL2XLDGTgmhMF2KkiWZo+iEZmc4jqg==} engines: {node: '>=18'} peerDependencies: '@types/node': '>=18' @@ -1447,8 +1558,8 @@ packages: '@types/node': optional: true - '@inquirer/password@4.0.11': - resolution: {integrity: sha512-dH6zLdv+HEv1nBs96Case6eppkRggMe8LoOTl30+Gq5Wf27AO/vHFgStTVz4aoevLdNXqwE23++IXGw4eiOXTg==} + '@inquirer/password@4.0.20': + resolution: {integrity: sha512-nxSaPV2cPvvoOmRygQR+h0B+Av73B01cqYLcr7NXcGXhbmsYfUb8fDdw2Us1bI2YsX+VvY7I7upgFYsyf8+Nug==} engines: {node: '>=18'} peerDependencies: '@types/node': '>=18' @@ -1456,8 +1567,8 @@ packages: '@types/node': optional: true - '@inquirer/prompts@7.4.0': - resolution: {integrity: sha512-EZiJidQOT4O5PYtqnu1JbF0clv36oW2CviR66c7ma4LsupmmQlUwmdReGKRp456OWPWMz3PdrPiYg3aCk3op2w==} + '@inquirer/prompts@7.8.6': + resolution: {integrity: sha512-68JhkiojicX9SBUD8FE/pSKbOKtwoyaVj1kwqLfvjlVXZvOy3iaSWX4dCLsZyYx/5Ur07Fq+yuDNOen+5ce6ig==} engines: {node: '>=18'} peerDependencies: '@types/node': '>=18' @@ -1465,8 +1576,8 @@ packages: '@types/node': optional: true - '@inquirer/rawlist@4.0.11': - resolution: {integrity: sha512-uAYtTx0IF/PqUAvsRrF3xvnxJV516wmR6YVONOmCWJbbt87HcDHLfL9wmBQFbNJRv5kCjdYKrZcavDkH3sVJPg==} + '@inquirer/rawlist@4.1.8': + resolution: {integrity: sha512-CQ2VkIASbgI2PxdzlkeeieLRmniaUU1Aoi5ggEdm6BIyqopE9GuDXdDOj9XiwOqK5qm72oI2i6J+Gnjaa26ejg==} engines: {node: '>=18'} peerDependencies: '@types/node': '>=18' @@ -1474,8 +1585,8 @@ packages: '@types/node': optional: true - '@inquirer/search@3.0.11': - resolution: {integrity: sha512-9CWQT0ikYcg6Ls3TOa7jljsD7PgjcsYEM0bYE+Gkz+uoW9u8eaJCRHJKkucpRE5+xKtaaDbrND+nPDoxzjYyew==} + '@inquirer/search@3.1.3': + resolution: {integrity: sha512-D5T6ioybJJH0IiSUK/JXcoRrrm8sXwzrVMjibuPs+AgxmogKslaafy1oxFiorNI4s3ElSkeQZbhYQgLqiL8h6Q==} engines: {node: '>=18'} peerDependencies: '@types/node': '>=18' @@ -1483,8 +1594,8 @@ packages: '@types/node': optional: true - '@inquirer/select@4.1.0': - resolution: {integrity: sha512-z0a2fmgTSRN+YBuiK1ROfJ2Nvrpij5lVN3gPDkQGhavdvIVGHGW29LwYZfM/j42Ai2hUghTI/uoBuTbrJk42bA==} + '@inquirer/select@4.3.4': + resolution: {integrity: sha512-Qp20nySRmfbuJBBsgPU7E/cL62Hf250vMZRzYDcBHty2zdD1kKCnoDFWRr0WO2ZzaXp3R7a4esaVGJUx0E6zvA==} engines: {node: '>=18'} peerDependencies: '@types/node': '>=18' @@ -1492,8 +1603,8 @@ packages: '@types/node': optional: true - '@inquirer/type@3.0.5': - resolution: {integrity: sha512-ZJpeIYYueOz/i/ONzrfof8g89kNdO2hjGuvULROo3O8rlB2CRtSseE5KeirnyE4t/thAn/EwvS/vuQeJCn+NZg==} + '@inquirer/type@3.0.8': + resolution: {integrity: sha512-lg9Whz8onIHRthWaN1Q9EGLa/0LFJjyM8mEUbL1eTi6yMGvBf8gvyDLtxSXztQsxMvhxxNpJYrwa1YHdq+w4Jw==} engines: {node: '>=18'} peerDependencies: '@types/node': '>=18' @@ -1509,23 +1620,21 @@ packages: resolution: {integrity: sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - '@jridgewell/gen-mapping@0.3.8': - resolution: {integrity: sha512-imAbBGkb+ebQyxKgzv5Hu2nmROxoDOXHh80evxdoXNOrvAnVx7zimzc1Oo5h9RlfV4vPXaE2iM5pOFbvOCClWA==} - engines: {node: '>=6.0.0'} + '@jridgewell/gen-mapping@0.3.13': + resolution: {integrity: sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==} + + '@jridgewell/remapping@2.3.5': + resolution: {integrity: sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==} '@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/sourcemap-codec@1.5.0': - resolution: {integrity: sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==} + '@jridgewell/sourcemap-codec@1.5.5': + resolution: {integrity: sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==} - '@jridgewell/trace-mapping@0.3.25': - resolution: {integrity: sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==} + '@jridgewell/trace-mapping@0.3.31': + resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==} '@lezer/common@0.15.12': resolution: {integrity: sha512-edfwCxNLnzq5pBA/yaIhwJ3U3Kz8VAUOTRg0hhxaizaI1N+qxV7EXDv/kLCkLeq2RzSFvxexlaj5Mzfn2kY0Ig==} @@ -1623,8 +1732,8 @@ packages: resolution: {integrity: sha512-5yb2gMI1BDm0JybZezeoX/3XhPDOtTbcFvpTXM9kxsoZjPZFh4XciqRbpD6N86HYZqWDhEaKUDuOyR0sQHEjMA==} engines: {node: '>=12.0.0'} - '@metamask/superstruct@3.1.0': - resolution: {integrity: sha512-N08M56HdOgBfRKkrgCMZvQppkZGcArEop3kixNEtVbJKm6P9Cfg0YkI6X0s1g78sNrj2fWUwvJADdZuzJgFttA==} + '@metamask/superstruct@3.2.1': + resolution: {integrity: sha512-fLgJnDOXFmuVlB38rUN5SmU7hAFQcCjrg3Vrxz67KTY7YHFnSNEKvX4avmEBdOI0yTCxZjwMCFEqsC8k2+Wd3g==} engines: {node: '>=16.0.0'} '@metamask/utils@8.5.0': @@ -1673,18 +1782,18 @@ packages: cpu: [x64] os: [win32] + '@noble/ciphers@1.3.0': + resolution: {integrity: sha512-2I0gnIVPtfnMw9ee9h1dJG7tp81+8Ob3OJb3Mv37rx5L40/b0i7djjCVvGOVqc9AEIQyvyu1i6ypKdFw8R8gQw==} + engines: {node: ^14.21.3 || >=16} + '@noble/curves@1.2.0': resolution: {integrity: sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==} '@noble/curves@1.4.2': resolution: {integrity: sha512-TavHr8qycMChk8UwMld0ZDRvatedkzWfH8IiaeGCfymOP5i0hSCozz9vHOL0nkwk7HRMlFnAiKpS2jrUmSybcw==} - '@noble/curves@1.7.0': - resolution: {integrity: sha512-UTMhXK9SeDhFJVrHeUJ5uZlI6ajXg10O6Ddocf9S6GjbSBVZsJo88HzKwXznNfGpMTRDyJkqMjNDPYgf0qFWnw==} - engines: {node: ^14.21.3 || >=16} - - '@noble/curves@1.8.1': - resolution: {integrity: sha512-warwspo+UYUPep0Q+vtdVB4Ugn8GGQj8iyB3gnRWsztmUHTI3S1nhdiWNsPUGL0vud7JlRRk1XEu7Lq1KGTnMQ==} + '@noble/curves@1.9.1': + resolution: {integrity: sha512-k11yZxZg+t+gWvBbIswW0yoJlu8cHOC7dhunwOzoWH/mXGBiYyR4YY6hAEK/3EUs4UpB8la1RfdRpeGsFHkWsA==} engines: {node: ^14.21.3 || >=16} '@noble/hashes@1.3.2': @@ -1695,16 +1804,8 @@ packages: resolution: {integrity: sha512-V1JJ1WTRUqHHrOSh597hURcMqVKVGL/ea3kv0gSnEdsEZ0/+VyPghM1lMNGc00z7CIQorSvbKpuJkxvuHbvdbg==} engines: {node: '>= 16'} - '@noble/hashes@1.6.0': - resolution: {integrity: sha512-YUULf0Uk4/mAA89w+k3+yUYh6NrEvxZa5T6SY3wlMvE2chHkxFUUIDI8/XW1QSC357iA5pSnqt7XEhvFOqmDyQ==} - engines: {node: ^14.21.3 || >=16} - - '@noble/hashes@1.6.1': - resolution: {integrity: sha512-pq5D8h10hHBjyqX+cfBm0i8JUXJ0UhczFc4r74zbuT9XgewFo2E3J1cOaGtdZynILNmQ685YWGzGE1Zv6io50w==} - engines: {node: ^14.21.3 || >=16} - - '@noble/hashes@1.7.1': - resolution: {integrity: sha512-B8XBPsn4vT/KJAGqDzbwztd+6Yte3P4V7iafm24bxgDe/mlRuK6xmWPuCNrKt2vDafZ8MfJLlchDG/vYafQEjQ==} + '@noble/hashes@1.8.0': + resolution: {integrity: sha512-jCs9ldd7NwzpgXDIf6P3+NrHh9/sD6CQdxHyjQI+h/6rDNo88ypBxxz45UDuZHz9r3tNz7N/VInSVoVdtXEI4A==} engines: {node: ^14.21.3 || >=16} '@nodelib/fs.scandir@2.1.5': @@ -2412,43 +2513,14 @@ packages: resolution: {integrity: sha512-c83qWb22rNRuB0UaVCI0uRPNRr8Z0FWnEIvT47jiHAmOIUHbBOg5XvV7pM5x+rKn9HRpjxquDbXYSXr3fAKFcw==} engines: {node: '>=12'} - '@radix-ui/number@1.1.0': - resolution: {integrity: sha512-V3gRzhVNU1ldS5XhAPTom1fOIo4ccrjjJgmE+LI2h/WaFpHmx0MQApT+KZHnx8abG6Avtfcz4WoEciMnpFT3HQ==} - - '@radix-ui/primitive@1.1.1': - resolution: {integrity: sha512-SJ31y+Q/zAyShtXJc8x83i9TYdbAfHZ++tUZnvjJJqFjzsdUnKsxPL6IEtBlxKkU7yzer//GQtZSV4GbldL3YA==} - - '@radix-ui/primitive@1.1.2': - resolution: {integrity: sha512-XnbHrrprsNqZKQhStrSwgRUQzoCI1glLzdw79xiZPoofhGICeZRSQ3dIxAKH1gb3OHfNf4d6f+vAv3kil2eggA==} - - '@radix-ui/react-accordion@1.2.3': - resolution: {integrity: sha512-RIQ15mrcvqIkDARJeERSuXSry2N8uYnxkdDetpfmalT/+0ntOXLkFOsh9iwlAsCv+qcmhZjbdJogIm6WBa6c4A==} - peerDependencies: - '@types/react': '*' - '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - '@types/react-dom': - optional: true + '@radix-ui/number@1.1.1': + resolution: {integrity: sha512-MkKCwxlXTgz6CFoJx3pCwn07GKp36+aZyu/u2Ln2VrA5DcdyCZkASEDBTd8x5whTQQL5CiYf4prXKLcgQdv29g==} - '@radix-ui/react-alert-dialog@1.1.6': - resolution: {integrity: sha512-p4XnPqgej8sZAAReCAKgz1REYZEBLR8hU9Pg27wFnCWIMc8g1ccCs0FjBcy05V15VTu8pAePw/VDYeOm/uZ6yQ==} - peerDependencies: - '@types/react': '*' - '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - '@types/react-dom': - optional: true + '@radix-ui/primitive@1.1.3': + resolution: {integrity: sha512-JTF99U/6XIjCBo0wqkU5sK10glYe27MRRsfwoiq5zzOEZLHU3A3KCMa5X/azekYRCJ0HlwI0crAXS/5dEHTzDg==} - '@radix-ui/react-arrow@1.1.2': - resolution: {integrity: sha512-G+KcpzXHq24iH0uGG/pF8LyzpFJYGD4RfLjCIBfGdSLXvjLHST31RUiRVrupIBMvIppMgSzQ6l66iAxl03tdlg==} + '@radix-ui/react-accordion@1.2.12': + resolution: {integrity: sha512-T4nygeh9YE9dLRPhAHSeOZi7HBXo+0kYIPJXayZfvWOWA0+n3dESrZbjfDPUABkUNym6Hd+f2IR113To8D2GPA==} peerDependencies: '@types/react': '*' '@types/react-dom': '*' @@ -2460,8 +2532,8 @@ packages: '@types/react-dom': optional: true - '@radix-ui/react-arrow@1.1.3': - resolution: {integrity: sha512-2dvVU4jva0qkNZH6HHWuSz5FN5GeU5tymvCgutF8WaXz9WnD1NgUhy73cqzkjkN4Zkn8lfTPv5JIfrC221W+Nw==} + '@radix-ui/react-alert-dialog@1.1.15': + resolution: {integrity: sha512-oTVLkEw5GpdRe29BqJ0LSDFWI3qu0vR1M0mUkOQWDIUnY/QIkLpgDMWuKxP94c2NAC2LGcgVhG1ImF3jkZ5wXw==} peerDependencies: '@types/react': '*' '@types/react-dom': '*' @@ -2486,34 +2558,8 @@ packages: '@types/react-dom': optional: true - '@radix-ui/react-avatar@1.1.3': - resolution: {integrity: sha512-Paen00T4P8L8gd9bNsRMw7Cbaz85oxiv+hzomsRZgFm2byltPFDtfcoqlWJ8GyZlIBWgLssJlzLCnKU0G0302g==} - peerDependencies: - '@types/react': '*' - '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - '@types/react-dom': - optional: true - - '@radix-ui/react-checkbox@1.1.4': - resolution: {integrity: sha512-wP0CPAHq+P5I4INKe3hJrIa1WoNqqrejzW+zoU0rOvo1b9gDEJJFl2rYfO1PYJUQCc2H1WZxIJmyv9BS8i5fLw==} - peerDependencies: - '@types/react': '*' - '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - '@types/react-dom': - optional: true - - '@radix-ui/react-collapsible@1.1.3': - resolution: {integrity: sha512-jFSerheto1X03MUC0g6R7LedNW9EEGWdg9W1+MlpkMLwGkgkbUXLPBH/KIuWKXUoeYRVY11llqbTBDzuLg7qrw==} + '@radix-ui/react-avatar@1.1.10': + resolution: {integrity: sha512-V8piFfWapM5OmNCXTzVQY+E1rDa53zY+MQ4Y7356v4fFz6vqCyUtIz2rUD44ZEdwg78/jKmMJHj07+C/Z/rcog==} peerDependencies: '@types/react': '*' '@types/react-dom': '*' @@ -2525,8 +2571,8 @@ packages: '@types/react-dom': optional: true - '@radix-ui/react-collapsible@1.1.4': - resolution: {integrity: sha512-u7LCw1EYInQtBNLGjm9nZ89S/4GcvX1UR5XbekEgnQae2Hkpq39ycJ1OhdeN1/JDfVNG91kWaWoest127TaEKQ==} + '@radix-ui/react-checkbox@1.3.3': + resolution: {integrity: sha512-wBbpv+NQftHDdG86Qc0pIyXk5IR3tM8Vd0nWLKDcX8nNn4nXFOFwsKuqw2okA/1D/mpaAkmuyndrPJTYDNZtFw==} peerDependencies: '@types/react': '*' '@types/react-dom': '*' @@ -2538,8 +2584,8 @@ packages: '@types/react-dom': optional: true - '@radix-ui/react-collection@1.1.2': - resolution: {integrity: sha512-9z54IEKRxIa9VityapoEYMuByaG42iSy1ZXlY2KcuLSEtq8x4987/N6m15ppoMffgZX72gER2uHe1D9Y6Unlcw==} + '@radix-ui/react-collapsible@1.1.12': + resolution: {integrity: sha512-Uu+mSh4agx2ib1uIGPP4/CKNULyajb3p92LsVXmH2EHVMTfZWpll88XJ0j4W0z3f8NK1eYl1+Mf/szHPmcHzyA==} peerDependencies: '@types/react': '*' '@types/react-dom': '*' @@ -2564,15 +2610,6 @@ packages: '@types/react-dom': optional: true - '@radix-ui/react-compose-refs@1.1.1': - resolution: {integrity: sha512-Y9VzoRDSJtgFMUCoiZBDVo084VQ5hfpXxVE+NgkdNsjiDBByiImMZKKhxMwCbdHvhlENG6a833CbFkOQvTricw==} - peerDependencies: - '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - '@radix-ui/react-compose-refs@1.1.2': resolution: {integrity: sha512-z4eqJvfiNnFMHIIvXP3CY57y2WJs5g2v3X0zm9mEJkrkNv4rDxu+sg9Jh8EkXyeqBkB7SOcboo9dMVqhyrACIg==} peerDependencies: @@ -2582,8 +2619,8 @@ packages: '@types/react': optional: true - '@radix-ui/react-context-menu@2.2.6': - resolution: {integrity: sha512-aUP99QZ3VU84NPsHeaFt4cQUNgJqFsLLOt/RbbWXszZ6MP0DpDyjkFZORr4RpAEx3sUBk+Kc8h13yGtC5Qw8dg==} + '@radix-ui/react-context-menu@2.2.16': + resolution: {integrity: sha512-O8morBEW+HsVG28gYDZPTrT9UUovQUlJue5YO836tiTJhuIWBm/zQHc7j388sHWtdH/xUZurK9olD2+pcqx5ww==} peerDependencies: '@types/react': '*' '@types/react-dom': '*' @@ -2595,15 +2632,6 @@ packages: '@types/react-dom': optional: true - '@radix-ui/react-context@1.1.1': - resolution: {integrity: sha512-UASk9zi+crv9WteK/NU4PLvOoL3OuE6BWVKNF6hPRBtYBDXQ2u5iu3O59zUlJiTVvkyuycnqrztsHVJwcK9K+Q==} - peerDependencies: - '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - '@radix-ui/react-context@1.1.2': resolution: {integrity: sha512-jCi/QKUM2r1Ju5a3J64TH2A5SpKAgh0LpknyqdQ4m6DCV0xJ2HG1xARRwNGPQfi1SLdLWZ1OJz6F4OMBBNiGJA==} peerDependencies: @@ -2613,8 +2641,8 @@ packages: '@types/react': optional: true - '@radix-ui/react-dialog@1.1.6': - resolution: {integrity: sha512-/IVhJV5AceX620DUJ4uYVMymzsipdKBzo3edo+omeskCKGm9FRHM0ebIdbPnlQVJqyuHbuBltQUOG2mOTq2IYw==} + '@radix-ui/react-dialog@1.1.15': + resolution: {integrity: sha512-TCglVRtzlffRNxRMEyR36DGBLJpeusFcgMVD9PZEzAKnUs1lKCgX5u9BmC2Yg+LL9MgZDugFFs1Vl+Jp4t/PGw==} peerDependencies: '@types/react': '*' '@types/react-dom': '*' @@ -2626,15 +2654,6 @@ packages: '@types/react-dom': optional: true - '@radix-ui/react-direction@1.1.0': - resolution: {integrity: sha512-BUuBvgThEiAXh2DWu93XsT+a3aWrGqolGlqqw5VU1kG7p/ZH2cuDlM1sRLNnY3QcBS69UIz2mcKhMxDsdewhjg==} - peerDependencies: - '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - '@radix-ui/react-direction@1.1.1': resolution: {integrity: sha512-1UEWRX6jnOA2y4H5WczZ44gOOjTEmlqv1uNW4GAJEO5+bauCBhv8snY65Iw5/VOS/ghKN9gr2KjnLKxrsvoMVw==} peerDependencies: @@ -2644,8 +2663,8 @@ packages: '@types/react': optional: true - '@radix-ui/react-dismissable-layer@1.1.10': - resolution: {integrity: sha512-IM1zzRV4W3HtVgftdQiiOmA0AdJlCtMLe00FXaHwgt3rAnNsIyDqshvkIW3hj/iu5hu8ERP7KIYki6NkqDxAwQ==} + '@radix-ui/react-dismissable-layer@1.1.11': + resolution: {integrity: sha512-Nqcp+t5cTB8BinFkZgXiMJniQH0PsUt2k51FUhbdfeKvc4ACcG2uQniY/8+h1Yv6Kza4Q7lD7PQV0z0oicE0Mg==} peerDependencies: '@types/react': '*' '@types/react-dom': '*' @@ -2657,8 +2676,8 @@ packages: '@types/react-dom': optional: true - '@radix-ui/react-dismissable-layer@1.1.5': - resolution: {integrity: sha512-E4TywXY6UsXNRhFrECa5HAvE5/4BFcGyfTyK36gP+pAW1ed7UTK4vKwdr53gAJYwqbfCWC6ATvJa3J3R/9+Qrg==} + '@radix-ui/react-dropdown-menu@2.1.16': + resolution: {integrity: sha512-1PLGQEynI/3OX/ftV54COn+3Sud/Mn8vALg2rWnBLnRaGtJDduNW/22XjlGgPdpcIbiQxjKtb7BkcjP00nqfJw==} peerDependencies: '@types/react': '*' '@types/react-dom': '*' @@ -2670,21 +2689,17 @@ packages: '@types/react-dom': optional: true - '@radix-ui/react-dismissable-layer@1.1.6': - resolution: {integrity: sha512-7gpgMT2gyKym9Jz2ZhlRXSg2y6cNQIK8d/cqBZ0RBCaps8pFryCWXiUKI+uHGFrhMrbGUP7U6PWgiXzIxoyF3Q==} + '@radix-ui/react-focus-guards@1.1.3': + resolution: {integrity: sha512-0rFg/Rj2Q62NCm62jZw0QX7a3sz6QCQU0LpZdNrJX8byRGaGVTqbrW9jAoIAHyMQqsNpeZ81YgSizOt5WXq0Pw==} peerDependencies: '@types/react': '*' - '@types/react-dom': '*' react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc peerDependenciesMeta: '@types/react': optional: true - '@types/react-dom': - optional: true - '@radix-ui/react-dropdown-menu@2.1.15': - resolution: {integrity: sha512-mIBnOjgwo9AH3FyKaSWoSu/dYj6VdhJ7frEPiGTeXCdUFHjl9h3mFh2wwhEtINOmYXWhdpf1rY2minFsmaNgVQ==} + '@radix-ui/react-focus-scope@1.1.7': + resolution: {integrity: sha512-t2ODlkXBQyn7jkl6TNaw/MtVEVvIGelJDCG41Okq/KwUsJBwQ4XVZsHAVUkK4mBv3ewiAS3PGuUWuY2BoK4ZUw==} peerDependencies: '@types/react': '*' '@types/react-dom': '*' @@ -2696,17 +2711,26 @@ packages: '@types/react-dom': optional: true - '@radix-ui/react-focus-guards@1.1.1': - resolution: {integrity: sha512-pSIwfrT1a6sIoDASCSpFwOasEwKTZWDw/iBdtnqKO7v6FeOzYJ7U53cPzYFVR3geGGXgVHaH+CdngrrAzqUGxg==} + '@radix-ui/react-hover-card@1.1.15': + resolution: {integrity: sha512-qgTkjNT1CfKMoP0rcasmlH2r1DAiYicWsDsufxl940sT2wHNEWWv6FMWIQXWhVdmC1d/HYfbhQx60KYyAtKxjg==} peerDependencies: '@types/react': '*' + '@types/react-dom': '*' react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc peerDependenciesMeta: '@types/react': optional: true + '@types/react-dom': + optional: true + + '@radix-ui/react-icons@1.3.2': + resolution: {integrity: sha512-fyQIhGDhzfc9pK2kH6Pl9c4BDJGfMkPqkyIgYDthyNYoNg3wVhoJMMh19WS4Up/1KMPFVpNsT2q3WmXn2N1m6g==} + peerDependencies: + react: ^16.x || ^17.x || ^18.x || ^19.0.0 || ^19.0.0-rc - '@radix-ui/react-focus-guards@1.1.2': - resolution: {integrity: sha512-fyjAACV62oPV925xFCrH8DR5xWhg9KYtJT4s3u54jxp+L/hbpTY2kIeEFFbFe+a/HCE94zGQMZLIpVTPVZDhaA==} + '@radix-ui/react-id@1.1.1': + resolution: {integrity: sha512-kGkGegYIdQsOb4XjsfM97rXsiHaBwco+hFI66oO4s9LU+PLAC5oJ7khdOVFxkhsmlbpUqDAvXw11CluXP+jkHg==} peerDependencies: '@types/react': '*' react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc @@ -2714,8 +2738,8 @@ packages: '@types/react': optional: true - '@radix-ui/react-focus-scope@1.1.2': - resolution: {integrity: sha512-zxwE80FCU7lcXUGWkdt6XpTTCKPitG1XKOwViTxHVKIJhZl9MvIl2dVHeZENCWD9+EdWv05wlaEkRXUykU27RA==} + '@radix-ui/react-label@2.1.7': + resolution: {integrity: sha512-YT1GqPSL8kJn20djelMX7/cTRp/Y9w5IZHvfxQTVHrOqa2yMl7i/UfMqKRU5V7mEyKTrUVgJXhNQPVCG8PBLoQ==} peerDependencies: '@types/react': '*' '@types/react-dom': '*' @@ -2727,8 +2751,8 @@ packages: '@types/react-dom': optional: true - '@radix-ui/react-focus-scope@1.1.7': - resolution: {integrity: sha512-t2ODlkXBQyn7jkl6TNaw/MtVEVvIGelJDCG41Okq/KwUsJBwQ4XVZsHAVUkK4mBv3ewiAS3PGuUWuY2BoK4ZUw==} + '@radix-ui/react-menu@2.1.16': + resolution: {integrity: sha512-72F2T+PLlphrqLcAotYPp0uJMr5SjP5SL01wfEspJbru5Zs5vQaSHb4VB3ZMJPimgHHCHG7gMOeOB9H3Hdmtxg==} peerDependencies: '@types/react': '*' '@types/react-dom': '*' @@ -2740,8 +2764,8 @@ packages: '@types/react-dom': optional: true - '@radix-ui/react-hover-card@1.1.7': - resolution: {integrity: sha512-HwM03kP8psrv21J1+9T/hhxi0f5rARVbqIZl9+IAq13l4j4fX+oGIuxisukZZmebO7J35w9gpoILvtG8bbph0w==} + '@radix-ui/react-navigation-menu@1.2.14': + resolution: {integrity: sha512-YB9mTFQvCOAQMHU+C/jVl96WmuWeltyUEpRJJky51huhds5W2FQr1J8D/16sQlf0ozxkPK8uF3niQMdUwZPv5w==} peerDependencies: '@types/react': '*' '@types/react-dom': '*' @@ -2753,31 +2777,21 @@ packages: '@types/react-dom': optional: true - '@radix-ui/react-icons@1.3.2': - resolution: {integrity: sha512-fyQIhGDhzfc9pK2kH6Pl9c4BDJGfMkPqkyIgYDthyNYoNg3wVhoJMMh19WS4Up/1KMPFVpNsT2q3WmXn2N1m6g==} - peerDependencies: - react: ^16.x || ^17.x || ^18.x || ^19.0.0 || ^19.0.0-rc - - '@radix-ui/react-id@1.1.0': - resolution: {integrity: sha512-EJUrI8yYh7WOjNOqpoJaf1jlFIH2LvtgAl+YcFqNCa+4hj64ZXmPkAKOFs/ukjz3byN6bdb/AVUqHkI8/uWWMA==} + '@radix-ui/react-popover@1.1.15': + resolution: {integrity: sha512-kr0X2+6Yy/vJzLYJUPCZEc8SfQcf+1COFoAqauJm74umQhta9M7lNJHP7QQS3vkvcGLQUbWpMzwrXYwrYztHKA==} peerDependencies: '@types/react': '*' + '@types/react-dom': '*' react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc peerDependenciesMeta: '@types/react': optional: true - - '@radix-ui/react-id@1.1.1': - resolution: {integrity: sha512-kGkGegYIdQsOb4XjsfM97rXsiHaBwco+hFI66oO4s9LU+PLAC5oJ7khdOVFxkhsmlbpUqDAvXw11CluXP+jkHg==} - peerDependencies: - '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': + '@types/react-dom': optional: true - '@radix-ui/react-label@2.1.2': - resolution: {integrity: sha512-zo1uGMTaNlHehDyFQcDZXRJhUPDuukcnHz0/jnrup0JA6qL+AFpAnty+7VKa9esuU5xTblAZzTGYJKSKaBxBhw==} + '@radix-ui/react-popper@1.2.8': + resolution: {integrity: sha512-0NJQ4LFFUuWkE7Oxf0htBKS6zLkkjBH+hM1uk7Ng705ReR8m/uelduy1DBo0PyBXPKVnBA6YBlU94MBGXrSBCw==} peerDependencies: '@types/react': '*' '@types/react-dom': '*' @@ -2789,8 +2803,8 @@ packages: '@types/react-dom': optional: true - '@radix-ui/react-menu@2.1.15': - resolution: {integrity: sha512-tVlmA3Vb9n8SZSd+YSbuFR66l87Wiy4du+YE+0hzKQEANA+7cWKH1WgqcEX4pXqxUFQKrWQGHdvEfw00TjFiew==} + '@radix-ui/react-portal@1.1.9': + resolution: {integrity: sha512-bpIxvq03if6UNwXZ+HTK71JLh4APvnXntDc6XOX8UVq4XQOVl7lwok0AvIl+b8zgCw3fSaVTZMpAPPagXbKmHQ==} peerDependencies: '@types/react': '*' '@types/react-dom': '*' @@ -2802,8 +2816,8 @@ packages: '@types/react-dom': optional: true - '@radix-ui/react-menu@2.1.6': - resolution: {integrity: sha512-tBBb5CXDJW3t2mo9WlO7r6GTmWV0F0uzHZVFmlRmYpiSK1CDU5IKojP1pm7oknpBOrFZx/YgBRW9oorPO2S/Lg==} + '@radix-ui/react-presence@1.1.5': + resolution: {integrity: sha512-/jfEwNDdQVBCNvjkGit4h6pMOzq8bHkopq458dPt2lMjx+eBQUohZNG9A7DtO/O5ukSbxuaNGXMjHicgwy6rQQ==} peerDependencies: '@types/react': '*' '@types/react-dom': '*' @@ -2815,8 +2829,8 @@ packages: '@types/react-dom': optional: true - '@radix-ui/react-navigation-menu@1.2.5': - resolution: {integrity: sha512-myMHHQUZ3ZLTi8W381/Vu43Ia0NqakkQZ2vzynMmTUtQQ9kNkjzhOwkZC9TAM5R07OZUVIQyHC06f/9JZJpvvA==} + '@radix-ui/react-primitive@2.1.3': + resolution: {integrity: sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==} peerDependencies: '@types/react': '*' '@types/react-dom': '*' @@ -2828,8 +2842,8 @@ packages: '@types/react-dom': optional: true - '@radix-ui/react-popover@1.1.6': - resolution: {integrity: sha512-NQouW0x4/GnkFJ/pRqsIS3rM/k97VzKnVb2jB7Gq7VEGPy5g7uNV1ykySFt7eWSp3i2uSGFwaJcvIRJBAHmmFg==} + '@radix-ui/react-progress@1.1.7': + resolution: {integrity: sha512-vPdg/tF6YC/ynuBIJlk1mm7Le0VgW6ub6J2UWnTQ7/D23KXcPI1qy+0vBkgKgd38RCMJavBXpB83HPNFMTb0Fg==} peerDependencies: '@types/react': '*' '@types/react-dom': '*' @@ -2841,8 +2855,8 @@ packages: '@types/react-dom': optional: true - '@radix-ui/react-popper@1.2.2': - resolution: {integrity: sha512-Rvqc3nOpwseCyj/rgjlJDYAgyfw7OC1tTkKn2ivhaMGcYt8FSBlahHOZak2i3QwkRXUXgGgzeEe2RuqeEHuHgA==} + '@radix-ui/react-radio-group@1.3.8': + resolution: {integrity: sha512-VBKYIYImA5zsxACdisNQ3BjCBfmbGH3kQlnFVqlWU4tXwjy7cGX8ta80BcrO+WJXIn5iBylEH3K6ZTlee//lgQ==} peerDependencies: '@types/react': '*' '@types/react-dom': '*' @@ -2854,8 +2868,8 @@ packages: '@types/react-dom': optional: true - '@radix-ui/react-popper@1.2.3': - resolution: {integrity: sha512-iNb9LYUMkne9zIahukgQmHlSBp9XWGeQQ7FvUGNk45ywzOb6kQa+Ca38OphXlWDiKvyneo9S+KSJsLfLt8812A==} + '@radix-ui/react-roving-focus@1.1.11': + resolution: {integrity: sha512-7A6S9jSgm/S+7MdtNDSb+IU859vQqJ/QAtcYQcfFC6W8RS4IxIZDldLR0xqCFZ6DCyrQLjLPsxtTNch5jVA4lA==} peerDependencies: '@types/react': '*' '@types/react-dom': '*' @@ -2867,8 +2881,8 @@ packages: '@types/react-dom': optional: true - '@radix-ui/react-popper@1.2.7': - resolution: {integrity: sha512-IUFAccz1JyKcf/RjB552PlWwxjeCJB8/4KxT7EhBHOJM+mN7LdW+B3kacJXILm32xawcMMjb2i0cIZpo+f9kiQ==} + '@radix-ui/react-scroll-area@1.2.10': + resolution: {integrity: sha512-tAXIa1g3sM5CGpVT0uIbUx/U3Gs5N8T52IICuCtObaos1S8fzsrPXG5WObkQN3S6NVl6wKgPhAIiBGbWnvc97A==} peerDependencies: '@types/react': '*' '@types/react-dom': '*' @@ -2880,8 +2894,8 @@ packages: '@types/react-dom': optional: true - '@radix-ui/react-portal@1.1.4': - resolution: {integrity: sha512-sn2O9k1rPFYVyKd5LAJfo96JlSGVFpa1fS6UuBJfrZadudiw5tAmru+n1x7aMRQ84qDM71Zh1+SzK5QwU0tJfA==} + '@radix-ui/react-select@2.2.6': + resolution: {integrity: sha512-I30RydO+bnn2PQztvo25tswPH+wFBjehVGtmagkU78yMdwTwVf12wnAOF+AeP8S2N8xD+5UPbGhkUfPyvT+mwQ==} peerDependencies: '@types/react': '*' '@types/react-dom': '*' @@ -2893,8 +2907,8 @@ packages: '@types/react-dom': optional: true - '@radix-ui/react-portal@1.1.5': - resolution: {integrity: sha512-ps/67ZqsFm+Mb6lSPJpfhRLrVL2i2fntgCmGMqqth4eaGUf+knAuuRtWVJrNjUhExgmdRqftSgzpf0DF0n6yXA==} + '@radix-ui/react-separator@1.1.7': + resolution: {integrity: sha512-0HEb8R9E8A+jZjvmFCy/J4xhbXy3TV+9XSnGJ3KvTtjlIUy/YQ/p6UYZvi7YbeoeXdyU9+Y3scizK6hkY37baA==} peerDependencies: '@types/react': '*' '@types/react-dom': '*' @@ -2906,21 +2920,17 @@ packages: '@types/react-dom': optional: true - '@radix-ui/react-portal@1.1.9': - resolution: {integrity: sha512-bpIxvq03if6UNwXZ+HTK71JLh4APvnXntDc6XOX8UVq4XQOVl7lwok0AvIl+b8zgCw3fSaVTZMpAPPagXbKmHQ==} + '@radix-ui/react-slot@1.2.3': + resolution: {integrity: sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==} peerDependencies: '@types/react': '*' - '@types/react-dom': '*' react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc peerDependenciesMeta: '@types/react': optional: true - '@types/react-dom': - optional: true - '@radix-ui/react-presence@1.1.2': - resolution: {integrity: sha512-18TFr80t5EVgL9x1SwF/YGtfG+l0BS0PRAlCWBDoBEiDQjeKgnNZRVJp/oVBl24sr3Gbfwc/Qpj4OcWTQMsAEg==} + '@radix-ui/react-switch@1.2.6': + resolution: {integrity: sha512-bByzr1+ep1zk4VubeEVViV592vu2lHE2BZY5OnzehZqOOgogN80+mNtCqPkhn2gklJqOpxWgPoYTSnhBCqpOXQ==} peerDependencies: '@types/react': '*' '@types/react-dom': '*' @@ -2932,8 +2942,8 @@ packages: '@types/react-dom': optional: true - '@radix-ui/react-presence@1.1.3': - resolution: {integrity: sha512-IrVLIhskYhH3nLvtcBLQFZr61tBG7wx7O3kEmdzcYwRGAEBmBicGGL7ATzNgruYJ3xBTbuzEEq9OXJM3PAX3tA==} + '@radix-ui/react-tabs@1.1.13': + resolution: {integrity: sha512-7xdcatg7/U+7+Udyoj2zodtI9H/IIopqo+YOIcZOq1nJwXWBZ9p8xiu5llXlekDbZkca79a/fozEYQXIA4sW6A==} peerDependencies: '@types/react': '*' '@types/react-dom': '*' @@ -2945,8 +2955,8 @@ packages: '@types/react-dom': optional: true - '@radix-ui/react-presence@1.1.4': - resolution: {integrity: sha512-ueDqRbdc4/bkaQT3GIpLQssRlFgWaL/U2z/S31qRwwLWoxHLgry3SIfCwhxeQNbirEUXFa+lq3RL3oBYXtcmIA==} + '@radix-ui/react-tooltip@1.2.8': + resolution: {integrity: sha512-tY7sVt1yL9ozIxvmbtN5qtmH2krXcBCfjEiCgKGLqunJHvgvZG2Pcl2oQ3kbcZARb1BGEHdkLzcYGO8ynVlieg==} peerDependencies: '@types/react': '*' '@types/react-dom': '*' @@ -2958,125 +2968,89 @@ packages: '@types/react-dom': optional: true - '@radix-ui/react-primitive@2.0.2': - resolution: {integrity: sha512-Ec/0d38EIuvDF+GZjcMU/Ze6MxntVJYO/fRlCPhCaVUyPY9WTalHJw54tp9sXeJo3tlShWpy41vQRgLRGOuz+w==} + '@radix-ui/react-use-callback-ref@1.1.1': + resolution: {integrity: sha512-FkBMwD+qbGQeMu1cOHnuGB6x4yzPjho8ap5WtbEJ26umhgqVXbhekKUQO+hZEL1vU92a3wHwdp0HAcqAUF5iDg==} peerDependencies: '@types/react': '*' - '@types/react-dom': '*' react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc peerDependenciesMeta: '@types/react': optional: true - '@types/react-dom': - optional: true - '@radix-ui/react-primitive@2.0.3': - resolution: {integrity: sha512-Pf/t/GkndH7CQ8wE2hbkXA+WyZ83fhQQn5DDmwDiDo6AwN/fhaH8oqZ0jRjMrO2iaMhDi6P1HRx6AZwyMinY1g==} + '@radix-ui/react-use-controllable-state@1.2.2': + resolution: {integrity: sha512-BjasUjixPFdS+NKkypcyyN5Pmg83Olst0+c6vGov0diwTEo6mgdqVR6hxcEgFuh4QrAs7Rc+9KuGJ9TVCj0Zzg==} peerDependencies: '@types/react': '*' - '@types/react-dom': '*' react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc peerDependenciesMeta: '@types/react': optional: true - '@types/react-dom': - optional: true - '@radix-ui/react-primitive@2.1.3': - resolution: {integrity: sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==} + '@radix-ui/react-use-effect-event@0.0.2': + resolution: {integrity: sha512-Qp8WbZOBe+blgpuUT+lw2xheLP8q0oatc9UpmiemEICxGvFLYmHm9QowVZGHtJlGbS6A6yJ3iViad/2cVjnOiA==} peerDependencies: '@types/react': '*' - '@types/react-dom': '*' react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc peerDependenciesMeta: '@types/react': optional: true - '@types/react-dom': - optional: true - '@radix-ui/react-progress@1.1.2': - resolution: {integrity: sha512-u1IgJFQ4zNAUTjGdDL5dcl/U8ntOR6jsnhxKb5RKp5Ozwl88xKR9EqRZOe/Mk8tnx0x5tNUe2F+MzsyjqMg0MA==} + '@radix-ui/react-use-escape-keydown@1.1.1': + resolution: {integrity: sha512-Il0+boE7w/XebUHyBjroE+DbByORGR9KKmITzbR7MyQ4akpORYP/ZmbhAr0DG7RmmBqoOnZdy2QlvajJ2QA59g==} peerDependencies: '@types/react': '*' - '@types/react-dom': '*' react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc peerDependenciesMeta: '@types/react': optional: true - '@types/react-dom': - optional: true - '@radix-ui/react-radio-group@1.2.3': - resolution: {integrity: sha512-xtCsqt8Rp09FK50ItqEqTJ7Sxanz8EM8dnkVIhJrc/wkMMomSmXHvYbhv3E7Zx4oXh98aaLt9W679SUYXg4IDA==} + '@radix-ui/react-use-is-hydrated@0.1.0': + resolution: {integrity: sha512-U+UORVEq+cTnRIaostJv9AGdV3G6Y+zbVd+12e18jQ5A3c0xL03IhnHuiU4UV69wolOQp5GfR58NW/EgdQhwOA==} peerDependencies: '@types/react': '*' - '@types/react-dom': '*' react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc peerDependenciesMeta: '@types/react': optional: true - '@types/react-dom': - optional: true - '@radix-ui/react-roving-focus@1.1.10': - resolution: {integrity: sha512-dT9aOXUen9JSsxnMPv/0VqySQf5eDQ6LCk5Sw28kamz8wSOW2bJdlX2Bg5VUIIcV+6XlHpWTIuTPCf/UNIyq8Q==} + '@radix-ui/react-use-layout-effect@1.1.1': + resolution: {integrity: sha512-RbJRS4UWQFkzHTTwVymMTUv8EqYhOp8dOOviLj2ugtTiXRaRQS7GLGxZTLL1jWhMeoSCf5zmcZkqTl9IiYfXcQ==} peerDependencies: '@types/react': '*' - '@types/react-dom': '*' react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc peerDependenciesMeta: '@types/react': optional: true - '@types/react-dom': - optional: true - '@radix-ui/react-roving-focus@1.1.2': - resolution: {integrity: sha512-zgMQWkNO169GtGqRvYrzb0Zf8NhMHS2DuEB/TiEmVnpr5OqPU3i8lfbxaAmC2J/KYuIQxyoQQ6DxepyXp61/xw==} + '@radix-ui/react-use-previous@1.1.1': + resolution: {integrity: sha512-2dHfToCj/pzca2Ck724OZ5L0EVrr3eHRNsG/b3xQJLA2hZpVCS99bLAX+hm1IHXDEnzU6by5z/5MIY794/a8NQ==} peerDependencies: '@types/react': '*' - '@types/react-dom': '*' react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc peerDependenciesMeta: '@types/react': optional: true - '@types/react-dom': - optional: true - '@radix-ui/react-scroll-area@1.2.3': - resolution: {integrity: sha512-l7+NNBfBYYJa9tNqVcP2AGvxdE3lmE6kFTBXdvHgUaZuy+4wGCL1Cl2AfaR7RKyimj7lZURGLwFO59k4eBnDJQ==} + '@radix-ui/react-use-rect@1.1.1': + resolution: {integrity: sha512-QTYuDesS0VtuHNNvMh+CjlKJ4LJickCMUAqjlE3+j8w+RlRpwyX3apEQKGFzbZGdo7XNG1tXa+bQqIE7HIXT2w==} peerDependencies: '@types/react': '*' - '@types/react-dom': '*' react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc peerDependenciesMeta: '@types/react': optional: true - '@types/react-dom': - optional: true - '@radix-ui/react-select@2.1.6': - resolution: {integrity: sha512-T6ajELxRvTuAMWH0YmRJ1qez+x4/7Nq7QIx7zJ0VK3qaEWdnWpNbEDnmWldG1zBDwqrLy5aLMUWcoGirVj5kMg==} + '@radix-ui/react-use-size@1.1.1': + resolution: {integrity: sha512-ewrXRDTAqAXlkl6t/fkXWNAhFX9I+CkKlw6zjEwk86RSPKwZr3xpBRso655aqYafwtnbpHLj6toFzmd6xdVptQ==} peerDependencies: '@types/react': '*' - '@types/react-dom': '*' react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc peerDependenciesMeta: '@types/react': optional: true - '@types/react-dom': - optional: true - '@radix-ui/react-separator@1.1.2': - resolution: {integrity: sha512-oZfHcaAp2Y6KFBX6I5P1u7CQoy4lheCGiYj+pGFrHy8E/VNRb5E39TkTr3JrV520csPBTZjkuKFdEsjS5EUNKQ==} + '@radix-ui/react-visually-hidden@1.2.3': + resolution: {integrity: sha512-pzJq12tEaaIhqjbzpCuv/OypJY/BPavOofm+dbab+MHLajy277+1lLm6JFcGgF5eskJ6mquGirhXY2GD/8u8Ug==} peerDependencies: '@types/react': '*' '@types/react-dom': '*' @@ -3088,352 +3062,134 @@ packages: '@types/react-dom': optional: true - '@radix-ui/react-slot@1.1.2': - resolution: {integrity: sha512-YAKxaiGsSQJ38VzKH86/BPRC4rh+b1Jpa+JneA5LRE7skmLPNAyeG8kPJj/oo4STLvlrs8vkf/iYyc3A5stYCQ==} - peerDependencies: - '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - - '@radix-ui/react-slot@1.2.0': - resolution: {integrity: sha512-ujc+V6r0HNDviYqIK3rW4ffgYiZ8g5DEHrGJVk4x7kTlLXRDILnKX9vAUYeIsLOoDpDJ0ujpqMkjH4w2ofuo6w==} - peerDependencies: - '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - - '@radix-ui/react-slot@1.2.3': - resolution: {integrity: sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==} - peerDependencies: - '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - - '@radix-ui/react-switch@1.1.3': - resolution: {integrity: sha512-1nc+vjEOQkJVsJtWPSiISGT6OKm4SiOdjMo+/icLxo2G4vxz1GntC5MzfL4v8ey9OEfw787QCD1y3mUv0NiFEQ==} - peerDependencies: - '@types/react': '*' - '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - '@types/react-dom': - optional: true - - '@radix-ui/react-tabs@1.1.3': - resolution: {integrity: sha512-9mFyI30cuRDImbmFF6O2KUJdgEOsGh9Vmx9x/Dh9tOhL7BngmQPQfwW4aejKm5OHpfWIdmeV6ySyuxoOGjtNng==} - peerDependencies: - '@types/react': '*' - '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - '@types/react-dom': - optional: true - - '@radix-ui/react-tooltip@1.1.8': - resolution: {integrity: sha512-YAA2cu48EkJZdAMHC0dqo9kialOcRStbtiY4nJPaht7Ptrhcvpo+eDChaM6BIs8kL6a8Z5l5poiqLnXcNduOkA==} - peerDependencies: - '@types/react': '*' - '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - '@types/react-dom': - optional: true - - '@radix-ui/react-use-callback-ref@1.1.0': - resolution: {integrity: sha512-CasTfvsy+frcFkbXtSJ2Zu9JHpN8TYKxkgJGWbjiZhFivxaeW7rMeZt7QELGVLaYVfFMsKHjb7Ak0nMEe+2Vfw==} - peerDependencies: - '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - - '@radix-ui/react-use-callback-ref@1.1.1': - resolution: {integrity: sha512-FkBMwD+qbGQeMu1cOHnuGB6x4yzPjho8ap5WtbEJ26umhgqVXbhekKUQO+hZEL1vU92a3wHwdp0HAcqAUF5iDg==} - peerDependencies: - '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - - '@radix-ui/react-use-controllable-state@1.1.0': - resolution: {integrity: sha512-MtfMVJiSr2NjzS0Aa90NPTnvTSg6C/JLCV7ma0W6+OMV78vd8OyRpID+Ng9LxzsPbLeuBnWBA1Nq30AtBIDChw==} - peerDependencies: - '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - - '@radix-ui/react-use-controllable-state@1.1.1': - resolution: {integrity: sha512-YnEXIy8/ga01Y1PN0VfaNH//MhA91JlEGVBDxDzROqwrAtG5Yr2QGEPz8A/rJA3C7ZAHryOYGaUv8fLSW2H/mg==} - peerDependencies: - '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - - '@radix-ui/react-use-controllable-state@1.2.2': - resolution: {integrity: sha512-BjasUjixPFdS+NKkypcyyN5Pmg83Olst0+c6vGov0diwTEo6mgdqVR6hxcEgFuh4QrAs7Rc+9KuGJ9TVCj0Zzg==} - peerDependencies: - '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - - '@radix-ui/react-use-effect-event@0.0.2': - resolution: {integrity: sha512-Qp8WbZOBe+blgpuUT+lw2xheLP8q0oatc9UpmiemEICxGvFLYmHm9QowVZGHtJlGbS6A6yJ3iViad/2cVjnOiA==} - peerDependencies: - '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - - '@radix-ui/react-use-escape-keydown@1.1.0': - resolution: {integrity: sha512-L7vwWlR1kTTQ3oh7g1O0CBF3YCyyTj8NmhLR+phShpyA50HCfBFKVJTpshm9PzLiKmehsrQzTYTpX9HvmC9rhw==} - peerDependencies: - '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - - '@radix-ui/react-use-escape-keydown@1.1.1': - resolution: {integrity: sha512-Il0+boE7w/XebUHyBjroE+DbByORGR9KKmITzbR7MyQ4akpORYP/ZmbhAr0DG7RmmBqoOnZdy2QlvajJ2QA59g==} - peerDependencies: - '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - - '@radix-ui/react-use-layout-effect@1.1.0': - resolution: {integrity: sha512-+FPE0rOdziWSrH9athwI1R0HDVbWlEhd+FR+aSDk4uWGmSJ9Z54sdZVDQPZAinJhJXwfT+qnj969mCsT2gfm5w==} - peerDependencies: - '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - - '@radix-ui/react-use-layout-effect@1.1.1': - resolution: {integrity: sha512-RbJRS4UWQFkzHTTwVymMTUv8EqYhOp8dOOviLj2ugtTiXRaRQS7GLGxZTLL1jWhMeoSCf5zmcZkqTl9IiYfXcQ==} - peerDependencies: - '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - - '@radix-ui/react-use-previous@1.1.0': - resolution: {integrity: sha512-Z/e78qg2YFnnXcW88A4JmTtm4ADckLno6F7OXotmkQfeuCVaKuYzqAATPhVzl3delXE7CxIV8shofPn3jPc5Og==} - peerDependencies: - '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - - '@radix-ui/react-use-rect@1.1.0': - resolution: {integrity: sha512-0Fmkebhr6PiseyZlYAOtLS+nb7jLmpqTrJyv61Pe68MKYW6OWdRE2kI70TaYY27u7H0lajqM3hSMMLFq18Z7nQ==} - peerDependencies: - '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - - '@radix-ui/react-use-rect@1.1.1': - resolution: {integrity: sha512-QTYuDesS0VtuHNNvMh+CjlKJ4LJickCMUAqjlE3+j8w+RlRpwyX3apEQKGFzbZGdo7XNG1tXa+bQqIE7HIXT2w==} - peerDependencies: - '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - - '@radix-ui/react-use-size@1.1.0': - resolution: {integrity: sha512-XW3/vWuIXHa+2Uwcc2ABSfcCledmXhhQPlGbfcRXbiUQI5Icjcg19BGCZVKKInYbvUCut/ufbbLLPFC5cbb1hw==} - peerDependencies: - '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - - '@radix-ui/react-use-size@1.1.1': - resolution: {integrity: sha512-ewrXRDTAqAXlkl6t/fkXWNAhFX9I+CkKlw6zjEwk86RSPKwZr3xpBRso655aqYafwtnbpHLj6toFzmd6xdVptQ==} - peerDependencies: - '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - - '@radix-ui/react-visually-hidden@1.1.2': - resolution: {integrity: sha512-1SzA4ns2M1aRlvxErqhLHsBHoS5eI5UUcI2awAMgGUp4LoaoWOKYmvqDY2s/tltuPkh3Yk77YF/r3IRj+Amx4Q==} - peerDependencies: - '@types/react': '*' - '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - '@types/react-dom': - optional: true - - '@radix-ui/rect@1.1.0': - resolution: {integrity: sha512-A9+lCBZoaMJlVKcRBz2YByCG+Cp2t6nAnMnNba+XiWxnj6r4JUFqfsgwocMBZU9LPtdxC6wB56ySYpc7LQIoJg==} - '@radix-ui/rect@1.1.1': resolution: {integrity: sha512-HPwpGIzkl28mWyZqG52jiqDJ12waP11Pa1lGoiyUkIEuMLBP0oeK/C89esbXrxsky5we7dfd8U58nm0SgAWpVw==} '@repeaterjs/repeater@3.0.6': resolution: {integrity: sha512-Javneu5lsuhwNCryN+pXH93VPQ8g0dBX7wItHFgYiwQmzE1sVdg5tWHiOgHywzL2W21XQopa7IwIEnNbmeUJYA==} - '@rollup/rollup-android-arm-eabi@4.37.0': - resolution: {integrity: sha512-l7StVw6WAa8l3vA1ov80jyetOAEo1FtHvZDbzXDO/02Sq/QVvqlHkYoFwDJPIMj0GKiistsBudfx5tGFnwYWDQ==} + '@rollup/rollup-android-arm-eabi@4.50.1': + resolution: {integrity: sha512-HJXwzoZN4eYTdD8bVV22DN8gsPCAj3V20NHKOs8ezfXanGpmVPR7kalUHd+Y31IJp9stdB87VKPFbsGY3H/2ag==} cpu: [arm] os: [android] - '@rollup/rollup-android-arm64@4.37.0': - resolution: {integrity: sha512-6U3SlVyMxezt8Y+/iEBcbp945uZjJwjZimu76xoG7tO1av9VO691z8PkhzQ85ith2I8R2RddEPeSfcbyPfD4hA==} + '@rollup/rollup-android-arm64@4.50.1': + resolution: {integrity: sha512-PZlsJVcjHfcH53mOImyt3bc97Ep3FJDXRpk9sMdGX0qgLmY0EIWxCag6EigerGhLVuL8lDVYNnSo8qnTElO4xw==} cpu: [arm64] os: [android] - '@rollup/rollup-darwin-arm64@4.37.0': - resolution: {integrity: sha512-+iTQ5YHuGmPt10NTzEyMPbayiNTcOZDWsbxZYR1ZnmLnZxG17ivrPSWFO9j6GalY0+gV3Jtwrrs12DBscxnlYA==} + '@rollup/rollup-darwin-arm64@4.50.1': + resolution: {integrity: sha512-xc6i2AuWh++oGi4ylOFPmzJOEeAa2lJeGUGb4MudOtgfyyjr4UPNK+eEWTPLvmPJIY/pgw6ssFIox23SyrkkJw==} cpu: [arm64] os: [darwin] - '@rollup/rollup-darwin-x64@4.37.0': - resolution: {integrity: sha512-m8W2UbxLDcmRKVjgl5J/k4B8d7qX2EcJve3Sut7YGrQoPtCIQGPH5AMzuFvYRWZi0FVS0zEY4c8uttPfX6bwYQ==} + '@rollup/rollup-darwin-x64@4.50.1': + resolution: {integrity: sha512-2ofU89lEpDYhdLAbRdeyz/kX3Y2lpYc6ShRnDjY35bZhd2ipuDMDi6ZTQ9NIag94K28nFMofdnKeHR7BT0CATw==} cpu: [x64] os: [darwin] - '@rollup/rollup-freebsd-arm64@4.37.0': - resolution: {integrity: sha512-FOMXGmH15OmtQWEt174v9P1JqqhlgYge/bUjIbiVD1nI1NeJ30HYT9SJlZMqdo1uQFyt9cz748F1BHghWaDnVA==} + '@rollup/rollup-freebsd-arm64@4.50.1': + resolution: {integrity: sha512-wOsE6H2u6PxsHY/BeFHA4VGQN3KUJFZp7QJBmDYI983fgxq5Th8FDkVuERb2l9vDMs1D5XhOrhBrnqcEY6l8ZA==} cpu: [arm64] os: [freebsd] - '@rollup/rollup-freebsd-x64@4.37.0': - resolution: {integrity: sha512-SZMxNttjPKvV14Hjck5t70xS3l63sbVwl98g3FlVVx2YIDmfUIy29jQrsw06ewEYQ8lQSuY9mpAPlmgRD2iSsA==} + '@rollup/rollup-freebsd-x64@4.50.1': + resolution: {integrity: sha512-A/xeqaHTlKbQggxCqispFAcNjycpUEHP52mwMQZUNqDUJFFYtPHCXS1VAG29uMlDzIVr+i00tSFWFLivMcoIBQ==} cpu: [x64] os: [freebsd] - '@rollup/rollup-linux-arm-gnueabihf@4.37.0': - resolution: {integrity: sha512-hhAALKJPidCwZcj+g+iN+38SIOkhK2a9bqtJR+EtyxrKKSt1ynCBeqrQy31z0oWU6thRZzdx53hVgEbRkuI19w==} + '@rollup/rollup-linux-arm-gnueabihf@4.50.1': + resolution: {integrity: sha512-54v4okehwl5TaSIkpp97rAHGp7t3ghinRd/vyC1iXqXMfjYUTm7TfYmCzXDoHUPTTf36L8pr0E7YsD3CfB3ZDg==} cpu: [arm] os: [linux] - '@rollup/rollup-linux-arm-musleabihf@4.37.0': - resolution: {integrity: sha512-jUb/kmn/Gd8epbHKEqkRAxq5c2EwRt0DqhSGWjPFxLeFvldFdHQs/n8lQ9x85oAeVb6bHcS8irhTJX2FCOd8Ag==} + '@rollup/rollup-linux-arm-musleabihf@4.50.1': + resolution: {integrity: sha512-p/LaFyajPN/0PUHjv8TNyxLiA7RwmDoVY3flXHPSzqrGcIp/c2FjwPPP5++u87DGHtw+5kSH5bCJz0mvXngYxw==} cpu: [arm] os: [linux] - '@rollup/rollup-linux-arm64-gnu@4.37.0': - resolution: {integrity: sha512-oNrJxcQT9IcbcmKlkF+Yz2tmOxZgG9D9GRq+1OE6XCQwCVwxixYAa38Z8qqPzQvzt1FCfmrHX03E0pWoXm1DqA==} + '@rollup/rollup-linux-arm64-gnu@4.50.1': + resolution: {integrity: sha512-2AbMhFFkTo6Ptna1zO7kAXXDLi7H9fGTbVaIq2AAYO7yzcAsuTNWPHhb2aTA6GPiP+JXh85Y8CiS54iZoj4opw==} cpu: [arm64] os: [linux] - '@rollup/rollup-linux-arm64-musl@4.37.0': - resolution: {integrity: sha512-pfxLBMls+28Ey2enpX3JvjEjaJMBX5XlPCZNGxj4kdJyHduPBXtxYeb8alo0a7bqOoWZW2uKynhHxF/MWoHaGQ==} + '@rollup/rollup-linux-arm64-musl@4.50.1': + resolution: {integrity: sha512-Cgef+5aZwuvesQNw9eX7g19FfKX5/pQRIyhoXLCiBOrWopjo7ycfB292TX9MDcDijiuIJlx1IzJz3IoCPfqs9w==} cpu: [arm64] os: [linux] - '@rollup/rollup-linux-loongarch64-gnu@4.37.0': - resolution: {integrity: sha512-yCE0NnutTC/7IGUq/PUHmoeZbIwq3KRh02e9SfFh7Vmc1Z7atuJRYWhRME5fKgT8aS20mwi1RyChA23qSyRGpA==} + '@rollup/rollup-linux-loongarch64-gnu@4.50.1': + resolution: {integrity: sha512-RPhTwWMzpYYrHrJAS7CmpdtHNKtt2Ueo+BlLBjfZEhYBhK00OsEqM08/7f+eohiF6poe0YRDDd8nAvwtE/Y62Q==} cpu: [loong64] os: [linux] - '@rollup/rollup-linux-powerpc64le-gnu@4.37.0': - resolution: {integrity: sha512-NxcICptHk06E2Lh3a4Pu+2PEdZ6ahNHuK7o6Np9zcWkrBMuv21j10SQDJW3C9Yf/A/P7cutWoC/DptNLVsZ0VQ==} + '@rollup/rollup-linux-ppc64-gnu@4.50.1': + resolution: {integrity: sha512-eSGMVQw9iekut62O7eBdbiccRguuDgiPMsw++BVUg+1K7WjZXHOg/YOT9SWMzPZA+w98G+Fa1VqJgHZOHHnY0Q==} cpu: [ppc64] os: [linux] - '@rollup/rollup-linux-riscv64-gnu@4.37.0': - resolution: {integrity: sha512-PpWwHMPCVpFZLTfLq7EWJWvrmEuLdGn1GMYcm5MV7PaRgwCEYJAwiN94uBuZev0/J/hFIIJCsYw4nLmXA9J7Pw==} + '@rollup/rollup-linux-riscv64-gnu@4.50.1': + resolution: {integrity: sha512-S208ojx8a4ciIPrLgazF6AgdcNJzQE4+S9rsmOmDJkusvctii+ZvEuIC4v/xFqzbuP8yDjn73oBlNDgF6YGSXQ==} cpu: [riscv64] os: [linux] - '@rollup/rollup-linux-riscv64-musl@4.37.0': - resolution: {integrity: sha512-DTNwl6a3CfhGTAOYZ4KtYbdS8b+275LSLqJVJIrPa5/JuIufWWZ/QFvkxp52gpmguN95eujrM68ZG+zVxa8zHA==} + '@rollup/rollup-linux-riscv64-musl@4.50.1': + resolution: {integrity: sha512-3Ag8Ls1ggqkGUvSZWYcdgFwriy2lWo+0QlYgEFra/5JGtAd6C5Hw59oojx1DeqcA2Wds2ayRgvJ4qxVTzCHgzg==} cpu: [riscv64] os: [linux] - '@rollup/rollup-linux-s390x-gnu@4.37.0': - resolution: {integrity: sha512-hZDDU5fgWvDdHFuExN1gBOhCuzo/8TMpidfOR+1cPZJflcEzXdCy1LjnklQdW8/Et9sryOPJAKAQRw8Jq7Tg+A==} + '@rollup/rollup-linux-s390x-gnu@4.50.1': + resolution: {integrity: sha512-t9YrKfaxCYe7l7ldFERE1BRg/4TATxIg+YieHQ966jwvo7ddHJxPj9cNFWLAzhkVsbBvNA4qTbPVNsZKBO4NSg==} cpu: [s390x] os: [linux] - '@rollup/rollup-linux-x64-gnu@4.37.0': - resolution: {integrity: sha512-pKivGpgJM5g8dwj0ywBwe/HeVAUSuVVJhUTa/URXjxvoyTT/AxsLTAbkHkDHG7qQxLoW2s3apEIl26uUe08LVQ==} + '@rollup/rollup-linux-x64-gnu@4.50.1': + resolution: {integrity: sha512-MCgtFB2+SVNuQmmjHf+wfI4CMxy3Tk8XjA5Z//A0AKD7QXUYFMQcns91K6dEHBvZPCnhJSyDWLApk40Iq/H3tA==} cpu: [x64] os: [linux] - '@rollup/rollup-linux-x64-musl@4.37.0': - resolution: {integrity: sha512-E2lPrLKE8sQbY/2bEkVTGDEk4/49UYRVWgj90MY8yPjpnGBQ+Xi1Qnr7b7UIWw1NOggdFQFOLZ8+5CzCiz143w==} + '@rollup/rollup-linux-x64-musl@4.50.1': + resolution: {integrity: sha512-nEvqG+0jeRmqaUMuwzlfMKwcIVffy/9KGbAGyoa26iu6eSngAYQ512bMXuqqPrlTyfqdlB9FVINs93j534UJrg==} cpu: [x64] os: [linux] - '@rollup/rollup-win32-arm64-msvc@4.37.0': - resolution: {integrity: sha512-Jm7biMazjNzTU4PrQtr7VS8ibeys9Pn29/1bm4ph7CP2kf21950LgN+BaE2mJ1QujnvOc6p54eWWiVvn05SOBg==} + '@rollup/rollup-openharmony-arm64@4.50.1': + resolution: {integrity: sha512-RDsLm+phmT3MJd9SNxA9MNuEAO/J2fhW8GXk62G/B4G7sLVumNFbRwDL6v5NrESb48k+QMqdGbHgEtfU0LCpbA==} + cpu: [arm64] + os: [openharmony] + + '@rollup/rollup-win32-arm64-msvc@4.50.1': + resolution: {integrity: sha512-hpZB/TImk2FlAFAIsoElM3tLzq57uxnGYwplg6WDyAxbYczSi8O2eQ+H2Lx74504rwKtZ3N2g4bCUkiamzS6TQ==} cpu: [arm64] os: [win32] - '@rollup/rollup-win32-ia32-msvc@4.37.0': - resolution: {integrity: sha512-e3/1SFm1OjefWICB2Ucstg2dxYDkDTZGDYgwufcbsxTHyqQps1UQf33dFEChBNmeSsTOyrjw2JJq0zbG5GF6RA==} + '@rollup/rollup-win32-ia32-msvc@4.50.1': + resolution: {integrity: sha512-SXjv8JlbzKM0fTJidX4eVsH+Wmnp0/WcD8gJxIZyR6Gay5Qcsmdbi9zVtnbkGPG8v2vMR1AD06lGWy5FLMcG7A==} cpu: [ia32] os: [win32] - '@rollup/rollup-win32-x64-msvc@4.37.0': - resolution: {integrity: sha512-LWbXUBwn/bcLx2sSsqy7pK5o+Nr+VCoRoAohfJ5C/aBio9nfJmGQqHAhU6pwxV/RmyTk5AqdySma7uwWGlmeuA==} + '@rollup/rollup-win32-x64-msvc@4.50.1': + resolution: {integrity: sha512-StxAO/8ts62KZVRAm4JZYq9+NqNsV7RvimNK+YM7ry//zebEH6meuugqW/P5OFUCjyQgui+9fUxT6d5NShvMvA==} cpu: [x64] os: [win32] '@scure/base@1.1.9': resolution: {integrity: sha512-8YKhl8GHiNI/pU2VMaofa2Tor7PJRAjwQLBBuilkJ9L5+13yVbC7JO/wS7piioAvPSwR3JKM1IJ/u4xQzbcXKg==} - '@scure/base@1.2.4': - resolution: {integrity: sha512-5Yy9czTO47mqz+/J8GM6GIId4umdCk1wc1q8rKERQulIoc8VP9pzDcghv10Tl2E7R96ZUx/PhND3ESYUQX8NuQ==} + '@scure/base@1.2.6': + resolution: {integrity: sha512-g/nm5FgUa//MCj1gV09zTJTaM6KBAHqLN907YVQqf7zC49+DcO4B1so4ZX07Ef10Twr6nuqYEH9GEggFXA4Fmg==} '@scure/bip32@1.4.0': resolution: {integrity: sha512-sVUpc0Vq3tXCkDGYVWGIZTRfnvu8LoTDaev7vbwh0omSvVORONr960MQWdKqJDCReIEmTj3PAr73O3aoxz7OPg==} - '@scure/bip32@1.6.0': - resolution: {integrity: sha512-82q1QfklrUUdXJzjuRU7iG7D7XiFx5PHYVS0+oeNKhyDLT7WPqs6pBcM2W5ZdwOwKCwoE1Vy1se+DHjcXwCYnA==} - - '@scure/bip32@1.6.2': - resolution: {integrity: sha512-t96EPDMbtGgtb7onKKqxRLfE5g05k7uHnHRM2xdE6BP/ZmxaLtPek4J4KfVn/90IQNrU1IOAqMgiDtUdtbe3nw==} + '@scure/bip32@1.7.0': + resolution: {integrity: sha512-E4FFX/N3f4B80AKWp5dP6ow+flD1LQZo/w8UnLGYZO674jS6YnYeepycOOksv+vLPSpgN35wgKgy+ybfTb2SMw==} '@scure/bip39@1.3.0': resolution: {integrity: sha512-disdg7gHuTDZtY+ZdkmLpPCk7fxZSu3gBiEGuoC1XYxv9cGx3Z6cpTggCgW6odSOOIXCiDjuGejW+aJKCY/pIQ==} - '@scure/bip39@1.5.0': - resolution: {integrity: sha512-Dop+ASYhnrwm9+HA/HwXg7j2ZqM6yk2fyLWb5znexjctFY3+E+eU8cIWI0Pql0Qx4hPZCijlGq4OL71g+Uz30A==} - - '@scure/bip39@1.5.4': - resolution: {integrity: sha512-TFM4ni0vKvCfBpohoh+/lY05i9gRbSwXWngAsF4CABQxoaOHijxuaZ2R6cStDQ5CHtHO9aGJTr4ksVJASRRyMA==} + '@scure/bip39@1.6.0': + resolution: {integrity: sha512-+lF0BbLiJNwVlev4eKelw1WWLaiKXw7sSl8T6FvBlWkdX+94aGJ4o8XjUdlyhTCjd8c+B3KT3JfS8P0bLRNU6A==} '@sec-ant/readable-stream@0.4.1': resolution: {integrity: sha512-831qok9r2t8AlxLko40y2ebgSDhenenCatLVeW/uBtnHPyhHOvG0C7TvfgecV+wHzIm5KUICgzmVpWS+IMEAeg==} @@ -3445,8 +3201,8 @@ packages: resolution: {integrity: sha512-TV7t8GKYaJWsn00tFDqBw8+Uqmr8A0fRU1tvTQhyZzGv0sJCGRQL3JGMI3ucuKo3XIZdUP+Lx7/gh2t3lewy7g==} engines: {node: '>=14.16'} - '@sindresorhus/is@7.0.1': - resolution: {integrity: sha512-QWLl2P+rsCJeofkDNIT3WFmb6NrRud1SUYW8dIhXK/46XFV8Q/g7Bsvib0Askb0reRLe+WYPeeE+l5cH7SlkuQ==} + '@sindresorhus/is@7.1.0': + resolution: {integrity: sha512-7F/yz2IphV39hiS2zB4QYVkivrptHHh0K8qJJd9HhuWSdvf8AN7NpebW3CcDZDBQsUPMoDKWsY2WWgW7bqOcfA==} engines: {node: '>=18'} '@svgr/babel-plugin-add-jsx-attribute@6.5.1': @@ -3523,8 +3279,8 @@ packages: peerDependencies: '@svgr/core': '*' - '@swc/core-darwin-arm64@1.11.11': - resolution: {integrity: sha512-vJcjGVDB8cZH7zyOkC0AfpFYI/7GHKG0NSsH3tpuKrmoAXJyCYspKPGid7FT53EAlWreN7+Pew+bukYf5j+Fmg==} + '@swc/core-darwin-arm64@1.13.5': + resolution: {integrity: sha512-lKNv7SujeXvKn16gvQqUQI5DdyY8v7xcoO3k06/FJbHJS90zEwZdQiMNRiqpYw/orU543tPaWgz7cIYWhbopiQ==} engines: {node: '>=10'} cpu: [arm64] os: [darwin] @@ -3535,8 +3291,8 @@ packages: cpu: [arm64] os: [darwin] - '@swc/core-darwin-x64@1.11.11': - resolution: {integrity: sha512-/N4dGdqEYvD48mCF3QBSycAbbQd3yoZ2YHSzYesQf8usNc2YpIhYqEH3sql02UsxTjEFOJSf1bxZABDdhbSl6A==} + '@swc/core-darwin-x64@1.13.5': + resolution: {integrity: sha512-ILd38Fg/w23vHb0yVjlWvQBoE37ZJTdlLHa8LRCFDdX4WKfnVBiblsCU9ar4QTMNdeTBEX9iUF4IrbNWhaF1Ng==} engines: {node: '>=10'} cpu: [x64] os: [darwin] @@ -3547,8 +3303,8 @@ packages: cpu: [x64] os: [darwin] - '@swc/core-linux-arm-gnueabihf@1.11.11': - resolution: {integrity: sha512-hsBhKK+wVXdN3x9MrL5GW0yT8o9GxteE5zHAI2HJjRQel3HtW7m5Nvwaq+q8rwMf4YQRd8ydbvwl4iUOZx7i2Q==} + '@swc/core-linux-arm-gnueabihf@1.13.5': + resolution: {integrity: sha512-Q6eS3Pt8GLkXxqz9TAw+AUk9HpVJt8Uzm54MvPsqp2yuGmY0/sNaPPNVqctCX9fu/Nu8eaWUen0si6iEiCsazQ==} engines: {node: '>=10'} cpu: [arm] os: [linux] @@ -3559,8 +3315,8 @@ packages: cpu: [arm] os: [linux] - '@swc/core-linux-arm64-gnu@1.11.11': - resolution: {integrity: sha512-YOCdxsqbnn/HMPCNM6nrXUpSndLXMUssGTtzT7ffXqr7WuzRg2e170FVDVQFIkb08E7Ku5uOnnUVAChAJQbMOQ==} + '@swc/core-linux-arm64-gnu@1.13.5': + resolution: {integrity: sha512-aNDfeN+9af+y+M2MYfxCzCy/VDq7Z5YIbMqRI739o8Ganz6ST+27kjQFd8Y/57JN/hcnUEa9xqdS3XY7WaVtSw==} engines: {node: '>=10'} cpu: [arm64] os: [linux] @@ -3571,8 +3327,8 @@ packages: cpu: [arm64] os: [linux] - '@swc/core-linux-arm64-musl@1.11.11': - resolution: {integrity: sha512-nR2tfdQRRzwqR2XYw9NnBk9Fdvff/b8IiJzDL28gRR2QiJWLaE8LsRovtWrzCOYq6o5Uu9cJ3WbabWthLo4jLw==} + '@swc/core-linux-arm64-musl@1.13.5': + resolution: {integrity: sha512-9+ZxFN5GJag4CnYnq6apKTnnezpfJhCumyz0504/JbHLo+Ue+ZtJnf3RhyA9W9TINtLE0bC4hKpWi8ZKoETyOQ==} engines: {node: '>=10'} cpu: [arm64] os: [linux] @@ -3583,8 +3339,8 @@ packages: cpu: [arm64] os: [linux] - '@swc/core-linux-x64-gnu@1.11.11': - resolution: {integrity: sha512-b4gBp5HA9xNWNC5gsYbdzGBJWx4vKSGybGMGOVWWuF+ynx10+0sA/o4XJGuNHm8TEDuNh9YLKf6QkIO8+GPJ1g==} + '@swc/core-linux-x64-gnu@1.13.5': + resolution: {integrity: sha512-WD530qvHrki8Ywt/PloKUjaRKgstQqNGvmZl54g06kA+hqtSE2FTG9gngXr3UJxYu/cNAjJYiBifm7+w4nbHbA==} engines: {node: '>=10'} cpu: [x64] os: [linux] @@ -3595,8 +3351,8 @@ packages: cpu: [x64] os: [linux] - '@swc/core-linux-x64-musl@1.11.11': - resolution: {integrity: sha512-dEvqmQVswjNvMBwXNb8q5uSvhWrJLdttBSef3s6UC5oDSwOr00t3RQPzyS3n5qmGJ8UMTdPRmsopxmqaODISdg==} + '@swc/core-linux-x64-musl@1.13.5': + resolution: {integrity: sha512-Luj8y4OFYx4DHNQTWjdIuKTq2f5k6uSXICqx+FSabnXptaOBAbJHNbHT/06JZh6NRUouaf0mYXN0mcsqvkhd7Q==} engines: {node: '>=10'} cpu: [x64] os: [linux] @@ -3607,8 +3363,8 @@ packages: cpu: [x64] os: [linux] - '@swc/core-win32-arm64-msvc@1.11.11': - resolution: {integrity: sha512-aZNZznem9WRnw2FbTqVpnclvl8Q2apOBW2B316gZK+qxbe+ktjOUnYaMhdCG3+BYggyIBDOnaJeQrXbKIMmNdw==} + '@swc/core-win32-arm64-msvc@1.13.5': + resolution: {integrity: sha512-cZ6UpumhF9SDJvv4DA2fo9WIzlNFuKSkZpZmPG1c+4PFSEMy5DFOjBSllCvnqihCabzXzpn6ykCwBmHpy31vQw==} engines: {node: '>=10'} cpu: [arm64] os: [win32] @@ -3619,8 +3375,8 @@ packages: cpu: [arm64] os: [win32] - '@swc/core-win32-ia32-msvc@1.11.11': - resolution: {integrity: sha512-DjeJn/IfjgOddmJ8IBbWuDK53Fqw7UvOz7kyI/728CSdDYC3LXigzj3ZYs4VvyeOt+ZcQZUB2HA27edOifomGw==} + '@swc/core-win32-ia32-msvc@1.13.5': + resolution: {integrity: sha512-C5Yi/xIikrFUzZcyGj9L3RpKljFvKiDMtyDzPKzlsDrKIw2EYY+bF88gB6oGY5RGmv4DAX8dbnpRAqgFD0FMEw==} engines: {node: '>=10'} cpu: [ia32] os: [win32] @@ -3631,8 +3387,8 @@ packages: cpu: [ia32] os: [win32] - '@swc/core-win32-x64-msvc@1.11.11': - resolution: {integrity: sha512-Gp/SLoeMtsU4n0uRoKDOlGrRC6wCfifq7bqLwSlAG8u8MyJYJCcwjg7ggm0rhLdC2vbiZ+lLVl3kkETp+JUvKg==} + '@swc/core-win32-x64-msvc@1.13.5': + resolution: {integrity: sha512-YrKdMVxbYmlfybCSbRtrilc6UA8GF5aPmGKBdPvjrarvsmf4i7ZHGCEnLtfOMd3Lwbs2WUZq3WdMbozYeLU93Q==} engines: {node: '>=10'} cpu: [x64] os: [win32] @@ -3643,11 +3399,11 @@ packages: cpu: [x64] os: [win32] - '@swc/core@1.11.11': - resolution: {integrity: sha512-pCVY2Wn6dV/labNvssk9b3Owi4WOYsapcbWm90XkIj4xH/56Z6gzja9fsU+4MdPuEfC2Smw835nZHcdCFGyX6A==} + '@swc/core@1.13.5': + resolution: {integrity: sha512-WezcBo8a0Dg2rnR82zhwoR6aRNxeTGfK5QCD6TQ+kg3xx/zNT02s/0o+81h/3zhvFSB24NtqEr8FTw88O5W/JQ==} engines: {node: '>=10'} peerDependencies: - '@swc/helpers': '*' + '@swc/helpers': '>=0.5.17' peerDependenciesMeta: '@swc/helpers': optional: true @@ -3664,11 +3420,11 @@ packages: '@swc/counter@0.1.3': resolution: {integrity: sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==} - '@swc/helpers@0.5.15': - resolution: {integrity: sha512-JQ5TuMi45Owi4/BIMAJBoSQoOJu12oOk/gADqlcUL9JEdHB8vyjUSsxqeNXnmXHjYKMi2WcYtezGEEhqUI/E2g==} + '@swc/helpers@0.5.17': + resolution: {integrity: sha512-5IKx/Y13RsYd+sauPb2x+U/xZikHjolzfuDgTAl/Tdf3Q8rslRvC19NKDLgAJQ6wsqADk10ntlv08nPFw/gO/A==} - '@swc/types@0.1.19': - resolution: {integrity: sha512-WkAZaAfj44kh/UFdAQcrMP1I0nwRqpt27u+08LMBYMqmQfwwMofYoMh/48NGkMMRfC4ynpfwRbJuu8ErfNloeA==} + '@swc/types@0.1.25': + resolution: {integrity: sha512-iAoY/qRhNH8a/hBvm3zKj9qQ4oc2+3w1unPJa2XvTK3XjeLXtzcCingVPw/9e5mn1+0yPqxcBGp9Jf0pkfMb1g==} '@szmarczak/http-timer@5.0.1': resolution: {integrity: sha512-+PmQX0PiAYPMeVYe237LJAYvOMYW1j2rH5YROyS3b4CTVJum34HfRvKvAzozHAQG0TnHNdUfY9nCeUyRAs//cw==} @@ -3679,14 +3435,20 @@ packages: peerDependencies: tailwindcss: '>=3.2.0' - '@tanstack/query-core@5.69.0': - resolution: {integrity: sha512-Kn410jq6vs1P8Nm+ZsRj9H+U3C0kjuEkYLxbiCyn3MDEiYor1j2DGVULqAz62SLZtUZ/e9Xt6xMXiJ3NJ65WyQ==} + '@tanstack/query-core@5.87.4': + resolution: {integrity: sha512-uNsg6zMxraEPDVO2Bn+F3/ctHi+Zsk+MMpcN8h6P7ozqD088F6mFY5TfGM7zuyIrL7HKpDyu6QHfLWiDxh3cuw==} - '@tanstack/react-query@5.69.0': - resolution: {integrity: sha512-Ift3IUNQqTcaFa1AiIQ7WCb/PPy8aexZdq9pZWLXhfLcLxH0+PZqJ2xFImxCpdDZrFRZhLJrh76geevS5xjRhA==} + '@tanstack/react-query@5.87.4': + resolution: {integrity: sha512-T5GT/1ZaNsUXf5I3RhcYuT17I4CPlbZgyLxc/ZGv7ciS6esytlbjb3DgUFO6c8JWYMDpdjSWInyGZUErgzqhcA==} peerDependencies: react: ^18 || ^19 + '@theguild/federation-composition@0.19.1': + resolution: {integrity: sha512-E4kllHSRYh+FsY0VR+fwl0rmWhDV8xUgWawLZTXmy15nCWQwj0BDsoEpdEXjPh7xes+75cRaeJcSbZ4jkBuSdg==} + engines: {node: '>=18'} + peerDependencies: + graphql: ^16.0.0 + '@trysound/sax@0.2.0': resolution: {integrity: sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA==} engines: {node: '>=10.13.0'} @@ -3697,14 +3459,11 @@ packages: '@types/chrome@0.0.258': resolution: {integrity: sha512-vicJi6cg2zaFuLmLY7laG6PHBknjKFusPYlaKQ9Zlycskofy71rStlGvW07MUuqUIVorZf8k5KH+zeTTGcH2dQ==} - '@types/cookie@0.6.0': - resolution: {integrity: sha512-4Kh9a6B2bQciAhf7FSuMRRkUWecJgJu9nPnx3yzpsfXX/c50REIqpHY4C82bXP90qrLtXtkDxTZosYO3UpOwlA==} - '@types/debug@4.1.12': resolution: {integrity: sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==} - '@types/estree@1.0.6': - resolution: {integrity: sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==} + '@types/estree@1.0.8': + resolution: {integrity: sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==} '@types/filesystem@0.0.36': resolution: {integrity: sha512-vPDXOZuannb9FZdxgHnqSwAG/jvdGM8Wq+6N4D/d80z+D4HWH+bItqsZaVRQykAn6WEVeEkLm2oQigyHtgb0RA==} @@ -3733,8 +3492,8 @@ packages: '@types/parse-json@4.0.2': resolution: {integrity: sha512-dISoDXWWQwUquiKsyZ4Ng+HX2KsPL7LyHKHQwgGFEA3IaKac4Obd+h2a/a6waisAoepJlBcx9paWqjA8/HVjCw==} - '@types/prop-types@15.7.14': - resolution: {integrity: sha512-gNMvNH49DJ7OJYv+KAKn0Xp45p8PLl6zo2YnvDIbTd4J6MER2BmWN49TG7n9LvkyihINxeKW8+3bfS2yDC9dzQ==} + '@types/prop-types@15.7.15': + resolution: {integrity: sha512-F6bEyamV9jKGAFBEmlQnesRPGOQqS2+Uwi0Em15xenOxHaf2hv6L8YCVn3rPdPJOiJfPiCnLIRyvwVaqMY3MIw==} '@types/react-dom@18.2.18': resolution: {integrity: sha512-TJxDm6OfAX2KJWJdMEVTwWke5Sc/E/RlnPGvGfS0W7+6ocy2xhDVQVh/KvC2Uf7kACs+gDytdusDSdWfWkaNzw==} @@ -3742,11 +3501,14 @@ packages: '@types/react@18.2.48': resolution: {integrity: sha512-qboRCl6Ie70DQQG9hhNREz81jqC1cs9EVNcjQ1AU+jH6NFfSAhVVbrrY/+nSF+Bsk4AOwm9Qa61InvMCyV+H3w==} - '@types/scheduler@0.23.0': - resolution: {integrity: sha512-YIoDCTH3Af6XM5VuwGG/QL/CJqga1Zm3NkU3HZ4ZHK2fRMPYP1VczsTUqtsf43PH/iJNVlPHAo2oWX7BSdB2Hw==} + '@types/relateurl@0.2.33': + resolution: {integrity: sha512-bTQCKsVbIdzLqZhLkF5fcJQreE4y1ro4DIyVrlDNSCJRRwHhB8Z+4zXXa8jN6eDvc2HbRsEYgbvrnGvi54EpSw==} - '@types/stats.js@0.17.3': - resolution: {integrity: sha512-pXNfAD3KHOdif9EQXZ9deK82HVNaXP5ZIF5RP2QG6OQFNTaY2YIetfrE9t528vEreGQvEPRDDc8muaoYeK0SxQ==} + '@types/scheduler@0.26.0': + resolution: {integrity: sha512-WFHp9YUJQ6CKshqoC37iOlHnQSmxNc795UhB26CyBBttrN9svdIrUjl/NjnNmfcwtncN0h/0PPAFWv9ovP8mLA==} + + '@types/stats.js@0.17.4': + resolution: {integrity: sha512-jIBvWWShCvlBqBNIZt0KAshWpvSjhkwkEu4ZUcASoAvhmrgAUI2t1dXrjSL4xXVLB4FznPrIsX3nKXFl/Dt4vA==} '@types/three@0.175.0': resolution: {integrity: sha512-ldMSBgtZOZ3g9kJ3kOZSEtZIEITmJOzu8eKVpkhf036GuNkM4mt0NXecrjCn5tMm1OblOF7dZehlaDypBfNokw==} @@ -3754,11 +3516,11 @@ packages: '@types/trusted-types@2.0.7': resolution: {integrity: sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==} - '@types/webxr@0.5.22': - resolution: {integrity: sha512-Vr6Stjv5jPRqH690f5I5GLjVk8GSsoQSYJ2FVd/3jJF7KaqfwPi3ehfBS96mlQ2kPCwZaX6U0rG2+NGHBKkA/A==} + '@types/webxr@0.5.23': + resolution: {integrity: sha512-GPe4AsfOSpqWd3xA/0gwoKod13ChcfV67trvxaW2krUbgb9gxQjnCx8zGshzMl8LSHZlNH5gQ8LNScsDuc7nGQ==} - '@types/ws@8.18.0': - resolution: {integrity: sha512-8svvI3hMyvN0kKCJMvTJP/x6Y/EoQbepff882wL+Sn5QsXb3etnamgrJq4isrBxSJj5L2AuXcI0+bgkoAXGUJw==} + '@types/ws@8.18.1': + resolution: {integrity: sha512-ThVF6DCVhA8kUGy+aazFQ4kXQ7E1Ty7A3ypFOe0IcJV8O/M511G99AW24irKrW56Wt44yG9+ij8FaqoBGkuBXg==} '@vitest/expect@1.6.1': resolution: {integrity: sha512-jXL+9+ZNIJKruofqXuuTClf44eSpcHlgj3CiuNihUF3Ioujtmc0zIa3UJOW5RjDK1YLBJZnWBlPuqhYycLioog==} @@ -3807,26 +3569,23 @@ packages: '@vue/shared@3.3.4': resolution: {integrity: sha512-7OjdcV8vQ74eiz1TZLzZP4JwqM5fA94K6yntPS5Z25r9HDuGNzaGdgvwKYq6S+MxwF0TFRwe50fIR/MYnakdkQ==} - '@warzieram/graphql@0.5.31': - resolution: {integrity: sha512-SosNLmu0qykhjoI2ca0hvQIASVQNLz2NoC/D+N/2kDAmqaCWjkQXino5WOHO9aYDLJQ2BDIupvNLKn299cwFjQ==} - - '@webgpu/types@0.1.60': - resolution: {integrity: sha512-8B/tdfRFKdrnejqmvq95ogp8tf52oZ51p3f4QD5m5Paey/qlX4Rhhy5Y8tgFMi7Ms70HzcMMw3EQjH/jdhTwlA==} + '@webgpu/types@0.1.64': + resolution: {integrity: sha512-84kRIAGV46LJTlJZWxShiOrNL30A+9KokD7RB3dRCIqODFjodS5tCD5yyiZ8kIReGVZSDfA3XkkwyyOIF6K62A==} '@whatwg-node/disposablestack@0.0.6': resolution: {integrity: sha512-LOtTn+JgJvX8WfBVJtF08TGrdjuFzGJc4mkP8EdDI8ADbvO7kiexYep1o8dwnt0okb0jYclCDXF13xU7Ge4zSw==} engines: {node: '>=18.0.0'} - '@whatwg-node/fetch@0.10.5': - resolution: {integrity: sha512-+yFJU3hmXPAHJULwx0VzCIsvr/H0lvbPvbOH3areOH3NAuCxCwaJsQ8w6/MwwMcvEWIynSsmAxoyaH04KeosPg==} + '@whatwg-node/fetch@0.10.10': + resolution: {integrity: sha512-watz4i/Vv4HpoJ+GranJ7HH75Pf+OkPQ63NoVmru6Srgc8VezTArB00i/oQlnn0KWh14gM42F22Qcc9SU9mo/w==} engines: {node: '>=18.0.0'} - '@whatwg-node/node-fetch@0.7.14': - resolution: {integrity: sha512-GMCUrFq3gXQSgWMnEBMaQUxh1rd1vi3Kp4MRQT6UKbnRycm4QmUSxp8ZIySxLQ96cpyBvonEH0BYmdQe/pWy8A==} + '@whatwg-node/node-fetch@0.7.25': + resolution: {integrity: sha512-szCTESNJV+Xd56zU6ShOi/JWROxE9IwCic8o5D9z5QECZloas6Ez5tUuKqXTAdu6fHFx1t6C+5gwj8smzOLjtg==} engines: {node: '>=18.0.0'} - '@whatwg-node/promise-helpers@1.3.0': - resolution: {integrity: sha512-486CouizxHXucj8Ky153DDragfkMcHtVEToF5Pn/fInhUUSiCmt9Q4JVBa6UK5q4RammFBtGQ4C9qhGlXU9YbA==} + '@whatwg-node/promise-helpers@1.3.2': + resolution: {integrity: sha512-Nst5JdK47VIl9UcGwtv2Rcgyn5lWtZ0/mhRQ4G8NN2isxpq2TO30iqHzmwoJycjWuyUfg3GFXqP/gFHXeV57IA==} engines: {node: '>=16.0.0'} '@wry/caches@1.0.1': @@ -3845,22 +3604,11 @@ packages: resolution: {integrity: sha512-FNoYzHawTMk/6KMQoEG5O4PuioX19UbwdQKF44yw0nLfOypfQdjtfZzo/UIJWAJ23sNIFbD1Ug9lbaDGMwbqQA==} engines: {node: '>=8'} - abitype@1.0.7: - resolution: {integrity: sha512-ZfYYSktDQUwc2eduYu8C4wOs+RDPmnRYMh7zNfzeMtGGgb0U+6tLGjixUic6mXf5xKKCcgT5Qp6cv39tOARVFw==} - peerDependencies: - typescript: '>=5.0.4' - zod: ^3 >=3.22.0 - peerDependenciesMeta: - typescript: - optional: true - zod: - optional: true - - abitype@1.0.8: - resolution: {integrity: sha512-ZeiI6h3GnW06uYDLx0etQtX/p8E24UaHHBj57RSjK7YBFe7iuVn07EDpOeP451D06sF27VOz9JJPlIKJmXgkEg==} + abitype@1.1.0: + resolution: {integrity: sha512-6Vh4HcRxNMLA0puzPjM5GBgT4aAcFGKZzSgAXvuZ27shJP6NEpielTuqbBmZILR5/xd0PizkBGy5hReKz9jl5A==} peerDependencies: typescript: '>=5.0.4' - zod: ^3 >=3.22.0 + zod: ^3.22.0 || ^4.0.0 peerDependenciesMeta: typescript: optional: true @@ -3881,16 +3629,16 @@ packages: resolution: {integrity: sha512-ueEepnujpqee2o5aIYnvHU6C0A42MNdsIDeqy5BydrkuC5R1ZuUFnm27EeFJGoEHJQgn3uleRvmTXaJgfXbt4g==} engines: {node: '>=0.4.0'} - acorn@8.14.1: - resolution: {integrity: sha512-OvQ/2pUDKmgfCg++xsTX1wGxfTaszcHVcTctW4UJB4hibJx2HXxxO5UmVgyjMa+ZDsiaf5wWLXYpRWMmBI0QHg==} + acorn@8.15.0: + resolution: {integrity: sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==} engines: {node: '>=0.4.0'} hasBin: true aes-js@4.0.0-beta.5: resolution: {integrity: sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==} - agent-base@7.1.3: - resolution: {integrity: sha512-jRR5wdylq8CkOe6hei19GGZnxM6rBGwFl3Bg0YItGDimvjGtAvdZk4Pu6Cl4u4Igsws4a1fd1Vq3ezrhn4KmFw==} + agent-base@7.1.4: + resolution: {integrity: sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ==} engines: {node: '>= 14'} aggregate-error@3.1.0: @@ -3905,8 +3653,8 @@ packages: resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} engines: {node: '>=8'} - ansi-regex@6.1.0: - resolution: {integrity: sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==} + ansi-regex@6.2.2: + resolution: {integrity: sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==} engines: {node: '>=12'} ansi-styles@4.3.0: @@ -3917,8 +3665,8 @@ packages: resolution: {integrity: sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==} engines: {node: '>=10'} - ansi-styles@6.2.1: - resolution: {integrity: sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==} + ansi-styles@6.2.3: + resolution: {integrity: sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==} engines: {node: '>=12'} any-promise@1.3.0: @@ -3934,8 +3682,8 @@ packages: argparse@2.0.1: resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==} - aria-hidden@1.2.4: - resolution: {integrity: sha512-y+CcFFwelSXpLZk/7fMB2mUbGtX9lKycf1MWJ7CaTIERyitVlyQx6C+sxcROU2BAJ24OiZyK+8wj2i8AlBoS3A==} + aria-hidden@1.2.6: + resolution: {integrity: sha512-ik3ZgC9dY/lYVVM++OISsaYDeg1tb0VtP5uL3ouh1koGOaUMDPpbFIei4JkFimWUFPn90sbMNMXQAIVOlnYKJA==} engines: {node: '>=10'} aria-query@5.3.2: @@ -3988,6 +3736,10 @@ packages: base64-js@1.5.1: resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==} + baseline-browser-mapping@2.8.3: + resolution: {integrity: sha512-mcE+Wr2CAhHNWxXN/DdTI+n4gsPc5QpXpWnyCQWiQYIYZX+ZMJ8juXZgjRa/0/YPJo/NSsgW15/YgmI4nbysYw==} + hasBin: true + big-integer@1.6.52: resolution: {integrity: sha512-QxD8cf2eVqJOOz63z6JIN9BzvVs/dlySa5HGSBH5xtR8dPteIRQnBxxKqkNTiT6jbDTF6jAfrd4oMcND9RGbQg==} engines: {node: '>=0.6'} @@ -4005,11 +3757,11 @@ packages: boolbase@1.0.0: resolution: {integrity: sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==} - brace-expansion@1.1.11: - resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==} + brace-expansion@1.1.12: + resolution: {integrity: sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==} - brace-expansion@2.0.1: - resolution: {integrity: sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==} + brace-expansion@2.0.2: + resolution: {integrity: sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==} braces@3.0.3: resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==} @@ -4023,8 +3775,8 @@ packages: engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true - browserslist@4.24.4: - resolution: {integrity: sha512-KDi1Ny1gSePi1vm0q4oxSF8b4DR44GF4BbmS2YdhPLOEqd8pDviZOGH/GsmRwoWJ2+5Lr085X7naowMwKHDG1A==} + browserslist@4.26.0: + resolution: {integrity: sha512-P9go2WrP9FiPwLv3zqRD/Uoxo0RSHjzFCiQz7d4vbmwNqQFo9T9WCeP/Qn5EbcKQY6DBbkxEXNcpJOmncNrb7A==} engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true @@ -4037,20 +3789,12 @@ packages: buffer@6.0.3: resolution: {integrity: sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==} - bufferutil@4.0.9: - 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' - 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'} @@ -4086,8 +3830,8 @@ packages: resolution: {integrity: sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==} engines: {node: '>=10'} - caniuse-lite@1.0.30001706: - resolution: {integrity: sha512-3ZczoTApMAZwPKYWmwVbQMFpXBDds3/0VciVoUwPUbldlYyVLmRVuRs/PcUZtHpbLRpzzDvrvnFuREsGt6lUug==} + caniuse-lite@1.0.30001741: + resolution: {integrity: sha512-QGUGitqsc8ARjLdgAfxETDhRbJ0REsP6O3I96TAth/mVjh2cYzN2u+3AzPP3aVSm2FehEItaJw1xd+IGBXWeSw==} capital-case@1.0.4: resolution: {integrity: sha512-ds37W8CytHgwnhGGTi88pcPyR15qoNkOpYwmMMfnWqqWgESapLqvDx6huFjQ5vqWSn2Z06173XNA7LtMOeUh1A==} @@ -4104,9 +3848,6 @@ packages: resolution: {integrity: sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==} 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==} @@ -4116,8 +3857,8 @@ packages: change-case@5.1.2: resolution: {integrity: sha512-CAtbGEDulyjzs05RXy3uKcwqeztz/dMEuAc1Xu9NQBsbrhuGMneL0u9Dj5SoutLKBFYun8txxYIwhjtLNfUmCA==} - chardet@0.7.0: - resolution: {integrity: sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==} + chardet@2.1.0: + resolution: {integrity: sha512-bNFETTG/pM5ryzQ9Ad0lJOTa6HWD/YsScAR3EnCPZRPlQh77JocYktSHOUHelyhm8IARL+o4c4F1bP5KVOjiRA==} check-error@1.0.3: resolution: {integrity: sha512-iKEoDYaRmd1mxM90a2OEfWhjsjPpYPuQ+lMYsoxB126+t8fw7ySEO48nmDg5COTjxDI65/Y2OWpeEHk3ZOe8zg==} @@ -4299,8 +4040,8 @@ packages: css-select@4.3.0: resolution: {integrity: sha512-wPpOYtnsVontu2mODhA19JrqWxNsfdatRKd64kmpRbQgh1KtItko5sTnEpPdpSaJszTOhEMlF/RPz28qj4HqhQ==} - css-select@5.1.0: - resolution: {integrity: sha512-nwoRF1rvRRnnCqqY7updORDsuqKzqYJ28+oSMaJMMgOauh3fvwHqMS7EZpIPqK8GL+g9mKxF1vP/ZjSeNjEVHg==} + css-select@5.2.2: + resolution: {integrity: sha512-TizTzUddG/xYLA3NXodFM0fSbNizXjOKhqiQQwvhlspadZokn1KDy0NZFS0wuEubIYAV5/c1/lAr0TaaFXEXzw==} css-tree@1.1.3: resolution: {integrity: sha512-tRpdppF7TRazZrjJ6v3stzv93qxRcSsFmW6cX0Zm2NVKpxE1WV1HblnghVv9TreireHkqI/VDEsfolRF1p6y7Q==} @@ -4314,8 +4055,8 @@ packages: resolution: {integrity: sha512-6Fv1DV/TYw//QF5IzQdqsNDjx/wc8TrMBZsqjL9eW01tWb7R7k/mq+/VXfJCl7SoD5emsJop9cOByJZfs8hYIw==} engines: {node: ^10 || ^12.20.0 || ^14.13.0 || >=15.0.0} - css-what@6.1.0: - resolution: {integrity: sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw==} + css-what@6.2.2: + resolution: {integrity: sha512-u/O3vwbptzhMs3L1fQE82ZSLHQQfto5gyZzwteVIEyeaY5Fc7R4dapF/BvRoSYFeqfBk4m0V1Vafq5Pjv25wvA==} engines: {node: '>= 6'} cssesc@3.0.0: @@ -4348,8 +4089,17 @@ packages: debounce@1.2.1: resolution: {integrity: sha512-XRRe6Glud4rd/ZGQfiV1ruXSfbvfJedlV9Y6zOlP+2K04vBYiJEte6stfFkCP03aMnY5tsipamumUjL14fofug==} - debug@4.4.0: - resolution: {integrity: sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==} + debug@4.4.1: + resolution: {integrity: sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==} + engines: {node: '>=6.0'} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + + debug@4.4.3: + resolution: {integrity: sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==} engines: {node: '>=6.0'} peerDependencies: supports-color: '*' @@ -4400,8 +4150,8 @@ packages: engines: {node: '>=0.10'} hasBin: true - detect-libc@2.0.3: - resolution: {integrity: sha512-bwy0MGW55bG41VqxxypOsdSdGqLwXPI/focwgTYCFMbdUiBAxLg9CFzG08sz2aqzknwiX7Hkl0bQENjg8iLByw==} + detect-libc@2.1.0: + resolution: {integrity: sha512-vEtk+OcP7VBRtQZ1EJ3bdgzSfBjgnEalLTp5zjJrS+2Z1w2KZly4SBdac/WDU3hhsNAZ9E8SC96ME4Ey8MZ7cg==} engines: {node: '>=8'} detect-node-es@1.1.0: @@ -4461,8 +4211,8 @@ packages: resolution: {integrity: sha512-IPzF4w4/Rd94bA9imS68tZBaYyBWSCE47V1RGuMrB94iyTOIEwRmVL2x/4An+6mETpLrKJ5hQkB8W4kFAadeIQ==} engines: {node: '>=12'} - dotenv@16.4.7: - resolution: {integrity: sha512-47qPchRCykZC03FhkYAhrvwU4xDBFIj1QPqaarj6mdM/hgUzfPHcpkHJOn3mJAufFeeAxAzeGsr5X0M4k6fLZQ==} + dotenv@16.6.1: + resolution: {integrity: sha512-uBq4egWHTcTt33a72vpSG0z3HnPuIl6NqYcTrKEg2azoEyl2hpW0zqlxysq2pK9HlDIHyHyakeYaYnSAwd8bow==} engines: {node: '>=12'} dotenv@7.0.0: @@ -4476,8 +4226,8 @@ packages: eastasianwidth@0.2.0: resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} - electron-to-chromium@1.5.120: - resolution: {integrity: sha512-oTUp3gfX1gZI+xfD2djr2rzQdHCwHzPQrrK0CD7WpTdF0nPdQ/INcRVjWgLdCT4a9W3jFObR9DAfsuyFQnI8CQ==} + electron-to-chromium@1.5.218: + resolution: {integrity: sha512-uwwdN0TUHs8u6iRgN8vKeWZMRll4gBkz+QMqdS7DDe49uiK68/UX92lFb61oiFPrpYZNeZIqa4bA7O6Aiasnzg==} emoji-regex@8.0.0: resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} @@ -4566,10 +4316,6 @@ packages: resolution: {integrity: sha512-an2S5quJMiy5bnZKEf6AkfH/7r8CzHvhchU40gxN+OM6HPhe7Z9T1FUychcf2M9PpPOO0Hf7BAEfJkw2TDIBDw==} engines: {node: '>=12.0.0'} - external-editor@3.1.0: - resolution: {integrity: sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==} - engines: {node: '>=4'} - fast-deep-equal@3.1.3: resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} @@ -4577,6 +4323,10 @@ packages: resolution: {integrity: sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==} engines: {node: '>=8.6.0'} + fast-glob@3.3.3: + resolution: {integrity: sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==} + engines: {node: '>=8.6.0'} + fast-safe-stringify@2.1.1: resolution: {integrity: sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==} @@ -4622,8 +4372,8 @@ packages: resolution: {integrity: sha512-yDYSgNMraqvnxiEXO4hi88+YZxaHC6QKzb5N84iRCTDeRO7ZALpir/lVmf/uXUhnwUr2O4HU8s/n6x+yNjQkHw==} engines: {node: '>= 14.17'} - form-data-encoder@4.0.2: - resolution: {integrity: sha512-KQVhvhK8ZkWzxKxOr56CPulAhH3dobtuQ4+hNQ+HekH/Wp5gSOafqRAeTphQUJAIk0GBvHZgJ2ZGRWd5kphMuw==} + form-data-encoder@4.1.0: + resolution: {integrity: sha512-G6NsmEW15s0Uw9XnCg+33H3ViYRyiM0hMrMhhqQOR8NFc5GhYrI+6I3u7OTw7b91J2g8rtvMBZJDbcGb2YUniw==} engines: {node: '>= 18'} formdata-polyfill@4.0.10: @@ -4695,10 +4445,6 @@ packages: 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'} - globals@13.24.0: resolution: {integrity: sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==} engines: {node: '>=8'} @@ -4721,8 +4467,8 @@ packages: graceful-fs@4.2.11: resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} - graphql-config@5.1.3: - resolution: {integrity: sha512-RBhejsPjrNSuwtckRlilWzLVt2j8itl74W9Gke1KejDTz7oaA5kVd6wRn9zK9TS5mcmIYGxf7zN7a1ORMdxp1Q==} + graphql-config@5.1.5: + resolution: {integrity: sha512-mG2LL1HccpU8qg5ajLROgdsBzx/o2M6kgI3uAmoaXiSH9PCUbtIyLomLqUtCFaAeG2YCFsl0M5cfQ9rKmDoMVA==} engines: {node: '>= 16.0.0'} peerDependencies: cosmiconfig-toml-loader: ^1.0.0 @@ -4739,8 +4485,8 @@ packages: peerDependencies: graphql: 14 - 16 - graphql-request@7.1.2: - resolution: {integrity: sha512-+XE3iuC55C2di5ZUrB4pjgwe+nIQBuXVIK9J98wrVwojzDW3GMdSBZfxUk8l4j9TieIpjpggclxhNEU9ebGF8w==} + graphql-request@7.2.0: + resolution: {integrity: sha512-0GR7eQHBFYz372u9lxS16cOtEekFlZYB2qOyq8wDvzRmdRSJ0mgUVX1tzNcIzk3G+4NY+mGtSz411wZdeDF/+A==} peerDependencies: graphql: 14 - 16 @@ -4750,24 +4496,8 @@ packages: 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.4: - resolution: {integrity: sha512-8b4OZtNOvv8+NZva8HXamrc0y1jluYC0+13gdh7198FKjVzXyTvVc95DCwGzaKEfn3YuWZxUqjJlHe3qKM/F2g==} - engines: {node: '>=20'} - peerDependencies: - '@fastify/websocket': ^10 || ^11 - graphql: ^15.10.1 || ^16 - uWebSockets.js: ^20 - ws: ^8 - peerDependenciesMeta: - '@fastify/websocket': - optional: true - uWebSockets.js: - optional: true - ws: - optional: true - - graphql-ws@6.0.5: - resolution: {integrity: sha512-HzYw057ch0hx2gZjkbgk1pur4kAtgljlWRP+Gccudqm3BRrTpExjWCQ9OHdIsq47Y6lHL++1lTvuQHhgRRcevw==} + graphql-ws@6.0.6: + resolution: {integrity: sha512-zgfER9s+ftkGKUZgc0xbx8T7/HMO4AV5/YuYiFc+AtgcO5T0v8AxYYNQ+ltzuzDZgNkYJaFspm5MMYLjQzrkmw==} engines: {node: '>=20'} peerDependencies: '@fastify/websocket': ^10 || ^11 @@ -4789,8 +4519,8 @@ packages: resolution: {integrity: sha512-BL/Xd/T9baO6NFzoMpiMD7YUZ62R6viR5tp/MULVEnbYJXZA//kRNW7J0j1w/wXArgL0sCxhDfK5dczSKn3+cg==} engines: {node: '>= 10.x'} - graphql@16.10.0: - resolution: {integrity: sha512-AjqGKbDGUFRKIRCP9tCKiIGHyriz2oHEbPIbEtcSLSs4YjReZOIPQQWek4+6hjw62H9QShXHyaGivGiYVLeYFQ==} + graphql@16.11.0: + resolution: {integrity: sha512-mS1lbMsxgQj6hge1XZ6p7GPhbrtFwUFYi3wRzXAC/FmYnyXMTvvI3td3rjmQ2u8ewXueaSvRPWaEcgVVOT9Jnw==} engines: {node: ^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0} has-flag@4.0.0: @@ -4807,12 +4537,12 @@ packages: hoist-non-react-statics@3.3.2: resolution: {integrity: sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==} - htmlnano@2.1.1: - resolution: {integrity: sha512-kAERyg/LuNZYmdqgCdYvugyLWNFAm8MWXpQMz1pLpetmCbFwoMxvkSoaAMlFrOC4OKTWI4KlZGT/RsNxg4ghOw==} + htmlnano@2.1.4: + resolution: {integrity: sha512-gPgBuzvYjGOpSIz5MF3lUFDXsGIpPerPDY/QJaJmzI/Pd5Y1DGT2JEU24US6X/sW1ssUvw7OdRPltm8Vqm9IWQ==} peerDependencies: cssnano: ^7.0.0 postcss: ^8.3.11 - purgecss: ^6.0.0 + purgecss: ^7.0.2 relateurl: ^0.2.7 srcset: 5.0.1 svgo: ^3.0.2 @@ -4839,8 +4569,8 @@ packages: htmlparser2@7.2.0: resolution: {integrity: sha512-H7MImA4MS6cw7nbyURtLPO1Tms7C5H602LRETv95z1MxO/7CP7rDVROehUYeYBUYEON94NXXDEPmZuq+hX4sog==} - http-cache-semantics@4.1.1: - resolution: {integrity: sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==} + http-cache-semantics@4.2.0: + resolution: {integrity: sha512-dTxcvPXqPvXBQpq5dUr6mEMJX4oIEFv6bwom3FDwKRDsuIjjJGANqhBuoAn9c1RQJIdAKav33ED65E2ys+87QQ==} http-proxy-agent@7.0.2: resolution: {integrity: sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==} @@ -4862,14 +4592,14 @@ packages: 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'} + iconv-lite@0.7.0: + resolution: {integrity: sha512-cf6L2Ds3h57VVmkZe+Pn+5APsT7FpqJtEhhieDCvrE2MK5Qk9MyffgQyuxQTm6BChfeZNtcOLHp9IcWRVcIcBQ==} + engines: {node: '>=0.10.0'} + ieee754@1.2.1: resolution: {integrity: sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==} @@ -4890,8 +4620,8 @@ packages: resolution: {integrity: sha512-AizQPcaofEtO11RZhPPHBOJRdo/20MKQF9mBLnVkBoyHi1/zXK8fzVdnEpSV9gxqtnh6Qomfp3F0xT5qP/vThw==} engines: {node: '>=0.8.0'} - immutable@5.0.3: - resolution: {integrity: sha512-P8IdPQHq3lA1xVeBRi5VPqUm5HDgKnx0Ru51wZz5mjxHr5n3RWhjIpOFU7ybkUxfB+5IToy+OLaHYDBIWsv+uw==} + immutable@5.1.3: + resolution: {integrity: sha512-+chQdDfvscSF1SJqv2gn4SRO2ZyS3xL3r7IW/wWEEzrzLisnOlKiQu5ytC/BVNcS15C39WT2Hg/bjKjDMcu+zg==} import-fresh@3.3.1: resolution: {integrity: sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==} @@ -4924,8 +4654,8 @@ packages: '@types/node': optional: true - inquirer@8.2.6: - resolution: {integrity: sha512-M1WuAmb7pn9zdFRtQYk26ZBoY043Sse0wVDdk4Bppr+JOXyQYybdtvK+l9wUibhtjdjvtoiNy8tk+EgsYIUqKg==} + inquirer@8.2.7: + resolution: {integrity: sha512-UjOaSel/iddGZJ5xP/Eixh6dY1XghiBw4XK13rCCIJcJfyhhoul/7KhLLUGtebEj6GDYM6Vnx/mVsjx2L/mFIA==} engines: {node: '>=12.0.0'} invariant@2.2.4: @@ -4938,8 +4668,8 @@ packages: is-arrayish@0.2.1: resolution: {integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==} - is-arrayish@0.3.2: - resolution: {integrity: sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==} + is-arrayish@0.3.4: + resolution: {integrity: sha512-m6UrgzFVUYawGBh1dUsWR5M2Clqic9RVXC/9f8ceNlv2IcO9j9J/z8UoCLPqtsPBFNzEpfR3xftohbfqDx8EQA==} is-binary-path@2.1.0: resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==} @@ -5028,8 +4758,8 @@ packages: peerDependencies: ws: '*' - isows@1.0.6: - resolution: {integrity: sha512-lPHCayd40oW98/I0uvgaHKWCSvkzY27LjWLbtzOm64yQ+G3Q5npjjbdppU65iZXkK1Zt+kH9pfegli0AYfwYYw==} + isows@1.0.7: + resolution: {integrity: sha512-I1fSfDCZL5P0v33sVqeTDSpcstAg/N+wF5HS033mogOVIp4B+oHC7oOCsA3axAbBSGTJ8QubbNmnIRN/h8U7hg==} peerDependencies: ws: '*' @@ -5040,8 +4770,8 @@ packages: resolution: {integrity: sha512-/imKNG4EbWNrVjoNC/1H5/9GFy+tqjGBHCaSsN+P2RnPqjsLmv6UD3Ej+Kj8nBWaRAwyk7kK5ZUc+OEatnTR3A==} hasBin: true - jiti@2.4.2: - resolution: {integrity: sha512-rg9zJN+G4n2nfJl5MW3BMygZX56zKPNVEYYqq7adpmMh4Jn2QNEwhvQlFy6jPVdcod7txZtKHWnyZiA3a0zP7A==} + jiti@2.5.1: + resolution: {integrity: sha512-twQoecYPiVA5K/h6SxtORw/Bs3ar+mLUtoPSc7iMXzQzK8d7eJ/R09wmTwAjiamETn1cXYPGfNnu7DMoHgu12w==} hasBin: true jose@5.10.0: @@ -5088,19 +4818,19 @@ packages: engines: {node: '>=6'} hasBin: true - jsonfile@6.1.0: - resolution: {integrity: sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==} + jsonfile@6.2.0: + resolution: {integrity: sha512-FGuPw30AdOIUTRMC2OMRtQV+jkVj2cfPqSeWXv1NEAJ1qZ5zb1X6z1mFhbfOB/iy3ssJCD+3KuZ8r8C3uVFlAg==} keyv@4.5.4: resolution: {integrity: sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==} - ky@1.7.5: - resolution: {integrity: sha512-HzhziW6sc5m0pwi5M196+7cEBtbt0lCYi67wNsiwMUmz833wloE0gbzJPWKs1gliFKQb34huItDQX97LyOdPdA==} + ky@1.10.0: + resolution: {integrity: sha512-YRPCzHEWZffbfvmRrfwa+5nwBHwZuYiTrfDX0wuhGBPV0pA/zCqcOq93MDssON/baIkpYbvehIX5aLpMxrRhaA==} engines: {node: '>=18'} - less@4.2.2: - resolution: {integrity: sha512-tkuLHQlvWUTeQ3doAqnHbNn8T6WX1KA8yvbKG9x4VtKtIjHsVKQZCH11zRgAfbDAXC2UNIg/K9BYAAcEzUIrNg==} - engines: {node: '>=6'} + less@4.4.1: + resolution: {integrity: sha512-X9HKyiXPi0f/ed0XhgUlBeFfxrlDP3xR4M7768Zl+WXLUViuL9AOPPJP4nCV0tgRWvTYvpNmN0SFhZOQzy16PA==} + engines: {node: '>=14'} hasBin: true lightningcss-darwin-arm64@1.21.8: @@ -5109,8 +4839,8 @@ packages: cpu: [arm64] os: [darwin] - lightningcss-darwin-arm64@1.29.3: - resolution: {integrity: sha512-fb7raKO3pXtlNbQbiMeEu8RbBVHnpyqAoxTyTRMEWFQWmscGC2wZxoHzZ+YKAepUuKT9uIW5vL2QbFivTgprZg==} + lightningcss-darwin-arm64@1.30.1: + resolution: {integrity: sha512-c8JK7hyE65X1MHMN+Viq9n11RRC7hgin3HhYKhrMyaXflk5GVplZ60IxyoVtzILeKr+xAJwg6zK6sjTBJ0FKYQ==} engines: {node: '>= 12.0.0'} cpu: [arm64] os: [darwin] @@ -5121,8 +4851,8 @@ packages: cpu: [x64] os: [darwin] - lightningcss-darwin-x64@1.29.3: - resolution: {integrity: sha512-KF2XZ4ZdmDGGtEYmx5wpzn6u8vg7AdBHaEOvDKu8GOs7xDL/vcU2vMKtTeNe1d4dogkDdi3B9zC77jkatWBwEQ==} + lightningcss-darwin-x64@1.30.1: + resolution: {integrity: sha512-k1EvjakfumAQoTfcXUcHQZhSpLlkAuEkdMBsI/ivWw9hL+7FtilQc0Cy3hrx0AAQrVtQAbMI7YjCgYgvn37PzA==} engines: {node: '>= 12.0.0'} cpu: [x64] os: [darwin] @@ -5133,8 +4863,8 @@ packages: cpu: [x64] os: [freebsd] - lightningcss-freebsd-x64@1.29.3: - resolution: {integrity: sha512-VUWeVf+V1UM54jv9M4wen9vMlIAyT69Krl9XjI8SsRxz4tdNV/7QEPlW6JASev/pYdiynUCW0pwaFquDRYdxMw==} + lightningcss-freebsd-x64@1.30.1: + resolution: {integrity: sha512-kmW6UGCGg2PcyUE59K5r0kWfKPAVy4SltVeut+umLCFoJ53RdCUWxcRDzO1eTaxf/7Q2H7LTquFHPL5R+Gjyig==} engines: {node: '>= 12.0.0'} cpu: [x64] os: [freebsd] @@ -5145,8 +4875,8 @@ packages: cpu: [arm] os: [linux] - lightningcss-linux-arm-gnueabihf@1.29.3: - resolution: {integrity: sha512-UhgZ/XVNfXQVEJrMIWeK1Laj8KbhjbIz7F4znUk7G4zeGw7TRoJxhb66uWrEsonn1+O45w//0i0Fu0wIovYdYg==} + lightningcss-linux-arm-gnueabihf@1.30.1: + resolution: {integrity: sha512-MjxUShl1v8pit+6D/zSPq9S9dQ2NPFSQwGvxBCYaBYLPlCWuPh9/t1MRS8iUaR8i+a6w7aps+B4N0S1TYP/R+Q==} engines: {node: '>= 12.0.0'} cpu: [arm] os: [linux] @@ -5157,8 +4887,8 @@ packages: cpu: [arm64] os: [linux] - lightningcss-linux-arm64-gnu@1.29.3: - resolution: {integrity: sha512-Pqau7jtgJNmQ/esugfmAT1aCFy/Gxc92FOxI+3n+LbMHBheBnk41xHDhc0HeYlx9G0xP5tK4t0Koy3QGGNqypw==} + lightningcss-linux-arm64-gnu@1.30.1: + resolution: {integrity: sha512-gB72maP8rmrKsnKYy8XUuXi/4OctJiuQjcuqWNlJQ6jZiWqtPvqFziskH3hnajfvKB27ynbVCucKSm2rkQp4Bw==} engines: {node: '>= 12.0.0'} cpu: [arm64] os: [linux] @@ -5169,8 +4899,8 @@ packages: cpu: [arm64] os: [linux] - lightningcss-linux-arm64-musl@1.29.3: - resolution: {integrity: sha512-dxakOk66pf7KLS7VRYFO7B8WOJLecE5OPL2YOk52eriFd/yeyxt2Km5H0BjLfElokIaR+qWi33gB8MQLrdAY3A==} + lightningcss-linux-arm64-musl@1.30.1: + resolution: {integrity: sha512-jmUQVx4331m6LIX+0wUhBbmMX7TCfjF5FoOH6SD1CttzuYlGNVpA7QnrmLxrsub43ClTINfGSYyHe2HWeLl5CQ==} engines: {node: '>= 12.0.0'} cpu: [arm64] os: [linux] @@ -5181,8 +4911,8 @@ packages: cpu: [x64] os: [linux] - lightningcss-linux-x64-gnu@1.29.3: - resolution: {integrity: sha512-ySZTNCpbfbK8rqpKJeJR2S0g/8UqqV3QnzcuWvpI60LWxnFN91nxpSSwCbzfOXkzKfar9j5eOuOplf+klKtINg==} + lightningcss-linux-x64-gnu@1.30.1: + resolution: {integrity: sha512-piWx3z4wN8J8z3+O5kO74+yr6ze/dKmPnI7vLqfSqI8bccaTGY5xiSGVIJBDd5K5BHlvVLpUB3S2YCfelyJ1bw==} engines: {node: '>= 12.0.0'} cpu: [x64] os: [linux] @@ -5193,14 +4923,14 @@ packages: cpu: [x64] os: [linux] - lightningcss-linux-x64-musl@1.29.3: - resolution: {integrity: sha512-3pVZhIzW09nzi10usAXfIGTTSTYQ141dk88vGFNCgawIzayiIzZQxEcxVtIkdvlEq2YuFsL9Wcj/h61JHHzuFQ==} + lightningcss-linux-x64-musl@1.30.1: + resolution: {integrity: sha512-rRomAK7eIkL+tHY0YPxbc5Dra2gXlI63HL+v1Pdi1a3sC+tJTcFrHX+E86sulgAXeI7rSzDYhPSeHHjqFhqfeQ==} engines: {node: '>= 12.0.0'} cpu: [x64] os: [linux] - lightningcss-win32-arm64-msvc@1.29.3: - resolution: {integrity: sha512-VRnkAvtIkeWuoBJeGOTrZxsNp4HogXtcaaLm8agmbYtLDOhQdpgxW6NjZZjDXbvGF+eOehGulXZ3C1TiwHY4QQ==} + lightningcss-win32-arm64-msvc@1.30.1: + resolution: {integrity: sha512-mSL4rqPi4iXq5YVqzSsJgMVFENoa4nGTT/GjO2c0Yl9OuQfPsIfncvLrEW6RbbB24WtZ3xP/2CCmI3tNkNV4oA==} engines: {node: '>= 12.0.0'} cpu: [arm64] os: [win32] @@ -5211,8 +4941,8 @@ packages: cpu: [x64] os: [win32] - lightningcss-win32-x64-msvc@1.29.3: - resolution: {integrity: sha512-IszwRPu2cPnDQsZpd7/EAr0x2W7jkaWqQ1SwCVIZ/tSbZVXPLt6k8s6FkcyBjViCzvB5CW0We0QbbP7zp2aBjQ==} + lightningcss-win32-x64-msvc@1.30.1: + resolution: {integrity: sha512-PVqXh48wh4T53F/1CCu8PIPCxLzWyCnn/9T5W1Jpmdy5h9Cwd+0YQS6/LwhHXSafuc61/xg9Lv5OrCby6a++jg==} engines: {node: '>= 12.0.0'} cpu: [x64] os: [win32] @@ -5221,8 +4951,8 @@ packages: resolution: {integrity: sha512-jEqaL7m/ZckZJjlMAfycr1Kpz7f93k6n7KGF5SJjuPSm6DWI6h3ayLZmgRHgy1OfrwoCed6h4C/gHYPOd1OFMA==} engines: {node: '>= 12.0.0'} - lightningcss@1.29.3: - resolution: {integrity: sha512-GlOJwTIP6TMIlrTFsxTerwC0W6OpQpCGuX1ECRLBUVRh6fpJH3xTqjCjRgQHTb4ZXexH9rtHou1Lf03GKzmhhQ==} + lightningcss@1.30.1: + resolution: {integrity: sha512-xi6IyHML+c9+Q3W0S4fCQJOym42pyurFiJUHEcEyHS0CeKzia4yZDEsLlqOFykxOdHpNy0NmvVO31vcSqAxJCg==} engines: {node: '>= 12.0.0'} lilconfig@2.1.0: @@ -5318,8 +5048,8 @@ packages: peerDependencies: react: ^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0 - magic-string@0.30.17: - resolution: {integrity: sha512-sNPKHvyjVf7gyjwS4xGTaW/mCnF8wnjtifKBEhxfZ7E/S8tQ0rssrwGNn6q8JH/ohItJfSQp9mBtQYuTlH5QnA==} + magic-string@0.30.19: + resolution: {integrity: sha512-2N21sPY9Ws53PZvsEpVtNuSW+ScYbQdp4b9qUaL+9QkHUrGFKo56Lg9Emg5s9V/qrtNBmiR01sYhUOwu3H+VOw==} make-dir@2.1.0: resolution: {integrity: sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==} @@ -5348,8 +5078,8 @@ packages: resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} engines: {node: '>= 8'} - meros@1.3.0: - resolution: {integrity: sha512-2BNGOimxEz5hmjUG2FwoxCt5HN7BXdaWyFqEwxPTrJzVdABtrL4TiHTcsWSFAxPQ/tOnEaQEJh3qWq71QRMY+w==} + meros@1.3.2: + resolution: {integrity: sha512-Q3mobPbvEx7XbwhnC1J1r60+5H6EZyNccdzSz0eGexJRwouUtTZxPVRGdqKtxlpD84ScK4+tIGldkqDtCKdI0A==} engines: {node: '>=13'} peerDependencies: '@types/node': '>=13' @@ -5414,8 +5144,8 @@ packages: resolution: {integrity: sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==} engines: {node: '>=16 || 14 >=14.17'} - mlly@1.7.4: - resolution: {integrity: sha512-qmdSIPC4bDJXgZTCR7XosJiNKySV7O215tsPtDN9iEO/7q/76b/ijtgRu/+epFXSJhijtTCCGp3DWS549P3xKw==} + mlly@1.8.0: + resolution: {integrity: sha512-l8D9ODSRWLe2KHJSifWGwBqpTZXIXTeo8mlKjY+E2HAakaTeNpqAyBZ8GSqLzHgw4XmHmC8whvpjJNMbFZN7/g==} mnemonic-id@3.2.7: resolution: {integrity: sha512-kysx9gAGbvrzuFYxKkcRjnsg/NK61ovJOV4F1cHTRl9T5leg+bo6WI0pWIvOFh1Z/yDL0cjA5R3EEGPPLDv/XA==} @@ -5427,8 +5157,8 @@ packages: resolution: {integrity: sha512-P0efT1C9jIdVRefqjzOQ9Xml57zpOXnIuS+csaB4MdZbTdmGDLo8XhzBG1N7aO11gKDDkJvBLULeFTo46wwreA==} hasBin: true - msgpackr@1.11.2: - resolution: {integrity: sha512-F9UngXRlPyWCDEASDpTf6c9uNhGPTqnTeLVt7bN+bU1eajoR/8V9ys2BRaV5C/e5ihE6sJ9uPIKaYt6bFuO32g==} + msgpackr@1.11.5: + resolution: {integrity: sha512-UjkUHN0yqp9RWKy0Lplhh+wlpdt9oQBYgULZOiFhV3VclSF1JnSQWZ5r9gORQlNYaUKQoR8itv7g7z1xDDuACA==} msgpackr@1.8.5: resolution: {integrity: sha512-mpPs3qqTug6ahbblkThoUY2DQdNXcm4IapwOS3Vm/87vmpzLVelvp9h3It1y9l1VPpiFLV11vfOXnmeEwiIXwg==} @@ -5468,6 +5198,7 @@ packages: 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-fetch@2.7.0: resolution: {integrity: sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==} @@ -5494,10 +5225,6 @@ packages: resolution: {integrity: sha512-s+w+rBWnpTMwSFbaE0UXsRlg7hU4FjekKU4eyAih5T8nJuNZT1nNsskXpxmeqSK9UzkBl6UgRlnKc8hz8IEqOw==} hasBin: true - 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==} @@ -5505,8 +5232,8 @@ packages: resolution: {integrity: sha512-jLF6tlyletktvSAawuPmH1SReP0YfZQ+tBrDiTCK+Ai7eXPMS9odi5xW/iKC7ZhrWJJ0Z5xYcW/x+1fVMn1Qvw==} engines: {node: '>=16', pnpm: '>=8'} - node-releases@2.0.19: - resolution: {integrity: sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw==} + node-releases@2.0.21: + resolution: {integrity: sha512-5b0pgg78U3hwXkCM8Z9b2FJdPZlr9Psr9V2gQPESdGHqbntyFJKFW4r5TeWGFzafGY3hzs1JC62VEQMbl1JFkw==} normalize-path@2.1.1: resolution: {integrity: sha512-3pKJwH184Xo/lnH6oyP1q2pMd7HcypqqmRs91/6/i2CGtWwIKGCkOOMTm/zXbgTEWHw1uNpNi/igc3ePOYHb6w==} @@ -5520,8 +5247,8 @@ packages: resolution: {integrity: sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==} engines: {node: '>=0.10.0'} - normalize-url@8.0.1: - resolution: {integrity: sha512-IO9QvjUMWxPQQhs60oOu10CRkWCiZzSUkzbXGGV9pviYl1fXYcvkzQ5jV9z8Y6un8ARoVRl4EtC6v6jNqbaJ/w==} + normalize-url@8.1.0: + resolution: {integrity: sha512-X06Mfd/5aKsRHc0O0J5CUedwnPmnDtLF2+nq+KN9KSDlJHkPuh0JUviWjEWMe0SW/9TDdSLVPuk7L5gGTIA1/w==} engines: {node: '>=14.16'} npm-run-path@4.0.1: @@ -5567,23 +5294,11 @@ packages: resolution: {integrity: sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==} engines: {node: '>=10'} - ordered-binary@1.5.3: - resolution: {integrity: sha512-oGFr3T+pYdTGJ+YFEILMpS3es+GiIbs9h/XQrclBXUtd44ey7XwfsMzM31f64I1SQOawDoDr/D823kNCADI8TA==} - - os-tmpdir@1.0.2: - resolution: {integrity: sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==} - engines: {node: '>=0.10.0'} - - ox@0.6.0: - resolution: {integrity: sha512-blUzTLidvUlshv0O02CnLFqBLidNzPoAZdIth894avUAotTuWziznv6IENv5idRuOSSP3dH8WzcYw84zVdu0Aw==} - peerDependencies: - typescript: '>=5.4.0' - peerDependenciesMeta: - typescript: - optional: true + ordered-binary@1.6.0: + resolution: {integrity: sha512-IQh2aMfMIDbPjI/8a3Edr+PiOpcsB7yo8NdW7aHWVaoR/pcDldunMvnnwbk/auPGqmKeAdxtZl7MHX/QmPwhvQ==} - ox@0.6.9: - resolution: {integrity: sha512-wi5ShvzE4eOcTwQVsIPdFr+8ycyX+5le/96iAJutaZAvCes1J0+RvpEPg5QDPDiaR0XQQAvZVl7AwqQcINuUug==} + ox@0.9.3: + resolution: {integrity: sha512-KzyJP+fPV4uhuuqrTZyok4DC7vFzi7HLUFiUNEmpbyh59htKWkOC98IONC1zgXJPbHAhQgqs6B0Z6StCGhmQvg==} peerDependencies: typescript: '>=5.4.0' peerDependenciesMeta: @@ -5720,8 +5435,8 @@ packages: resolution: {integrity: sha512-KocF8ve28eFjjuBKKGvzOBGzG8ew2OqOOSxTTZhirkzH7h3BI1vyzqlR0qbfcDBve1Yzo3FVlWUAtCRrbVN8Fw==} engines: {node: '>=14.16'} - pirates@4.0.6: - resolution: {integrity: sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==} + pirates@4.0.7: + resolution: {integrity: sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA==} engines: {node: '>= 6'} pkg-types@1.3.1: @@ -5788,8 +5503,8 @@ packages: resolution: {integrity: sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==} engines: {node: ^10 || ^12 || >=14} - postcss@8.5.3: - resolution: {integrity: sha512-dle9A3yYxlBSrt8Fu+IpjGT8SY8hN0mlaA6GY8t0P5PjIOZemULz/E2Bnm/2dcUOena75OTNkHI76uZBNUUq3A==} + postcss@8.5.6: + resolution: {integrity: sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==} engines: {node: ^10 || ^12 || >=14} posthtml-parser@0.10.2: @@ -5856,8 +5571,8 @@ packages: react-error-overlay@6.0.9: resolution: {integrity: sha512-nQTTcUu+ATDbrSD1BZHr5kgSD4oF8OFjxun8uAaL8RwPBacGBNPf/yAuVVdx17N8XNzRDMrZ9XcKZHCjPW+9ew==} - react-hook-form@7.54.2: - resolution: {integrity: sha512-eHpAUgUjWbZocoQYUHposymRb4ZP6d0uwUnooL2uOybA9/3tPUvoAKqEWK1WaSiTxxOfTpffNZP7QwlnM3/gEg==} + react-hook-form@7.62.0: + resolution: {integrity: sha512-7KWFejc98xqG/F4bAxpL41NB3o1nnvQO1RWZT3TqRZYL8RryQETGfEdVnJN2fy1crCiBLLjkRBVK05j24FxJGA==} engines: {node: '>=18.0.0'} peerDependencies: react: ^16.8.0 || ^17 || ^18 || ^19 @@ -5898,8 +5613,8 @@ packages: '@types/react': optional: true - react-remove-scroll@2.6.3: - resolution: {integrity: sha512-pnAi91oOk8g8ABQKGF5/M9qxmmOPxaAnopyTHYfqYEwJhyFrbbBtHuSgtKEoH0jpcxx5o3hXqH1mNd9/Oi+8iQ==} + react-remove-scroll@2.7.1: + resolution: {integrity: sha512-HpMh8+oahmIdOuS5aFKKY6Pyog+FNaZV/XyJOq7b4YFwsFHe5yYfdbIalI4k3vU2nSDql7YskmUseHsRrJqIPA==} engines: {node: '>=10'} peerDependencies: '@types/react': '*' @@ -5908,21 +5623,21 @@ packages: '@types/react': optional: true - react-resizable-panels@2.1.7: - resolution: {integrity: sha512-JtT6gI+nURzhMYQYsx8DKkx6bSoOGFp7A3CwMrOb8y5jFHFyqwo9m68UhmXRw57fRVJksFn1TSlm3ywEQ9vMgA==} + react-resizable-panels@2.1.9: + resolution: {integrity: sha512-z77+X08YDIrgAes4jl8xhnUu1LNIRp4+E7cv4xHmLOxxUPO/ML7PSrE813b90vj7xvQ1lcf7g2uA9GeMZonjhQ==} peerDependencies: react: ^16.14.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc react-dom: ^16.14.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc - react-router-dom@7.3.0: - resolution: {integrity: sha512-z7Q5FTiHGgQfEurX/FBinkOXhWREJIAB2RiU24lvcBa82PxUpwqvs/PAXb9lJyPjTs2jrl6UkLvCZVGJPeNuuQ==} + react-router-dom@7.9.1: + resolution: {integrity: sha512-U9WBQssBE9B1vmRjo9qTM7YRzfZ3lUxESIZnsf4VjR/lXYz9MHjvOxHzr/aUm4efpktbVOrF09rL/y4VHa8RMw==} engines: {node: '>=20.0.0'} peerDependencies: react: '>=18' react-dom: '>=18' - react-router@7.3.0: - resolution: {integrity: sha512-466f2W7HIWaNXTKM5nHTqNxLrHTyXybm7R0eBlVSt0k/u55tTCDO194OIx/NrYD4TS5SXKTNekXfT37kMKUjgw==} + react-router@7.9.1: + resolution: {integrity: sha512-pfAByjcTpX55mqSDGwGnY9vDCpxqBLASg0BMNAuMmpSGESo/TaOUG6BllhAtAkCGx8Rnohik/XtaqiYUJtgW2g==} engines: {node: '>=20.0.0'} peerDependencies: react: '>=18' @@ -5967,9 +5682,6 @@ packages: regenerator-runtime@0.13.11: resolution: {integrity: sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==} - regenerator-runtime@0.14.1: - resolution: {integrity: sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==} - registry-auth-token@5.1.0: resolution: {integrity: sha512-GdekYuwLXLxMuFTwAPg5UKGLW/UXzQrZvH/Zj791BQif5T05T0RsaLfHc9q3ZOKi7n+BoprPD9mJ0O0k4xzUlw==} engines: {node: '>=14'} @@ -6052,8 +5764,8 @@ packages: engines: {node: '>=14.18.0', npm: '>=8.0.0'} hasBin: true - rollup@4.37.0: - resolution: {integrity: sha512-iAtQy/L4QFU+rTJ1YUjXqJOJzuwEghqWzCEYD2FEghT7Gsy1VdABntrO4CLopA5IkflTyqNiLNwPcOJ3S7UKLg==} + rollup@4.50.1: + resolution: {integrity: sha512-78E9voJHwnXQMiQdiqswVLZwJIzdBKJ1GdI5Zx6XwoFKUIk09/sSrr+05QFzvYb8q6Y9pPV45zzDuYa3907TZA==} engines: {node: '>=18.0.0', npm: '>=8.0.0'} hasBin: true @@ -6077,8 +5789,8 @@ packages: safer-buffer@2.1.2: resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} - sass@1.86.0: - resolution: {integrity: sha512-zV8vGUld/+mP4KbMLJMX7TyGCuUp7hnkOScgCMsWuHtns8CWBoz+vmEhoGMXsaJrbUP8gj+F1dLvVe79sK8UdA==} + sass@1.92.1: + resolution: {integrity: sha512-ffmsdbwqb3XeyR8jJR6KelIXARM9bFQe8A6Q3W4Klmwy5Ckd5gz7jgUNHo4UOqutU5Sk1DtKLbpDP0nLCg1xqQ==} engines: {node: '>=14.0.0'} hasBin: true @@ -6104,8 +5816,8 @@ packages: engines: {node: '>=10'} hasBin: true - semver@7.7.1: - resolution: {integrity: sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==} + semver@7.7.2: + resolution: {integrity: sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==} engines: {node: '>=10'} hasBin: true @@ -6133,8 +5845,8 @@ packages: resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==} engines: {node: '>=8'} - shell-quote@1.8.2: - resolution: {integrity: sha512-AzqKpGKjrj7EM6rKVQEPpB288oCfnrEIuyoT9cyF4nmGa7V8Zk6f7RRqYisX8X9m+Q7bd632aZW4ky7EhbQztA==} + shell-quote@1.8.3: + resolution: {integrity: sha512-ObmnIF4hXNg1BqhnHmgbDETF8dLPCggZWBjkQfhZpbszZnYur5DUljTcCHii5LC3J5E0yeO/1LIMyH+UvHQgyw==} engines: {node: '>= 0.4'} siginfo@2.0.0: @@ -6150,8 +5862,8 @@ packages: 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==} + simple-swizzle@0.2.4: + resolution: {integrity: sha512-nAu1WFPQSMNr2Zn9PGSZK9AGn4t/y97lEm+MXTtUDwfP0ksAIX4nO+6ruD9Jwut4C49SB1Ws+fbXsm/yScWOHw==} slash@3.0.0: resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} @@ -6185,6 +5897,7 @@ packages: 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==} @@ -6203,12 +5916,8 @@ packages: stackback@0.0.2: resolution: {integrity: sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==} - std-env@3.8.1: - resolution: {integrity: sha512-vj5lIj3Mwf9D79hBkltk5qmkFI+biIKWS2IBxEyEU3AX1tUf7AoL8nSazCOiiqQsGKIq01SClsKEzweu34uwvA==} - - streamsearch@1.1.0: - resolution: {integrity: sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==} - engines: {node: '>=10.0.0'} + std-env@3.9.0: + resolution: {integrity: sha512-UGvjygr6F6tpH7o2qyqR6QYpwraIjKSdtzyBdyytFOHmPZY917kwdwLG0RbOjWOnKmnm3PeHjaoLLMie7kPLQw==} string-env-interpolation@1.0.1: resolution: {integrity: sha512-78lwMoCcn0nNu8LszbP1UA7g55OeE4v7rCeWnM5B453rnNr4aq+5it3FEYtZrSEiMvHZOZ9Jlqb0OD0M2VInqg==} @@ -6228,8 +5937,8 @@ packages: resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==} engines: {node: '>=8'} - strip-ansi@7.1.0: - resolution: {integrity: sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==} + strip-ansi@7.1.2: + resolution: {integrity: sha512-gmBGslpoQJtgnMAvOVqGZpEz9dyoKTCzy2nfz/n8aIFhN/jCE/rCmcxabB6jOOHV+0WNnylOxaxBQPSvcWklhA==} engines: {node: '>=12'} strip-final-newline@2.0.0: @@ -6295,8 +6004,8 @@ packages: tailwind-merge@2.6.0: resolution: {integrity: sha512-P+Vu1qXfzediirmHOC3xKGAYeZtPcV9g76X+xg2FD4tYgR71ewMA35Y3sCz3zhiN/dwefRpJX0yBcgwi1fXNQA==} - tailwind-merge@3.0.2: - resolution: {integrity: sha512-l7z+OYZ7mu3DTqrL88RiKrKIqO3NcpEO8V/Od04bNpvk0kiIFndGEoqfuzvj4yuhRkHKjRkII2z+KS2HfPcSxw==} + tailwind-merge@3.3.1: + resolution: {integrity: sha512-gBXpgUm/3rp1lMZZrM/w7D8GKqshif0zAymAhbCyIt8KMe+0v9DQ7cdYLR4FHH/cKpdTXb+A/tKKU3eolfsI+g==} tailwindcss-animate@1.0.7: resolution: {integrity: sha512-bl6mpH3T7I3UFxuvDEXLxy/VuFxBk5bbzplh7tXI68mwMokNYd1t9qPBHlnyTwfa4JGC4zP516I1hYYtQ/vspA==} @@ -6335,9 +6044,6 @@ packages: resolution: {integrity: sha512-YBGpG4bWsHoPvofT6y/5iqulfXIiIErl5B0LdtHT1mGXDFTAhhRrbUpTvBgYbovr+3cKblya2WAOcpoy90XguA==} engines: {node: '>=16'} - timsort@0.3.0: - resolution: {integrity: sha512-qsdtZH+vMoCARQtyod4imc2nIJwg9Cc7lPRrw9CzF8ZKR0khdr8+2nX80PBhET3tcyTtJDxAffGh2rXH4tyU8A==} - tinybench@2.9.0: resolution: {integrity: sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==} @@ -6352,10 +6058,6 @@ packages: 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'} @@ -6427,9 +6129,6 @@ packages: typescript: optional: true - turbo-stream@2.4.0: - resolution: {integrity: sha512-FHncC10WpBd2eOmGwpmQsWLDoK4cqsA/UT/GqNoaKOQnT8uzhtCbg3EoUDMvqpOSAI0S26mr0rkjzbOO6S3v1g==} - type-detect@4.1.0: resolution: {integrity: sha512-Acylog8/luQ8L7il+geoSxhEkazvkslg7PSNKOX59mbB9cOveP5aq9h74Y7YU8yDpJwetzQQrfIwtf4Wp4LKcw==} engines: {node: '>=4'} @@ -6450,8 +6149,8 @@ packages: resolution: {integrity: sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==} engines: {node: '>=12.20'} - type-fest@4.37.0: - resolution: {integrity: sha512-S/5/0kFftkq27FPNye0XM1e2NsnoD/3FS+pBmbjmmtLT6I+i344KoOf7pvXreaFsDamWeaJX55nczA1m5PsBDg==} + type-fest@4.41.0: + resolution: {integrity: sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==} engines: {node: '>=16'} typescript@5.2.2: @@ -6459,17 +6158,17 @@ packages: engines: {node: '>=14.17'} hasBin: true - typescript@5.8.2: - resolution: {integrity: sha512-aJn6wq13/afZp/jT9QZmwEjDqqvSGp1VT5GVg+f/t6/oVyrgXM6BY1h9BRh/O5p3PlUPAe+WuiEZOmb/49RqoQ==} + typescript@5.9.2: + resolution: {integrity: sha512-CWBzXQrc/qOkhidw1OzBTQuYRbfyxDXJMVJ1XNwUHGROVmuaeiEm3OslpZ1RV96d7SKKjZKrSJu3+t/xlw3R9A==} engines: {node: '>=14.17'} hasBin: true - ua-parser-js@1.0.40: - resolution: {integrity: sha512-z6PJ8Lml+v3ichVojCiB8toQJBuwR42ySM4ezjXIqXK3M0HczmKQ3LF4rhU55PfD99KEEXQG6yb7iOMyvYuHew==} + ua-parser-js@1.0.41: + resolution: {integrity: sha512-LbBDqdIC5s8iROCUjMbW1f5dJQTEFB1+KO9ogbvlb3nm9n4YHa5p4KTvFPWvh2Hs8gZMBuiB1/8+pdfe/tDPug==} hasBin: true - ufo@1.5.4: - resolution: {integrity: sha512-UsUk3byDzKd04EyoZ7U4DOlxQaD14JUKQl6/P7wiX4FNvUfm3XL246n9W5AmqwW5RSFJ27NAuM0iLscAOYUiGQ==} + ufo@1.6.1: + resolution: {integrity: sha512-9a4/uxlTWJ4+a5i0ooc1rU7C7YOw3wT+UGqdeNNHWnOF9qcMBgLRS+4IYUqbczewFx4mLEig6gawh7X6mFlEkA==} unc-path-regex@0.1.2: resolution: {integrity: sha512-eXL4nmJT7oCpkZsHZUOJo8hcX3GbsiDOa0Qu9F646fi8dT3XuSVopVqAcEiVzSKKH7UoDti23wNX3qGFxcW5Qg==} @@ -6508,8 +6207,8 @@ packages: upper-case@2.0.2: resolution: {integrity: sha512-KgdgDGJt2TpuwBUIjgG6lzw2GWFRCW9Qkfkiv0DxqHHLYJHmtmdUIKcZd8rHgFSjopVTlw6ggzCm1b8MFQwikg==} - urlpattern-polyfill@10.0.0: - resolution: {integrity: sha512-H/A06tKD7sS1O1X2SshBVeA5FLycRpjqiBeqGKmBwBDBy28EnRjORxTNe269KSSr5un5qyWi1iL61wLxpd+ZOg==} + 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==} @@ -6521,8 +6220,8 @@ packages: '@types/react': optional: true - use-debounce@10.0.4: - resolution: {integrity: sha512-6Cf7Yr7Wk7Kdv77nnJMf6de4HuDE4dTxKij+RqE9rufDsI6zsbjyAxcH5y2ueJCQAnfgKbzXbZHYlkFwmBlWkw==} + use-debounce@10.0.6: + resolution: {integrity: sha512-C5OtPyhAZgVoteO9heXMTdW7v/IbFI+8bSVKYCJrSmiWWCLsbUxiBSp4t9v0hNBTGY97bT72ydDIDyGSFWfwXg==} engines: {node: '>= 16.0.0'} peerDependencies: react: '*' @@ -6537,9 +6236,10 @@ packages: '@types/react': optional: true - utf-8-validate@5.0.10: - resolution: {integrity: sha512-Z6czzLq4u8fPOyx7TU6X3dvUZVvoJmxSQ+IcrlmagKhilxlhZgxPK6C5Jqbkw1IDUmFTM+cz9QDnnLTwDz/2gQ==} - engines: {node: '>=6.14.2'} + use-sync-external-store@1.5.0: + resolution: {integrity: sha512-Rb46I4cGGVBmjamjphe8L/UnvJD+uPPtTkNvX5mZgqdbavhI4EbgIWJiIHXJ8bc/i9EQGPRh4DwEURJ552Do0A==} + peerDependencies: + react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 util-deprecate@1.0.2: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} @@ -6552,16 +6252,8 @@ packages: resolution: {integrity: sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==} hasBin: true - viem@2.22.6: - resolution: {integrity: sha512-wbru5XP0Aa2QskBrZsv7VOriqRnAKn0tahs957xRPOM00ABN4AGAY9xM16UvIq+giRJU6oahXDhPrR1QaYymoA==} - peerDependencies: - typescript: '>=5.0.4' - peerDependenciesMeta: - typescript: - optional: true - - viem@2.23.15: - resolution: {integrity: sha512-2t9lROkSzj/ciEZ08NqAHZ6c+J1wKLwJ4qpUxcHdVHcLBt6GfO9+ycuZycTT05ckfJ6TbwnMXMa3bMonvhtUMw==} + viem@2.37.5: + resolution: {integrity: sha512-bLKvKgLcge6KWBMLk8iP9weu5tHNr0hkxPNwQd+YQrHEgek7ogTBBeE10T0V6blwBMYmeZFZHLnMhDmPjp63/A==} peerDependencies: typescript: '>=5.0.4' peerDependenciesMeta: @@ -6573,8 +6265,8 @@ packages: engines: {node: ^18.0.0 || >=20.0.0} hasBin: true - vite@5.4.15: - resolution: {integrity: sha512-6ANcZRivqL/4WtwPGTKNaosuNJr5tWiftOC7liM7G9+rMb8+oeJeyzymDu4rTN93seySBmbjSfsS3Vzr19KNtA==} + vite@5.4.20: + resolution: {integrity: sha512-j3lYzGC3P+B5Yfy/pfKNgVEg4+UtcIJcVRt2cDjIOmhLourAqPqf8P7acgxeiSgUB7E3p2P8/3gNIgDLpwzs4g==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: @@ -6642,9 +6334,6 @@ packages: resolution: {integrity: sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw==} engines: {node: '>= 8'} - webauthn-p256@0.0.10: - resolution: {integrity: sha512-EeYD+gmIT80YkSIDb2iWq0lq2zbHo1CxHlQTeJ+KkCILWpVy3zASH3ByD4bopzfk0uCwXxLqKGLqp2W4O28VFA==} - webextension-polyfill@0.10.0: resolution: {integrity: sha512-c5s35LgVa5tFaHhrZDnr3FpQpjj1BB+RXhLTYUxGqBVN460HkbM8TBtEqdXWbpTKfzwCcjAZVF7zXCYSKtcp9g==} @@ -6707,20 +6396,8 @@ packages: utf-8-validate: optional: true - ws@8.18.0: - resolution: {integrity: sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==} - 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 - - ws@8.18.1: - resolution: {integrity: sha512-RKW2aJZMXeMxVpnZ6bck+RswznaxmzdULiBr6KY7XkTnW8uvt0iT9H5DkHUChXrc+uurzwa0rVI16n/Xzjdz1w==} + ws@8.18.3: + resolution: {integrity: sha512-PEIGCY5tSlUt50cqyMXfCzX+oOPqN0vuGqWzbcJ2xvnkzkq46oOpz7dQaTDBdfICb4N14+GARUDw2XV2N4tvzg==} engines: {node: '>=10.0.0'} peerDependencies: bufferutil: ^4.0.1 @@ -6754,9 +6431,9 @@ packages: resolution: {integrity: sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==} engines: {node: '>= 6'} - yaml@2.7.0: - resolution: {integrity: sha512-+hSoy/QHluxmC9kCIJyL/uyFmLmc+e5CFR5Wa+bpIhIj85LVb9ZH2nVnqrHoSvKogwODv0ClqZkmiSSaIH5LTA==} - engines: {node: '>= 14'} + yaml@2.8.1: + resolution: {integrity: sha512-lcYcMxX2PO9XMGvAJkJ3OsNMw+/7FKes7/hgerGUYWIoWu5j/+YQqcZr5JnPZWzOsEBgMbSbiSTn/dv/69Mkpw==} + engines: {node: '>= 14.6'} hasBin: true yargs-parser@18.1.3: @@ -6783,8 +6460,8 @@ packages: resolution: {integrity: sha512-AyeEbWOu/TAXdxlV9wmGcR0+yh2j3vYPGOECcIj2S7MkrLyC7ne+oye2BKTItt0ii2PHk4cDy+95+LshzbXnGg==} engines: {node: '>=12.20'} - yoctocolors-cjs@2.1.2: - resolution: {integrity: sha512-cYVsTjKl8b+FrnidjibDWskAv7UKOfcwaVZdp/it9n1s9fU3IkgDbhdIRKCW4JDsAlECJY0ytoVPT3sK6kideA==} + yoctocolors-cjs@2.1.3: + resolution: {integrity: sha512-U/PBtDf35ff0D8X8D0jfdzHYEPFxAI7jJlxZXwCSez5M3190m+QobIfh+sWDWSHMCWWJN2AWamkegn6vr6YBTw==} engines: {node: '>=18'} zen-observable-ts@1.2.5: @@ -6793,45 +6470,45 @@ packages: zen-observable@0.8.15: resolution: {integrity: sha512-PQ2PC7R9rslx84ndNBZB/Dkv8V8fZEpk83RLgXtYd0fwUgEjseMn1Dgajh2x6S8QbZAFa9p2qVCEuYZNgve0dQ==} - zod@3.24.2: - resolution: {integrity: sha512-lY7CDW43ECgW9u1TcT3IoXHflywfVqDYze4waEz812jR/bZ8FHDsl7pFQoSZTz5N+2NqRXs8GBwnAwo3ZNxqhQ==} + zod@3.25.76: + resolution: {integrity: sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==} snapshots: - '@0no-co/graphql.web@1.1.2(graphql@16.10.0)': + '@0no-co/graphql.web@1.2.0(graphql@16.11.0)': optionalDependencies: - graphql: 16.10.0 + graphql: 16.11.0 - '@0no-co/graphqlsp@1.12.16(graphql@16.10.0)(typescript@5.8.2)': + '@0no-co/graphqlsp@1.15.0(graphql@16.11.0)(typescript@5.9.2)': dependencies: - '@gql.tada/internal': 1.0.8(graphql@16.10.0)(typescript@5.8.2) - graphql: 16.10.0 - typescript: 5.8.2 + '@gql.tada/internal': 1.0.8(graphql@16.11.0)(typescript@5.9.2) + graphql: 16.11.0 + typescript: 5.9.2 '@0xintuition/1ui@0.3.6(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(tailwindcss@3.3.0(postcss@8.4.31))': dependencies: '@0xintuition/graphql': 0.5.0(react@18.2.0) - '@hookform/resolvers': 3.10.0(react-hook-form@7.54.2(react@18.2.0)) - '@radix-ui/react-accordion': 1.2.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-alert-dialog': 1.1.6(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-avatar': 1.1.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-checkbox': 1.1.4(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-context-menu': 2.2.6(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-dialog': 1.1.6(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-dropdown-menu': 2.1.15(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-hover-card': 1.1.7(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-label': 2.1.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-navigation-menu': 1.2.5(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-popover': 1.1.6(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-progress': 1.1.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-radio-group': 1.2.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-scroll-area': 1.2.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-select': 2.1.6(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-separator': 1.1.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-slot': 1.1.2(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-switch': 1.1.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-tabs': 1.1.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-tooltip': 1.1.8(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@hookform/resolvers': 3.10.0(react-hook-form@7.62.0(react@18.2.0)) + '@radix-ui/react-accordion': 1.2.12(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-alert-dialog': 1.1.15(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-avatar': 1.1.10(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-checkbox': 1.3.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-context-menu': 2.2.16(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-dialog': 1.1.15(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-dropdown-menu': 2.1.16(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-hover-card': 1.1.15(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-label': 2.1.7(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-navigation-menu': 1.2.14(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-popover': 1.1.15(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-progress': 1.1.7(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-radio-group': 1.3.8(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-scroll-area': 1.2.10(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-select': 2.2.6(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-separator': 1.1.7(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-slot': 1.2.3(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-switch': 1.2.6(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-tabs': 1.1.13(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-tooltip': 1.2.8(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) '@tailwindcss/container-queries': 0.1.1(tailwindcss@3.3.0(postcss@8.4.31)) class-variance-authority: 0.7.1 clsx: 2.1.1 @@ -6839,12 +6516,12 @@ snapshots: lucide-react: 0.441.0(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - react-hook-form: 7.54.2(react@18.2.0) - react-resizable-panels: 2.1.7(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + react-hook-form: 7.62.0(react@18.2.0) + react-resizable-panels: 2.1.9(react-dom@18.2.0(react@18.2.0))(react@18.2.0) sonner: 1.7.4(react-dom@18.2.0(react@18.2.0))(react@18.2.0) tailwind-merge: 2.6.0 tailwindcss-animate: 1.0.7(tailwindcss@3.3.0(postcss@8.4.31)) - zod: 3.24.2 + zod: 3.25.76 transitivePeerDependencies: - '@types/react' - '@types/react-dom' @@ -6853,32 +6530,36 @@ snapshots: '@0xintuition/graphql@0.5.0(react@18.2.0)': dependencies: - '@graphql-codegen/typescript-document-nodes': 4.0.15(graphql@16.10.0) - '@tanstack/react-query': 5.69.0(react@18.2.0) - graphql: 16.10.0 - graphql-request: 7.1.2(graphql@16.10.0) + '@graphql-codegen/typescript-document-nodes': 4.0.16(graphql@16.11.0) + '@tanstack/react-query': 5.87.4(react@18.2.0) + graphql: 16.11.0 + graphql-request: 7.2.0(graphql@16.11.0) transitivePeerDependencies: - encoding - react - '@0xintuition/graphql@0.6.0(react@18.2.0)': + '@0xintuition/graphql@2.0.0-alpha.4(react@18.2.0)': dependencies: - '@graphql-codegen/typescript-document-nodes': 4.0.15(graphql@16.10.0) - '@tanstack/react-query': 5.69.0(react@18.2.0) - graphql: 16.10.0 - graphql-request: 7.1.2(graphql@16.10.0) + '@graphql-codegen/typescript-document-nodes': 4.0.16(graphql@16.11.0) + '@tanstack/react-query': 5.87.4(react@18.2.0) + graphql: 16.11.0 + graphql-request: 7.2.0(graphql@16.11.0) transitivePeerDependencies: - encoding - react - '@0xintuition/protocol@0.1.4(bufferutil@4.0.9)(typescript@5.8.2)(utf-8-validate@5.0.10)(zod@3.24.2)': + '@0xintuition/protocol@2.0.0-alpha.4(viem@2.37.5(typescript@5.9.2)(zod@3.25.76))': + dependencies: + viem: 2.37.5(typescript@5.9.2)(zod@3.25.76) + + '@0xintuition/sdk@2.0.0-alpha.4(react@18.2.0)(viem@2.37.5(typescript@5.9.2)(zod@3.25.76))': dependencies: - viem: 2.22.6(bufferutil@4.0.9)(typescript@5.8.2)(utf-8-validate@5.0.10)(zod@3.24.2) + '@0xintuition/graphql': 2.0.0-alpha.4(react@18.2.0) + '@0xintuition/protocol': 2.0.0-alpha.4(viem@2.37.5(typescript@5.9.2)(zod@3.25.76)) + viem: 2.37.5(typescript@5.9.2)(zod@3.25.76) transitivePeerDependencies: - - bufferutil - - typescript - - utf-8-validate - - zod + - encoding + - react '@adraffy/ens-normalize@1.10.1': {} @@ -6886,17 +6567,17 @@ snapshots: '@ampproject/remapping@2.3.0': dependencies: - '@jridgewell/gen-mapping': 0.3.8 - '@jridgewell/trace-mapping': 0.3.25 + '@jridgewell/gen-mapping': 0.3.13 + '@jridgewell/trace-mapping': 0.3.31 - '@apollo/client@3.13.8(@types/react@18.2.48)(graphql-ws@6.0.4(graphql@16.10.0)(ws@8.18.1(bufferutil@4.0.9)(utf-8-validate@5.0.10)))(graphql@16.10.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': + '@apollo/client@3.14.0(@types/react@18.2.48)(graphql-ws@6.0.6(graphql@16.11.0)(ws@8.18.3))(graphql@16.11.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: - '@graphql-typed-document-node/core': 3.2.0(graphql@16.10.0) + '@graphql-typed-document-node/core': 3.2.0(graphql@16.11.0) '@wry/caches': 1.0.1 '@wry/equality': 0.5.7 '@wry/trie': 0.5.0 - graphql: 16.10.0 - graphql-tag: 2.12.6(graphql@16.10.0) + graphql: 16.11.0 + graphql-tag: 2.12.6(graphql@16.11.0) hoist-non-react-statics: 3.3.2 optimism: 0.18.1 prop-types: 15.8.1 @@ -6906,49 +6587,26 @@ snapshots: tslib: 2.8.1 zen-observable-ts: 1.2.5 optionalDependencies: - graphql-ws: 6.0.4(graphql@16.10.0)(ws@8.18.1(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + graphql-ws: 6.0.6(graphql@16.11.0)(ws@8.18.3) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) transitivePeerDependencies: - '@types/react' - '@apollo/client@3.13.8(@types/react@18.2.48)(graphql-ws@6.0.5(graphql@16.10.0)(ws@8.18.1(bufferutil@4.0.9)(utf-8-validate@5.0.10)))(graphql@16.10.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': + '@ardatan/relay-compiler@12.0.0(graphql@16.11.0)': dependencies: - '@graphql-typed-document-node/core': 3.2.0(graphql@16.10.0) - '@wry/caches': 1.0.1 - '@wry/equality': 0.5.7 - '@wry/trie': 0.5.0 - graphql: 16.10.0 - graphql-tag: 2.12.6(graphql@16.10.0) - hoist-non-react-statics: 3.3.2 - optimism: 0.18.1 - prop-types: 15.8.1 - rehackt: 0.1.0(@types/react@18.2.48)(react@18.2.0) - symbol-observable: 4.0.0 - ts-invariant: 0.10.3 - tslib: 2.8.1 - zen-observable-ts: 1.2.5 - optionalDependencies: - graphql-ws: 6.0.5(graphql@16.10.0)(ws@8.18.1(bufferutil@4.0.9)(utf-8-validate@5.0.10)) - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - transitivePeerDependencies: - - '@types/react' - - '@ardatan/relay-compiler@12.0.0(graphql@16.10.0)': - dependencies: - '@babel/core': 7.26.10 - '@babel/generator': 7.26.10 - '@babel/parser': 7.26.10 - '@babel/runtime': 7.26.10 - '@babel/traverse': 7.26.10 - '@babel/types': 7.26.10 - babel-preset-fbjs: 3.4.0(@babel/core@7.26.10) + '@babel/core': 7.28.4 + '@babel/generator': 7.28.3 + '@babel/parser': 7.28.4 + '@babel/runtime': 7.28.4 + '@babel/traverse': 7.28.4 + '@babel/types': 7.28.4 + babel-preset-fbjs: 3.4.0(@babel/core@7.28.4) chalk: 4.1.2 fb-watchman: 2.0.2 fbjs: 3.0.5 glob: 7.2.3 - graphql: 16.10.0 + graphql: 16.11.0 immutable: 3.7.6 invariant: 2.2.4 nullthrows: 1.1.1 @@ -6959,14 +6617,14 @@ snapshots: - encoding - supports-color - '@ardatan/relay-compiler@12.0.3(graphql@16.10.0)': + '@ardatan/relay-compiler@12.0.3(graphql@16.11.0)': dependencies: - '@babel/generator': 7.26.10 - '@babel/parser': 7.26.10 - '@babel/runtime': 7.26.10 + '@babel/generator': 7.28.3 + '@babel/parser': 7.28.4 + '@babel/runtime': 7.28.4 chalk: 4.1.2 fb-watchman: 2.0.2 - graphql: 16.10.0 + graphql: 16.11.0 immutable: 3.7.6 invariant: 2.2.4 nullthrows: 1.1.1 @@ -6975,347 +6633,350 @@ snapshots: transitivePeerDependencies: - encoding - '@babel/code-frame@7.26.2': + '@babel/code-frame@7.27.1': dependencies: - '@babel/helper-validator-identifier': 7.25.9 + '@babel/helper-validator-identifier': 7.27.1 js-tokens: 4.0.0 picocolors: 1.1.1 - '@babel/compat-data@7.26.8': {} + '@babel/compat-data@7.28.4': {} - '@babel/core@7.26.10': + '@babel/core@7.28.4': dependencies: - '@ampproject/remapping': 2.3.0 - '@babel/code-frame': 7.26.2 - '@babel/generator': 7.26.10 - '@babel/helper-compilation-targets': 7.26.5 - '@babel/helper-module-transforms': 7.26.0(@babel/core@7.26.10) - '@babel/helpers': 7.26.10 - '@babel/parser': 7.26.10 - '@babel/template': 7.26.9 - '@babel/traverse': 7.26.10 - '@babel/types': 7.26.10 + '@babel/code-frame': 7.27.1 + '@babel/generator': 7.28.3 + '@babel/helper-compilation-targets': 7.27.2 + '@babel/helper-module-transforms': 7.28.3(@babel/core@7.28.4) + '@babel/helpers': 7.28.4 + '@babel/parser': 7.28.4 + '@babel/template': 7.27.2 + '@babel/traverse': 7.28.4 + '@babel/types': 7.28.4 + '@jridgewell/remapping': 2.3.5 convert-source-map: 2.0.0 - debug: 4.4.0 + debug: 4.4.3 gensync: 1.0.0-beta.2 json5: 2.2.3 semver: 6.3.1 transitivePeerDependencies: - supports-color - '@babel/generator@7.26.10': + '@babel/generator@7.28.3': dependencies: - '@babel/parser': 7.26.10 - '@babel/types': 7.26.10 - '@jridgewell/gen-mapping': 0.3.8 - '@jridgewell/trace-mapping': 0.3.25 + '@babel/parser': 7.28.4 + '@babel/types': 7.28.4 + '@jridgewell/gen-mapping': 0.3.13 + '@jridgewell/trace-mapping': 0.3.31 jsesc: 3.1.0 - '@babel/helper-annotate-as-pure@7.25.9': + '@babel/helper-annotate-as-pure@7.27.3': dependencies: - '@babel/types': 7.26.10 + '@babel/types': 7.28.4 - '@babel/helper-compilation-targets@7.26.5': + '@babel/helper-compilation-targets@7.27.2': dependencies: - '@babel/compat-data': 7.26.8 - '@babel/helper-validator-option': 7.25.9 - browserslist: 4.24.4 + '@babel/compat-data': 7.28.4 + '@babel/helper-validator-option': 7.27.1 + browserslist: 4.26.0 lru-cache: 5.1.1 semver: 6.3.1 - '@babel/helper-create-class-features-plugin@7.26.9(@babel/core@7.26.10)': + '@babel/helper-create-class-features-plugin@7.28.3(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.26.10 - '@babel/helper-annotate-as-pure': 7.25.9 - '@babel/helper-member-expression-to-functions': 7.25.9 - '@babel/helper-optimise-call-expression': 7.25.9 - '@babel/helper-replace-supers': 7.26.5(@babel/core@7.26.10) - '@babel/helper-skip-transparent-expression-wrappers': 7.25.9 - '@babel/traverse': 7.26.10 + '@babel/core': 7.28.4 + '@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.4) + '@babel/helper-skip-transparent-expression-wrappers': 7.27.1 + '@babel/traverse': 7.28.4 semver: 6.3.1 transitivePeerDependencies: - supports-color - '@babel/helper-member-expression-to-functions@7.25.9': + '@babel/helper-globals@7.28.0': {} + + '@babel/helper-member-expression-to-functions@7.27.1': dependencies: - '@babel/traverse': 7.26.10 - '@babel/types': 7.26.10 + '@babel/traverse': 7.28.4 + '@babel/types': 7.28.4 transitivePeerDependencies: - supports-color - '@babel/helper-module-imports@7.25.9': + '@babel/helper-module-imports@7.27.1': dependencies: - '@babel/traverse': 7.26.10 - '@babel/types': 7.26.10 + '@babel/traverse': 7.28.4 + '@babel/types': 7.28.4 transitivePeerDependencies: - supports-color - '@babel/helper-module-transforms@7.26.0(@babel/core@7.26.10)': + '@babel/helper-module-transforms@7.28.3(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.26.10 - '@babel/helper-module-imports': 7.25.9 - '@babel/helper-validator-identifier': 7.25.9 - '@babel/traverse': 7.26.10 + '@babel/core': 7.28.4 + '@babel/helper-module-imports': 7.27.1 + '@babel/helper-validator-identifier': 7.27.1 + '@babel/traverse': 7.28.4 transitivePeerDependencies: - supports-color - '@babel/helper-optimise-call-expression@7.25.9': + '@babel/helper-optimise-call-expression@7.27.1': dependencies: - '@babel/types': 7.26.10 + '@babel/types': 7.28.4 - '@babel/helper-plugin-utils@7.26.5': {} + '@babel/helper-plugin-utils@7.27.1': {} - '@babel/helper-replace-supers@7.26.5(@babel/core@7.26.10)': + '@babel/helper-replace-supers@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.26.10 - '@babel/helper-member-expression-to-functions': 7.25.9 - '@babel/helper-optimise-call-expression': 7.25.9 - '@babel/traverse': 7.26.10 + '@babel/core': 7.28.4 + '@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.25.9': + '@babel/helper-skip-transparent-expression-wrappers@7.27.1': dependencies: - '@babel/traverse': 7.26.10 - '@babel/types': 7.26.10 + '@babel/traverse': 7.28.4 + '@babel/types': 7.28.4 transitivePeerDependencies: - supports-color - '@babel/helper-string-parser@7.25.9': {} + '@babel/helper-string-parser@7.27.1': {} - '@babel/helper-validator-identifier@7.25.9': {} + '@babel/helper-validator-identifier@7.27.1': {} - '@babel/helper-validator-option@7.25.9': {} + '@babel/helper-validator-option@7.27.1': {} - '@babel/helpers@7.26.10': + '@babel/helpers@7.28.4': dependencies: - '@babel/template': 7.26.9 - '@babel/types': 7.26.10 + '@babel/template': 7.27.2 + '@babel/types': 7.28.4 - '@babel/parser@7.26.10': + '@babel/parser@7.28.4': dependencies: - '@babel/types': 7.26.10 + '@babel/types': 7.28.4 - '@babel/plugin-proposal-class-properties@7.18.6(@babel/core@7.26.10)': + '@babel/plugin-proposal-class-properties@7.18.6(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.26.10 - '@babel/helper-create-class-features-plugin': 7.26.9(@babel/core@7.26.10) - '@babel/helper-plugin-utils': 7.26.5 + '@babel/core': 7.28.4 + '@babel/helper-create-class-features-plugin': 7.28.3(@babel/core@7.28.4) + '@babel/helper-plugin-utils': 7.27.1 transitivePeerDependencies: - supports-color - '@babel/plugin-proposal-object-rest-spread@7.20.7(@babel/core@7.26.10)': + '@babel/plugin-proposal-object-rest-spread@7.20.7(@babel/core@7.28.4)': dependencies: - '@babel/compat-data': 7.26.8 - '@babel/core': 7.26.10 - '@babel/helper-compilation-targets': 7.26.5 - '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.26.10) - '@babel/plugin-transform-parameters': 7.25.9(@babel/core@7.26.10) + '@babel/compat-data': 7.28.4 + '@babel/core': 7.28.4 + '@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.4) + '@babel/plugin-transform-parameters': 7.27.7(@babel/core@7.28.4) - '@babel/plugin-syntax-class-properties@7.12.13(@babel/core@7.26.10)': + '@babel/plugin-syntax-class-properties@7.12.13(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.26.10 - '@babel/helper-plugin-utils': 7.26.5 + '@babel/core': 7.28.4 + '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-syntax-flow@7.26.0(@babel/core@7.26.10)': + '@babel/plugin-syntax-flow@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.26.10 - '@babel/helper-plugin-utils': 7.26.5 + '@babel/core': 7.28.4 + '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-syntax-import-assertions@7.26.0(@babel/core@7.26.10)': + '@babel/plugin-syntax-import-assertions@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.26.10 - '@babel/helper-plugin-utils': 7.26.5 + '@babel/core': 7.28.4 + '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-syntax-jsx@7.25.9(@babel/core@7.26.10)': + '@babel/plugin-syntax-jsx@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.26.10 - '@babel/helper-plugin-utils': 7.26.5 + '@babel/core': 7.28.4 + '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-syntax-object-rest-spread@7.8.3(@babel/core@7.26.10)': + '@babel/plugin-syntax-object-rest-spread@7.8.3(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.26.10 - '@babel/helper-plugin-utils': 7.26.5 + '@babel/core': 7.28.4 + '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-arrow-functions@7.25.9(@babel/core@7.26.10)': + '@babel/plugin-transform-arrow-functions@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.26.10 - '@babel/helper-plugin-utils': 7.26.5 + '@babel/core': 7.28.4 + '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-block-scoped-functions@7.26.5(@babel/core@7.26.10)': + '@babel/plugin-transform-block-scoped-functions@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.26.10 - '@babel/helper-plugin-utils': 7.26.5 + '@babel/core': 7.28.4 + '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-block-scoping@7.25.9(@babel/core@7.26.10)': + '@babel/plugin-transform-block-scoping@7.28.4(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.26.10 - '@babel/helper-plugin-utils': 7.26.5 + '@babel/core': 7.28.4 + '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-classes@7.25.9(@babel/core@7.26.10)': + '@babel/plugin-transform-classes@7.28.4(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.26.10 - '@babel/helper-annotate-as-pure': 7.25.9 - '@babel/helper-compilation-targets': 7.26.5 - '@babel/helper-plugin-utils': 7.26.5 - '@babel/helper-replace-supers': 7.26.5(@babel/core@7.26.10) - '@babel/traverse': 7.26.10 - globals: 11.12.0 + '@babel/core': 7.28.4 + '@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.4) + '@babel/traverse': 7.28.4 transitivePeerDependencies: - supports-color - '@babel/plugin-transform-computed-properties@7.25.9(@babel/core@7.26.10)': + '@babel/plugin-transform-computed-properties@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.26.10 - '@babel/helper-plugin-utils': 7.26.5 - '@babel/template': 7.26.9 + '@babel/core': 7.28.4 + '@babel/helper-plugin-utils': 7.27.1 + '@babel/template': 7.27.2 - '@babel/plugin-transform-destructuring@7.25.9(@babel/core@7.26.10)': + '@babel/plugin-transform-destructuring@7.28.0(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.26.10 - '@babel/helper-plugin-utils': 7.26.5 + '@babel/core': 7.28.4 + '@babel/helper-plugin-utils': 7.27.1 + '@babel/traverse': 7.28.4 + transitivePeerDependencies: + - supports-color - '@babel/plugin-transform-flow-strip-types@7.26.5(@babel/core@7.26.10)': + '@babel/plugin-transform-flow-strip-types@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.26.10 - '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-syntax-flow': 7.26.0(@babel/core@7.26.10) + '@babel/core': 7.28.4 + '@babel/helper-plugin-utils': 7.27.1 + '@babel/plugin-syntax-flow': 7.27.1(@babel/core@7.28.4) - '@babel/plugin-transform-for-of@7.26.9(@babel/core@7.26.10)': + '@babel/plugin-transform-for-of@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.26.10 - '@babel/helper-plugin-utils': 7.26.5 - '@babel/helper-skip-transparent-expression-wrappers': 7.25.9 + '@babel/core': 7.28.4 + '@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.25.9(@babel/core@7.26.10)': + '@babel/plugin-transform-function-name@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.26.10 - '@babel/helper-compilation-targets': 7.26.5 - '@babel/helper-plugin-utils': 7.26.5 - '@babel/traverse': 7.26.10 + '@babel/core': 7.28.4 + '@babel/helper-compilation-targets': 7.27.2 + '@babel/helper-plugin-utils': 7.27.1 + '@babel/traverse': 7.28.4 transitivePeerDependencies: - supports-color - '@babel/plugin-transform-literals@7.25.9(@babel/core@7.26.10)': + '@babel/plugin-transform-literals@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.26.10 - '@babel/helper-plugin-utils': 7.26.5 + '@babel/core': 7.28.4 + '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-member-expression-literals@7.25.9(@babel/core@7.26.10)': + '@babel/plugin-transform-member-expression-literals@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.26.10 - '@babel/helper-plugin-utils': 7.26.5 + '@babel/core': 7.28.4 + '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-modules-commonjs@7.26.3(@babel/core@7.26.10)': + '@babel/plugin-transform-modules-commonjs@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.26.10 - '@babel/helper-module-transforms': 7.26.0(@babel/core@7.26.10) - '@babel/helper-plugin-utils': 7.26.5 + '@babel/core': 7.28.4 + '@babel/helper-module-transforms': 7.28.3(@babel/core@7.28.4) + '@babel/helper-plugin-utils': 7.27.1 transitivePeerDependencies: - supports-color - '@babel/plugin-transform-object-super@7.25.9(@babel/core@7.26.10)': + '@babel/plugin-transform-object-super@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.26.10 - '@babel/helper-plugin-utils': 7.26.5 - '@babel/helper-replace-supers': 7.26.5(@babel/core@7.26.10) + '@babel/core': 7.28.4 + '@babel/helper-plugin-utils': 7.27.1 + '@babel/helper-replace-supers': 7.27.1(@babel/core@7.28.4) transitivePeerDependencies: - supports-color - '@babel/plugin-transform-parameters@7.25.9(@babel/core@7.26.10)': + '@babel/plugin-transform-parameters@7.27.7(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.26.10 - '@babel/helper-plugin-utils': 7.26.5 + '@babel/core': 7.28.4 + '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-property-literals@7.25.9(@babel/core@7.26.10)': + '@babel/plugin-transform-property-literals@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.26.10 - '@babel/helper-plugin-utils': 7.26.5 + '@babel/core': 7.28.4 + '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-react-display-name@7.25.9(@babel/core@7.26.10)': + '@babel/plugin-transform-react-display-name@7.28.0(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.26.10 - '@babel/helper-plugin-utils': 7.26.5 + '@babel/core': 7.28.4 + '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-react-jsx@7.25.9(@babel/core@7.26.10)': + '@babel/plugin-transform-react-jsx@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.26.10 - '@babel/helper-annotate-as-pure': 7.25.9 - '@babel/helper-module-imports': 7.25.9 - '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-syntax-jsx': 7.25.9(@babel/core@7.26.10) - '@babel/types': 7.26.10 + '@babel/core': 7.28.4 + '@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.4) + '@babel/types': 7.28.4 transitivePeerDependencies: - supports-color - '@babel/plugin-transform-shorthand-properties@7.25.9(@babel/core@7.26.10)': + '@babel/plugin-transform-shorthand-properties@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.26.10 - '@babel/helper-plugin-utils': 7.26.5 + '@babel/core': 7.28.4 + '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-spread@7.25.9(@babel/core@7.26.10)': + '@babel/plugin-transform-spread@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.26.10 - '@babel/helper-plugin-utils': 7.26.5 - '@babel/helper-skip-transparent-expression-wrappers': 7.25.9 + '@babel/core': 7.28.4 + '@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.26.8(@babel/core@7.26.10)': + '@babel/plugin-transform-template-literals@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.26.10 - '@babel/helper-plugin-utils': 7.26.5 + '@babel/core': 7.28.4 + '@babel/helper-plugin-utils': 7.27.1 - '@babel/runtime@7.26.10': - dependencies: - regenerator-runtime: 0.14.1 + '@babel/runtime@7.28.4': {} - '@babel/template@7.26.9': + '@babel/template@7.27.2': dependencies: - '@babel/code-frame': 7.26.2 - '@babel/parser': 7.26.10 - '@babel/types': 7.26.10 + '@babel/code-frame': 7.27.1 + '@babel/parser': 7.28.4 + '@babel/types': 7.28.4 - '@babel/traverse@7.26.10': + '@babel/traverse@7.28.4': dependencies: - '@babel/code-frame': 7.26.2 - '@babel/generator': 7.26.10 - '@babel/parser': 7.26.10 - '@babel/template': 7.26.9 - '@babel/types': 7.26.10 - debug: 4.4.0 - globals: 11.12.0 + '@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.3 transitivePeerDependencies: - supports-color - '@babel/types@7.26.10': + '@babel/types@7.28.4': dependencies: - '@babel/helper-string-parser': 7.25.9 - '@babel/helper-validator-identifier': 7.25.9 + '@babel/helper-string-parser': 7.27.1 + '@babel/helper-validator-identifier': 7.27.1 - '@emnapi/runtime@1.3.1': + '@emnapi/runtime@1.5.0': dependencies: tslib: 2.8.1 optional: true - '@envelop/core@5.2.3': + '@envelop/core@5.3.1': dependencies: '@envelop/instrumentation': 1.0.0 '@envelop/types': 5.2.1 - '@whatwg-node/promise-helpers': 1.3.0 + '@whatwg-node/promise-helpers': 1.3.2 tslib: 2.8.1 '@envelop/instrumentation@1.0.0': dependencies: - '@whatwg-node/promise-helpers': 1.3.0 + '@whatwg-node/promise-helpers': 1.3.2 tslib: 2.8.1 '@envelop/types@5.2.1': dependencies: - '@whatwg-node/promise-helpers': 1.3.0 + '@whatwg-node/promise-helpers': 1.3.2 tslib: 2.8.1 '@esbuild/aix-ppc64@0.21.5': @@ -7543,72 +7204,74 @@ snapshots: dependencies: cross-spawn: 7.0.6 - '@floating-ui/core@1.6.9': + '@fastify/busboy@3.2.0': {} + + '@floating-ui/core@1.7.3': dependencies: - '@floating-ui/utils': 0.2.9 + '@floating-ui/utils': 0.2.10 - '@floating-ui/dom@1.6.13': + '@floating-ui/dom@1.7.4': dependencies: - '@floating-ui/core': 1.6.9 - '@floating-ui/utils': 0.2.9 + '@floating-ui/core': 1.7.3 + '@floating-ui/utils': 0.2.10 - '@floating-ui/react-dom@2.1.2(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': + '@floating-ui/react-dom@2.1.6(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: - '@floating-ui/dom': 1.6.13 + '@floating-ui/dom': 1.7.4 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - '@floating-ui/utils@0.2.9': {} + '@floating-ui/utils@0.2.10': {} - '@gql.tada/internal@1.0.8(graphql@16.10.0)(typescript@5.8.2)': + '@gql.tada/internal@1.0.8(graphql@16.11.0)(typescript@5.9.2)': dependencies: - '@0no-co/graphql.web': 1.1.2(graphql@16.10.0) - graphql: 16.10.0 - typescript: 5.8.2 + '@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.10.0)': + '@graphql-codegen/add@5.0.3(graphql@16.11.0)': dependencies: - '@graphql-codegen/plugin-helpers': 5.1.0(graphql@16.10.0) - graphql: 16.10.0 + '@graphql-codegen/plugin-helpers': 5.1.1(graphql@16.11.0) + graphql: 16.11.0 tslib: 2.6.3 - '@graphql-codegen/cli@5.0.5(@parcel/watcher@2.5.1)(@types/node@20.11.5)(bufferutil@4.0.9)(graphql@16.10.0)(typescript@5.8.2)(utf-8-validate@5.0.10)': - dependencies: - '@babel/generator': 7.26.10 - '@babel/template': 7.26.9 - '@babel/types': 7.26.10 - '@graphql-codegen/client-preset': 4.7.0(graphql@16.10.0) - '@graphql-codegen/core': 4.0.2(graphql@16.10.0) - '@graphql-codegen/plugin-helpers': 5.1.0(graphql@16.10.0) - '@graphql-tools/apollo-engine-loader': 8.0.20(graphql@16.10.0) - '@graphql-tools/code-file-loader': 8.1.20(graphql@16.10.0) - '@graphql-tools/git-loader': 8.0.24(graphql@16.10.0) - '@graphql-tools/github-loader': 8.0.20(@types/node@20.11.5)(graphql@16.10.0) - '@graphql-tools/graphql-file-loader': 8.0.19(graphql@16.10.0) - '@graphql-tools/json-file-loader': 8.0.18(graphql@16.10.0) - '@graphql-tools/load': 8.0.19(graphql@16.10.0) - '@graphql-tools/prisma-loader': 8.0.17(@types/node@20.11.5)(bufferutil@4.0.9)(graphql@16.10.0)(utf-8-validate@5.0.10) - '@graphql-tools/url-loader': 8.0.31(@types/node@20.11.5)(bufferutil@4.0.9)(graphql@16.10.0)(utf-8-validate@5.0.10) - '@graphql-tools/utils': 10.8.6(graphql@16.10.0) - '@whatwg-node/fetch': 0.10.5 + '@graphql-codegen/cli@5.0.7(@parcel/watcher@2.5.1)(@types/node@20.11.5)(graphql@16.11.0)(typescript@5.9.2)': + dependencies: + '@babel/generator': 7.28.3 + '@babel/template': 7.27.2 + '@babel/types': 7.28.4 + '@graphql-codegen/client-preset': 4.8.3(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@20.11.5)(graphql@16.11.0) + '@graphql-tools/graphql-file-loader': 8.1.1(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@20.11.5)(graphql@16.11.0) + '@graphql-tools/url-loader': 8.0.33(@types/node@20.11.5)(graphql@16.11.0) + '@graphql-tools/utils': 10.9.1(graphql@16.11.0) + '@whatwg-node/fetch': 0.10.10 chalk: 4.1.2 - cosmiconfig: 8.3.6(typescript@5.8.2) + cosmiconfig: 8.3.6(typescript@5.9.2) debounce: 1.2.1 detect-indent: 6.1.0 - graphql: 16.10.0 - graphql-config: 5.1.3(@types/node@20.11.5)(bufferutil@4.0.9)(graphql@16.10.0)(typescript@5.8.2)(utf-8-validate@5.0.10) - inquirer: 8.2.6 + graphql: 16.11.0 + graphql-config: 5.1.5(@types/node@20.11.5)(graphql@16.11.0)(typescript@5.9.2) + inquirer: 8.2.7(@types/node@20.11.5) is-glob: 4.0.3 jiti: 1.21.7 json-to-pretty-yaml: 1.2.2 listr2: 4.0.5 log-symbols: 4.1.0 micromatch: 4.0.8 - shell-quote: 1.8.2 + shell-quote: 1.8.3 string-env-interpolation: 1.0.1 ts-log: 2.2.7 tslib: 2.8.1 - yaml: 2.7.0 + yaml: 2.8.1 yargs: 17.7.2 optionalDependencies: '@parcel/watcher': 2.5.1 @@ -7620,257 +7283,310 @@ snapshots: - crossws - encoding - enquirer + - graphql-sock - supports-color - typescript - uWebSockets.js - utf-8-validate - '@graphql-codegen/client-preset@4.7.0(graphql@16.10.0)': - dependencies: - '@babel/helper-plugin-utils': 7.26.5 - '@babel/template': 7.26.9 - '@graphql-codegen/add': 5.0.3(graphql@16.10.0) - '@graphql-codegen/gql-tag-operations': 4.0.16(graphql@16.10.0) - '@graphql-codegen/plugin-helpers': 5.1.0(graphql@16.10.0) - '@graphql-codegen/typed-document-node': 5.1.0(graphql@16.10.0) - '@graphql-codegen/typescript': 4.1.5(graphql@16.10.0) - '@graphql-codegen/typescript-operations': 4.5.1(graphql@16.10.0) - '@graphql-codegen/visitor-plugin-common': 5.7.1(graphql@16.10.0) - '@graphql-tools/documents': 1.0.1(graphql@16.10.0) - '@graphql-tools/utils': 10.8.6(graphql@16.10.0) - '@graphql-typed-document-node/core': 3.2.0(graphql@16.10.0) - graphql: 16.10.0 + '@graphql-codegen/cli@5.0.7(@parcel/watcher@2.5.1)(@types/node@22.7.5)(graphql@16.11.0)(typescript@5.9.2)': + dependencies: + '@babel/generator': 7.28.3 + '@babel/template': 7.27.2 + '@babel/types': 7.28.4 + '@graphql-codegen/client-preset': 4.8.3(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@22.7.5)(graphql@16.11.0) + '@graphql-tools/graphql-file-loader': 8.1.1(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@22.7.5)(graphql@16.11.0) + '@graphql-tools/url-loader': 8.0.33(@types/node@22.7.5)(graphql@16.11.0) + '@graphql-tools/utils': 10.9.1(graphql@16.11.0) + '@whatwg-node/fetch': 0.10.10 + 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@22.7.5)(graphql@16.11.0)(typescript@5.9.2) + inquirer: 8.2.7(@types/node@22.7.5) + is-glob: 4.0.3 + jiti: 1.21.7 + json-to-pretty-yaml: 1.2.2 + listr2: 4.0.5 + 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(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(graphql@16.11.0) + '@graphql-codegen/plugin-helpers': 5.1.1(graphql@16.11.0) + '@graphql-codegen/typed-document-node': 5.1.2(graphql@16.11.0) + '@graphql-codegen/typescript': 4.1.6(graphql@16.11.0) + '@graphql-codegen/typescript-operations': 4.6.1(graphql@16.11.0) + '@graphql-codegen/visitor-plugin-common': 5.8.0(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.10.0)': + '@graphql-codegen/core@4.0.2(graphql@16.11.0)': dependencies: - '@graphql-codegen/plugin-helpers': 5.1.0(graphql@16.10.0) - '@graphql-tools/schema': 10.0.23(graphql@16.10.0) - '@graphql-tools/utils': 10.8.6(graphql@16.10.0) - graphql: 16.10.0 + '@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.16(graphql@16.10.0)': + '@graphql-codegen/gql-tag-operations@4.0.17(graphql@16.11.0)': dependencies: - '@graphql-codegen/plugin-helpers': 5.1.0(graphql@16.10.0) - '@graphql-codegen/visitor-plugin-common': 5.7.1(graphql@16.10.0) - '@graphql-tools/utils': 10.8.6(graphql@16.10.0) + '@graphql-codegen/plugin-helpers': 5.1.1(graphql@16.11.0) + '@graphql-codegen/visitor-plugin-common': 5.8.0(graphql@16.11.0) + '@graphql-tools/utils': 10.9.1(graphql@16.11.0) auto-bind: 4.0.0 - graphql: 16.10.0 + graphql: 16.11.0 tslib: 2.6.3 transitivePeerDependencies: - encoding - '@graphql-codegen/introspection@4.0.3(graphql@16.10.0)': + '@graphql-codegen/introspection@4.0.3(graphql@16.11.0)': dependencies: - '@graphql-codegen/plugin-helpers': 5.1.0(graphql@16.10.0) - '@graphql-codegen/visitor-plugin-common': 5.7.1(graphql@16.10.0) - graphql: 16.10.0 + '@graphql-codegen/plugin-helpers': 5.1.1(graphql@16.11.0) + '@graphql-codegen/visitor-plugin-common': 5.8.0(graphql@16.11.0) + graphql: 16.11.0 tslib: 2.6.3 transitivePeerDependencies: - encoding - '@graphql-codegen/plugin-helpers@2.7.2(graphql@16.10.0)': - dependencies: - '@graphql-tools/utils': 8.13.1(graphql@16.10.0) - change-case-all: 1.0.14 - common-tags: 1.8.2 - graphql: 16.10.0 - import-from: 4.0.0 - lodash: 4.17.21 - tslib: 2.4.1 - - '@graphql-codegen/plugin-helpers@3.1.2(graphql@16.10.0)': + '@graphql-codegen/plugin-helpers@3.1.2(graphql@16.11.0)': dependencies: - '@graphql-tools/utils': 9.2.1(graphql@16.10.0) + '@graphql-tools/utils': 9.2.1(graphql@16.11.0) change-case-all: 1.0.15 common-tags: 1.8.2 - graphql: 16.10.0 + graphql: 16.11.0 import-from: 4.0.0 lodash: 4.17.21 tslib: 2.4.1 - '@graphql-codegen/plugin-helpers@5.1.0(graphql@16.10.0)': + '@graphql-codegen/plugin-helpers@5.1.1(graphql@16.11.0)': dependencies: - '@graphql-tools/utils': 10.8.6(graphql@16.10.0) + '@graphql-tools/utils': 10.9.1(graphql@16.11.0) change-case-all: 1.0.15 common-tags: 1.8.2 - graphql: 16.10.0 + 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.10.0)': + '@graphql-codegen/schema-ast@4.1.0(graphql@16.11.0)': dependencies: - '@graphql-codegen/plugin-helpers': 5.1.0(graphql@16.10.0) - '@graphql-tools/utils': 10.8.6(graphql@16.10.0) - graphql: 16.10.0 + '@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.0(graphql@16.10.0)': + '@graphql-codegen/typed-document-node@5.1.2(graphql@16.11.0)': dependencies: - '@graphql-codegen/plugin-helpers': 5.1.0(graphql@16.10.0) - '@graphql-codegen/visitor-plugin-common': 5.7.1(graphql@16.10.0) + '@graphql-codegen/plugin-helpers': 5.1.1(graphql@16.11.0) + '@graphql-codegen/visitor-plugin-common': 5.8.0(graphql@16.11.0) auto-bind: 4.0.0 change-case-all: 1.0.15 - graphql: 16.10.0 + graphql: 16.11.0 tslib: 2.6.3 transitivePeerDependencies: - encoding - '@graphql-codegen/typescript-document-nodes@4.0.15(graphql@16.10.0)': + '@graphql-codegen/typescript-document-nodes@4.0.16(graphql@16.11.0)': dependencies: - '@graphql-codegen/plugin-helpers': 5.1.0(graphql@16.10.0) - '@graphql-codegen/visitor-plugin-common': 5.7.1(graphql@16.10.0) + '@graphql-codegen/plugin-helpers': 5.1.1(graphql@16.11.0) + '@graphql-codegen/visitor-plugin-common': 5.8.0(graphql@16.11.0) auto-bind: 4.0.0 - graphql: 16.10.0 + graphql: 16.11.0 tslib: 2.6.3 transitivePeerDependencies: - encoding - '@graphql-codegen/typescript-operations@4.5.1(graphql@16.10.0)': + '@graphql-codegen/typescript-operations@4.6.1(graphql@16.11.0)': dependencies: - '@graphql-codegen/plugin-helpers': 5.1.0(graphql@16.10.0) - '@graphql-codegen/typescript': 4.1.5(graphql@16.10.0) - '@graphql-codegen/visitor-plugin-common': 5.7.1(graphql@16.10.0) + '@graphql-codegen/plugin-helpers': 5.1.1(graphql@16.11.0) + '@graphql-codegen/typescript': 4.1.6(graphql@16.11.0) + '@graphql-codegen/visitor-plugin-common': 5.8.0(graphql@16.11.0) auto-bind: 4.0.0 - graphql: 16.10.0 + graphql: 16.11.0 tslib: 2.6.3 transitivePeerDependencies: - encoding - '@graphql-codegen/typescript-react-apollo@4.3.2(graphql@16.10.0)': + '@graphql-codegen/typescript-react-apollo@4.3.3(graphql@16.11.0)': dependencies: - '@graphql-codegen/plugin-helpers': 3.1.2(graphql@16.10.0) - '@graphql-codegen/visitor-plugin-common': 2.13.1(graphql@16.10.0) + '@graphql-codegen/plugin-helpers': 3.1.2(graphql@16.11.0) + '@graphql-codegen/visitor-plugin-common': 2.13.8(graphql@16.11.0) auto-bind: 4.0.0 change-case-all: 1.0.15 - graphql: 16.10.0 - tslib: 2.6.3 + graphql: 16.11.0 + tslib: 2.8.1 transitivePeerDependencies: - encoding - supports-color - '@graphql-codegen/typescript-react-query@6.1.0(graphql@16.10.0)': + '@graphql-codegen/typescript-react-query@6.1.1(graphql@16.11.0)': dependencies: - '@graphql-codegen/plugin-helpers': 3.1.2(graphql@16.10.0) - '@graphql-codegen/visitor-plugin-common': 2.13.1(graphql@16.10.0) + '@graphql-codegen/plugin-helpers': 3.1.2(graphql@16.11.0) + '@graphql-codegen/visitor-plugin-common': 2.13.8(graphql@16.11.0) auto-bind: 4.0.0 change-case-all: 1.0.15 - graphql: 16.10.0 - tslib: 2.6.3 + graphql: 16.11.0 + tslib: 2.8.1 transitivePeerDependencies: - encoding - supports-color - '@graphql-codegen/typescript@4.1.5(graphql@16.10.0)': + '@graphql-codegen/typescript@4.1.6(graphql@16.11.0)': dependencies: - '@graphql-codegen/plugin-helpers': 5.1.0(graphql@16.10.0) - '@graphql-codegen/schema-ast': 4.1.0(graphql@16.10.0) - '@graphql-codegen/visitor-plugin-common': 5.7.1(graphql@16.10.0) + '@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(graphql@16.11.0) auto-bind: 4.0.0 - graphql: 16.10.0 + graphql: 16.11.0 tslib: 2.6.3 transitivePeerDependencies: - encoding - '@graphql-codegen/visitor-plugin-common@2.13.1(graphql@16.10.0)': + '@graphql-codegen/visitor-plugin-common@2.13.8(graphql@16.11.0)': dependencies: - '@graphql-codegen/plugin-helpers': 2.7.2(graphql@16.10.0) - '@graphql-tools/optimize': 1.4.0(graphql@16.10.0) - '@graphql-tools/relay-operation-optimizer': 6.5.18(graphql@16.10.0) - '@graphql-tools/utils': 8.13.1(graphql@16.10.0) + '@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(graphql@16.11.0) + '@graphql-tools/utils': 9.2.1(graphql@16.11.0) auto-bind: 4.0.0 - change-case-all: 1.0.14 + change-case-all: 1.0.15 dependency-graph: 0.11.0 - graphql: 16.10.0 - graphql-tag: 2.12.6(graphql@16.10.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.7.1(graphql@16.10.0)': + '@graphql-codegen/visitor-plugin-common@5.8.0(graphql@16.11.0)': dependencies: - '@graphql-codegen/plugin-helpers': 5.1.0(graphql@16.10.0) - '@graphql-tools/optimize': 2.0.0(graphql@16.10.0) - '@graphql-tools/relay-operation-optimizer': 7.0.19(graphql@16.10.0) - '@graphql-tools/utils': 10.8.6(graphql@16.10.0) + '@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(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.10.0 - graphql-tag: 2.12.6(graphql@16.10.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-tools/apollo-engine-loader@8.0.20(graphql@16.10.0)': + '@graphql-hive/signal@1.0.0': {} + + '@graphql-tools/apollo-engine-loader@8.0.22(graphql@16.11.0)': dependencies: - '@graphql-tools/utils': 10.8.6(graphql@16.10.0) - '@whatwg-node/fetch': 0.10.5 - graphql: 16.10.0 + '@graphql-tools/utils': 10.9.1(graphql@16.11.0) + '@whatwg-node/fetch': 0.10.10 + graphql: 16.11.0 sync-fetch: 0.6.0-2 tslib: 2.8.1 - '@graphql-tools/batch-execute@9.0.14(graphql@16.10.0)': + '@graphql-tools/batch-execute@9.0.19(graphql@16.11.0)': dependencies: - '@graphql-tools/utils': 10.8.6(graphql@16.10.0) - '@whatwg-node/promise-helpers': 1.3.0 + '@graphql-tools/utils': 10.9.1(graphql@16.11.0) + '@whatwg-node/promise-helpers': 1.3.2 dataloader: 2.2.3 - graphql: 16.10.0 + graphql: 16.11.0 tslib: 2.8.1 - '@graphql-tools/code-file-loader@8.1.20(graphql@16.10.0)': + '@graphql-tools/code-file-loader@8.1.22(graphql@16.11.0)': dependencies: - '@graphql-tools/graphql-tag-pluck': 8.3.19(graphql@16.10.0) - '@graphql-tools/utils': 10.8.6(graphql@16.10.0) + '@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.10.0 + graphql: 16.11.0 tslib: 2.8.1 unixify: 1.0.0 transitivePeerDependencies: - supports-color - '@graphql-tools/delegate@10.2.15(graphql@16.10.0)': + '@graphql-tools/delegate@10.2.23(graphql@16.11.0)': dependencies: - '@graphql-tools/batch-execute': 9.0.14(graphql@16.10.0) - '@graphql-tools/executor': 1.4.6(graphql@16.10.0) - '@graphql-tools/schema': 10.0.23(graphql@16.10.0) - '@graphql-tools/utils': 10.8.6(graphql@16.10.0) + '@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.0 + '@whatwg-node/promise-helpers': 1.3.2 dataloader: 2.2.3 dset: 3.1.4 - graphql: 16.10.0 + graphql: 16.11.0 tslib: 2.8.1 - '@graphql-tools/documents@1.0.1(graphql@16.10.0)': + '@graphql-tools/documents@1.0.1(graphql@16.11.0)': dependencies: - graphql: 16.10.0 + graphql: 16.11.0 lodash.sortby: 4.7.0 - tslib: 2.8.1 + tslib: 2.6.3 + + '@graphql-tools/executor-common@0.0.4(graphql@16.11.0)': + dependencies: + '@envelop/core': 5.3.1 + '@graphql-tools/utils': 10.9.1(graphql@16.11.0) + graphql: 16.11.0 - '@graphql-tools/executor-common@0.0.4(graphql@16.10.0)': + '@graphql-tools/executor-common@0.0.6(graphql@16.11.0)': dependencies: - '@envelop/core': 5.2.3 - '@graphql-tools/utils': 10.8.6(graphql@16.10.0) - graphql: 16.10.0 + '@envelop/core': 5.3.1 + '@graphql-tools/utils': 10.9.1(graphql@16.11.0) + graphql: 16.11.0 - '@graphql-tools/executor-graphql-ws@2.0.5(bufferutil@4.0.9)(graphql@16.10.0)(utf-8-validate@5.0.10)': + '@graphql-tools/executor-graphql-ws@2.0.7(graphql@16.11.0)': dependencies: - '@graphql-tools/executor-common': 0.0.4(graphql@16.10.0) - '@graphql-tools/utils': 10.8.6(graphql@16.10.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.10.0 - graphql-ws: 6.0.5(graphql@16.10.0)(ws@8.18.1(bufferutil@4.0.9)(utf-8-validate@5.0.10)) - isomorphic-ws: 5.0.0(ws@8.18.1(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + graphql: 16.11.0 + graphql-ws: 6.0.6(graphql@16.11.0)(ws@8.18.3) + isomorphic-ws: 5.0.0(ws@8.18.3) tslib: 2.8.1 - ws: 8.18.1(bufferutil@4.0.9)(utf-8-validate@5.0.10) + ws: 8.18.3 transitivePeerDependencies: - '@fastify/websocket' - bufferutil @@ -7878,47 +7594,63 @@ snapshots: - uWebSockets.js - utf-8-validate - '@graphql-tools/executor-http@1.3.1(@types/node@20.11.5)(graphql@16.10.0)': + '@graphql-tools/executor-http@1.3.3(@types/node@20.11.5)(graphql@16.11.0)': dependencies: - '@graphql-tools/executor-common': 0.0.4(graphql@16.10.0) - '@graphql-tools/utils': 10.8.6(graphql@16.10.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.5 - '@whatwg-node/promise-helpers': 1.3.0 - graphql: 16.10.0 - meros: 1.3.0(@types/node@20.11.5) + '@whatwg-node/fetch': 0.10.10 + '@whatwg-node/promise-helpers': 1.3.2 + graphql: 16.11.0 + meros: 1.3.2(@types/node@20.11.5) tslib: 2.8.1 transitivePeerDependencies: - '@types/node' - '@graphql-tools/executor-legacy-ws@1.1.17(bufferutil@4.0.9)(graphql@16.10.0)(utf-8-validate@5.0.10)': + '@graphql-tools/executor-http@1.3.3(@types/node@22.7.5)(graphql@16.11.0)': dependencies: - '@graphql-tools/utils': 10.8.6(graphql@16.10.0) - '@types/ws': 8.18.0 - graphql: 16.10.0 - isomorphic-ws: 5.0.0(ws@8.18.1(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + '@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.10 + '@whatwg-node/promise-helpers': 1.3.2 + graphql: 16.11.0 + meros: 1.3.2(@types/node@22.7.5) tslib: 2.8.1 - ws: 8.18.1(bufferutil@4.0.9)(utf-8-validate@5.0.10) + transitivePeerDependencies: + - '@types/node' + + '@graphql-tools/executor-legacy-ws@1.1.19(graphql@16.11.0)': + dependencies: + '@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) + tslib: 2.8.1 + ws: 8.18.3 transitivePeerDependencies: - bufferutil - utf-8-validate - '@graphql-tools/executor@1.4.6(graphql@16.10.0)': + '@graphql-tools/executor@1.4.9(graphql@16.11.0)': dependencies: - '@graphql-tools/utils': 10.8.6(graphql@16.10.0) - '@graphql-typed-document-node/core': 3.2.0(graphql@16.10.0) + '@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.0 - graphql: 16.10.0 + '@whatwg-node/promise-helpers': 1.3.2 + graphql: 16.11.0 tslib: 2.8.1 - '@graphql-tools/git-loader@8.0.24(graphql@16.10.0)': + '@graphql-tools/git-loader@8.0.26(graphql@16.11.0)': dependencies: - '@graphql-tools/graphql-tag-pluck': 8.3.19(graphql@16.10.0) - '@graphql-tools/utils': 10.8.6(graphql@16.10.0) - graphql: 16.10.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 @@ -7926,92 +7658,111 @@ snapshots: transitivePeerDependencies: - supports-color - '@graphql-tools/github-loader@8.0.20(@types/node@20.11.5)(graphql@16.10.0)': + '@graphql-tools/github-loader@8.0.22(@types/node@20.11.5)(graphql@16.11.0)': + dependencies: + '@graphql-tools/executor-http': 1.3.3(@types/node@20.11.5)(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.10 + '@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 + + '@graphql-tools/github-loader@8.0.22(@types/node@22.7.5)(graphql@16.11.0)': dependencies: - '@graphql-tools/executor-http': 1.3.1(@types/node@20.11.5)(graphql@16.10.0) - '@graphql-tools/graphql-tag-pluck': 8.3.19(graphql@16.10.0) - '@graphql-tools/utils': 10.8.6(graphql@16.10.0) - '@whatwg-node/fetch': 0.10.5 - '@whatwg-node/promise-helpers': 1.3.0 - graphql: 16.10.0 + '@graphql-tools/executor-http': 1.3.3(@types/node@22.7.5)(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.10 + '@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 - '@graphql-tools/graphql-file-loader@8.0.19(graphql@16.10.0)': + '@graphql-tools/graphql-file-loader@8.1.1(graphql@16.11.0)': dependencies: - '@graphql-tools/import': 7.0.18(graphql@16.10.0) - '@graphql-tools/utils': 10.8.6(graphql@16.10.0) + '@graphql-tools/import': 7.1.1(graphql@16.11.0) + '@graphql-tools/utils': 10.9.1(graphql@16.11.0) globby: 11.1.0 - graphql: 16.10.0 + graphql: 16.11.0 tslib: 2.8.1 unixify: 1.0.0 + transitivePeerDependencies: + - supports-color - '@graphql-tools/graphql-tag-pluck@8.3.19(graphql@16.10.0)': + '@graphql-tools/graphql-tag-pluck@8.3.21(graphql@16.11.0)': dependencies: - '@babel/core': 7.26.10 - '@babel/parser': 7.26.10 - '@babel/plugin-syntax-import-assertions': 7.26.0(@babel/core@7.26.10) - '@babel/traverse': 7.26.10 - '@babel/types': 7.26.10 - '@graphql-tools/utils': 10.8.6(graphql@16.10.0) - graphql: 16.10.0 + '@babel/core': 7.28.4 + '@babel/parser': 7.28.4 + '@babel/plugin-syntax-import-assertions': 7.27.1(@babel/core@7.28.4) + '@babel/traverse': 7.28.4 + '@babel/types': 7.28.4 + '@graphql-tools/utils': 10.9.1(graphql@16.11.0) + graphql: 16.11.0 tslib: 2.8.1 transitivePeerDependencies: - supports-color - '@graphql-tools/import@7.0.18(graphql@16.10.0)': + '@graphql-tools/import@7.1.1(graphql@16.11.0)': dependencies: - '@graphql-tools/utils': 10.8.6(graphql@16.10.0) - graphql: 16.10.0 + '@graphql-tools/utils': 10.9.1(graphql@16.11.0) + '@theguild/federation-composition': 0.19.1(graphql@16.11.0) + graphql: 16.11.0 resolve-from: 5.0.0 tslib: 2.8.1 + transitivePeerDependencies: + - supports-color - '@graphql-tools/json-file-loader@8.0.18(graphql@16.10.0)': + '@graphql-tools/json-file-loader@8.0.20(graphql@16.11.0)': dependencies: - '@graphql-tools/utils': 10.8.6(graphql@16.10.0) + '@graphql-tools/utils': 10.9.1(graphql@16.11.0) globby: 11.1.0 - graphql: 16.10.0 + graphql: 16.11.0 tslib: 2.8.1 unixify: 1.0.0 - '@graphql-tools/load@8.0.19(graphql@16.10.0)': + '@graphql-tools/load@8.1.2(graphql@16.11.0)': dependencies: - '@graphql-tools/schema': 10.0.23(graphql@16.10.0) - '@graphql-tools/utils': 10.8.6(graphql@16.10.0) - graphql: 16.10.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 - '@graphql-tools/merge@9.0.24(graphql@16.10.0)': + '@graphql-tools/merge@9.1.1(graphql@16.11.0)': dependencies: - '@graphql-tools/utils': 10.8.6(graphql@16.10.0) - graphql: 16.10.0 + '@graphql-tools/utils': 10.9.1(graphql@16.11.0) + graphql: 16.11.0 tslib: 2.8.1 - '@graphql-tools/optimize@1.4.0(graphql@16.10.0)': + '@graphql-tools/optimize@1.4.0(graphql@16.11.0)': dependencies: - graphql: 16.10.0 + graphql: 16.11.0 tslib: 2.8.1 - '@graphql-tools/optimize@2.0.0(graphql@16.10.0)': + '@graphql-tools/optimize@2.0.0(graphql@16.11.0)': dependencies: - graphql: 16.10.0 + graphql: 16.11.0 tslib: 2.8.1 - '@graphql-tools/prisma-loader@8.0.17(@types/node@20.11.5)(bufferutil@4.0.9)(graphql@16.10.0)(utf-8-validate@5.0.10)': + '@graphql-tools/prisma-loader@8.0.17(@types/node@20.11.5)(graphql@16.11.0)': dependencies: - '@graphql-tools/url-loader': 8.0.31(@types/node@20.11.5)(bufferutil@4.0.9)(graphql@16.10.0)(utf-8-validate@5.0.10) - '@graphql-tools/utils': 10.8.6(graphql@16.10.0) + '@graphql-tools/url-loader': 8.0.33(@types/node@20.11.5)(graphql@16.11.0) + '@graphql-tools/utils': 10.9.1(graphql@16.11.0) '@types/js-yaml': 4.0.9 - '@whatwg-node/fetch': 0.10.5 + '@whatwg-node/fetch': 0.10.10 chalk: 4.1.2 - debug: 4.4.0 - dotenv: 16.4.7 - graphql: 16.10.0 - graphql-request: 6.1.0(graphql@16.10.0) + debug: 4.4.3 + dotenv: 16.6.1 + graphql: 16.11.0 + graphql-request: 6.1.0(graphql@16.11.0) http-proxy-agent: 7.0.2 https-proxy-agent: 7.0.6 jose: 5.10.0 @@ -8030,47 +7781,76 @@ snapshots: - uWebSockets.js - utf-8-validate - '@graphql-tools/relay-operation-optimizer@6.5.18(graphql@16.10.0)': + '@graphql-tools/prisma-loader@8.0.17(@types/node@22.7.5)(graphql@16.11.0)': dependencies: - '@ardatan/relay-compiler': 12.0.0(graphql@16.10.0) - '@graphql-tools/utils': 9.2.1(graphql@16.10.0) - graphql: 16.10.0 + '@graphql-tools/url-loader': 8.0.33(@types/node@22.7.5)(graphql@16.11.0) + '@graphql-tools/utils': 10.9.1(graphql@16.11.0) + '@types/js-yaml': 4.0.9 + '@whatwg-node/fetch': 0.10.10 + chalk: 4.1.2 + debug: 4.4.3 + dotenv: 16.6.1 + graphql: 16.11.0 + graphql-request: 6.1.0(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 - '@graphql-tools/relay-operation-optimizer@7.0.19(graphql@16.10.0)': + '@graphql-tools/relay-operation-optimizer@6.5.18(graphql@16.11.0)': dependencies: - '@ardatan/relay-compiler': 12.0.3(graphql@16.10.0) - '@graphql-tools/utils': 10.8.6(graphql@16.10.0) - graphql: 16.10.0 + '@ardatan/relay-compiler': 12.0.0(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 - '@graphql-tools/schema@10.0.23(graphql@16.10.0)': + '@graphql-tools/relay-operation-optimizer@7.0.21(graphql@16.11.0)': dependencies: - '@graphql-tools/merge': 9.0.24(graphql@16.10.0) - '@graphql-tools/utils': 10.8.6(graphql@16.10.0) - graphql: 16.10.0 + '@ardatan/relay-compiler': 12.0.3(graphql@16.11.0) + '@graphql-tools/utils': 10.9.1(graphql@16.11.0) + graphql: 16.11.0 tslib: 2.8.1 + transitivePeerDependencies: + - encoding - '@graphql-tools/url-loader@8.0.31(@types/node@20.11.5)(bufferutil@4.0.9)(graphql@16.10.0)(utf-8-validate@5.0.10)': - dependencies: - '@graphql-tools/executor-graphql-ws': 2.0.5(bufferutil@4.0.9)(graphql@16.10.0)(utf-8-validate@5.0.10) - '@graphql-tools/executor-http': 1.3.1(@types/node@20.11.5)(graphql@16.10.0) - '@graphql-tools/executor-legacy-ws': 1.1.17(bufferutil@4.0.9)(graphql@16.10.0)(utf-8-validate@5.0.10) - '@graphql-tools/utils': 10.8.6(graphql@16.10.0) - '@graphql-tools/wrap': 10.0.33(graphql@16.10.0) - '@types/ws': 8.18.0 - '@whatwg-node/fetch': 0.10.5 - '@whatwg-node/promise-helpers': 1.3.0 - graphql: 16.10.0 - isomorphic-ws: 5.0.0(ws@8.18.1(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + '@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 + + '@graphql-tools/url-loader@8.0.33(@types/node@20.11.5)(graphql@16.11.0)': + dependencies: + '@graphql-tools/executor-graphql-ws': 2.0.7(graphql@16.11.0) + '@graphql-tools/executor-http': 1.3.3(@types/node@20.11.5)(graphql@16.11.0) + '@graphql-tools/executor-legacy-ws': 1.1.19(graphql@16.11.0) + '@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.10 + '@whatwg-node/promise-helpers': 1.3.2 + graphql: 16.11.0 + isomorphic-ws: 5.0.0(ws@8.18.3) sync-fetch: 0.6.0-2 tslib: 2.8.1 - ws: 8.18.1(bufferutil@4.0.9)(utf-8-validate@5.0.10) + ws: 8.18.3 transitivePeerDependencies: - '@fastify/websocket' - '@types/node' @@ -8079,52 +7859,70 @@ snapshots: - uWebSockets.js - utf-8-validate - '@graphql-tools/utils@10.8.6(graphql@16.10.0)': - dependencies: - '@graphql-typed-document-node/core': 3.2.0(graphql@16.10.0) - '@whatwg-node/promise-helpers': 1.3.0 - cross-inspect: 1.0.1 - dset: 3.1.4 - graphql: 16.10.0 + '@graphql-tools/url-loader@8.0.33(@types/node@22.7.5)(graphql@16.11.0)': + dependencies: + '@graphql-tools/executor-graphql-ws': 2.0.7(graphql@16.11.0) + '@graphql-tools/executor-http': 1.3.3(@types/node@22.7.5)(graphql@16.11.0) + '@graphql-tools/executor-legacy-ws': 1.1.19(graphql@16.11.0) + '@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.10 + '@whatwg-node/promise-helpers': 1.3.2 + graphql: 16.11.0 + isomorphic-ws: 5.0.0(ws@8.18.3) + sync-fetch: 0.6.0-2 tslib: 2.8.1 + ws: 8.18.3 + transitivePeerDependencies: + - '@fastify/websocket' + - '@types/node' + - bufferutil + - crossws + - uWebSockets.js + - utf-8-validate - '@graphql-tools/utils@8.13.1(graphql@16.10.0)': + '@graphql-tools/utils@10.9.1(graphql@16.11.0)': dependencies: - graphql: 16.10.0 + '@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 tslib: 2.8.1 - '@graphql-tools/utils@9.2.1(graphql@16.10.0)': + '@graphql-tools/utils@9.2.1(graphql@16.11.0)': dependencies: - '@graphql-typed-document-node/core': 3.2.0(graphql@16.10.0) - graphql: 16.10.0 + '@graphql-typed-document-node/core': 3.2.0(graphql@16.11.0) + graphql: 16.11.0 tslib: 2.8.1 - '@graphql-tools/wrap@10.0.33(graphql@16.10.0)': + '@graphql-tools/wrap@10.1.4(graphql@16.11.0)': dependencies: - '@graphql-tools/delegate': 10.2.15(graphql@16.10.0) - '@graphql-tools/schema': 10.0.23(graphql@16.10.0) - '@graphql-tools/utils': 10.8.6(graphql@16.10.0) - '@whatwg-node/promise-helpers': 1.3.0 - graphql: 16.10.0 + '@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.10.0)': + '@graphql-typed-document-node/core@3.2.0(graphql@16.11.0)': dependencies: - graphql: 16.10.0 + graphql: 16.11.0 - '@hookform/resolvers@3.10.0(react-hook-form@7.54.2(react@18.2.0))': + '@hookform/resolvers@3.10.0(react-hook-form@7.62.0(react@18.2.0))': dependencies: - react-hook-form: 7.54.2(react@18.2.0) + react-hook-form: 7.62.0(react@18.2.0) '@ianvs/prettier-plugin-sort-imports@4.1.1(@vue/compiler-sfc@3.3.4)(prettier@3.2.4)': dependencies: - '@babel/core': 7.26.10 - '@babel/generator': 7.26.10 - '@babel/parser': 7.26.10 - '@babel/traverse': 7.26.10 - '@babel/types': 7.26.10 + '@babel/core': 7.28.4 + '@babel/generator': 7.28.3 + '@babel/parser': 7.28.4 + '@babel/traverse': 7.28.4 + '@babel/types': 7.28.4 prettier: 3.2.4 - semver: 7.7.1 + semver: 7.7.2 optionalDependencies: '@vue/compiler-sfc': 3.3.4 transitivePeerDependencies: @@ -8196,7 +7994,7 @@ snapshots: '@img/sharp-wasm32@0.33.5': dependencies: - '@emnapi/runtime': 1.3.1 + '@emnapi/runtime': 1.5.0 optional: true '@img/sharp-win32-ia32@0.33.5': @@ -8205,119 +8003,135 @@ snapshots: '@img/sharp-win32-x64@0.33.5': optional: true - '@inquirer/checkbox@4.1.4(@types/node@20.11.5)': + '@inquirer/ansi@1.0.0': {} + + '@inquirer/checkbox@4.2.4(@types/node@20.11.5)': dependencies: - '@inquirer/core': 10.1.9(@types/node@20.11.5) - '@inquirer/figures': 1.0.11 - '@inquirer/type': 3.0.5(@types/node@20.11.5) - ansi-escapes: 4.3.2 - yoctocolors-cjs: 2.1.2 + '@inquirer/ansi': 1.0.0 + '@inquirer/core': 10.2.2(@types/node@20.11.5) + '@inquirer/figures': 1.0.13 + '@inquirer/type': 3.0.8(@types/node@20.11.5) + yoctocolors-cjs: 2.1.3 optionalDependencies: '@types/node': 20.11.5 - '@inquirer/confirm@5.1.8(@types/node@20.11.5)': + '@inquirer/confirm@5.1.18(@types/node@20.11.5)': dependencies: - '@inquirer/core': 10.1.9(@types/node@20.11.5) - '@inquirer/type': 3.0.5(@types/node@20.11.5) + '@inquirer/core': 10.2.2(@types/node@20.11.5) + '@inquirer/type': 3.0.8(@types/node@20.11.5) optionalDependencies: '@types/node': 20.11.5 - '@inquirer/core@10.1.9(@types/node@20.11.5)': + '@inquirer/core@10.2.2(@types/node@20.11.5)': dependencies: - '@inquirer/figures': 1.0.11 - '@inquirer/type': 3.0.5(@types/node@20.11.5) - ansi-escapes: 4.3.2 + '@inquirer/ansi': 1.0.0 + '@inquirer/figures': 1.0.13 + '@inquirer/type': 3.0.8(@types/node@20.11.5) cli-width: 4.1.0 mute-stream: 2.0.0 signal-exit: 4.1.0 wrap-ansi: 6.2.0 - yoctocolors-cjs: 2.1.2 + yoctocolors-cjs: 2.1.3 optionalDependencies: '@types/node': 20.11.5 - '@inquirer/editor@4.2.9(@types/node@20.11.5)': + '@inquirer/editor@4.2.20(@types/node@20.11.5)': dependencies: - '@inquirer/core': 10.1.9(@types/node@20.11.5) - '@inquirer/type': 3.0.5(@types/node@20.11.5) - external-editor: 3.1.0 + '@inquirer/core': 10.2.2(@types/node@20.11.5) + '@inquirer/external-editor': 1.0.2(@types/node@20.11.5) + '@inquirer/type': 3.0.8(@types/node@20.11.5) optionalDependencies: '@types/node': 20.11.5 - '@inquirer/expand@4.0.11(@types/node@20.11.5)': + '@inquirer/expand@4.0.20(@types/node@20.11.5)': dependencies: - '@inquirer/core': 10.1.9(@types/node@20.11.5) - '@inquirer/type': 3.0.5(@types/node@20.11.5) - yoctocolors-cjs: 2.1.2 + '@inquirer/core': 10.2.2(@types/node@20.11.5) + '@inquirer/type': 3.0.8(@types/node@20.11.5) + yoctocolors-cjs: 2.1.3 optionalDependencies: '@types/node': 20.11.5 - '@inquirer/figures@1.0.11': {} + '@inquirer/external-editor@1.0.2(@types/node@20.11.5)': + dependencies: + chardet: 2.1.0 + iconv-lite: 0.7.0 + optionalDependencies: + '@types/node': 20.11.5 - '@inquirer/input@4.1.8(@types/node@20.11.5)': + '@inquirer/external-editor@1.0.2(@types/node@22.7.5)': dependencies: - '@inquirer/core': 10.1.9(@types/node@20.11.5) - '@inquirer/type': 3.0.5(@types/node@20.11.5) + chardet: 2.1.0 + iconv-lite: 0.7.0 + optionalDependencies: + '@types/node': 22.7.5 + + '@inquirer/figures@1.0.13': {} + + '@inquirer/input@4.2.4(@types/node@20.11.5)': + dependencies: + '@inquirer/core': 10.2.2(@types/node@20.11.5) + '@inquirer/type': 3.0.8(@types/node@20.11.5) optionalDependencies: '@types/node': 20.11.5 - '@inquirer/number@3.0.11(@types/node@20.11.5)': + '@inquirer/number@3.0.20(@types/node@20.11.5)': dependencies: - '@inquirer/core': 10.1.9(@types/node@20.11.5) - '@inquirer/type': 3.0.5(@types/node@20.11.5) + '@inquirer/core': 10.2.2(@types/node@20.11.5) + '@inquirer/type': 3.0.8(@types/node@20.11.5) optionalDependencies: '@types/node': 20.11.5 - '@inquirer/password@4.0.11(@types/node@20.11.5)': + '@inquirer/password@4.0.20(@types/node@20.11.5)': dependencies: - '@inquirer/core': 10.1.9(@types/node@20.11.5) - '@inquirer/type': 3.0.5(@types/node@20.11.5) - ansi-escapes: 4.3.2 + '@inquirer/ansi': 1.0.0 + '@inquirer/core': 10.2.2(@types/node@20.11.5) + '@inquirer/type': 3.0.8(@types/node@20.11.5) optionalDependencies: '@types/node': 20.11.5 - '@inquirer/prompts@7.4.0(@types/node@20.11.5)': - dependencies: - '@inquirer/checkbox': 4.1.4(@types/node@20.11.5) - '@inquirer/confirm': 5.1.8(@types/node@20.11.5) - '@inquirer/editor': 4.2.9(@types/node@20.11.5) - '@inquirer/expand': 4.0.11(@types/node@20.11.5) - '@inquirer/input': 4.1.8(@types/node@20.11.5) - '@inquirer/number': 3.0.11(@types/node@20.11.5) - '@inquirer/password': 4.0.11(@types/node@20.11.5) - '@inquirer/rawlist': 4.0.11(@types/node@20.11.5) - '@inquirer/search': 3.0.11(@types/node@20.11.5) - '@inquirer/select': 4.1.0(@types/node@20.11.5) + '@inquirer/prompts@7.8.6(@types/node@20.11.5)': + dependencies: + '@inquirer/checkbox': 4.2.4(@types/node@20.11.5) + '@inquirer/confirm': 5.1.18(@types/node@20.11.5) + '@inquirer/editor': 4.2.20(@types/node@20.11.5) + '@inquirer/expand': 4.0.20(@types/node@20.11.5) + '@inquirer/input': 4.2.4(@types/node@20.11.5) + '@inquirer/number': 3.0.20(@types/node@20.11.5) + '@inquirer/password': 4.0.20(@types/node@20.11.5) + '@inquirer/rawlist': 4.1.8(@types/node@20.11.5) + '@inquirer/search': 3.1.3(@types/node@20.11.5) + '@inquirer/select': 4.3.4(@types/node@20.11.5) optionalDependencies: '@types/node': 20.11.5 - '@inquirer/rawlist@4.0.11(@types/node@20.11.5)': + '@inquirer/rawlist@4.1.8(@types/node@20.11.5)': dependencies: - '@inquirer/core': 10.1.9(@types/node@20.11.5) - '@inquirer/type': 3.0.5(@types/node@20.11.5) - yoctocolors-cjs: 2.1.2 + '@inquirer/core': 10.2.2(@types/node@20.11.5) + '@inquirer/type': 3.0.8(@types/node@20.11.5) + yoctocolors-cjs: 2.1.3 optionalDependencies: '@types/node': 20.11.5 - '@inquirer/search@3.0.11(@types/node@20.11.5)': + '@inquirer/search@3.1.3(@types/node@20.11.5)': dependencies: - '@inquirer/core': 10.1.9(@types/node@20.11.5) - '@inquirer/figures': 1.0.11 - '@inquirer/type': 3.0.5(@types/node@20.11.5) - yoctocolors-cjs: 2.1.2 + '@inquirer/core': 10.2.2(@types/node@20.11.5) + '@inquirer/figures': 1.0.13 + '@inquirer/type': 3.0.8(@types/node@20.11.5) + yoctocolors-cjs: 2.1.3 optionalDependencies: '@types/node': 20.11.5 - '@inquirer/select@4.1.0(@types/node@20.11.5)': + '@inquirer/select@4.3.4(@types/node@20.11.5)': dependencies: - '@inquirer/core': 10.1.9(@types/node@20.11.5) - '@inquirer/figures': 1.0.11 - '@inquirer/type': 3.0.5(@types/node@20.11.5) - ansi-escapes: 4.3.2 - yoctocolors-cjs: 2.1.2 + '@inquirer/ansi': 1.0.0 + '@inquirer/core': 10.2.2(@types/node@20.11.5) + '@inquirer/figures': 1.0.13 + '@inquirer/type': 3.0.8(@types/node@20.11.5) + yoctocolors-cjs: 2.1.3 optionalDependencies: '@types/node': 20.11.5 - '@inquirer/type@3.0.5(@types/node@20.11.5)': + '@inquirer/type@3.0.8(@types/node@20.11.5)': optionalDependencies: '@types/node': 20.11.5 @@ -8325,7 +8139,7 @@ snapshots: dependencies: string-width: 5.1.2 string-width-cjs: string-width@4.2.3 - strip-ansi: 7.1.0 + strip-ansi: 7.1.2 strip-ansi-cjs: strip-ansi@6.0.1 wrap-ansi: 8.1.0 wrap-ansi-cjs: wrap-ansi@7.0.0 @@ -8334,22 +8148,24 @@ snapshots: dependencies: '@sinclair/typebox': 0.27.8 - '@jridgewell/gen-mapping@0.3.8': + '@jridgewell/gen-mapping@0.3.13': dependencies: - '@jridgewell/set-array': 1.2.1 - '@jridgewell/sourcemap-codec': 1.5.0 - '@jridgewell/trace-mapping': 0.3.25 + '@jridgewell/sourcemap-codec': 1.5.5 + '@jridgewell/trace-mapping': 0.3.31 - '@jridgewell/resolve-uri@3.1.2': {} + '@jridgewell/remapping@2.3.5': + dependencies: + '@jridgewell/gen-mapping': 0.3.13 + '@jridgewell/trace-mapping': 0.3.31 - '@jridgewell/set-array@1.2.1': {} + '@jridgewell/resolve-uri@3.1.2': {} - '@jridgewell/sourcemap-codec@1.5.0': {} + '@jridgewell/sourcemap-codec@1.5.5': {} - '@jridgewell/trace-mapping@0.3.25': + '@jridgewell/trace-mapping@0.3.31': dependencies: '@jridgewell/resolve-uri': 3.1.2 - '@jridgewell/sourcemap-codec': 1.5.0 + '@jridgewell/sourcemap-codec': 1.5.5 '@lezer/common@0.15.12': {} @@ -8447,18 +8263,18 @@ snapshots: '@metamask/safe-event-emitter@3.1.2': {} - '@metamask/superstruct@3.1.0': {} + '@metamask/superstruct@3.2.1': {} '@metamask/utils@8.5.0': dependencies: '@ethereumjs/tx': 4.2.0 - '@metamask/superstruct': 3.1.0 - '@noble/hashes': 1.7.1 - '@scure/base': 1.2.4 + '@metamask/superstruct': 3.2.1 + '@noble/hashes': 1.8.0 + '@scure/base': 1.2.6 '@types/debug': 4.1.12 - debug: 4.4.0 + debug: 4.4.3 pony-cause: 2.1.11 - semver: 7.7.1 + semver: 7.7.2 uuid: 9.0.1 transitivePeerDependencies: - supports-color @@ -8466,13 +8282,13 @@ snapshots: '@metamask/utils@9.3.0': dependencies: '@ethereumjs/tx': 4.2.0 - '@metamask/superstruct': 3.1.0 - '@noble/hashes': 1.7.1 - '@scure/base': 1.2.4 + '@metamask/superstruct': 3.2.1 + '@noble/hashes': 1.8.0 + '@scure/base': 1.2.6 '@types/debug': 4.1.12 - debug: 4.4.0 + debug: 4.4.3 pony-cause: 2.1.11 - semver: 7.7.1 + semver: 7.7.2 uuid: 9.0.1 transitivePeerDependencies: - supports-color @@ -8507,6 +8323,8 @@ snapshots: '@msgpackr-extract/msgpackr-extract-win32-x64@3.0.3': optional: true + '@noble/ciphers@1.3.0': {} + '@noble/curves@1.2.0': dependencies: '@noble/hashes': 1.3.2 @@ -8515,23 +8333,15 @@ snapshots: dependencies: '@noble/hashes': 1.4.0 - '@noble/curves@1.7.0': - dependencies: - '@noble/hashes': 1.6.0 - - '@noble/curves@1.8.1': + '@noble/curves@1.9.1': dependencies: - '@noble/hashes': 1.7.1 + '@noble/hashes': 1.8.0 '@noble/hashes@1.3.2': {} '@noble/hashes@1.4.0': {} - '@noble/hashes@1.6.0': {} - - '@noble/hashes@1.6.1': {} - - '@noble/hashes@1.7.1': {} + '@noble/hashes@1.8.0': {} '@nodelib/fs.scandir@2.1.5': dependencies: @@ -8586,7 +8396,7 @@ snapshots: transitivePeerDependencies: - '@parcel/core' - '@parcel/config-default@2.9.3(@parcel/core@2.9.3)(@swc/helpers@0.5.15)(postcss@8.4.31)(typescript@5.2.2)': + '@parcel/config-default@2.9.3(@parcel/core@2.9.3)(@swc/helpers@0.5.17)(postcss@8.4.31)(typescript@5.2.2)': dependencies: '@parcel/bundler-default': 2.9.3(@parcel/core@2.9.3) '@parcel/compressor-raw': 2.9.3(@parcel/core@2.9.3) @@ -8596,7 +8406,7 @@ snapshots: '@parcel/optimizer-htmlnano': 2.9.3(@parcel/core@2.9.3)(postcss@8.4.31)(typescript@5.2.2) '@parcel/optimizer-image': 2.9.3(@parcel/core@2.9.3) '@parcel/optimizer-svgo': 2.9.3(@parcel/core@2.9.3) - '@parcel/optimizer-swc': 2.9.3(@parcel/core@2.9.3)(@swc/helpers@0.5.15) + '@parcel/optimizer-swc': 2.9.3(@parcel/core@2.9.3)(@swc/helpers@0.5.17) '@parcel/packager-css': 2.9.3(@parcel/core@2.9.3) '@parcel/packager-html': 2.9.3(@parcel/core@2.9.3) '@parcel/packager-js': 2.9.3(@parcel/core@2.9.3) @@ -8649,12 +8459,12 @@ snapshots: '@parcel/workers': 2.9.3(@parcel/core@2.9.3) abortcontroller-polyfill: 1.7.8 base-x: 3.0.11 - browserslist: 4.24.4 + browserslist: 4.26.0 clone: 2.1.2 dotenv: 7.0.0 dotenv-expand: 5.1.0 json5: 2.2.3 - msgpackr: 1.11.2 + msgpackr: 1.11.5 nullthrows: 1.1.1 semver: 7.5.4 @@ -8752,8 +8562,8 @@ snapshots: '@parcel/plugin': 2.9.3(@parcel/core@2.9.3) '@parcel/source-map': 2.1.1 '@parcel/utils': 2.9.3 - browserslist: 4.24.4 - lightningcss: 1.29.3 + browserslist: 4.26.0 + lightningcss: 1.30.1 nullthrows: 1.1.1 transitivePeerDependencies: - '@parcel/core' @@ -8770,7 +8580,7 @@ snapshots: '@parcel/optimizer-htmlnano@2.9.3(@parcel/core@2.9.3)(postcss@8.4.31)(typescript@5.2.2)': dependencies: '@parcel/plugin': 2.9.3(@parcel/core@2.9.3) - htmlnano: 2.1.1(postcss@8.4.31)(svgo@2.8.0)(typescript@5.2.2) + htmlnano: 2.1.4(postcss@8.4.31)(svgo@2.8.0)(typescript@5.2.2) nullthrows: 1.1.1 posthtml: 0.16.6 svgo: 2.8.0 @@ -8802,13 +8612,13 @@ snapshots: transitivePeerDependencies: - '@parcel/core' - '@parcel/optimizer-swc@2.9.3(@parcel/core@2.9.3)(@swc/helpers@0.5.15)': + '@parcel/optimizer-swc@2.9.3(@parcel/core@2.9.3)(@swc/helpers@0.5.17)': dependencies: '@parcel/diagnostic': 2.9.3 '@parcel/plugin': 2.9.3(@parcel/core@2.9.3) '@parcel/source-map': 2.1.1 '@parcel/utils': 2.9.3 - '@swc/core': 1.11.11(@swc/helpers@0.5.15) + '@swc/core': 1.13.5(@swc/helpers@0.5.17) nullthrows: 1.1.1 transitivePeerDependencies: - '@parcel/core' @@ -8973,7 +8783,7 @@ snapshots: '@parcel/plugin': 2.9.3(@parcel/core@2.9.3) '@parcel/source-map': 2.1.1 '@parcel/utils': 2.9.3 - browserslist: 4.24.4 + browserslist: 4.26.0 json5: 2.2.3 nullthrows: 1.1.1 semver: 7.5.4 @@ -8986,8 +8796,8 @@ snapshots: '@parcel/plugin': 2.9.3(@parcel/core@2.9.3) '@parcel/source-map': 2.1.1 '@parcel/utils': 2.9.3 - browserslist: 4.24.4 - lightningcss: 1.29.3 + browserslist: 4.26.0 + lightningcss: 1.30.1 nullthrows: 1.1.1 transitivePeerDependencies: - '@parcel/core' @@ -9036,8 +8846,8 @@ snapshots: '@parcel/source-map': 2.1.1 '@parcel/utils': 2.9.3 '@parcel/workers': 2.9.3(@parcel/core@2.9.3) - '@swc/helpers': 0.5.15 - browserslist: 4.24.4 + '@swc/helpers': 0.5.17 + browserslist: 4.26.0 nullthrows: 1.1.1 regenerator-runtime: 0.13.11 semver: 7.5.4 @@ -9053,7 +8863,7 @@ snapshots: dependencies: '@parcel/plugin': 2.9.3(@parcel/core@2.9.3) '@parcel/source-map': 2.1.1 - less: 4.2.2 + less: 4.4.1 transitivePeerDependencies: - '@parcel/core' @@ -9100,7 +8910,7 @@ snapshots: dependencies: '@parcel/plugin': 2.9.3(@parcel/core@2.9.3) '@parcel/source-map': 2.1.1 - sass: 1.86.0 + sass: 1.92.1 transitivePeerDependencies: - '@parcel/core' @@ -9335,10 +9145,10 @@ snapshots: transitivePeerDependencies: - '@parcel/core' - '@plasmohq/parcel-config@0.42.0(@swc/core@1.11.11(@swc/helpers@0.5.15))(@swc/helpers@0.5.15)(lodash@4.17.21)(postcss@8.4.31)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.2.2)': + '@plasmohq/parcel-config@0.42.0(@swc/core@1.13.5(@swc/helpers@0.5.17))(@swc/helpers@0.5.17)(lodash@4.17.21)(postcss@8.4.31)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.2.2)': dependencies: '@parcel/compressor-raw': 2.9.3(@parcel/core@2.9.3) - '@parcel/config-default': 2.9.3(@parcel/core@2.9.3)(@swc/helpers@0.5.15)(postcss@8.4.31)(typescript@5.2.2) + '@parcel/config-default': 2.9.3(@parcel/core@2.9.3)(@swc/helpers@0.5.17)(postcss@8.4.31)(typescript@5.2.2) '@parcel/core': 2.9.3 '@parcel/optimizer-data-url': 2.9.3(@parcel/core@2.9.3) '@parcel/reporter-bundle-buddy': 2.9.3(@parcel/core@2.9.3) @@ -9362,10 +9172,10 @@ snapshots: '@plasmohq/parcel-compressor-utf8': 0.1.1(@parcel/core@2.9.3) '@plasmohq/parcel-namer-manifest': 0.3.12 '@plasmohq/parcel-optimizer-encapsulate': 0.0.8 - '@plasmohq/parcel-optimizer-es': 0.4.1(@swc/helpers@0.5.15) + '@plasmohq/parcel-optimizer-es': 0.4.1(@swc/helpers@0.5.17) '@plasmohq/parcel-packager': 0.6.15 '@plasmohq/parcel-resolver': 0.14.1 - '@plasmohq/parcel-resolver-post': 0.4.5(@swc/core@1.11.11(@swc/helpers@0.5.15))(postcss@8.4.31) + '@plasmohq/parcel-resolver-post': 0.4.5(@swc/core@1.13.5(@swc/helpers@0.5.17))(postcss@8.4.31) '@plasmohq/parcel-runtime': 0.25.2 '@plasmohq/parcel-transformer-inject-env': 0.2.12 '@plasmohq/parcel-transformer-inline-css': 0.3.11 @@ -9466,13 +9276,13 @@ snapshots: '@parcel/source-map': 2.1.1 '@parcel/types': 2.9.3(@parcel/core@2.9.3) - '@plasmohq/parcel-optimizer-es@0.4.1(@swc/helpers@0.5.15)': + '@plasmohq/parcel-optimizer-es@0.4.1(@swc/helpers@0.5.17)': dependencies: '@parcel/core': 2.9.3 '@parcel/plugin': 2.9.3(@parcel/core@2.9.3) '@parcel/source-map': 2.1.1 '@parcel/utils': 2.9.3 - '@swc/core': 1.3.96(@swc/helpers@0.5.15) + '@swc/core': 1.3.96(@swc/helpers@0.5.17) nullthrows: 1.1.1 transitivePeerDependencies: - '@swc/helpers' @@ -9485,14 +9295,14 @@ snapshots: '@parcel/utils': 2.9.3 nullthrows: 1.1.1 - '@plasmohq/parcel-resolver-post@0.4.5(@swc/core@1.11.11(@swc/helpers@0.5.15))(postcss@8.4.31)': + '@plasmohq/parcel-resolver-post@0.4.5(@swc/core@1.13.5(@swc/helpers@0.5.17))(postcss@8.4.31)': dependencies: '@parcel/core': 2.9.3 '@parcel/hash': 2.9.3 '@parcel/plugin': 2.9.3(@parcel/core@2.9.3) '@parcel/types': 2.9.3(@parcel/core@2.9.3) '@parcel/utils': 2.9.3 - tsup: 7.2.0(@swc/core@1.11.11(@swc/helpers@0.5.15))(postcss@8.4.31)(typescript@5.2.2) + tsup: 7.2.0(@swc/core@1.13.5(@swc/helpers@0.5.17))(postcss@8.4.31)(typescript@5.2.2) typescript: 5.2.2 transitivePeerDependencies: - '@swc/core' @@ -9632,55 +9442,35 @@ snapshots: '@pnpm/network.ca-file': 1.0.2 config-chain: 1.1.13 - '@radix-ui/number@1.1.0': {} + '@radix-ui/number@1.1.1': {} - '@radix-ui/primitive@1.1.1': {} + '@radix-ui/primitive@1.1.3': {} - '@radix-ui/primitive@1.1.2': {} - - '@radix-ui/react-accordion@1.2.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': + '@radix-ui/react-accordion@1.2.12(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: - '@radix-ui/primitive': 1.1.1 - '@radix-ui/react-collapsible': 1.1.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-collection': 1.1.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-compose-refs': 1.1.1(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-context': 1.1.1(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-direction': 1.1.0(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-id': 1.1.0(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-primitive': 2.0.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-use-controllable-state': 1.1.0(@types/react@18.2.48)(react@18.2.0) - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - optionalDependencies: - '@types/react': 18.2.48 - '@types/react-dom': 18.2.18 - - '@radix-ui/react-alert-dialog@1.1.6(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': - dependencies: - '@radix-ui/primitive': 1.1.1 - '@radix-ui/react-compose-refs': 1.1.1(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-context': 1.1.1(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-dialog': 1.1.6(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-primitive': 2.0.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-slot': 1.1.2(@types/react@18.2.48)(react@18.2.0) - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - optionalDependencies: - '@types/react': 18.2.48 - '@types/react-dom': 18.2.18 - - '@radix-ui/react-arrow@1.1.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': - dependencies: - '@radix-ui/react-primitive': 2.0.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/primitive': 1.1.3 + '@radix-ui/react-collapsible': 1.1.12(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-collection': 1.1.7(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-compose-refs': 1.1.2(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-context': 1.1.2(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-direction': 1.1.1(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-id': 1.1.1(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-primitive': 2.1.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-use-controllable-state': 1.2.2(@types/react@18.2.48)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) optionalDependencies: '@types/react': 18.2.48 '@types/react-dom': 18.2.18 - '@radix-ui/react-arrow@1.1.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': + '@radix-ui/react-alert-dialog@1.1.15(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: - '@radix-ui/react-primitive': 2.0.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/primitive': 1.1.3 + '@radix-ui/react-compose-refs': 1.1.2(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-context': 1.1.2(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-dialog': 1.1.15(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-primitive': 2.1.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-slot': 1.2.3(@types/react@18.2.48)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) optionalDependencies: @@ -9696,59 +9486,44 @@ snapshots: '@types/react': 18.2.48 '@types/react-dom': 18.2.18 - '@radix-ui/react-avatar@1.1.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': + '@radix-ui/react-avatar@1.1.10(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: - '@radix-ui/react-context': 1.1.1(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-primitive': 2.0.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-use-callback-ref': 1.1.0(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-use-layout-effect': 1.1.0(@types/react@18.2.48)(react@18.2.0) - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - optionalDependencies: - '@types/react': 18.2.48 - '@types/react-dom': 18.2.18 - - '@radix-ui/react-checkbox@1.1.4(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': - dependencies: - '@radix-ui/primitive': 1.1.1 - '@radix-ui/react-compose-refs': 1.1.1(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-context': 1.1.1(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-presence': 1.1.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-primitive': 2.0.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-use-controllable-state': 1.1.0(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-use-previous': 1.1.0(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-use-size': 1.1.0(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-context': 1.1.2(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-primitive': 2.1.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-use-callback-ref': 1.1.1(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-use-is-hydrated': 0.1.0(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-use-layout-effect': 1.1.1(@types/react@18.2.48)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) optionalDependencies: '@types/react': 18.2.48 '@types/react-dom': 18.2.18 - '@radix-ui/react-collapsible@1.1.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': + '@radix-ui/react-checkbox@1.3.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: - '@radix-ui/primitive': 1.1.1 - '@radix-ui/react-compose-refs': 1.1.1(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-context': 1.1.1(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-id': 1.1.0(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-presence': 1.1.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-primitive': 2.0.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-use-controllable-state': 1.1.0(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-use-layout-effect': 1.1.0(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/primitive': 1.1.3 + '@radix-ui/react-compose-refs': 1.1.2(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-context': 1.1.2(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-presence': 1.1.5(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-primitive': 2.1.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-use-controllable-state': 1.2.2(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-use-previous': 1.1.1(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-use-size': 1.1.1(@types/react@18.2.48)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) optionalDependencies: '@types/react': 18.2.48 '@types/react-dom': 18.2.18 - '@radix-ui/react-collapsible@1.1.4(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': + '@radix-ui/react-collapsible@1.1.12(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: - '@radix-ui/primitive': 1.1.2 + '@radix-ui/primitive': 1.1.3 '@radix-ui/react-compose-refs': 1.1.2(@types/react@18.2.48)(react@18.2.0) '@radix-ui/react-context': 1.1.2(@types/react@18.2.48)(react@18.2.0) '@radix-ui/react-id': 1.1.1(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-presence': 1.1.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-primitive': 2.0.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-use-controllable-state': 1.1.1(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-presence': 1.1.5(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-primitive': 2.1.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-use-controllable-state': 1.2.2(@types/react@18.2.48)(react@18.2.0) '@radix-ui/react-use-layout-effect': 1.1.1(@types/react@18.2.48)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) @@ -9756,18 +9531,6 @@ snapshots: '@types/react': 18.2.48 '@types/react-dom': 18.2.18 - '@radix-ui/react-collection@1.1.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': - dependencies: - '@radix-ui/react-compose-refs': 1.1.1(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-context': 1.1.1(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-primitive': 2.0.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-slot': 1.1.2(@types/react@18.2.48)(react@18.2.0) - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - optionalDependencies: - '@types/react': 18.2.48 - '@types/react-dom': 18.2.18 - '@radix-ui/react-collection@1.1.7(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: '@radix-ui/react-compose-refs': 1.1.2(@types/react@18.2.48)(react@18.2.0) @@ -9780,109 +9543,65 @@ snapshots: '@types/react': 18.2.48 '@types/react-dom': 18.2.18 - '@radix-ui/react-compose-refs@1.1.1(@types/react@18.2.48)(react@18.2.0)': - dependencies: - react: 18.2.0 - optionalDependencies: - '@types/react': 18.2.48 - '@radix-ui/react-compose-refs@1.1.2(@types/react@18.2.48)(react@18.2.0)': dependencies: react: 18.2.0 optionalDependencies: '@types/react': 18.2.48 - '@radix-ui/react-context-menu@2.2.6(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': + '@radix-ui/react-context-menu@2.2.16(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: - '@radix-ui/primitive': 1.1.1 - '@radix-ui/react-context': 1.1.1(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-menu': 2.1.6(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-primitive': 2.0.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-use-callback-ref': 1.1.0(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-use-controllable-state': 1.1.0(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/primitive': 1.1.3 + '@radix-ui/react-context': 1.1.2(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-menu': 2.1.16(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-primitive': 2.1.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-use-callback-ref': 1.1.1(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-use-controllable-state': 1.2.2(@types/react@18.2.48)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) optionalDependencies: '@types/react': 18.2.48 '@types/react-dom': 18.2.18 - '@radix-ui/react-context@1.1.1(@types/react@18.2.48)(react@18.2.0)': - dependencies: - react: 18.2.0 - optionalDependencies: - '@types/react': 18.2.48 - '@radix-ui/react-context@1.1.2(@types/react@18.2.48)(react@18.2.0)': dependencies: react: 18.2.0 optionalDependencies: '@types/react': 18.2.48 - '@radix-ui/react-dialog@1.1.6(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': - dependencies: - '@radix-ui/primitive': 1.1.1 - '@radix-ui/react-compose-refs': 1.1.1(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-context': 1.1.1(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-dismissable-layer': 1.1.5(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-focus-guards': 1.1.1(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-focus-scope': 1.1.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-id': 1.1.0(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-portal': 1.1.4(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-presence': 1.1.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-primitive': 2.0.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-slot': 1.1.2(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-use-controllable-state': 1.1.0(@types/react@18.2.48)(react@18.2.0) - aria-hidden: 1.2.4 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - react-remove-scroll: 2.6.3(@types/react@18.2.48)(react@18.2.0) - optionalDependencies: - '@types/react': 18.2.48 - '@types/react-dom': 18.2.18 - - '@radix-ui/react-direction@1.1.0(@types/react@18.2.48)(react@18.2.0)': + '@radix-ui/react-dialog@1.1.15(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: - react: 18.2.0 - optionalDependencies: - '@types/react': 18.2.48 - - '@radix-ui/react-direction@1.1.1(@types/react@18.2.48)(react@18.2.0)': - dependencies: - react: 18.2.0 - optionalDependencies: - '@types/react': 18.2.48 - - '@radix-ui/react-dismissable-layer@1.1.10(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': - dependencies: - '@radix-ui/primitive': 1.1.2 + '@radix-ui/primitive': 1.1.3 '@radix-ui/react-compose-refs': 1.1.2(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-context': 1.1.2(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-dismissable-layer': 1.1.11(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-focus-guards': 1.1.3(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-focus-scope': 1.1.7(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-id': 1.1.1(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-portal': 1.1.9(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-presence': 1.1.5(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) '@radix-ui/react-primitive': 2.1.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-use-callback-ref': 1.1.1(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-use-escape-keydown': 1.1.1(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-slot': 1.2.3(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-use-controllable-state': 1.2.2(@types/react@18.2.48)(react@18.2.0) + aria-hidden: 1.2.6 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) + react-remove-scroll: 2.7.1(@types/react@18.2.48)(react@18.2.0) optionalDependencies: '@types/react': 18.2.48 '@types/react-dom': 18.2.18 - '@radix-ui/react-dismissable-layer@1.1.5(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': + '@radix-ui/react-direction@1.1.1(@types/react@18.2.48)(react@18.2.0)': dependencies: - '@radix-ui/primitive': 1.1.1 - '@radix-ui/react-compose-refs': 1.1.1(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-primitive': 2.0.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-use-callback-ref': 1.1.0(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-use-escape-keydown': 1.1.0(@types/react@18.2.48)(react@18.2.0) react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) optionalDependencies: '@types/react': 18.2.48 - '@types/react-dom': 18.2.18 - '@radix-ui/react-dismissable-layer@1.1.6(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': + '@radix-ui/react-dismissable-layer@1.1.11(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: - '@radix-ui/primitive': 1.1.2 + '@radix-ui/primitive': 1.1.3 '@radix-ui/react-compose-refs': 1.1.2(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-primitive': 2.0.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-primitive': 2.1.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) '@radix-ui/react-use-callback-ref': 1.1.1(@types/react@18.2.48)(react@18.2.0) '@radix-ui/react-use-escape-keydown': 1.1.1(@types/react@18.2.48)(react@18.2.0) react: 18.2.0 @@ -9891,13 +9610,13 @@ snapshots: '@types/react': 18.2.48 '@types/react-dom': 18.2.18 - '@radix-ui/react-dropdown-menu@2.1.15(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': + '@radix-ui/react-dropdown-menu@2.1.16(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: - '@radix-ui/primitive': 1.1.2 + '@radix-ui/primitive': 1.1.3 '@radix-ui/react-compose-refs': 1.1.2(@types/react@18.2.48)(react@18.2.0) '@radix-ui/react-context': 1.1.2(@types/react@18.2.48)(react@18.2.0) '@radix-ui/react-id': 1.1.1(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-menu': 2.1.15(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-menu': 2.1.16(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) '@radix-ui/react-primitive': 2.1.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) '@radix-ui/react-use-controllable-state': 1.2.2(@types/react@18.2.48)(react@18.2.0) react: 18.2.0 @@ -9906,29 +9625,12 @@ snapshots: '@types/react': 18.2.48 '@types/react-dom': 18.2.18 - '@radix-ui/react-focus-guards@1.1.1(@types/react@18.2.48)(react@18.2.0)': + '@radix-ui/react-focus-guards@1.1.3(@types/react@18.2.48)(react@18.2.0)': dependencies: react: 18.2.0 optionalDependencies: '@types/react': 18.2.48 - '@radix-ui/react-focus-guards@1.1.2(@types/react@18.2.48)(react@18.2.0)': - dependencies: - react: 18.2.0 - optionalDependencies: - '@types/react': 18.2.48 - - '@radix-ui/react-focus-scope@1.1.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': - dependencies: - '@radix-ui/react-compose-refs': 1.1.1(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-primitive': 2.0.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-use-callback-ref': 1.1.0(@types/react@18.2.48)(react@18.2.0) - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - optionalDependencies: - '@types/react': 18.2.48 - '@types/react-dom': 18.2.18 - '@radix-ui/react-focus-scope@1.1.7(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: '@radix-ui/react-compose-refs': 1.1.2(@types/react@18.2.48)(react@18.2.0) @@ -9940,17 +9642,17 @@ snapshots: '@types/react': 18.2.48 '@types/react-dom': 18.2.18 - '@radix-ui/react-hover-card@1.1.7(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': + '@radix-ui/react-hover-card@1.1.15(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: - '@radix-ui/primitive': 1.1.2 + '@radix-ui/primitive': 1.1.3 '@radix-ui/react-compose-refs': 1.1.2(@types/react@18.2.48)(react@18.2.0) '@radix-ui/react-context': 1.1.2(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-dismissable-layer': 1.1.6(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-popper': 1.2.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-portal': 1.1.5(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-presence': 1.1.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-primitive': 2.0.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-use-controllable-state': 1.1.1(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-dismissable-layer': 1.1.11(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-popper': 1.2.8(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-portal': 1.1.9(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-presence': 1.1.5(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-primitive': 2.1.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-use-controllable-state': 1.2.2(@types/react@18.2.48)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) optionalDependencies: @@ -9961,13 +9663,6 @@ snapshots: dependencies: react: 18.2.0 - '@radix-ui/react-id@1.1.0(@types/react@18.2.48)(react@18.2.0)': - dependencies: - '@radix-ui/react-use-layout-effect': 1.1.0(@types/react@18.2.48)(react@18.2.0) - react: 18.2.0 - optionalDependencies: - '@types/react': 18.2.48 - '@radix-ui/react-id@1.1.1(@types/react@18.2.48)(react@18.2.0)': dependencies: '@radix-ui/react-use-layout-effect': 1.1.1(@types/react@18.2.48)(react@18.2.0) @@ -9975,151 +9670,89 @@ snapshots: optionalDependencies: '@types/react': 18.2.48 - '@radix-ui/react-label@2.1.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': + '@radix-ui/react-label@2.1.7(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: - '@radix-ui/react-primitive': 2.0.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-primitive': 2.1.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) optionalDependencies: '@types/react': 18.2.48 '@types/react-dom': 18.2.18 - '@radix-ui/react-menu@2.1.15(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': + '@radix-ui/react-menu@2.1.16(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: - '@radix-ui/primitive': 1.1.2 + '@radix-ui/primitive': 1.1.3 '@radix-ui/react-collection': 1.1.7(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) '@radix-ui/react-compose-refs': 1.1.2(@types/react@18.2.48)(react@18.2.0) '@radix-ui/react-context': 1.1.2(@types/react@18.2.48)(react@18.2.0) '@radix-ui/react-direction': 1.1.1(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-dismissable-layer': 1.1.10(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-focus-guards': 1.1.2(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-dismissable-layer': 1.1.11(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-focus-guards': 1.1.3(@types/react@18.2.48)(react@18.2.0) '@radix-ui/react-focus-scope': 1.1.7(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) '@radix-ui/react-id': 1.1.1(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-popper': 1.2.7(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-popper': 1.2.8(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) '@radix-ui/react-portal': 1.1.9(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-presence': 1.1.4(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-presence': 1.1.5(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) '@radix-ui/react-primitive': 2.1.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-roving-focus': 1.1.10(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-roving-focus': 1.1.11(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) '@radix-ui/react-slot': 1.2.3(@types/react@18.2.48)(react@18.2.0) '@radix-ui/react-use-callback-ref': 1.1.1(@types/react@18.2.48)(react@18.2.0) - aria-hidden: 1.2.4 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - react-remove-scroll: 2.6.3(@types/react@18.2.48)(react@18.2.0) - optionalDependencies: - '@types/react': 18.2.48 - '@types/react-dom': 18.2.18 - - '@radix-ui/react-menu@2.1.6(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': - dependencies: - '@radix-ui/primitive': 1.1.1 - '@radix-ui/react-collection': 1.1.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-compose-refs': 1.1.1(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-context': 1.1.1(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-direction': 1.1.0(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-dismissable-layer': 1.1.5(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-focus-guards': 1.1.1(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-focus-scope': 1.1.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-id': 1.1.0(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-popper': 1.2.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-portal': 1.1.4(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-presence': 1.1.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-primitive': 2.0.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-roving-focus': 1.1.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-slot': 1.1.2(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-use-callback-ref': 1.1.0(@types/react@18.2.48)(react@18.2.0) - aria-hidden: 1.2.4 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - react-remove-scroll: 2.6.3(@types/react@18.2.48)(react@18.2.0) - optionalDependencies: - '@types/react': 18.2.48 - '@types/react-dom': 18.2.18 - - '@radix-ui/react-navigation-menu@1.2.5(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': - dependencies: - '@radix-ui/primitive': 1.1.1 - '@radix-ui/react-collection': 1.1.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-compose-refs': 1.1.1(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-context': 1.1.1(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-direction': 1.1.0(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-dismissable-layer': 1.1.5(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-id': 1.1.0(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-presence': 1.1.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-primitive': 2.0.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-use-callback-ref': 1.1.0(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-use-controllable-state': 1.1.0(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-use-layout-effect': 1.1.0(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-use-previous': 1.1.0(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-visually-hidden': 1.1.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + aria-hidden: 1.2.6 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) + react-remove-scroll: 2.7.1(@types/react@18.2.48)(react@18.2.0) optionalDependencies: '@types/react': 18.2.48 '@types/react-dom': 18.2.18 - '@radix-ui/react-popover@1.1.6(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': - dependencies: - '@radix-ui/primitive': 1.1.1 - '@radix-ui/react-compose-refs': 1.1.1(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-context': 1.1.1(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-dismissable-layer': 1.1.5(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-focus-guards': 1.1.1(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-focus-scope': 1.1.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-id': 1.1.0(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-popper': 1.2.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-portal': 1.1.4(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-presence': 1.1.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-primitive': 2.0.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-slot': 1.1.2(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-use-controllable-state': 1.1.0(@types/react@18.2.48)(react@18.2.0) - aria-hidden: 1.2.4 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - react-remove-scroll: 2.6.3(@types/react@18.2.48)(react@18.2.0) - optionalDependencies: - '@types/react': 18.2.48 - '@types/react-dom': 18.2.18 - - '@radix-ui/react-popper@1.2.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': - dependencies: - '@floating-ui/react-dom': 2.1.2(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-arrow': 1.1.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-compose-refs': 1.1.1(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-context': 1.1.1(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-primitive': 2.0.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-use-callback-ref': 1.1.0(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-use-layout-effect': 1.1.0(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-use-rect': 1.1.0(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-use-size': 1.1.0(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/rect': 1.1.0 + '@radix-ui/react-navigation-menu@1.2.14(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': + dependencies: + '@radix-ui/primitive': 1.1.3 + '@radix-ui/react-collection': 1.1.7(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-compose-refs': 1.1.2(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-context': 1.1.2(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-direction': 1.1.1(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-dismissable-layer': 1.1.11(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-id': 1.1.1(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-presence': 1.1.5(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-primitive': 2.1.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-use-callback-ref': 1.1.1(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-use-controllable-state': 1.2.2(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-use-layout-effect': 1.1.1(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-use-previous': 1.1.1(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-visually-hidden': 1.2.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) optionalDependencies: '@types/react': 18.2.48 '@types/react-dom': 18.2.18 - '@radix-ui/react-popper@1.2.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': + '@radix-ui/react-popover@1.1.15(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: - '@floating-ui/react-dom': 2.1.2(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-arrow': 1.1.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/primitive': 1.1.3 '@radix-ui/react-compose-refs': 1.1.2(@types/react@18.2.48)(react@18.2.0) '@radix-ui/react-context': 1.1.2(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-primitive': 2.0.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-use-callback-ref': 1.1.1(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-use-layout-effect': 1.1.1(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-use-rect': 1.1.1(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-use-size': 1.1.1(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/rect': 1.1.1 + '@radix-ui/react-dismissable-layer': 1.1.11(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-focus-guards': 1.1.3(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-focus-scope': 1.1.7(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-id': 1.1.1(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-popper': 1.2.8(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-portal': 1.1.9(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-presence': 1.1.5(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-primitive': 2.1.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-slot': 1.2.3(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-use-controllable-state': 1.2.2(@types/react@18.2.48)(react@18.2.0) + aria-hidden: 1.2.6 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) + react-remove-scroll: 2.7.1(@types/react@18.2.48)(react@18.2.0) optionalDependencies: '@types/react': 18.2.48 '@types/react-dom': 18.2.18 - '@radix-ui/react-popper@1.2.7(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': + '@radix-ui/react-popper@1.2.8(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: - '@floating-ui/react-dom': 2.1.2(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@floating-ui/react-dom': 2.1.6(react-dom@18.2.0(react@18.2.0))(react@18.2.0) '@radix-ui/react-arrow': 1.1.7(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) '@radix-ui/react-compose-refs': 1.1.2(@types/react@18.2.48)(react@18.2.0) '@radix-ui/react-context': 1.1.2(@types/react@18.2.48)(react@18.2.0) @@ -10135,26 +9768,6 @@ snapshots: '@types/react': 18.2.48 '@types/react-dom': 18.2.18 - '@radix-ui/react-portal@1.1.4(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': - dependencies: - '@radix-ui/react-primitive': 2.0.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-use-layout-effect': 1.1.0(@types/react@18.2.48)(react@18.2.0) - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - optionalDependencies: - '@types/react': 18.2.48 - '@types/react-dom': 18.2.18 - - '@radix-ui/react-portal@1.1.5(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': - dependencies: - '@radix-ui/react-primitive': 2.0.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-use-layout-effect': 1.1.1(@types/react@18.2.48)(react@18.2.0) - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - optionalDependencies: - '@types/react': 18.2.48 - '@types/react-dom': 18.2.18 - '@radix-ui/react-portal@1.1.9(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: '@radix-ui/react-primitive': 2.1.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) @@ -10165,17 +9778,7 @@ snapshots: '@types/react': 18.2.48 '@types/react-dom': 18.2.18 - '@radix-ui/react-presence@1.1.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': - dependencies: - '@radix-ui/react-compose-refs': 1.1.1(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-use-layout-effect': 1.1.0(@types/react@18.2.48)(react@18.2.0) - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - optionalDependencies: - '@types/react': 18.2.48 - '@types/react-dom': 18.2.18 - - '@radix-ui/react-presence@1.1.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': + '@radix-ui/react-presence@1.1.5(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: '@radix-ui/react-compose-refs': 1.1.2(@types/react@18.2.48)(react@18.2.0) '@radix-ui/react-use-layout-effect': 1.1.1(@types/react@18.2.48)(react@18.2.0) @@ -10185,174 +9788,115 @@ snapshots: '@types/react': 18.2.48 '@types/react-dom': 18.2.18 - '@radix-ui/react-presence@1.1.4(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': + '@radix-ui/react-primitive@2.1.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: - '@radix-ui/react-compose-refs': 1.1.2(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-use-layout-effect': 1.1.1(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-slot': 1.2.3(@types/react@18.2.48)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) optionalDependencies: '@types/react': 18.2.48 '@types/react-dom': 18.2.18 - '@radix-ui/react-primitive@2.0.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': + '@radix-ui/react-progress@1.1.7(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: - '@radix-ui/react-slot': 1.1.2(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-context': 1.1.2(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-primitive': 2.1.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) optionalDependencies: '@types/react': 18.2.48 '@types/react-dom': 18.2.18 - '@radix-ui/react-primitive@2.0.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': + '@radix-ui/react-radio-group@1.3.8(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: - '@radix-ui/react-slot': 1.2.0(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/primitive': 1.1.3 + '@radix-ui/react-compose-refs': 1.1.2(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-context': 1.1.2(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-direction': 1.1.1(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-presence': 1.1.5(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-primitive': 2.1.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-roving-focus': 1.1.11(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-use-controllable-state': 1.2.2(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-use-previous': 1.1.1(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-use-size': 1.1.1(@types/react@18.2.48)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) optionalDependencies: '@types/react': 18.2.48 '@types/react-dom': 18.2.18 - '@radix-ui/react-primitive@2.1.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': + '@radix-ui/react-roving-focus@1.1.11(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: - '@radix-ui/react-slot': 1.2.3(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/primitive': 1.1.3 + '@radix-ui/react-collection': 1.1.7(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-compose-refs': 1.1.2(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-context': 1.1.2(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-direction': 1.1.1(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-id': 1.1.1(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-primitive': 2.1.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-use-callback-ref': 1.1.1(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-use-controllable-state': 1.2.2(@types/react@18.2.48)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) optionalDependencies: '@types/react': 18.2.48 '@types/react-dom': 18.2.18 - '@radix-ui/react-progress@1.1.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': + '@radix-ui/react-scroll-area@1.2.10(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: - '@radix-ui/react-context': 1.1.1(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-primitive': 2.0.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - optionalDependencies: - '@types/react': 18.2.48 - '@types/react-dom': 18.2.18 - - '@radix-ui/react-radio-group@1.2.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': - dependencies: - '@radix-ui/primitive': 1.1.1 - '@radix-ui/react-compose-refs': 1.1.1(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-context': 1.1.1(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-direction': 1.1.0(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-presence': 1.1.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-primitive': 2.0.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-roving-focus': 1.1.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-use-controllable-state': 1.1.0(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-use-previous': 1.1.0(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-use-size': 1.1.0(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/number': 1.1.1 + '@radix-ui/primitive': 1.1.3 + '@radix-ui/react-compose-refs': 1.1.2(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-context': 1.1.2(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-direction': 1.1.1(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-presence': 1.1.5(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-primitive': 2.1.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-use-callback-ref': 1.1.1(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-use-layout-effect': 1.1.1(@types/react@18.2.48)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) optionalDependencies: '@types/react': 18.2.48 '@types/react-dom': 18.2.18 - '@radix-ui/react-roving-focus@1.1.10(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': + '@radix-ui/react-select@2.2.6(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: - '@radix-ui/primitive': 1.1.2 + '@radix-ui/number': 1.1.1 + '@radix-ui/primitive': 1.1.3 '@radix-ui/react-collection': 1.1.7(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) '@radix-ui/react-compose-refs': 1.1.2(@types/react@18.2.48)(react@18.2.0) '@radix-ui/react-context': 1.1.2(@types/react@18.2.48)(react@18.2.0) '@radix-ui/react-direction': 1.1.1(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-dismissable-layer': 1.1.11(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-focus-guards': 1.1.3(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-focus-scope': 1.1.7(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) '@radix-ui/react-id': 1.1.1(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-popper': 1.2.8(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-portal': 1.1.9(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) '@radix-ui/react-primitive': 2.1.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-slot': 1.2.3(@types/react@18.2.48)(react@18.2.0) '@radix-ui/react-use-callback-ref': 1.1.1(@types/react@18.2.48)(react@18.2.0) '@radix-ui/react-use-controllable-state': 1.2.2(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-use-layout-effect': 1.1.1(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-use-previous': 1.1.1(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-visually-hidden': 1.2.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + aria-hidden: 1.2.6 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) + react-remove-scroll: 2.7.1(@types/react@18.2.48)(react@18.2.0) optionalDependencies: '@types/react': 18.2.48 '@types/react-dom': 18.2.18 - '@radix-ui/react-roving-focus@1.1.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': - dependencies: - '@radix-ui/primitive': 1.1.1 - '@radix-ui/react-collection': 1.1.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-compose-refs': 1.1.1(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-context': 1.1.1(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-direction': 1.1.0(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-id': 1.1.0(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-primitive': 2.0.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-use-callback-ref': 1.1.0(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-use-controllable-state': 1.1.0(@types/react@18.2.48)(react@18.2.0) - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - optionalDependencies: - '@types/react': 18.2.48 - '@types/react-dom': 18.2.18 - - '@radix-ui/react-scroll-area@1.2.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': - dependencies: - '@radix-ui/number': 1.1.0 - '@radix-ui/primitive': 1.1.1 - '@radix-ui/react-compose-refs': 1.1.1(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-context': 1.1.1(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-direction': 1.1.0(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-presence': 1.1.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-primitive': 2.0.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-use-callback-ref': 1.1.0(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-use-layout-effect': 1.1.0(@types/react@18.2.48)(react@18.2.0) - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - optionalDependencies: - '@types/react': 18.2.48 - '@types/react-dom': 18.2.18 - - '@radix-ui/react-select@2.1.6(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': - dependencies: - '@radix-ui/number': 1.1.0 - '@radix-ui/primitive': 1.1.1 - '@radix-ui/react-collection': 1.1.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-compose-refs': 1.1.1(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-context': 1.1.1(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-direction': 1.1.0(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-dismissable-layer': 1.1.5(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-focus-guards': 1.1.1(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-focus-scope': 1.1.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-id': 1.1.0(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-popper': 1.2.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-portal': 1.1.4(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-primitive': 2.0.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-slot': 1.1.2(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-use-callback-ref': 1.1.0(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-use-controllable-state': 1.1.0(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-use-layout-effect': 1.1.0(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-use-previous': 1.1.0(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-visually-hidden': 1.1.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - aria-hidden: 1.2.4 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - react-remove-scroll: 2.6.3(@types/react@18.2.48)(react@18.2.0) - optionalDependencies: - '@types/react': 18.2.48 - '@types/react-dom': 18.2.18 - - '@radix-ui/react-separator@1.1.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': + '@radix-ui/react-separator@1.1.7(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: - '@radix-ui/react-primitive': 2.0.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-primitive': 2.1.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) optionalDependencies: '@types/react': 18.2.48 '@types/react-dom': 18.2.18 - '@radix-ui/react-slot@1.1.2(@types/react@18.2.48)(react@18.2.0)': - dependencies: - '@radix-ui/react-compose-refs': 1.1.1(@types/react@18.2.48)(react@18.2.0) - react: 18.2.0 - optionalDependencies: - '@types/react': 18.2.48 - - '@radix-ui/react-slot@1.2.0(@types/react@18.2.48)(react@18.2.0)': - dependencies: - '@radix-ui/react-compose-refs': 1.1.2(@types/react@18.2.48)(react@18.2.0) - react: 18.2.0 - optionalDependencies: - '@types/react': 18.2.48 - '@radix-ui/react-slot@1.2.3(@types/react@18.2.48)(react@18.2.0)': dependencies: '@radix-ui/react-compose-refs': 1.1.2(@types/react@18.2.48)(react@18.2.0) @@ -10360,79 +9904,59 @@ snapshots: optionalDependencies: '@types/react': 18.2.48 - '@radix-ui/react-switch@1.1.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': - dependencies: - '@radix-ui/primitive': 1.1.1 - '@radix-ui/react-compose-refs': 1.1.1(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-context': 1.1.1(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-primitive': 2.0.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-use-controllable-state': 1.1.0(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-use-previous': 1.1.0(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-use-size': 1.1.0(@types/react@18.2.48)(react@18.2.0) - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - optionalDependencies: - '@types/react': 18.2.48 - '@types/react-dom': 18.2.18 - - '@radix-ui/react-tabs@1.1.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': - dependencies: - '@radix-ui/primitive': 1.1.1 - '@radix-ui/react-context': 1.1.1(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-direction': 1.1.0(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-id': 1.1.0(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-presence': 1.1.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-primitive': 2.0.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-roving-focus': 1.1.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-use-controllable-state': 1.1.0(@types/react@18.2.48)(react@18.2.0) - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - optionalDependencies: - '@types/react': 18.2.48 - '@types/react-dom': 18.2.18 - - '@radix-ui/react-tooltip@1.1.8(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': - dependencies: - '@radix-ui/primitive': 1.1.1 - '@radix-ui/react-compose-refs': 1.1.1(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-context': 1.1.1(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-dismissable-layer': 1.1.5(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-id': 1.1.0(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-popper': 1.2.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-portal': 1.1.4(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-presence': 1.1.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-primitive': 2.0.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-slot': 1.1.2(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-use-controllable-state': 1.1.0(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-visually-hidden': 1.1.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - optionalDependencies: - '@types/react': 18.2.48 - '@types/react-dom': 18.2.18 - - '@radix-ui/react-use-callback-ref@1.1.0(@types/react@18.2.48)(react@18.2.0)': + '@radix-ui/react-switch@1.2.6(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: + '@radix-ui/primitive': 1.1.3 + '@radix-ui/react-compose-refs': 1.1.2(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-context': 1.1.2(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-primitive': 2.1.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-use-controllable-state': 1.2.2(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-use-previous': 1.1.1(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-use-size': 1.1.1(@types/react@18.2.48)(react@18.2.0) react: 18.2.0 + react-dom: 18.2.0(react@18.2.0) optionalDependencies: '@types/react': 18.2.48 + '@types/react-dom': 18.2.18 - '@radix-ui/react-use-callback-ref@1.1.1(@types/react@18.2.48)(react@18.2.0)': + '@radix-ui/react-tabs@1.1.13(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: + '@radix-ui/primitive': 1.1.3 + '@radix-ui/react-context': 1.1.2(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-direction': 1.1.1(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-id': 1.1.1(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-presence': 1.1.5(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-primitive': 2.1.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-roving-focus': 1.1.11(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-use-controllable-state': 1.2.2(@types/react@18.2.48)(react@18.2.0) react: 18.2.0 + react-dom: 18.2.0(react@18.2.0) optionalDependencies: '@types/react': 18.2.48 + '@types/react-dom': 18.2.18 - '@radix-ui/react-use-controllable-state@1.1.0(@types/react@18.2.48)(react@18.2.0)': + '@radix-ui/react-tooltip@1.2.8(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: - '@radix-ui/react-use-callback-ref': 1.1.0(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/primitive': 1.1.3 + '@radix-ui/react-compose-refs': 1.1.2(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-context': 1.1.2(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-dismissable-layer': 1.1.11(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-id': 1.1.1(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-popper': 1.2.8(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-portal': 1.1.9(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-presence': 1.1.5(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-primitive': 2.1.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-slot': 1.2.3(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-use-controllable-state': 1.2.2(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-visually-hidden': 1.2.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react: 18.2.0 + react-dom: 18.2.0(react@18.2.0) optionalDependencies: '@types/react': 18.2.48 + '@types/react-dom': 18.2.18 - '@radix-ui/react-use-controllable-state@1.1.1(@types/react@18.2.48)(react@18.2.0)': + '@radix-ui/react-use-callback-ref@1.1.1(@types/react@18.2.48)(react@18.2.0)': dependencies: - '@radix-ui/react-use-callback-ref': 1.1.1(@types/react@18.2.48)(react@18.2.0) react: 18.2.0 optionalDependencies: '@types/react': 18.2.48 @@ -10452,13 +9976,6 @@ snapshots: optionalDependencies: '@types/react': 18.2.48 - '@radix-ui/react-use-escape-keydown@1.1.0(@types/react@18.2.48)(react@18.2.0)': - dependencies: - '@radix-ui/react-use-callback-ref': 1.1.0(@types/react@18.2.48)(react@18.2.0) - react: 18.2.0 - optionalDependencies: - '@types/react': 18.2.48 - '@radix-ui/react-use-escape-keydown@1.1.1(@types/react@18.2.48)(react@18.2.0)': dependencies: '@radix-ui/react-use-callback-ref': 1.1.1(@types/react@18.2.48)(react@18.2.0) @@ -10466,9 +9983,10 @@ snapshots: optionalDependencies: '@types/react': 18.2.48 - '@radix-ui/react-use-layout-effect@1.1.0(@types/react@18.2.48)(react@18.2.0)': + '@radix-ui/react-use-is-hydrated@0.1.0(@types/react@18.2.48)(react@18.2.0)': dependencies: react: 18.2.0 + use-sync-external-store: 1.5.0(react@18.2.0) optionalDependencies: '@types/react': 18.2.48 @@ -10478,15 +9996,8 @@ snapshots: optionalDependencies: '@types/react': 18.2.48 - '@radix-ui/react-use-previous@1.1.0(@types/react@18.2.48)(react@18.2.0)': - dependencies: - react: 18.2.0 - optionalDependencies: - '@types/react': 18.2.48 - - '@radix-ui/react-use-rect@1.1.0(@types/react@18.2.48)(react@18.2.0)': + '@radix-ui/react-use-previous@1.1.1(@types/react@18.2.48)(react@18.2.0)': dependencies: - '@radix-ui/rect': 1.1.0 react: 18.2.0 optionalDependencies: '@types/react': 18.2.48 @@ -10498,13 +10009,6 @@ snapshots: optionalDependencies: '@types/react': 18.2.48 - '@radix-ui/react-use-size@1.1.0(@types/react@18.2.48)(react@18.2.0)': - dependencies: - '@radix-ui/react-use-layout-effect': 1.1.0(@types/react@18.2.48)(react@18.2.0) - react: 18.2.0 - optionalDependencies: - '@types/react': 18.2.48 - '@radix-ui/react-use-size@1.1.1(@types/react@18.2.48)(react@18.2.0)': dependencies: '@radix-ui/react-use-layout-effect': 1.1.1(@types/react@18.2.48)(react@18.2.0) @@ -10512,84 +10016,85 @@ snapshots: optionalDependencies: '@types/react': 18.2.48 - '@radix-ui/react-visually-hidden@1.1.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': + '@radix-ui/react-visually-hidden@1.2.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: - '@radix-ui/react-primitive': 2.0.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-primitive': 2.1.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) optionalDependencies: '@types/react': 18.2.48 '@types/react-dom': 18.2.18 - '@radix-ui/rect@1.1.0': {} - '@radix-ui/rect@1.1.1': {} '@repeaterjs/repeater@3.0.6': {} - '@rollup/rollup-android-arm-eabi@4.37.0': + '@rollup/rollup-android-arm-eabi@4.50.1': + optional: true + + '@rollup/rollup-android-arm64@4.50.1': optional: true - '@rollup/rollup-android-arm64@4.37.0': + '@rollup/rollup-darwin-arm64@4.50.1': optional: true - '@rollup/rollup-darwin-arm64@4.37.0': + '@rollup/rollup-darwin-x64@4.50.1': optional: true - '@rollup/rollup-darwin-x64@4.37.0': + '@rollup/rollup-freebsd-arm64@4.50.1': optional: true - '@rollup/rollup-freebsd-arm64@4.37.0': + '@rollup/rollup-freebsd-x64@4.50.1': optional: true - '@rollup/rollup-freebsd-x64@4.37.0': + '@rollup/rollup-linux-arm-gnueabihf@4.50.1': optional: true - '@rollup/rollup-linux-arm-gnueabihf@4.37.0': + '@rollup/rollup-linux-arm-musleabihf@4.50.1': optional: true - '@rollup/rollup-linux-arm-musleabihf@4.37.0': + '@rollup/rollup-linux-arm64-gnu@4.50.1': optional: true - '@rollup/rollup-linux-arm64-gnu@4.37.0': + '@rollup/rollup-linux-arm64-musl@4.50.1': optional: true - '@rollup/rollup-linux-arm64-musl@4.37.0': + '@rollup/rollup-linux-loongarch64-gnu@4.50.1': optional: true - '@rollup/rollup-linux-loongarch64-gnu@4.37.0': + '@rollup/rollup-linux-ppc64-gnu@4.50.1': optional: true - '@rollup/rollup-linux-powerpc64le-gnu@4.37.0': + '@rollup/rollup-linux-riscv64-gnu@4.50.1': optional: true - '@rollup/rollup-linux-riscv64-gnu@4.37.0': + '@rollup/rollup-linux-riscv64-musl@4.50.1': optional: true - '@rollup/rollup-linux-riscv64-musl@4.37.0': + '@rollup/rollup-linux-s390x-gnu@4.50.1': optional: true - '@rollup/rollup-linux-s390x-gnu@4.37.0': + '@rollup/rollup-linux-x64-gnu@4.50.1': optional: true - '@rollup/rollup-linux-x64-gnu@4.37.0': + '@rollup/rollup-linux-x64-musl@4.50.1': optional: true - '@rollup/rollup-linux-x64-musl@4.37.0': + '@rollup/rollup-openharmony-arm64@4.50.1': optional: true - '@rollup/rollup-win32-arm64-msvc@4.37.0': + '@rollup/rollup-win32-arm64-msvc@4.50.1': optional: true - '@rollup/rollup-win32-ia32-msvc@4.37.0': + '@rollup/rollup-win32-ia32-msvc@4.50.1': optional: true - '@rollup/rollup-win32-x64-msvc@4.37.0': + '@rollup/rollup-win32-x64-msvc@4.50.1': optional: true '@scure/base@1.1.9': {} - '@scure/base@1.2.4': {} + '@scure/base@1.2.6': {} '@scure/bip32@1.4.0': dependencies: @@ -10597,32 +10102,21 @@ snapshots: '@noble/hashes': 1.4.0 '@scure/base': 1.1.9 - '@scure/bip32@1.6.0': - dependencies: - '@noble/curves': 1.7.0 - '@noble/hashes': 1.6.1 - '@scure/base': 1.2.4 - - '@scure/bip32@1.6.2': + '@scure/bip32@1.7.0': dependencies: - '@noble/curves': 1.8.1 - '@noble/hashes': 1.7.1 - '@scure/base': 1.2.4 + '@noble/curves': 1.9.1 + '@noble/hashes': 1.8.0 + '@scure/base': 1.2.6 '@scure/bip39@1.3.0': dependencies: '@noble/hashes': 1.4.0 '@scure/base': 1.1.9 - '@scure/bip39@1.5.0': - dependencies: - '@noble/hashes': 1.6.1 - '@scure/base': 1.2.4 - - '@scure/bip39@1.5.4': + '@scure/bip39@1.6.0': dependencies: - '@noble/hashes': 1.7.1 - '@scure/base': 1.2.4 + '@noble/hashes': 1.8.0 + '@scure/base': 1.2.6 '@sec-ant/readable-stream@0.4.1': {} @@ -10630,56 +10124,56 @@ snapshots: '@sindresorhus/is@5.6.0': {} - '@sindresorhus/is@7.0.1': {} + '@sindresorhus/is@7.1.0': {} - '@svgr/babel-plugin-add-jsx-attribute@6.5.1(@babel/core@7.26.10)': + '@svgr/babel-plugin-add-jsx-attribute@6.5.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.26.10 + '@babel/core': 7.28.4 - '@svgr/babel-plugin-remove-jsx-attribute@8.0.0(@babel/core@7.26.10)': + '@svgr/babel-plugin-remove-jsx-attribute@8.0.0(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.26.10 + '@babel/core': 7.28.4 - '@svgr/babel-plugin-remove-jsx-empty-expression@8.0.0(@babel/core@7.26.10)': + '@svgr/babel-plugin-remove-jsx-empty-expression@8.0.0(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.26.10 + '@babel/core': 7.28.4 - '@svgr/babel-plugin-replace-jsx-attribute-value@6.5.1(@babel/core@7.26.10)': + '@svgr/babel-plugin-replace-jsx-attribute-value@6.5.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.26.10 + '@babel/core': 7.28.4 - '@svgr/babel-plugin-svg-dynamic-title@6.5.1(@babel/core@7.26.10)': + '@svgr/babel-plugin-svg-dynamic-title@6.5.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.26.10 + '@babel/core': 7.28.4 - '@svgr/babel-plugin-svg-em-dimensions@6.5.1(@babel/core@7.26.10)': + '@svgr/babel-plugin-svg-em-dimensions@6.5.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.26.10 + '@babel/core': 7.28.4 - '@svgr/babel-plugin-transform-react-native-svg@6.5.1(@babel/core@7.26.10)': + '@svgr/babel-plugin-transform-react-native-svg@6.5.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.26.10 + '@babel/core': 7.28.4 - '@svgr/babel-plugin-transform-svg-component@6.5.1(@babel/core@7.26.10)': + '@svgr/babel-plugin-transform-svg-component@6.5.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.26.10 + '@babel/core': 7.28.4 - '@svgr/babel-preset@6.5.1(@babel/core@7.26.10)': + '@svgr/babel-preset@6.5.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.26.10 - '@svgr/babel-plugin-add-jsx-attribute': 6.5.1(@babel/core@7.26.10) - '@svgr/babel-plugin-remove-jsx-attribute': 8.0.0(@babel/core@7.26.10) - '@svgr/babel-plugin-remove-jsx-empty-expression': 8.0.0(@babel/core@7.26.10) - '@svgr/babel-plugin-replace-jsx-attribute-value': 6.5.1(@babel/core@7.26.10) - '@svgr/babel-plugin-svg-dynamic-title': 6.5.1(@babel/core@7.26.10) - '@svgr/babel-plugin-svg-em-dimensions': 6.5.1(@babel/core@7.26.10) - '@svgr/babel-plugin-transform-react-native-svg': 6.5.1(@babel/core@7.26.10) - '@svgr/babel-plugin-transform-svg-component': 6.5.1(@babel/core@7.26.10) + '@babel/core': 7.28.4 + '@svgr/babel-plugin-add-jsx-attribute': 6.5.1(@babel/core@7.28.4) + '@svgr/babel-plugin-remove-jsx-attribute': 8.0.0(@babel/core@7.28.4) + '@svgr/babel-plugin-remove-jsx-empty-expression': 8.0.0(@babel/core@7.28.4) + '@svgr/babel-plugin-replace-jsx-attribute-value': 6.5.1(@babel/core@7.28.4) + '@svgr/babel-plugin-svg-dynamic-title': 6.5.1(@babel/core@7.28.4) + '@svgr/babel-plugin-svg-em-dimensions': 6.5.1(@babel/core@7.28.4) + '@svgr/babel-plugin-transform-react-native-svg': 6.5.1(@babel/core@7.28.4) + '@svgr/babel-plugin-transform-svg-component': 6.5.1(@babel/core@7.28.4) '@svgr/core@6.5.1': dependencies: - '@babel/core': 7.26.10 - '@svgr/babel-preset': 6.5.1(@babel/core@7.26.10) + '@babel/core': 7.28.4 + '@svgr/babel-preset': 6.5.1(@babel/core@7.28.4) '@svgr/plugin-jsx': 6.5.1(@svgr/core@6.5.1) camelcase: 6.3.0 cosmiconfig: 7.1.0 @@ -10688,13 +10182,13 @@ snapshots: '@svgr/hast-util-to-babel-ast@6.5.1': dependencies: - '@babel/types': 7.26.10 + '@babel/types': 7.28.4 entities: 4.5.0 '@svgr/plugin-jsx@6.5.1(@svgr/core@6.5.1)': dependencies: - '@babel/core': 7.26.10 - '@svgr/babel-preset': 6.5.1(@babel/core@7.26.10) + '@babel/core': 7.28.4 + '@svgr/babel-preset': 6.5.1(@babel/core@7.28.4) '@svgr/core': 6.5.1 '@svgr/hast-util-to-babel-ast': 6.5.1 svg-parser: 2.0.4 @@ -10708,87 +10202,87 @@ snapshots: deepmerge: 4.3.1 svgo: 2.8.0 - '@swc/core-darwin-arm64@1.11.11': + '@swc/core-darwin-arm64@1.13.5': optional: true '@swc/core-darwin-arm64@1.3.96': optional: true - '@swc/core-darwin-x64@1.11.11': + '@swc/core-darwin-x64@1.13.5': optional: true '@swc/core-darwin-x64@1.3.96': optional: true - '@swc/core-linux-arm-gnueabihf@1.11.11': + '@swc/core-linux-arm-gnueabihf@1.13.5': optional: true '@swc/core-linux-arm-gnueabihf@1.3.96': optional: true - '@swc/core-linux-arm64-gnu@1.11.11': + '@swc/core-linux-arm64-gnu@1.13.5': optional: true '@swc/core-linux-arm64-gnu@1.3.96': optional: true - '@swc/core-linux-arm64-musl@1.11.11': + '@swc/core-linux-arm64-musl@1.13.5': optional: true '@swc/core-linux-arm64-musl@1.3.96': optional: true - '@swc/core-linux-x64-gnu@1.11.11': + '@swc/core-linux-x64-gnu@1.13.5': optional: true '@swc/core-linux-x64-gnu@1.3.96': optional: true - '@swc/core-linux-x64-musl@1.11.11': + '@swc/core-linux-x64-musl@1.13.5': optional: true '@swc/core-linux-x64-musl@1.3.96': optional: true - '@swc/core-win32-arm64-msvc@1.11.11': + '@swc/core-win32-arm64-msvc@1.13.5': optional: true '@swc/core-win32-arm64-msvc@1.3.96': optional: true - '@swc/core-win32-ia32-msvc@1.11.11': + '@swc/core-win32-ia32-msvc@1.13.5': optional: true '@swc/core-win32-ia32-msvc@1.3.96': optional: true - '@swc/core-win32-x64-msvc@1.11.11': + '@swc/core-win32-x64-msvc@1.13.5': optional: true '@swc/core-win32-x64-msvc@1.3.96': optional: true - '@swc/core@1.11.11(@swc/helpers@0.5.15)': + '@swc/core@1.13.5(@swc/helpers@0.5.17)': dependencies: '@swc/counter': 0.1.3 - '@swc/types': 0.1.19 - optionalDependencies: - '@swc/core-darwin-arm64': 1.11.11 - '@swc/core-darwin-x64': 1.11.11 - '@swc/core-linux-arm-gnueabihf': 1.11.11 - '@swc/core-linux-arm64-gnu': 1.11.11 - '@swc/core-linux-arm64-musl': 1.11.11 - '@swc/core-linux-x64-gnu': 1.11.11 - '@swc/core-linux-x64-musl': 1.11.11 - '@swc/core-win32-arm64-msvc': 1.11.11 - '@swc/core-win32-ia32-msvc': 1.11.11 - '@swc/core-win32-x64-msvc': 1.11.11 - '@swc/helpers': 0.5.15 - - '@swc/core@1.3.96(@swc/helpers@0.5.15)': + '@swc/types': 0.1.25 + optionalDependencies: + '@swc/core-darwin-arm64': 1.13.5 + '@swc/core-darwin-x64': 1.13.5 + '@swc/core-linux-arm-gnueabihf': 1.13.5 + '@swc/core-linux-arm64-gnu': 1.13.5 + '@swc/core-linux-arm64-musl': 1.13.5 + '@swc/core-linux-x64-gnu': 1.13.5 + '@swc/core-linux-x64-musl': 1.13.5 + '@swc/core-win32-arm64-msvc': 1.13.5 + '@swc/core-win32-ia32-msvc': 1.13.5 + '@swc/core-win32-x64-msvc': 1.13.5 + '@swc/helpers': 0.5.17 + + '@swc/core@1.3.96(@swc/helpers@0.5.17)': dependencies: '@swc/counter': 0.1.3 - '@swc/types': 0.1.19 + '@swc/types': 0.1.25 optionalDependencies: '@swc/core-darwin-arm64': 1.3.96 '@swc/core-darwin-x64': 1.3.96 @@ -10800,15 +10294,15 @@ snapshots: '@swc/core-win32-arm64-msvc': 1.3.96 '@swc/core-win32-ia32-msvc': 1.3.96 '@swc/core-win32-x64-msvc': 1.3.96 - '@swc/helpers': 0.5.15 + '@swc/helpers': 0.5.17 '@swc/counter@0.1.3': {} - '@swc/helpers@0.5.15': + '@swc/helpers@0.5.17': dependencies: tslib: 2.8.1 - '@swc/types@0.1.19': + '@swc/types@0.1.25': dependencies: '@swc/counter': 0.1.3 @@ -10820,13 +10314,23 @@ snapshots: dependencies: tailwindcss: 3.3.0(postcss@8.4.31) - '@tanstack/query-core@5.69.0': {} + '@tanstack/query-core@5.87.4': {} - '@tanstack/react-query@5.69.0(react@18.2.0)': + '@tanstack/react-query@5.87.4(react@18.2.0)': dependencies: - '@tanstack/query-core': 5.69.0 + '@tanstack/query-core': 5.87.4 react: 18.2.0 + '@theguild/federation-composition@0.19.1(graphql@16.11.0)': + dependencies: + constant-case: 3.0.4 + debug: 4.4.1 + graphql: 16.11.0 + json5: 2.2.3 + lodash.sortby: 4.7.0 + transitivePeerDependencies: + - supports-color + '@trysound/sax@0.2.0': {} '@tweenjs/tween.js@23.1.3': {} @@ -10836,13 +10340,11 @@ snapshots: '@types/filesystem': 0.0.36 '@types/har-format': 1.2.16 - '@types/cookie@0.6.0': {} - '@types/debug@4.1.12': dependencies: '@types/ms': 2.1.0 - '@types/estree@1.0.6': {} + '@types/estree@1.0.8': {} '@types/filesystem@0.0.36': dependencies: @@ -10868,7 +10370,7 @@ snapshots: '@types/parse-json@4.0.2': {} - '@types/prop-types@15.7.14': {} + '@types/prop-types@15.7.15': {} '@types/react-dom@18.2.18': dependencies: @@ -10876,28 +10378,30 @@ snapshots: '@types/react@18.2.48': dependencies: - '@types/prop-types': 15.7.14 - '@types/scheduler': 0.23.0 + '@types/prop-types': 15.7.15 + '@types/scheduler': 0.26.0 csstype: 3.1.3 - '@types/scheduler@0.23.0': {} + '@types/relateurl@0.2.33': {} - '@types/stats.js@0.17.3': {} + '@types/scheduler@0.26.0': {} + + '@types/stats.js@0.17.4': {} '@types/three@0.175.0': dependencies: '@tweenjs/tween.js': 23.1.3 - '@types/stats.js': 0.17.3 - '@types/webxr': 0.5.22 - '@webgpu/types': 0.1.60 + '@types/stats.js': 0.17.4 + '@types/webxr': 0.5.23 + '@webgpu/types': 0.1.64 fflate: 0.8.2 meshoptimizer: 0.18.1 '@types/trusted-types@2.0.7': {} - '@types/webxr@0.5.22': {} + '@types/webxr@0.5.23': {} - '@types/ws@8.18.0': + '@types/ws@8.18.1': dependencies: '@types/node': 20.11.5 @@ -10915,7 +10419,7 @@ snapshots: '@vitest/snapshot@1.6.1': dependencies: - magic-string: 0.30.17 + magic-string: 0.30.19 pathe: 1.1.2 pretty-format: 29.7.0 @@ -10932,7 +10436,7 @@ snapshots: '@vue/compiler-core@3.3.4': dependencies: - '@babel/parser': 7.26.10 + '@babel/parser': 7.28.4 '@vue/shared': 3.3.4 estree-walker: 2.0.2 source-map-js: 1.2.1 @@ -10944,14 +10448,14 @@ snapshots: '@vue/compiler-sfc@3.3.4': dependencies: - '@babel/parser': 7.26.10 + '@babel/parser': 7.28.4 '@vue/compiler-core': 3.3.4 '@vue/compiler-dom': 3.3.4 '@vue/compiler-ssr': 3.3.4 '@vue/reactivity-transform': 3.3.4 '@vue/shared': 3.3.4 estree-walker: 2.0.2 - magic-string: 0.30.17 + magic-string: 0.30.19 postcss: 8.4.31 source-map-js: 1.2.1 @@ -10962,11 +10466,11 @@ snapshots: '@vue/reactivity-transform@3.3.4': dependencies: - '@babel/parser': 7.26.10 + '@babel/parser': 7.28.4 '@vue/compiler-core': 3.3.4 '@vue/shared': 3.3.4 estree-walker: 2.0.2 - magic-string: 0.30.17 + magic-string: 0.30.19 '@vue/reactivity@3.3.4': dependencies: @@ -10991,45 +10495,26 @@ snapshots: '@vue/shared@3.3.4': {} - '@warzieram/graphql@0.5.31(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(ws@8.18.1(bufferutil@4.0.9)(utf-8-validate@5.0.10))': - dependencies: - '@apollo/client': 3.13.8(@types/react@18.2.48)(graphql-ws@6.0.5(graphql@16.10.0)(ws@8.18.1(bufferutil@4.0.9)(utf-8-validate@5.0.10)))(graphql@16.10.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@graphql-codegen/typescript-document-nodes': 4.0.15(graphql@16.10.0) - '@tanstack/react-query': 5.69.0(react@18.2.0) - graphql: 16.10.0 - graphql-request: 7.1.2(graphql@16.10.0) - graphql-ws: 6.0.5(graphql@16.10.0)(ws@8.18.1(bufferutil@4.0.9)(utf-8-validate@5.0.10)) - transitivePeerDependencies: - - '@fastify/websocket' - - '@types/react' - - crossws - - encoding - - react - - react-dom - - subscriptions-transport-ws - - uWebSockets.js - - ws - - '@webgpu/types@0.1.60': {} + '@webgpu/types@0.1.64': {} '@whatwg-node/disposablestack@0.0.6': dependencies: - '@whatwg-node/promise-helpers': 1.3.0 + '@whatwg-node/promise-helpers': 1.3.2 tslib: 2.8.1 - '@whatwg-node/fetch@0.10.5': + '@whatwg-node/fetch@0.10.10': dependencies: - '@whatwg-node/node-fetch': 0.7.14 - urlpattern-polyfill: 10.0.0 + '@whatwg-node/node-fetch': 0.7.25 + urlpattern-polyfill: 10.1.0 - '@whatwg-node/node-fetch@0.7.14': + '@whatwg-node/node-fetch@0.7.25': dependencies: + '@fastify/busboy': 3.2.0 '@whatwg-node/disposablestack': 0.0.6 - '@whatwg-node/promise-helpers': 1.3.0 - busboy: 1.6.0 + '@whatwg-node/promise-helpers': 1.3.2 tslib: 2.8.1 - '@whatwg-node/promise-helpers@1.3.0': + '@whatwg-node/promise-helpers@1.3.2': dependencies: tslib: 2.8.1 @@ -11049,15 +10534,10 @@ snapshots: dependencies: tslib: 2.8.1 - abitype@1.0.7(typescript@5.8.2)(zod@3.24.2): - optionalDependencies: - typescript: 5.8.2 - zod: 3.24.2 - - abitype@1.0.8(typescript@5.8.2)(zod@3.24.2): + abitype@1.1.0(typescript@5.9.2)(zod@3.25.76): optionalDependencies: - typescript: 5.8.2 - zod: 3.24.2 + typescript: 5.9.2 + zod: 3.25.76 abort-controller@3.0.0: dependencies: @@ -11069,13 +10549,13 @@ snapshots: acorn-walk@8.3.4: dependencies: - acorn: 8.14.1 + acorn: 8.15.0 - acorn@8.14.1: {} + acorn@8.15.0: {} aes-js@4.0.0-beta.5: {} - agent-base@7.1.3: {} + agent-base@7.1.4: {} aggregate-error@3.1.0: dependencies: @@ -11088,7 +10568,7 @@ snapshots: ansi-regex@5.0.1: {} - ansi-regex@6.1.0: {} + ansi-regex@6.2.2: {} ansi-styles@4.3.0: dependencies: @@ -11096,7 +10576,7 @@ snapshots: ansi-styles@5.2.0: {} - ansi-styles@6.2.1: {} + ansi-styles@6.2.3: {} any-promise@1.3.0: {} @@ -11109,7 +10589,7 @@ snapshots: argparse@2.0.1: {} - aria-hidden@1.2.4: + aria-hidden@1.2.6: dependencies: tslib: 2.8.1 @@ -11127,8 +10607,8 @@ snapshots: autoprefixer@10.4.16(postcss@8.4.31): dependencies: - browserslist: 4.24.4 - caniuse-lite: 1.0.30001706 + browserslist: 4.26.0 + caniuse-lite: 1.0.30001741 fraction.js: 4.3.7 normalize-range: 0.1.2 picocolors: 1.1.1 @@ -11139,35 +10619,35 @@ snapshots: babel-plugin-syntax-trailing-function-commas@7.0.0-beta.0: {} - babel-preset-fbjs@3.4.0(@babel/core@7.26.10): - dependencies: - '@babel/core': 7.26.10 - '@babel/plugin-proposal-class-properties': 7.18.6(@babel/core@7.26.10) - '@babel/plugin-proposal-object-rest-spread': 7.20.7(@babel/core@7.26.10) - '@babel/plugin-syntax-class-properties': 7.12.13(@babel/core@7.26.10) - '@babel/plugin-syntax-flow': 7.26.0(@babel/core@7.26.10) - '@babel/plugin-syntax-jsx': 7.25.9(@babel/core@7.26.10) - '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.26.10) - '@babel/plugin-transform-arrow-functions': 7.25.9(@babel/core@7.26.10) - '@babel/plugin-transform-block-scoped-functions': 7.26.5(@babel/core@7.26.10) - '@babel/plugin-transform-block-scoping': 7.25.9(@babel/core@7.26.10) - '@babel/plugin-transform-classes': 7.25.9(@babel/core@7.26.10) - '@babel/plugin-transform-computed-properties': 7.25.9(@babel/core@7.26.10) - '@babel/plugin-transform-destructuring': 7.25.9(@babel/core@7.26.10) - '@babel/plugin-transform-flow-strip-types': 7.26.5(@babel/core@7.26.10) - '@babel/plugin-transform-for-of': 7.26.9(@babel/core@7.26.10) - '@babel/plugin-transform-function-name': 7.25.9(@babel/core@7.26.10) - '@babel/plugin-transform-literals': 7.25.9(@babel/core@7.26.10) - '@babel/plugin-transform-member-expression-literals': 7.25.9(@babel/core@7.26.10) - '@babel/plugin-transform-modules-commonjs': 7.26.3(@babel/core@7.26.10) - '@babel/plugin-transform-object-super': 7.25.9(@babel/core@7.26.10) - '@babel/plugin-transform-parameters': 7.25.9(@babel/core@7.26.10) - '@babel/plugin-transform-property-literals': 7.25.9(@babel/core@7.26.10) - '@babel/plugin-transform-react-display-name': 7.25.9(@babel/core@7.26.10) - '@babel/plugin-transform-react-jsx': 7.25.9(@babel/core@7.26.10) - '@babel/plugin-transform-shorthand-properties': 7.25.9(@babel/core@7.26.10) - '@babel/plugin-transform-spread': 7.25.9(@babel/core@7.26.10) - '@babel/plugin-transform-template-literals': 7.26.8(@babel/core@7.26.10) + babel-preset-fbjs@3.4.0(@babel/core@7.28.4): + dependencies: + '@babel/core': 7.28.4 + '@babel/plugin-proposal-class-properties': 7.18.6(@babel/core@7.28.4) + '@babel/plugin-proposal-object-rest-spread': 7.20.7(@babel/core@7.28.4) + '@babel/plugin-syntax-class-properties': 7.12.13(@babel/core@7.28.4) + '@babel/plugin-syntax-flow': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-syntax-jsx': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.28.4) + '@babel/plugin-transform-arrow-functions': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-block-scoped-functions': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-block-scoping': 7.28.4(@babel/core@7.28.4) + '@babel/plugin-transform-classes': 7.28.4(@babel/core@7.28.4) + '@babel/plugin-transform-computed-properties': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-destructuring': 7.28.0(@babel/core@7.28.4) + '@babel/plugin-transform-flow-strip-types': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-for-of': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-function-name': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-literals': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-member-expression-literals': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-modules-commonjs': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-object-super': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-parameters': 7.27.7(@babel/core@7.28.4) + '@babel/plugin-transform-property-literals': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-react-display-name': 7.28.0(@babel/core@7.28.4) + '@babel/plugin-transform-react-jsx': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-shorthand-properties': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-spread': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-template-literals': 7.27.1(@babel/core@7.28.4) babel-plugin-syntax-trailing-function-commas: 7.0.0-beta.0 transitivePeerDependencies: - supports-color @@ -11180,6 +10660,8 @@ snapshots: base64-js@1.5.1: {} + baseline-browser-mapping@2.8.3: {} + big-integer@1.6.52: {} binary-extensions@2.3.0: {} @@ -11194,12 +10676,12 @@ snapshots: boolbase@1.0.0: {} - brace-expansion@1.1.11: + brace-expansion@1.1.12: dependencies: balanced-match: 1.0.2 concat-map: 0.0.1 - brace-expansion@2.0.1: + brace-expansion@2.0.2: dependencies: balanced-match: 1.0.2 @@ -11209,7 +10691,7 @@ snapshots: broadcast-channel@3.7.0: dependencies: - '@babel/runtime': 7.26.10 + '@babel/runtime': 7.28.4 detect-node: 2.1.0 js-sha3: 0.8.0 microseconds: 0.2.0 @@ -11220,17 +10702,18 @@ snapshots: browserslist@4.22.1: dependencies: - caniuse-lite: 1.0.30001706 - electron-to-chromium: 1.5.120 - node-releases: 2.0.19 + caniuse-lite: 1.0.30001741 + electron-to-chromium: 1.5.218 + node-releases: 2.0.21 update-browserslist-db: 1.1.3(browserslist@4.22.1) - browserslist@4.24.4: + browserslist@4.26.0: dependencies: - caniuse-lite: 1.0.30001706 - electron-to-chromium: 1.5.120 - node-releases: 2.0.19 - update-browserslist-db: 1.1.3(browserslist@4.24.4) + baseline-browser-mapping: 2.8.3 + caniuse-lite: 1.0.30001741 + electron-to-chromium: 1.5.218 + node-releases: 2.0.21 + update-browserslist-db: 1.1.3(browserslist@4.26.0) bser@2.1.1: dependencies: @@ -11246,11 +10729,6 @@ snapshots: base64-js: 1.5.1 ieee754: 1.2.1 - bufferutil@4.0.9: - dependencies: - node-gyp-build: 4.8.4 - optional: true - bundle-require@4.2.1(esbuild@0.17.19): dependencies: esbuild: 0.17.19 @@ -11261,10 +10739,6 @@ snapshots: esbuild: 0.18.20 load-tsconfig: 0.2.5 - busboy@1.6.0: - dependencies: - streamsearch: 1.1.0 - cac@6.7.14: {} cacheable-lookup@7.0.0: {} @@ -11273,20 +10747,20 @@ snapshots: dependencies: '@types/http-cache-semantics': 4.0.4 get-stream: 6.0.1 - http-cache-semantics: 4.1.1 + http-cache-semantics: 4.2.0 keyv: 4.5.4 mimic-response: 4.0.0 - normalize-url: 8.0.1 + normalize-url: 8.1.0 responselike: 3.0.0 cacheable-request@12.0.1: dependencies: '@types/http-cache-semantics': 4.0.4 get-stream: 9.0.1 - http-cache-semantics: 4.1.1 + http-cache-semantics: 4.2.0 keyv: 4.5.4 mimic-response: 4.0.0 - normalize-url: 8.0.1 + normalize-url: 8.1.0 responselike: 3.0.0 callsites@3.1.0: {} @@ -11302,7 +10776,7 @@ snapshots: camelcase@6.3.0: {} - caniuse-lite@1.0.30001706: {} + caniuse-lite@1.0.30001741: {} capital-case@1.0.4: dependencies: @@ -11327,19 +10801,6 @@ snapshots: chalk@5.3.0: {} - 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 @@ -11370,7 +10831,7 @@ snapshots: change-case@5.1.2: {} - chardet@0.7.0: {} + chardet@2.1.0: {} check-error@1.0.3: dependencies: @@ -11435,10 +10896,10 @@ snapshots: cmdk@1.1.1(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: - '@radix-ui/react-compose-refs': 1.1.1(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-dialog': 1.1.6(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@radix-ui/react-id': 1.1.0(@types/react@18.2.48)(react@18.2.0) - '@radix-ui/react-primitive': 2.0.2(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-compose-refs': 1.1.2(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-dialog': 1.1.15(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@radix-ui/react-id': 1.1.1(@types/react@18.2.48)(react@18.2.0) + '@radix-ui/react-primitive': 2.1.3(@types/react-dom@18.2.18)(@types/react@18.2.48)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) transitivePeerDependencies: @@ -11447,9 +10908,9 @@ snapshots: code-red@1.0.4: dependencies: - '@jridgewell/sourcemap-codec': 1.5.0 - '@types/estree': 1.0.6 - acorn: 8.14.1 + '@jridgewell/sourcemap-codec': 1.5.5 + '@types/estree': 1.0.8 + acorn: 8.15.0 estree-walker: 3.0.3 periscopic: 3.1.0 @@ -11462,7 +10923,7 @@ snapshots: color-string@1.9.1: dependencies: color-name: 1.1.4 - simple-swizzle: 0.2.2 + simple-swizzle: 0.2.4 color@4.2.3: dependencies: @@ -11485,7 +10946,7 @@ snapshots: date-fns: 2.30.0 lodash: 4.17.21 rxjs: 7.8.2 - shell-quote: 1.8.2 + shell-quote: 1.8.3 spawn-command: 0.0.2 supports-color: 8.1.1 tree-kill: 1.2.2 @@ -11522,14 +10983,14 @@ snapshots: path-type: 4.0.0 yaml: 1.10.2 - cosmiconfig@8.3.6(typescript@5.8.2): + 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.8.2 + typescript: 5.9.2 cosmiconfig@9.0.0(typescript@5.2.2): dependencies: @@ -11569,15 +11030,15 @@ snapshots: css-select@4.3.0: dependencies: boolbase: 1.0.0 - css-what: 6.1.0 + css-what: 6.2.2 domhandler: 4.3.1 domutils: 2.8.0 nth-check: 2.1.1 - css-select@5.1.0: + css-select@5.2.2: dependencies: boolbase: 1.0.0 - css-what: 6.1.0 + css-what: 6.2.2 domhandler: 5.0.3 domutils: 3.2.2 nth-check: 2.1.1 @@ -11597,7 +11058,7 @@ snapshots: mdn-data: 2.0.30 source-map-js: 1.2.1 - css-what@6.1.0: {} + css-what@6.2.2: {} cssesc@3.0.0: {} @@ -11617,11 +11078,15 @@ snapshots: date-fns@2.30.0: dependencies: - '@babel/runtime': 7.26.10 + '@babel/runtime': 7.28.4 debounce@1.2.1: {} - debug@4.4.0: + debug@4.4.1: + dependencies: + ms: 2.1.3 + + debug@4.4.3: dependencies: ms: 2.1.3 @@ -11653,7 +11118,7 @@ snapshots: detect-libc@1.0.3: {} - detect-libc@2.0.3: {} + detect-libc@2.1.0: {} detect-node-es@1.1.0: {} @@ -11710,13 +11175,13 @@ snapshots: dotenv-expand@12.0.1: dependencies: - dotenv: 16.4.7 + dotenv: 16.6.1 dotenv-expand@5.1.0: {} dotenv@16.3.1: {} - dotenv@16.4.7: {} + dotenv@16.6.1: {} dotenv@7.0.0: {} @@ -11724,7 +11189,7 @@ snapshots: eastasianwidth@0.2.0: {} - electron-to-chromium@1.5.120: {} + electron-to-chromium@1.5.218: {} emoji-regex@8.0.0: {} @@ -11831,7 +11296,7 @@ snapshots: estree-walker@3.0.3: dependencies: - '@types/estree': 1.0.6 + '@types/estree': 1.0.8 ethereum-cryptography@2.2.1: dependencies: @@ -11840,7 +11305,7 @@ snapshots: '@scure/bip32': 1.4.0 '@scure/bip39': 1.3.0 - ethers@6.15.0(bufferutil@4.0.9)(utf-8-validate@5.0.10): + ethers@6.15.0: dependencies: '@adraffy/ens-normalize': 1.10.1 '@noble/curves': 1.2.0 @@ -11848,7 +11313,7 @@ snapshots: '@types/node': 22.7.5 aes-js: 4.0.0-beta.5 tslib: 2.7.0 - ws: 8.17.1(bufferutil@4.0.9)(utf-8-validate@5.0.10) + ws: 8.17.1 transitivePeerDependencies: - bufferutil - utf-8-validate @@ -11888,12 +11353,6 @@ snapshots: readable-stream: 4.7.0 webextension-polyfill: 0.12.0 - external-editor@3.1.0: - dependencies: - chardet: 0.7.0 - iconv-lite: 0.4.24 - tmp: 0.0.33 - fast-deep-equal@3.1.3: {} fast-glob@3.3.2: @@ -11904,6 +11363,14 @@ snapshots: merge2: 1.4.1 micromatch: 4.0.8 + 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-safe-stringify@2.1.1: {} fastq@1.19.1: @@ -11924,7 +11391,7 @@ snapshots: object-assign: 4.1.1 promise: 7.3.1 setimmediate: 1.0.5 - ua-parser-js: 1.0.40 + ua-parser-js: 1.0.41 transitivePeerDependencies: - encoding @@ -11957,7 +11424,7 @@ snapshots: form-data-encoder@2.1.4: {} - form-data-encoder@4.0.2: {} + form-data-encoder@4.1.0: {} formdata-polyfill@4.0.10: dependencies: @@ -11968,7 +11435,7 @@ snapshots: fs-extra@11.1.1: dependencies: graceful-fs: 4.2.11 - jsonfile: 6.1.0 + jsonfile: 6.2.0 universalify: 2.0.1 fs.realpath@1.0.0: {} @@ -12023,8 +11490,6 @@ snapshots: once: 1.4.0 path-is-absolute: 1.0.1 - globals@11.12.0: {} - globals@13.24.0: dependencies: type-fest: 0.20.2 @@ -12033,7 +11498,7 @@ snapshots: dependencies: array-union: 2.1.0 dir-glob: 3.0.1 - fast-glob: 3.3.2 + fast-glob: 3.3.3 ignore: 5.3.2 merge2: 1.4.1 slash: 3.0.0 @@ -12054,33 +11519,57 @@ snapshots: got@14.4.5: dependencies: - '@sindresorhus/is': 7.0.1 + '@sindresorhus/is': 7.1.0 '@szmarczak/http-timer': 5.0.1 cacheable-lookup: 7.0.0 cacheable-request: 12.0.1 decompress-response: 6.0.0 - form-data-encoder: 4.0.2 + form-data-encoder: 4.1.0 http2-wrapper: 2.2.1 lowercase-keys: 3.0.0 p-cancelable: 4.0.1 responselike: 3.0.0 - type-fest: 4.37.0 + type-fest: 4.41.0 graceful-fs@4.2.10: {} graceful-fs@4.2.11: {} - graphql-config@5.1.3(@types/node@20.11.5)(bufferutil@4.0.9)(graphql@16.10.0)(typescript@5.8.2)(utf-8-validate@5.0.10): - dependencies: - '@graphql-tools/graphql-file-loader': 8.0.19(graphql@16.10.0) - '@graphql-tools/json-file-loader': 8.0.18(graphql@16.10.0) - '@graphql-tools/load': 8.0.19(graphql@16.10.0) - '@graphql-tools/merge': 9.0.24(graphql@16.10.0) - '@graphql-tools/url-loader': 8.0.31(@types/node@20.11.5)(bufferutil@4.0.9)(graphql@16.10.0)(utf-8-validate@5.0.10) - '@graphql-tools/utils': 10.8.6(graphql@16.10.0) - cosmiconfig: 8.3.6(typescript@5.8.2) - graphql: 16.10.0 - jiti: 2.4.2 + graphql-config@5.1.5(@types/node@20.11.5)(graphql@16.11.0)(typescript@5.9.2): + dependencies: + '@graphql-tools/graphql-file-loader': 8.1.1(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@20.11.5)(graphql@16.11.0) + '@graphql-tools/utils': 10.9.1(graphql@16.11.0) + cosmiconfig: 8.3.6(typescript@5.9.2) + graphql: 16.11.0 + jiti: 2.5.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-config@5.1.5(@types/node@22.7.5)(graphql@16.11.0)(typescript@5.9.2): + dependencies: + '@graphql-tools/graphql-file-loader': 8.1.1(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@22.7.5)(graphql@16.11.0) + '@graphql-tools/utils': 10.9.1(graphql@16.11.0) + cosmiconfig: 8.3.6(typescript@5.9.2) + graphql: 16.11.0 + jiti: 2.5.1 minimatch: 9.0.5 string-env-interpolation: 1.0.1 tslib: 2.8.1 @@ -12089,6 +11578,7 @@ snapshots: - '@types/node' - bufferutil - crossws + - supports-color - typescript - uWebSockets.js - utf-8-validate @@ -12097,39 +11587,33 @@ snapshots: dependencies: graphql: 15.10.1 - graphql-request@6.1.0(graphql@16.10.0): + graphql-request@6.1.0(graphql@16.11.0): dependencies: - '@graphql-typed-document-node/core': 3.2.0(graphql@16.10.0) + '@graphql-typed-document-node/core': 3.2.0(graphql@16.11.0) cross-fetch: 3.2.0 - graphql: 16.10.0 + graphql: 16.11.0 transitivePeerDependencies: - encoding - graphql-request@7.1.2(graphql@16.10.0): + graphql-request@7.2.0(graphql@16.11.0): dependencies: - '@graphql-typed-document-node/core': 3.2.0(graphql@16.10.0) - graphql: 16.10.0 + '@graphql-typed-document-node/core': 3.2.0(graphql@16.11.0) + graphql: 16.11.0 - graphql-tag@2.12.6(graphql@16.10.0): + graphql-tag@2.12.6(graphql@16.11.0): dependencies: - graphql: 16.10.0 + graphql: 16.11.0 tslib: 2.8.1 - graphql-ws@6.0.4(graphql@16.10.0)(ws@8.18.1(bufferutil@4.0.9)(utf-8-validate@5.0.10)): - dependencies: - graphql: 16.10.0 - optionalDependencies: - ws: 8.18.1(bufferutil@4.0.9)(utf-8-validate@5.0.10) - - graphql-ws@6.0.5(graphql@16.10.0)(ws@8.18.1(bufferutil@4.0.9)(utf-8-validate@5.0.10)): + graphql-ws@6.0.6(graphql@16.11.0)(ws@8.18.3): dependencies: - graphql: 16.10.0 + graphql: 16.11.0 optionalDependencies: - ws: 8.18.1(bufferutil@4.0.9)(utf-8-validate@5.0.10) + ws: 8.18.3 graphql@15.10.1: {} - graphql@16.10.0: {} + graphql@16.11.0: {} has-flag@4.0.0: {} @@ -12146,11 +11630,11 @@ snapshots: dependencies: react-is: 16.13.1 - htmlnano@2.1.1(postcss@8.4.31)(svgo@2.8.0)(typescript@5.2.2): + htmlnano@2.1.4(postcss@8.4.31)(svgo@2.8.0)(typescript@5.2.2): dependencies: + '@types/relateurl': 0.2.33 cosmiconfig: 9.0.0(typescript@5.2.2) posthtml: 0.16.6 - timsort: 0.3.0 optionalDependencies: postcss: 8.4.31 svgo: 2.8.0 @@ -12164,12 +11648,12 @@ snapshots: domutils: 2.8.0 entities: 3.0.1 - http-cache-semantics@4.1.1: {} + http-cache-semantics@4.2.0: {} http-proxy-agent@7.0.2: dependencies: - agent-base: 7.1.3 - debug: 4.4.0 + agent-base: 7.1.4 + debug: 4.4.3 transitivePeerDependencies: - supports-color @@ -12180,8 +11664,8 @@ snapshots: https-proxy-agent@7.0.6: dependencies: - agent-base: 7.1.3 - debug: 4.4.0 + agent-base: 7.1.4 + debug: 4.4.3 transitivePeerDependencies: - supports-color @@ -12189,14 +11673,14 @@ snapshots: human-signals@5.0.0: {} - iconv-lite@0.4.24: + iconv-lite@0.6.3: dependencies: safer-buffer: 2.1.2 + optional: true - iconv-lite@0.6.3: + iconv-lite@0.7.0: dependencies: safer-buffer: 2.1.2 - optional: true ieee754@1.2.1: {} @@ -12209,7 +11693,7 @@ snapshots: immutable@3.7.6: {} - immutable@5.0.3: {} + immutable@5.1.3: {} import-fresh@3.3.1: dependencies: @@ -12231,9 +11715,9 @@ snapshots: inquirer@12.4.1(@types/node@20.11.5): dependencies: - '@inquirer/core': 10.1.9(@types/node@20.11.5) - '@inquirer/prompts': 7.4.0(@types/node@20.11.5) - '@inquirer/type': 3.0.5(@types/node@20.11.5) + '@inquirer/core': 10.2.2(@types/node@20.11.5) + '@inquirer/prompts': 7.8.6(@types/node@20.11.5) + '@inquirer/type': 3.0.8(@types/node@20.11.5) ansi-escapes: 4.3.2 mute-stream: 2.0.0 run-async: 3.0.0 @@ -12241,13 +11725,33 @@ snapshots: optionalDependencies: '@types/node': 20.11.5 - inquirer@8.2.6: + inquirer@8.2.7(@types/node@20.11.5): + dependencies: + '@inquirer/external-editor': 1.0.2(@types/node@20.11.5) + 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' + + inquirer@8.2.7(@types/node@22.7.5): dependencies: + '@inquirer/external-editor': 1.0.2(@types/node@22.7.5) 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 @@ -12258,6 +11762,8 @@ snapshots: strip-ansi: 6.0.1 through: 2.3.8 wrap-ansi: 6.2.0 + transitivePeerDependencies: + - '@types/node' invariant@2.2.4: dependencies: @@ -12270,7 +11776,7 @@ snapshots: is-arrayish@0.2.1: {} - is-arrayish@0.3.2: {} + is-arrayish@0.3.4: {} is-binary-path@2.1.0: dependencies: @@ -12302,7 +11808,7 @@ snapshots: is-reference@3.0.3: dependencies: - '@types/estree': 1.0.6 + '@types/estree': 1.0.8 is-relative@1.0.0: dependencies: @@ -12332,17 +11838,13 @@ snapshots: isexe@2.0.0: {} - isomorphic-ws@5.0.0(ws@8.18.1(bufferutil@4.0.9)(utf-8-validate@5.0.10)): - dependencies: - ws: 8.18.1(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)): + isomorphic-ws@5.0.0(ws@8.18.3): dependencies: - ws: 8.18.0(bufferutil@4.0.9)(utf-8-validate@5.0.10) + ws: 8.18.3 - isows@1.0.6(ws@8.18.1(bufferutil@4.0.9)(utf-8-validate@5.0.10)): + isows@1.0.7(ws@8.18.3): dependencies: - ws: 8.18.1(bufferutil@4.0.9)(utf-8-validate@5.0.10) + ws: 8.18.3 jackspeak@3.4.3: dependencies: @@ -12352,7 +11854,7 @@ snapshots: jiti@1.21.7: {} - jiti@2.4.2: {} + jiti@2.5.1: {} jose@5.10.0: {} @@ -12376,7 +11878,7 @@ snapshots: json-schema-to-ts@3.1.1: dependencies: - '@babel/runtime': 7.26.10 + '@babel/runtime': 7.28.4 ts-algebra: 2.0.0 json-to-pretty-yaml@1.2.2: @@ -12386,7 +11888,7 @@ snapshots: json5@2.2.3: {} - jsonfile@6.1.0: + jsonfile@6.2.0: dependencies: universalify: 2.0.1 optionalDependencies: @@ -12396,9 +11898,9 @@ snapshots: dependencies: json-buffer: 3.0.1 - ky@1.7.5: {} + ky@1.10.0: {} - less@4.2.2: + less@4.4.1: dependencies: copy-anything: 2.0.6 parse-node-version: 1.0.1 @@ -12415,58 +11917,58 @@ snapshots: lightningcss-darwin-arm64@1.21.8: optional: true - lightningcss-darwin-arm64@1.29.3: + lightningcss-darwin-arm64@1.30.1: optional: true lightningcss-darwin-x64@1.21.8: optional: true - lightningcss-darwin-x64@1.29.3: + lightningcss-darwin-x64@1.30.1: optional: true lightningcss-freebsd-x64@1.21.8: optional: true - lightningcss-freebsd-x64@1.29.3: + lightningcss-freebsd-x64@1.30.1: optional: true lightningcss-linux-arm-gnueabihf@1.21.8: optional: true - lightningcss-linux-arm-gnueabihf@1.29.3: + lightningcss-linux-arm-gnueabihf@1.30.1: optional: true lightningcss-linux-arm64-gnu@1.21.8: optional: true - lightningcss-linux-arm64-gnu@1.29.3: + lightningcss-linux-arm64-gnu@1.30.1: optional: true lightningcss-linux-arm64-musl@1.21.8: optional: true - lightningcss-linux-arm64-musl@1.29.3: + lightningcss-linux-arm64-musl@1.30.1: optional: true lightningcss-linux-x64-gnu@1.21.8: optional: true - lightningcss-linux-x64-gnu@1.29.3: + lightningcss-linux-x64-gnu@1.30.1: optional: true lightningcss-linux-x64-musl@1.21.8: optional: true - lightningcss-linux-x64-musl@1.29.3: + lightningcss-linux-x64-musl@1.30.1: optional: true - lightningcss-win32-arm64-msvc@1.29.3: + lightningcss-win32-arm64-msvc@1.30.1: optional: true lightningcss-win32-x64-msvc@1.21.8: optional: true - lightningcss-win32-x64-msvc@1.29.3: + lightningcss-win32-x64-msvc@1.30.1: optional: true lightningcss@1.21.8: @@ -12483,20 +11985,20 @@ snapshots: lightningcss-linux-x64-musl: 1.21.8 lightningcss-win32-x64-msvc: 1.21.8 - lightningcss@1.29.3: + lightningcss@1.30.1: dependencies: - detect-libc: 2.0.3 + detect-libc: 2.1.0 optionalDependencies: - lightningcss-darwin-arm64: 1.29.3 - lightningcss-darwin-x64: 1.29.3 - lightningcss-freebsd-x64: 1.29.3 - lightningcss-linux-arm-gnueabihf: 1.29.3 - lightningcss-linux-arm64-gnu: 1.29.3 - lightningcss-linux-arm64-musl: 1.29.3 - lightningcss-linux-x64-gnu: 1.29.3 - lightningcss-linux-x64-musl: 1.29.3 - lightningcss-win32-arm64-msvc: 1.29.3 - lightningcss-win32-x64-msvc: 1.29.3 + lightningcss-darwin-arm64: 1.30.1 + lightningcss-darwin-x64: 1.30.1 + lightningcss-freebsd-x64: 1.30.1 + lightningcss-linux-arm-gnueabihf: 1.30.1 + lightningcss-linux-arm64-gnu: 1.30.1 + lightningcss-linux-arm64-musl: 1.30.1 + lightningcss-linux-x64-gnu: 1.30.1 + lightningcss-linux-x64-musl: 1.30.1 + lightningcss-win32-arm64-msvc: 1.30.1 + lightningcss-win32-x64-msvc: 1.30.1 lilconfig@2.1.0: {} @@ -12517,10 +12019,10 @@ snapshots: lmdb@2.5.2: dependencies: - msgpackr: 1.11.2 + msgpackr: 1.11.5 node-addon-api: 4.3.0 node-gyp-build-optional-packages: 5.0.3 - ordered-binary: 1.5.3 + ordered-binary: 1.6.0 weak-lru-cache: 1.2.2 optionalDependencies: '@lmdb/lmdb-darwin-arm64': 2.5.2 @@ -12535,7 +12037,7 @@ snapshots: msgpackr: 1.8.5 node-addon-api: 4.3.0 node-gyp-build-optional-packages: 5.0.6 - ordered-binary: 1.5.3 + ordered-binary: 1.6.0 weak-lru-cache: 1.2.2 optionalDependencies: '@lmdb/lmdb-darwin-arm64': 2.7.11 @@ -12549,7 +12051,7 @@ snapshots: local-pkg@0.5.1: dependencies: - mlly: 1.7.4 + mlly: 1.8.0 pkg-types: 1.3.1 locate-character@3.0.0: {} @@ -12610,9 +12112,9 @@ snapshots: dependencies: react: 18.2.0 - magic-string@0.30.17: + magic-string@0.30.19: dependencies: - '@jridgewell/sourcemap-codec': 1.5.0 + '@jridgewell/sourcemap-codec': 1.5.5 make-dir@2.1.0: dependencies: @@ -12624,7 +12126,7 @@ snapshots: match-sorter@6.3.4: dependencies: - '@babel/runtime': 7.26.10 + '@babel/runtime': 7.28.4 remove-accents: 0.5.0 mdn-data@2.0.14: {} @@ -12637,10 +12139,14 @@ snapshots: merge2@1.4.1: {} - meros@1.3.0(@types/node@20.11.5): + meros@1.3.2(@types/node@20.11.5): optionalDependencies: '@types/node': 20.11.5 + meros@1.3.2(@types/node@22.7.5): + optionalDependencies: + '@types/node': 22.7.5 + meshoptimizer@0.18.1: {} metamask-extension-provider@5.0.0: @@ -12675,22 +12181,22 @@ snapshots: minimatch@3.1.2: dependencies: - brace-expansion: 1.1.11 + brace-expansion: 1.1.12 minimatch@9.0.5: dependencies: - brace-expansion: 2.0.1 + brace-expansion: 2.0.2 minimist@1.2.8: {} minipass@7.1.2: {} - mlly@1.7.4: + mlly@1.8.0: dependencies: - acorn: 8.14.1 + acorn: 8.15.0 pathe: 2.0.3 pkg-types: 1.3.1 - ufo: 1.5.4 + ufo: 1.6.1 mnemonic-id@3.2.7: {} @@ -12708,7 +12214,7 @@ snapshots: '@msgpackr-extract/msgpackr-extract-win32-x64': 3.0.3 optional: true - msgpackr@1.11.2: + msgpackr@1.11.5: optionalDependencies: msgpackr-extract: 3.0.3 @@ -12765,17 +12271,14 @@ snapshots: node-gyp-build-optional-packages@5.2.2: dependencies: - detect-libc: 2.0.3 - optional: true - - node-gyp-build@4.8.4: + detect-libc: 2.1.0 optional: true node-int64@0.4.0: {} node-object-hash@3.0.0: {} - node-releases@2.0.19: {} + node-releases@2.0.21: {} normalize-path@2.1.1: dependencies: @@ -12785,7 +12288,7 @@ snapshots: normalize-range@0.1.2: {} - normalize-url@8.0.1: {} + normalize-url@8.1.0: {} npm-run-path@4.0.1: dependencies: @@ -12838,35 +12341,20 @@ snapshots: strip-ansi: 6.0.1 wcwidth: 1.0.1 - ordered-binary@1.5.3: {} - - os-tmpdir@1.0.2: {} - - ox@0.6.0(typescript@5.8.2)(zod@3.24.2): - dependencies: - '@adraffy/ens-normalize': 1.11.0 - '@noble/curves': 1.8.1 - '@noble/hashes': 1.7.1 - '@scure/bip32': 1.6.2 - '@scure/bip39': 1.5.4 - abitype: 1.0.8(typescript@5.8.2)(zod@3.24.2) - eventemitter3: 5.0.1 - optionalDependencies: - typescript: 5.8.2 - transitivePeerDependencies: - - zod + ordered-binary@1.6.0: {} - ox@0.6.9(typescript@5.8.2)(zod@3.24.2): + ox@0.9.3(typescript@5.9.2)(zod@3.25.76): dependencies: '@adraffy/ens-normalize': 1.11.0 - '@noble/curves': 1.8.1 - '@noble/hashes': 1.7.1 - '@scure/bip32': 1.6.2 - '@scure/bip39': 1.5.4 - abitype: 1.0.8(typescript@5.8.2)(zod@3.24.2) + '@noble/ciphers': 1.3.0 + '@noble/curves': 1.9.1 + '@noble/hashes': 1.8.0 + '@scure/bip32': 1.7.0 + '@scure/bip39': 1.6.0 + abitype: 1.1.0(typescript@5.9.2)(zod@3.25.76) eventemitter3: 5.0.1 optionalDependencies: - typescript: 5.8.2 + typescript: 5.9.2 transitivePeerDependencies: - zod @@ -12900,10 +12388,10 @@ snapshots: package-json@10.0.1: dependencies: - ky: 1.7.5 + ky: 1.10.0 registry-auth-token: 5.1.0 registry-url: 6.0.1 - semver: 7.7.1 + semver: 7.7.2 param-case@3.0.4: dependencies: @@ -12922,7 +12410,7 @@ snapshots: parse-json@5.2.0: dependencies: - '@babel/code-frame': 7.26.2 + '@babel/code-frame': 7.27.1 error-ex: 1.3.2 json-parse-even-better-errors: 2.3.1 lines-and-columns: 1.2.4 @@ -12970,7 +12458,7 @@ snapshots: periscopic@3.1.0: dependencies: - '@types/estree': 1.0.6 + '@types/estree': 1.0.8 estree-walker: 3.0.3 is-reference: 3.0.3 @@ -12985,15 +12473,15 @@ snapshots: pify@6.1.0: {} - pirates@4.0.6: {} + pirates@4.0.7: {} pkg-types@1.3.1: dependencies: confbox: 0.1.8 - mlly: 1.7.4 + mlly: 1.8.0 pathe: 2.0.3 - plasmo@0.90.3(@swc/core@1.11.11(@swc/helpers@0.5.15))(@swc/helpers@0.5.15)(@types/node@20.11.5)(lodash@4.17.21)(postcss@8.4.31)(react-dom@18.2.0(react@18.2.0))(react@18.2.0): + plasmo@0.90.3(@swc/core@1.13.5(@swc/helpers@0.5.17))(@swc/helpers@0.5.17)(@types/node@20.11.5)(lodash@4.17.21)(postcss@8.4.31)(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: '@expo/spawn-async': 1.7.2 '@parcel/core': 2.9.3 @@ -13001,7 +12489,7 @@ snapshots: '@parcel/package-manager': 2.9.3(@parcel/core@2.9.3) '@parcel/watcher': 2.2.0 '@plasmohq/init': 0.7.0 - '@plasmohq/parcel-config': 0.42.0(@swc/core@1.11.11(@swc/helpers@0.5.15))(@swc/helpers@0.5.15)(lodash@4.17.21)(postcss@8.4.31)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.2.2) + '@plasmohq/parcel-config': 0.42.0(@swc/core@1.13.5(@swc/helpers@0.5.17))(@swc/helpers@0.5.17)(lodash@4.17.21)(postcss@8.4.31)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.2.2) '@plasmohq/parcel-core': 0.1.10 buffer: 6.0.3 chalk: 5.3.0 @@ -13106,10 +12594,17 @@ snapshots: optionalDependencies: postcss: 8.4.31 + postcss-load-config@3.1.4(postcss@8.5.6): + dependencies: + lilconfig: 2.1.0 + yaml: 1.10.2 + optionalDependencies: + postcss: 8.5.6 + postcss-load-config@4.0.2(postcss@8.4.31): dependencies: lilconfig: 3.1.3 - yaml: 2.7.0 + yaml: 2.8.1 optionalDependencies: postcss: 8.4.31 @@ -13131,7 +12626,7 @@ snapshots: picocolors: 1.1.1 source-map-js: 1.2.1 - postcss@8.5.3: + postcss@8.5.6: dependencies: nanoid: 3.3.11 picocolors: 1.1.1 @@ -13200,7 +12695,7 @@ snapshots: react-error-overlay@6.0.9: {} - react-hook-form@7.54.2(react@18.2.0): + react-hook-form@7.62.0(react@18.2.0): dependencies: react: 18.2.0 @@ -13210,7 +12705,7 @@ snapshots: react-query@3.39.3(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: - '@babel/runtime': 7.26.10 + '@babel/runtime': 7.28.4 broadcast-channel: 3.7.0 match-sorter: 6.3.4 react: 18.2.0 @@ -13229,7 +12724,7 @@ snapshots: optionalDependencies: '@types/react': 18.2.48 - react-remove-scroll@2.6.3(@types/react@18.2.48)(react@18.2.0): + react-remove-scroll@2.7.1(@types/react@18.2.48)(react@18.2.0): dependencies: react: 18.2.0 react-remove-scroll-bar: 2.3.8(@types/react@18.2.48)(react@18.2.0) @@ -13240,24 +12735,22 @@ snapshots: optionalDependencies: '@types/react': 18.2.48 - react-resizable-panels@2.1.7(react-dom@18.2.0(react@18.2.0))(react@18.2.0): + react-resizable-panels@2.1.9(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - react-router-dom@7.3.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0): + react-router-dom@7.9.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - react-router: 7.3.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + react-router: 7.9.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - react-router@7.3.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0): + react-router@7.9.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: - '@types/cookie': 0.6.0 cookie: 1.0.2 react: 18.2.0 set-cookie-parser: 2.7.1 - turbo-stream: 2.4.0 optionalDependencies: react-dom: 18.2.0(react@18.2.0) @@ -13299,8 +12792,6 @@ snapshots: regenerator-runtime@0.13.11: {} - regenerator-runtime@0.14.1: {} - registry-auth-token@5.1.0: dependencies: '@pnpm/npm-conf': 2.3.1 @@ -13316,7 +12807,7 @@ snapshots: relay-runtime@12.0.0: dependencies: - '@babel/runtime': 7.26.10 + '@babel/runtime': 7.28.4 fbjs: 3.0.5 invariant: 2.2.4 transitivePeerDependencies: @@ -13367,30 +12858,31 @@ snapshots: optionalDependencies: fsevents: 2.3.3 - rollup@4.37.0: - dependencies: - '@types/estree': 1.0.6 - optionalDependencies: - '@rollup/rollup-android-arm-eabi': 4.37.0 - '@rollup/rollup-android-arm64': 4.37.0 - '@rollup/rollup-darwin-arm64': 4.37.0 - '@rollup/rollup-darwin-x64': 4.37.0 - '@rollup/rollup-freebsd-arm64': 4.37.0 - '@rollup/rollup-freebsd-x64': 4.37.0 - '@rollup/rollup-linux-arm-gnueabihf': 4.37.0 - '@rollup/rollup-linux-arm-musleabihf': 4.37.0 - '@rollup/rollup-linux-arm64-gnu': 4.37.0 - '@rollup/rollup-linux-arm64-musl': 4.37.0 - '@rollup/rollup-linux-loongarch64-gnu': 4.37.0 - '@rollup/rollup-linux-powerpc64le-gnu': 4.37.0 - '@rollup/rollup-linux-riscv64-gnu': 4.37.0 - '@rollup/rollup-linux-riscv64-musl': 4.37.0 - '@rollup/rollup-linux-s390x-gnu': 4.37.0 - '@rollup/rollup-linux-x64-gnu': 4.37.0 - '@rollup/rollup-linux-x64-musl': 4.37.0 - '@rollup/rollup-win32-arm64-msvc': 4.37.0 - '@rollup/rollup-win32-ia32-msvc': 4.37.0 - '@rollup/rollup-win32-x64-msvc': 4.37.0 + rollup@4.50.1: + dependencies: + '@types/estree': 1.0.8 + optionalDependencies: + '@rollup/rollup-android-arm-eabi': 4.50.1 + '@rollup/rollup-android-arm64': 4.50.1 + '@rollup/rollup-darwin-arm64': 4.50.1 + '@rollup/rollup-darwin-x64': 4.50.1 + '@rollup/rollup-freebsd-arm64': 4.50.1 + '@rollup/rollup-freebsd-x64': 4.50.1 + '@rollup/rollup-linux-arm-gnueabihf': 4.50.1 + '@rollup/rollup-linux-arm-musleabihf': 4.50.1 + '@rollup/rollup-linux-arm64-gnu': 4.50.1 + '@rollup/rollup-linux-arm64-musl': 4.50.1 + '@rollup/rollup-linux-loongarch64-gnu': 4.50.1 + '@rollup/rollup-linux-ppc64-gnu': 4.50.1 + '@rollup/rollup-linux-riscv64-gnu': 4.50.1 + '@rollup/rollup-linux-riscv64-musl': 4.50.1 + '@rollup/rollup-linux-s390x-gnu': 4.50.1 + '@rollup/rollup-linux-x64-gnu': 4.50.1 + '@rollup/rollup-linux-x64-musl': 4.50.1 + '@rollup/rollup-openharmony-arm64': 4.50.1 + '@rollup/rollup-win32-arm64-msvc': 4.50.1 + '@rollup/rollup-win32-ia32-msvc': 4.50.1 + '@rollup/rollup-win32-x64-msvc': 4.50.1 fsevents: 2.3.3 run-async@2.4.1: {} @@ -13409,10 +12901,10 @@ snapshots: safer-buffer@2.1.2: {} - sass@1.86.0: + sass@1.92.1: dependencies: chokidar: 4.0.3 - immutable: 5.0.3 + immutable: 5.1.3 source-map-js: 1.2.1 optionalDependencies: '@parcel/watcher': 2.5.1 @@ -13434,7 +12926,7 @@ snapshots: dependencies: lru-cache: 6.0.0 - semver@7.7.1: {} + semver@7.7.2: {} sentence-case@3.0.4: dependencies: @@ -13451,8 +12943,8 @@ snapshots: sharp@0.33.5: dependencies: color: 4.2.3 - detect-libc: 2.0.3 - semver: 7.7.1 + detect-libc: 2.1.0 + semver: 7.7.2 optionalDependencies: '@img/sharp-darwin-arm64': 0.33.5 '@img/sharp-darwin-x64': 0.33.5 @@ -13480,7 +12972,7 @@ snapshots: shebang-regex@3.0.0: {} - shell-quote@1.8.2: {} + shell-quote@1.8.3: {} siginfo@2.0.0: {} @@ -13490,9 +12982,9 @@ snapshots: signedsource@1.0.0: {} - simple-swizzle@0.2.2: + simple-swizzle@0.2.4: dependencies: - is-arrayish: 0.3.2 + is-arrayish: 0.3.4 slash@3.0.0: {} @@ -13538,9 +13030,7 @@ snapshots: stackback@0.0.2: {} - std-env@3.8.1: {} - - streamsearch@1.1.0: {} + std-env@3.9.0: {} string-env-interpolation@1.0.1: {} @@ -13554,7 +13044,7 @@ snapshots: dependencies: eastasianwidth: 0.2.0 emoji-regex: 9.2.2 - strip-ansi: 7.1.0 + strip-ansi: 7.1.2 string_decoder@1.3.0: dependencies: @@ -13564,9 +13054,9 @@ snapshots: dependencies: ansi-regex: 5.0.1 - strip-ansi@7.1.0: + strip-ansi@7.1.2: dependencies: - ansi-regex: 6.1.0 + ansi-regex: 6.2.2 strip-final-newline@2.0.0: {} @@ -13580,12 +13070,12 @@ snapshots: sucrase@3.35.0: dependencies: - '@jridgewell/gen-mapping': 0.3.8 + '@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.6 + pirates: 4.0.7 ts-interface-checker: 0.1.13 supports-color@7.2.0: @@ -13601,9 +13091,9 @@ snapshots: svelte@4.2.2: dependencies: '@ampproject/remapping': 2.3.0 - '@jridgewell/sourcemap-codec': 1.5.0 - '@jridgewell/trace-mapping': 0.3.25 - acorn: 8.14.1 + '@jridgewell/sourcemap-codec': 1.5.5 + '@jridgewell/trace-mapping': 0.3.31 + acorn: 8.15.0 aria-query: 5.3.2 axobject-query: 3.2.4 code-red: 1.0.4 @@ -13611,7 +13101,7 @@ snapshots: estree-walker: 3.0.3 is-reference: 3.0.3 locate-character: 3.0.0 - magic-string: 0.30.17 + magic-string: 0.30.19 periscopic: 3.1.0 svg-parser@2.0.4: {} @@ -13630,9 +13120,9 @@ snapshots: dependencies: '@trysound/sax': 0.2.0 commander: 7.2.0 - css-select: 5.1.0 + css-select: 5.2.2 css-tree: 2.3.1 - css-what: 6.1.0 + css-what: 6.2.2 csso: 5.0.5 picocolors: 1.1.1 @@ -13650,7 +13140,7 @@ snapshots: tailwind-merge@2.6.0: {} - tailwind-merge@3.0.2: {} + tailwind-merge@3.3.1: {} tailwindcss-animate@1.0.7(tailwindcss@3.3.0(postcss@8.4.31)): dependencies: @@ -13663,7 +13153,7 @@ snapshots: color-name: 1.1.4 didyoumean: 1.2.2 dlv: 1.1.3 - fast-glob: 3.3.2 + fast-glob: 3.3.3 glob-parent: 6.0.2 is-glob: 4.0.3 jiti: 1.21.7 @@ -13708,8 +13198,6 @@ snapshots: timeout-signal@2.0.0: {} - timsort@0.3.0: {} - tinybench@2.9.0: {} tinypool@0.8.4: {} @@ -13720,10 +13208,6 @@ snapshots: 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 @@ -13754,12 +13238,12 @@ snapshots: tslib@2.8.1: {} - tsup@6.7.0(@swc/core@1.11.11(@swc/helpers@0.5.15))(postcss@8.4.31)(typescript@5.8.2): + tsup@6.7.0(@swc/core@1.13.5(@swc/helpers@0.5.17))(postcss@8.4.31)(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.0 + debug: 4.4.3 esbuild: 0.17.19 execa: 5.1.1 globby: 11.1.0 @@ -13771,19 +13255,43 @@ snapshots: sucrase: 3.35.0 tree-kill: 1.2.2 optionalDependencies: - '@swc/core': 1.11.11(@swc/helpers@0.5.15) + '@swc/core': 1.13.5(@swc/helpers@0.5.17) postcss: 8.4.31 - typescript: 5.8.2 + typescript: 5.9.2 + transitivePeerDependencies: + - supports-color + - ts-node + + tsup@6.7.0(@swc/core@1.13.5(@swc/helpers@0.5.17))(postcss@8.5.6)(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.3 + 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) + 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: + '@swc/core': 1.13.5(@swc/helpers@0.5.17) + postcss: 8.5.6 + typescript: 5.9.2 transitivePeerDependencies: - supports-color - ts-node - tsup@7.2.0(@swc/core@1.11.11(@swc/helpers@0.5.15))(postcss@8.4.31)(typescript@5.2.2): + tsup@7.2.0(@swc/core@1.13.5(@swc/helpers@0.5.17))(postcss@8.4.31)(typescript@5.2.2): dependencies: bundle-require: 4.2.1(esbuild@0.18.20) cac: 6.7.14 chokidar: 3.6.0 - debug: 4.4.0 + debug: 4.4.3 esbuild: 0.18.20 execa: 5.1.1 globby: 11.1.0 @@ -13795,15 +13303,13 @@ snapshots: sucrase: 3.35.0 tree-kill: 1.2.2 optionalDependencies: - '@swc/core': 1.11.11(@swc/helpers@0.5.15) + '@swc/core': 1.13.5(@swc/helpers@0.5.17) postcss: 8.4.31 typescript: 5.2.2 transitivePeerDependencies: - supports-color - ts-node - turbo-stream@2.4.0: {} - type-detect@4.1.0: {} type-fest@0.20.2: {} @@ -13814,15 +13320,15 @@ snapshots: type-fest@2.19.0: {} - type-fest@4.37.0: {} + type-fest@4.41.0: {} typescript@5.2.2: {} - typescript@5.8.2: {} + typescript@5.9.2: {} - ua-parser-js@1.0.40: {} + ua-parser-js@1.0.41: {} - ufo@1.5.4: {} + ufo@1.6.1: {} unc-path-regex@0.1.2: {} @@ -13842,7 +13348,7 @@ snapshots: unload@2.2.0: dependencies: - '@babel/runtime': 7.26.10 + '@babel/runtime': 7.28.4 detect-node: 2.1.0 update-browserslist-db@1.1.3(browserslist@4.22.1): @@ -13851,9 +13357,9 @@ snapshots: escalade: 3.2.0 picocolors: 1.1.1 - update-browserslist-db@1.1.3(browserslist@4.24.4): + update-browserslist-db@1.1.3(browserslist@4.26.0): dependencies: - browserslist: 4.24.4 + browserslist: 4.26.0 escalade: 3.2.0 picocolors: 1.1.1 @@ -13865,7 +13371,7 @@ snapshots: dependencies: tslib: 2.8.1 - urlpattern-polyfill@10.0.0: {} + urlpattern-polyfill@10.1.0: {} use-callback-ref@1.3.3(@types/react@18.2.48)(react@18.2.0): dependencies: @@ -13874,7 +13380,7 @@ snapshots: optionalDependencies: '@types/react': 18.2.48 - use-debounce@10.0.4(react@18.2.0): + use-debounce@10.0.6(react@18.2.0): dependencies: react: 18.2.0 @@ -13886,10 +13392,9 @@ snapshots: optionalDependencies: '@types/react': 18.2.48 - utf-8-validate@5.0.10: + use-sync-external-store@1.5.0(react@18.2.0): dependencies: - node-gyp-build: 4.8.4 - optional: true + react: 18.2.0 util-deprecate@1.0.2: {} @@ -13897,48 +13402,48 @@ snapshots: uuid@9.0.1: {} - viem@2.22.6(bufferutil@4.0.9)(typescript@5.8.2)(utf-8-validate@5.0.10)(zod@3.24.2): - dependencies: - '@noble/curves': 1.7.0 - '@noble/hashes': 1.6.1 - '@scure/bip32': 1.6.0 - '@scure/bip39': 1.5.0 - abitype: 1.0.7(typescript@5.8.2)(zod@3.24.2) - isows: 1.0.6(ws@8.18.0(bufferutil@4.0.9)(utf-8-validate@5.0.10)) - ox: 0.6.0(typescript@5.8.2)(zod@3.24.2) - webauthn-p256: 0.0.10 - ws: 8.18.0(bufferutil@4.0.9)(utf-8-validate@5.0.10) + viem@2.37.5(typescript@5.9.2)(zod@3.25.76): + dependencies: + '@noble/curves': 1.9.1 + '@noble/hashes': 1.8.0 + '@scure/bip32': 1.7.0 + '@scure/bip39': 1.6.0 + abitype: 1.1.0(typescript@5.9.2)(zod@3.25.76) + isows: 1.0.7(ws@8.18.3) + ox: 0.9.3(typescript@5.9.2)(zod@3.25.76) + ws: 8.18.3 optionalDependencies: - typescript: 5.8.2 + typescript: 5.9.2 transitivePeerDependencies: - bufferutil - utf-8-validate - zod - viem@2.23.15(bufferutil@4.0.9)(typescript@5.8.2)(utf-8-validate@5.0.10)(zod@3.24.2): + vite-node@1.6.1(@types/node@20.11.5)(less@4.4.1)(lightningcss@1.30.1)(sass@1.92.1): dependencies: - '@noble/curves': 1.8.1 - '@noble/hashes': 1.7.1 - '@scure/bip32': 1.6.2 - '@scure/bip39': 1.5.4 - abitype: 1.0.8(typescript@5.8.2)(zod@3.24.2) - isows: 1.0.6(ws@8.18.1(bufferutil@4.0.9)(utf-8-validate@5.0.10)) - ox: 0.6.9(typescript@5.8.2)(zod@3.24.2) - ws: 8.18.1(bufferutil@4.0.9)(utf-8-validate@5.0.10) - optionalDependencies: - typescript: 5.8.2 + cac: 6.7.14 + debug: 4.4.3 + pathe: 1.1.2 + picocolors: 1.1.1 + vite: 5.4.20(@types/node@20.11.5)(less@4.4.1)(lightningcss@1.30.1)(sass@1.92.1) transitivePeerDependencies: - - bufferutil - - utf-8-validate - - zod + - '@types/node' + - less + - lightningcss + - sass + - sass-embedded + - stylus + - sugarss + - supports-color + - terser - vite-node@1.6.1(@types/node@20.11.5)(less@4.2.2)(lightningcss@1.29.3)(sass@1.86.0): + vite-node@1.6.1(@types/node@22.7.5)(less@4.4.1)(lightningcss@1.30.1)(sass@1.92.1): dependencies: cac: 6.7.14 - debug: 4.4.0 + debug: 4.4.3 pathe: 1.1.2 picocolors: 1.1.1 - vite: 5.4.15(@types/node@20.11.5)(less@4.2.2)(lightningcss@1.29.3)(sass@1.86.0) + vite: 5.4.20(@types/node@22.7.5)(less@4.4.1)(lightningcss@1.30.1)(sass@1.92.1) transitivePeerDependencies: - '@types/node' - less @@ -13950,19 +13455,31 @@ snapshots: - supports-color - terser - vite@5.4.15(@types/node@20.11.5)(less@4.2.2)(lightningcss@1.29.3)(sass@1.86.0): + vite@5.4.20(@types/node@20.11.5)(less@4.4.1)(lightningcss@1.30.1)(sass@1.92.1): dependencies: esbuild: 0.21.5 - postcss: 8.5.3 - rollup: 4.37.0 + postcss: 8.5.6 + rollup: 4.50.1 optionalDependencies: '@types/node': 20.11.5 fsevents: 2.3.3 - less: 4.2.2 - lightningcss: 1.29.3 - sass: 1.86.0 + less: 4.4.1 + lightningcss: 1.30.1 + sass: 1.92.1 - vitest@1.6.1(@types/node@20.11.5)(less@4.2.2)(lightningcss@1.29.3)(sass@1.86.0): + vite@5.4.20(@types/node@22.7.5)(less@4.4.1)(lightningcss@1.30.1)(sass@1.92.1): + dependencies: + esbuild: 0.21.5 + postcss: 8.5.6 + rollup: 4.50.1 + optionalDependencies: + '@types/node': 22.7.5 + fsevents: 2.3.3 + less: 4.4.1 + lightningcss: 1.30.1 + sass: 1.92.1 + + vitest@1.6.1(@types/node@20.11.5)(less@4.4.1)(lightningcss@1.30.1)(sass@1.92.1): dependencies: '@vitest/expect': 1.6.1 '@vitest/runner': 1.6.1 @@ -13971,18 +13488,18 @@ snapshots: '@vitest/utils': 1.6.1 acorn-walk: 8.3.4 chai: 4.5.0 - debug: 4.4.0 + debug: 4.4.3 execa: 8.0.1 local-pkg: 0.5.1 - magic-string: 0.30.17 + magic-string: 0.30.19 pathe: 1.1.2 picocolors: 1.1.1 - std-env: 3.8.1 + std-env: 3.9.0 strip-literal: 2.1.1 tinybench: 2.9.0 tinypool: 0.8.4 - vite: 5.4.15(@types/node@20.11.5)(less@4.2.2)(lightningcss@1.29.3)(sass@1.86.0) - vite-node: 1.6.1(@types/node@20.11.5)(less@4.2.2)(lightningcss@1.29.3)(sass@1.86.0) + vite: 5.4.20(@types/node@20.11.5)(less@4.4.1)(lightningcss@1.30.1)(sass@1.92.1) + vite-node: 1.6.1(@types/node@20.11.5)(less@4.4.1)(lightningcss@1.30.1)(sass@1.92.1) why-is-node-running: 2.3.0 optionalDependencies: '@types/node': 20.11.5 @@ -13996,6 +13513,40 @@ snapshots: - supports-color - terser + vitest@1.6.1(@types/node@22.7.5)(less@4.4.1)(lightningcss@1.30.1)(sass@1.92.1): + 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.3 + 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@22.7.5)(less@4.4.1)(lightningcss@1.30.1)(sass@1.92.1) + vite-node: 1.6.1(@types/node@22.7.5)(less@4.4.1)(lightningcss@1.30.1)(sass@1.92.1) + why-is-node-running: 2.3.0 + optionalDependencies: + '@types/node': 22.7.5 + transitivePeerDependencies: + - less + - lightningcss + - sass + - sass-embedded + - stylus + - sugarss + - supports-color + - terser + vue@3.3.4: dependencies: '@vue/compiler-dom': 3.3.4 @@ -14012,11 +13563,6 @@ snapshots: web-streams-polyfill@3.3.3: {} - webauthn-p256@0.0.10: - dependencies: - '@noble/curves': 1.8.1 - '@noble/hashes': 1.7.1 - webextension-polyfill@0.10.0: {} webextension-polyfill@0.12.0: {} @@ -14063,26 +13609,15 @@ snapshots: wrap-ansi@8.1.0: dependencies: - ansi-styles: 6.2.1 + ansi-styles: 6.2.3 string-width: 5.1.2 - strip-ansi: 7.1.0 + strip-ansi: 7.1.2 wrappy@1.0.2: {} - ws@8.17.1(bufferutil@4.0.9)(utf-8-validate@5.0.10): - optionalDependencies: - bufferutil: 4.0.9 - utf-8-validate: 5.0.10 - - ws@8.18.0(bufferutil@4.0.9)(utf-8-validate@5.0.10): - optionalDependencies: - bufferutil: 4.0.9 - utf-8-validate: 5.0.10 + ws@8.17.1: {} - ws@8.18.1(bufferutil@4.0.9)(utf-8-validate@5.0.10): - optionalDependencies: - bufferutil: 4.0.9 - utf-8-validate: 5.0.10 + ws@8.18.3: {} xxhash-wasm@0.4.2: {} @@ -14098,7 +13633,7 @@ snapshots: yaml@1.10.2: {} - yaml@2.7.0: {} + yaml@2.8.1: {} yargs-parser@18.1.3: dependencies: @@ -14135,7 +13670,7 @@ snapshots: yocto-queue@1.2.1: {} - yoctocolors-cjs@2.1.2: {} + yoctocolors-cjs@2.1.3: {} zen-observable-ts@1.2.5: dependencies: @@ -14143,4 +13678,4 @@ snapshots: zen-observable@0.8.15: {} - zod@3.24.2: {} + zod@3.25.76: {} diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml new file mode 100644 index 00000000..dee51e92 --- /dev/null +++ b/pnpm-workspace.yaml @@ -0,0 +1,2 @@ +packages: + - "packages/*" diff --git a/src/abi/MultiVaultAbiExtended.ts b/src/abi/MultiVaultAbiExtended.ts new file mode 100644 index 00000000..5fb4261f --- /dev/null +++ b/src/abi/MultiVaultAbiExtended.ts @@ -0,0 +1,13 @@ +// ~src/abi/MultiVaultAbiExtended.ts +import { MultiVaultAbi } from "@0xintuition/protocol"; + +export const MultiVaultAbiExtended = [ + ...MultiVaultAbi, + // ajoute les erreurs usuelles (noms à adapter si besoin) + { type: "error", name: "MinDepositNotMet", inputs: [{ name: "required", type: "uint256" }] }, + { type: "error", name: "CurveNotFound", inputs: [{ name: "curveId", type: "uint256" }] }, + { type: "error", name: "InvalidCurve", inputs: [{ name: "curveId", type: "uint256" }] }, + { type: "error", name: "StandardNotOpen", inputs: [{ name: "termId", type: "bytes32" }] }, + { type: "error", name: "VaultClosed", inputs: [{ name: "termId", type: "bytes32" }] }, + { type: "error", name: "TermNotFound", inputs: [{ name: "termId", type: "bytes32" }] }, +] as const; diff --git a/src/assets/User.jpg b/src/assets/User.jpg new file mode 100644 index 00000000..2ead676b Binary files /dev/null and b/src/assets/User.jpg differ diff --git a/src/background.ts b/src/background.ts index fad5b8ea..1fb5659e 100644 --- a/src/background.ts +++ b/src/background.ts @@ -39,4 +39,46 @@ chrome.tabs.onUpdated.addListener((tabId, info) => { chrome.tabs.onActivated.addListener(({ tabId }) => { chrome.tabs.sendMessage(tabId, { action: "REFRESH_CLAIMS" }); -}); \ No newline at end of file +}); + + +chrome.runtime.onMessage.addListener((message, sender, sendResponse) => { + // Gestion du rafraîchissement manuel depuis l'extension + if (message?.type === "REFRESH_CONTENT_SCRIPT") { + console.log("[BG] 📡 REFRESH_CONTENT_SCRIPT reçu"); + + // Envoyer le message à TOUS les tabs ouverts + chrome.tabs.query({}, (tabs) => { + console.log("[BG] 📤 Envoi REFRESH_CLAIMS à", tabs.length, "tabs"); + tabs.forEach((tab) => { + if (tab.id) { + chrome.tabs.sendMessage(tab.id, { action: "REFRESH_CLAIMS" }) + .then(() => { + console.log("[BG] ✅ Message envoyé au tab", tab.id); + }) + .catch(() => { + // Silencieux - normal si le content script n'est pas injecté sur cette page + }); + } + }); + }); + + return true; + } + + if (message?.type === "GET_WALLET_ADDRESS") { + chrome.storage.local.get(["metamask-account"], (localRes) => { + const localAddr = localRes["metamask-account"] + console.log("[BG] local metamask-account =", localAddr) + + chrome.storage.sync.get(["metamask-account"], (syncRes) => { + const syncAddr = syncRes["metamask-account"] + console.log("[BG] sync metamask-account =", syncAddr) + + sendResponse({ address: localAddr || syncAddr || "" }) + }) + }) + return true + } +}) + diff --git a/src/components/AtomAutocompleteInput.tsx b/src/components/AtomAutocompleteInput.tsx index 2d859d30..5faa1734 100644 --- a/src/components/AtomAutocompleteInput.tsx +++ b/src/components/AtomAutocompleteInput.tsx @@ -5,18 +5,7 @@ import { usePageMetadata } from "../hooks/usePageMetadata" import AtomForm from './AtomForm' import { Plus } from "lucide-react" import { UserRound } from "lucide-react" - -interface Atom { - term_id?: string; - label?: string | null; - emoji?: string | null; - image?: string | null; - term?: { - vaults?: { - position_count: number; - }[] - }; -} +import type { Atom } from '~src/types/atoms'; interface AtomAutocompleteInputProps { label: string; @@ -59,22 +48,41 @@ const { data, loading, error } = useGetAtomsQuery({ variables: { where: { label: { _ilike: `%${debouncedSearch}%` } }, limit: 10, - order_by: { vaults: { position_count: 'desc' } }, + // orderBy sera géré côté client }, skip: debouncedSearch.length < 2 }) - const atoms: Atom[] = data?.atoms.map(atom => ({ + console.log('[AtomAutocomplete] Query state:', { + search: debouncedSearch, + loading, + hasError: !!error, + error: error?.message, + hasData: !!data, + atomsCount: data?.atoms?.length, + atoms: data?.atoms + }); + + let atoms: Atom[] = data?.atoms.map(atom => ({ term_id: atom.term_id, label: atom.label, emoji: atom.emoji, image: atom.image, - term: { + term: atom.term ? { vaults: atom.term.vaults.map(v => ({ position_count: v.position_count })) - } + } : undefined })) || []; + + // Trier côté client par position_count + atoms = atoms.sort((a, b) => { + const countA = a.term?.vaults?.[0]?.position_count ?? 0; + const countB = b.term?.vaults?.[0]?.position_count ?? 0; + return countB - countA; + }); + + console.log('[AtomAutocomplete] Mapped atoms:', atoms); const handleSelect = (atom: Atom ) => { onSelect(atom); @@ -111,6 +119,15 @@ const { data, loading, error } = useGetAtomsQuery({ {isOpen && (
    + {loading && ( +
  • Loading...
  • + )} + {error && ( +
  • Error: {error.message}
  • + )} + {!loading && !error && atoms.length === 0 && debouncedSearch.length >= 2 && ( +
  • No atoms found
  • + )} {atoms.map((atom) => (
  • = ({ atom, tags }) => { try { @@ -54,15 +48,19 @@ export const AtomCard: React.FC = ({ atom, tags }) => { console.error("AtomCard: missing atom, raw data:", atom) return
    Invalid atom data
    } - const { atomPosition, isVoting, txHash } = useAtomPosition() + + const { depositTerm, isDepositing, txHash, error } = useDepositWithRefresh() const thing = atom.value?.thing const navigate = useNavigate() + const goToAtomPage = () => { - navigate(`/atoms/${atom.term_id || ''}`) + navigate(`/atoms/${atom.term_id || ""}`) } - const positionCount = atom?.term?.vaults[0]?.position_count ?? atom?.positions_aggregate?.aggregate?.count ?? 0 - + const positionCount = + atom?.term?.vaults?.[0]?.position_count ?? + atom?.positions_aggregate?.aggregate?.count ?? + 0 return (
    = ({ atom, tags }) => {
    )} +

    {atom.label} @@ -94,16 +93,18 @@ export const AtomCard: React.FC = ({ atom, tags }) => { {Math.max(positionCount - 1, 0)}

    +

    @@ -120,27 +121,23 @@ export const AtomCard: React.FC = ({ atom, tags }) => { to={thing.url} target="_blank" rel="noopener noreferrer" - className="block text-xs text-blue-400 underline mt-1 inline-block max-w-[200px] overflow-hidden whitespace-nowrap truncate"> + className="block text-xs text-blue-400 underline mt-1 inline-block max-w-[200px] overflow-hidden whitespace-nowrap truncate" + onClick={(e) => e.stopPropagation()} + > {thing.url} )} {tags && ( -
    { - e.stopPropagation(); - }} - > +
    e.stopPropagation()}>
    e.stopPropagation()} className="pt-2"> - +
    )} + {error &&

    {error}

    } {txHash &&

    Tx: {txHash}

    }
    ) diff --git a/src/components/AtomForm.tsx b/src/components/AtomForm.tsx index b81c772c..171093d7 100644 --- a/src/components/AtomForm.tsx +++ b/src/components/AtomForm.tsx @@ -1,19 +1,33 @@ -import { usePinThingMutation } from "@0xintuition/graphql" -import { Multivault } from "@0xintuition/protocol" -import { parseEther } from "viem" -import { Link, useNavigate } from "react-router-dom" - -import { getClients } from "../lib/viemClient" -import { LinkTypeSelector } from "./LinkTypeSelector" -import React, { forwardRef, useEffect, useState, useRef, useImperativeHandle } from "react" -import { umami } from "~src/lib/umami" +import React, { + forwardRef, + useEffect, + useState, + useRef, + useImperativeHandle, +} from "react"; +import { Link } from "react-router-dom"; + +import { usePinThingMutation } from "@0xintuition/graphql"; +import { createAtomFromThing } from "@0xintuition/sdk"; +import { getClients } from "../lib/viemClient"; +import { LinkTypeSelector } from "./LinkTypeSelector"; export interface AtomFormHandle { - resetForm(): void + resetForm(): void; +} + +type Hex32 = `0x${string}`; + +interface CreatedAtomPayload { + id: Hex32; + term_id: Hex32; + label: string; + emoji: string | null; + tx_hash: Hex32; } interface AtomFormProps { - onCreated?: (atom: Atom) => void; + onCreated?: (atom: CreatedAtomPayload) => void; initialName?: string; initialDescription?: string; initialImage?: string; @@ -24,152 +38,163 @@ const AtomForm = forwardRef(function AtomForm( { onCreated, initialName = "", initialDescription = "", initialImage = "", initialUrl = "" }, ref ) { - const { mutateAsync: pinThing } = usePinThingMutation() + const { mutateAsync: pinThing } = usePinThingMutation(); - const [name, setName] = useState(initialName ?? "") - const [description, setDescription] = useState(initialDescription ?? "") - const [image, setImage] = useState(initialImage ?? "") - const [url, setUrl] = useState(initialUrl ?? "") + const [name, setName] = useState(initialName ?? ""); + const [description, setDescription] = useState(initialDescription ?? ""); + const [image, setImage] = useState(initialImage ?? ""); - const [rawUrl, setRawUrl] = useState(initialUrl ?? "") + const [rawUrl, setRawUrl] = useState(initialUrl ?? ""); + const [url, setUrl] = useState(initialUrl ?? ""); - const [created, setCreated] = useState<{ vaultId: string; txHash: string } | null>(null) - const [progressMessage, setProgressMessage] = useState(null) - const [errorMessage, setErrorMessage] = useState(null) - const [isSubmitting, setIsSubmitting] = useState(false) + const [created, setCreated] = useState<{ termIdHex: Hex32; txHash: Hex32 } | null>(null); + const [progressMessage, setProgressMessage] = useState(null); + const [errorMessage, setErrorMessage] = useState(null); + const [isSubmitting, setIsSubmitting] = useState(false); + const [linkType, setLinkType] = useState<"url" | "domain">("url"); + const [explorerBase, setExplorerBase] = useState(""); - const [linkType, setLinkType] = useState<"url" | "domain">("url") - const descriptionRef = React.useRef(null) + const descriptionRef = useRef(null); const shortHash = (h: string, head = 6, tail = 4) => - h.length > head + tail ? `${h.slice(0, head)}…${h.slice(-tail)}` : h; + h.length > head + tail ? `${h.slice(0, head)}…${h.slice(-tail)}` : h; useImperativeHandle(ref, () => ({ resetForm() { - setName("") - setDescription("") - setImage("") - setRawUrl("") - setUrl("") - setProgressMessage(null) - setErrorMessage(null) - setIsSubmitting(false) - descriptionRef.current?.style.setProperty("height", "auto") - } - })) + setName(""); + setDescription(""); + setImage(""); + setRawUrl(""); + setUrl(""); + setProgressMessage(null); + setErrorMessage(null); + setIsSubmitting(false); + setCreated(null); + descriptionRef.current?.style.setProperty("height", "auto"); + }, + })); const handleDescriptionChange = (e: React.ChangeEvent) => { - setDescription(e.target.value) - e.target.style.height = "auto" - e.target.style.height = e.target.scrollHeight + "px" - } + setDescription(e.target.value); + e.target.style.height = "auto"; + e.target.style.height = e.target.scrollHeight + "px"; + }; useEffect(() => { if (descriptionRef.current) { - descriptionRef.current.style.height = "auto" - descriptionRef.current.style.height = `${descriptionRef.current.scrollHeight}px` + descriptionRef.current.style.height = "auto"; + descriptionRef.current.style.height = `${descriptionRef.current.scrollHeight}px`; } - }, [description]) - -useEffect(() => { - if (!rawUrl) return; - - try { - const input = /^https?:\/\//i.test(rawUrl) ? rawUrl : `https://${rawUrl}`; - const parsed = new URL(input); + }, [description]); - const hostnameWhithoutWWW = parsed.hostname.replace(/^www\./i, ''); + // Normalisation de l'URL depuis rawUrl + useEffect(() => { + if (!rawUrl) return; - let candidate: string; - if (linkType === "domain") { - candidate = `${parsed.protocol}//${hostnameWhithoutWWW}`; - } else { - candidate = - `${parsed.protocol}//${hostnameWhithoutWWW}` + - `${parsed.pathname}${parsed.search}${parsed.hash}`; - } + try { + const input = /^https?:\/\//i.test(rawUrl) ? rawUrl : `https://${rawUrl}`; + const parsed = new URL(input); + const hostnameWhithoutWWW = parsed.hostname.replace(/^www\./i, ""); + + let candidate: string; + if (linkType === "domain") { + candidate = `${parsed.protocol}//${hostnameWhithoutWWW}`; + } else { + candidate = + `${parsed.protocol}//${hostnameWhithoutWWW}` + + `${parsed.pathname}${parsed.search}${parsed.hash}`; + } - if (candidate.endsWith("/") && !candidate.match(/^https?:\/\/[^/]+\/$/)) { - candidate = candidate.slice(0, -1); + if (candidate.endsWith("/") && !/^https?:\/\/[^/]+\/$/.test(candidate)) { + candidate = candidate.slice(0, -1); + } + setUrl(candidate); + } catch { + const fallback = rawUrl + .replace(/^https?:\/\/www\./i, (m) => m.replace(/www\./i, "")) + .replace(/\/$/, ""); + setUrl(fallback); } - - setUrl(candidate); - } catch { - let fallback = rawUrl - .replace(/^https?:\/\/www\./i, match => match.replace(/www\./i, "")) - .replace(/\/$/, ""); - - setUrl(fallback); - } -}, [rawUrl, linkType]); - + }, [rawUrl, linkType]); async function handleSubmit(e: React.FormEvent) { - e.preventDefault() - setIsSubmitting(true) - setProgressMessage("Pinning Atom metadata...") - setErrorMessage(null) + e.preventDefault(); + setIsSubmitting(true); + setProgressMessage("Pinning Atom metadata..."); + setErrorMessage(null); try { - const { walletClient, publicClient } = await getClients() - - const multivault = new Multivault({ walletClient, publicClient }) - - const result = await pinThing({ - name, - description, - image, - url - }) - - if (!result.pinThing?.uri) { - throw new Error("Failed to pin atom metadata.") - } - setProgressMessage(`Atom pinned! URI: ${result.pinThing.uri}`) - - const ipfsUri = result.pinThing.uri - - const deposit = await multivault.getAtomCost() - - const { vaultId, hash } = await multivault.createAtom({ - uri: ipfsUri, - initialDeposit: deposit, - wait: true - }) - setProgressMessage("Atom created!") - setCreated({ vaultId: vaultId.toString(), txHash: hash }) - - const atom = { - id: hash, + const { walletClient, publicClient, multivaultAddress } = await getClients(); + if (!walletClient || !publicClient) throw new Error("Wallet not connected"); + + // explorer dynamique + const explorer = publicClient.chain?.blockExplorers?.default?.url ?? ""; + setExplorerBase(explorer); + + // 1) Pin off-chain (inchangé) + const result = await pinThing({ name, description, image, url }); + const ipfsUri = result.pinThing?.uri; + if (!ipfsUri) throw new Error("Failed to pin atom metadata."); + setProgressMessage(`Atom pinned! URI: ${ipfsUri}`); + + // 2) Adresse MultiVault selon la chain active + const chainId = publicClient.chain?.id; + if (!chainId) throw new Error("Unknown chain id"); + const address = multivaultAddress as Hex32; + + // 3) Création on-chain via SDK v2 + setProgressMessage("Submitting on-chain transaction..."); + const data = await createAtomFromThing( + { walletClient, publicClient, address }, + { + url, // version normalisée + name, + description, + image, + // (optionnels: tags, twitter, github…) + } + ); + + const termIdHex = data.state.termId as Hex32; + const txHash = data.transactionHash as Hex32; + + + setProgressMessage("Waiting for confirmation..."); + const receipt = await publicClient.waitForTransactionReceipt({ hash: txHash }); + console.log("receipt.status", receipt.status); + console.log("receipt.to", receipt.to); + console.log("logs", receipt.logs); + + + + console.log("chainId", chainId); + console.log("multivault", address); + console.log("txHash", txHash); + + setProgressMessage("Atom created!"); + setCreated({ termIdHex, txHash }); + + onCreated?.({ + id: termIdHex, + term_id: termIdHex, label: name, emoji: null, - vault_id: vaultId.toString(), - } - - if (onCreated) { - onCreated(atom) - } - - umami("atom_created", { - vaultId, - txHash: hash - }) + tx_hash: txHash, + }); } catch (error: any) { - console.error(error) - setErrorMessage("Transaction failed") + console.error(error); + setErrorMessage(error?.message || "Transaction failed"); } finally { - setIsSubmitting(false) + setIsSubmitting(false); } } + return ( -
    +
    - + { required />
    +
    - +