import * as Types from '../base-types'; import gql from 'graphql-tag'; export const GetIndexerAllocationSummary = gql` query GetIndexerAllocationSummary($id: String!) { indexerAllocationSummary(id: $id) { totalAmount } } `; export const GetIndexerAllocationProjects = gql` query GetIndexerAllocationProjects($id: String!) { indexerAllocationSummaries( filter: { indexerId: { equalTo: $id }, totalAmount: { greaterThan: "0" } } ) { nodes { deploymentId projectId totalAmount indexerId deployment { project { metadata } } } } } `;