import { gql,TypedDocumentNode } from "@apollo/client";
import { CurrenciesData } from "@/types/currency/type";


export const GET_CURRENCIES: TypedDocumentNode<CurrenciesData> = gql`
  query allCurrency {
  currencies {
    edges {
      node {
        id
        _id
        code
        name
        symbol
      }
    }
  }
}
`;
