import {
  gql
} from "../chunk-MOD44I3G.js";
import {
  init_cjs_shims
} from "../chunk-7GH3YGSC.js";

// src/queries/ledgerAccounts.query.ts
init_cjs_shims();
var query = gql`
  query ListLedgerAccounts($ledgerId: ID!, $first: Int, $after: String) {
    ledger(ledger: { id: $ledgerId }) {
      ledgerAccounts(first: $first, after: $after) {
        nodes {
          id
          name
          type
          path
          currency {
            code
            name
          }
          currencyMode
        }
        pageInfo {
          hasNextPage
          hasPreviousPage
          endCursor
        }
      }
    }
  }
`;
export {
  query
};
