"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const auth = require("../lib/auth.cjs");
const LIST_MEMBERSHIPS_QUERY = `
	query($slug: String!, $identityId: String!) {
		memberships: projectMemberships(projectSlug: $slug, identityId: $identityId) {
			role
			variables {
				name
				values
			}
		}
	}
`;
const useProjectMembershipsQuery = (projectSlug, identityId) => {
  return auth.useAuthedTenantQuery(LIST_MEMBERSHIPS_QUERY, {
    slug: projectSlug,
    identityId
  });
};
exports.useProjectMembershipsQuery = useProjectMembershipsQuery;
//# sourceMappingURL=projectMemberships.cjs.map
