import { gql, TypedDocumentNode } from "@apollo/client";
import { State } from "@/types/checkout/type";
type GetCountryStates = {
  countryStates: State[];
};

export const GET_COUNTRY_STATES: TypedDocumentNode<GetCountryStates> = gql`
query getCountryStates($countryId: Int!) {
  countryStates(countryId: $countryId) {

        id
        _id
        code
        defaultName
        countryId
        countryCode
  
  }
}
`;