GetCurrencies.ts 333 B

12345678910111213141516171819
  1. import { gql,TypedDocumentNode } from "@apollo/client";
  2. import { CurrenciesData } from "@/types/currency/type";
  3. export const GET_CURRENCIES: TypedDocumentNode<CurrenciesData> = gql`
  4. query allCurrency {
  5. currencies {
  6. edges {
  7. node {
  8. id
  9. _id
  10. code
  11. name
  12. symbol
  13. }
  14. }
  15. }
  16. }
  17. `;