import { useAuthedTenantQuery } from "../lib/auth.js";
const LIST_MEMBERSHIPS_QUERY = `
	query($slug: String!, $identityId: String!) {
		memberships: projectMemberships(projectSlug: $slug, identityId: $identityId) {
			role
			variables {
				name
				values
			}
		}
	}
`;
const useProjectMembershipsQuery = (projectSlug, identityId) => {
  return useAuthedTenantQuery(LIST_MEMBERSHIPS_QUERY, {
    slug: projectSlug,
    identityId
  });
};
export {
  useProjectMembershipsQuery
};
//# sourceMappingURL=projectMemberships.js.map
