import { buildUseVueQuery } from "../../../vue-query";
import { createGetGroupInfo, createGetGroupPolicyInfo, createGetGroupMembers, createGetGroupsByAdmin, createGetGroupPoliciesByGroup, createGetGroupPoliciesByAdmin, createGetProposal, createGetProposalsByGroupPolicy, createGetVoteByProposalVoter, createGetVotesByProposal, createGetVotesByVoter, createGetGroupsByMember, createGetTallyResult, createGetGroups } from "./query.rpc.func";
export const useGetGroupInfo = buildUseVueQuery({
    builderQueryFn: createGetGroupInfo,
    queryKeyPrefix: "GroupInfoQuery"
});
export const useGetGroupPolicyInfo = buildUseVueQuery({
    builderQueryFn: createGetGroupPolicyInfo,
    queryKeyPrefix: "GroupPolicyInfoQuery"
});
export const useGetGroupMembers = buildUseVueQuery({
    builderQueryFn: createGetGroupMembers,
    queryKeyPrefix: "GroupMembersQuery"
});
export const useGetGroupsByAdmin = buildUseVueQuery({
    builderQueryFn: createGetGroupsByAdmin,
    queryKeyPrefix: "GroupsByAdminQuery"
});
export const useGetGroupPoliciesByGroup = buildUseVueQuery({
    builderQueryFn: createGetGroupPoliciesByGroup,
    queryKeyPrefix: "GroupPoliciesByGroupQuery"
});
export const useGetGroupPoliciesByAdmin = buildUseVueQuery({
    builderQueryFn: createGetGroupPoliciesByAdmin,
    queryKeyPrefix: "GroupPoliciesByAdminQuery"
});
export const useGetProposal = buildUseVueQuery({
    builderQueryFn: createGetProposal,
    queryKeyPrefix: "ProposalQuery"
});
export const useGetProposalsByGroupPolicy = buildUseVueQuery({
    builderQueryFn: createGetProposalsByGroupPolicy,
    queryKeyPrefix: "ProposalsByGroupPolicyQuery"
});
export const useGetVoteByProposalVoter = buildUseVueQuery({
    builderQueryFn: createGetVoteByProposalVoter,
    queryKeyPrefix: "VoteByProposalVoterQuery"
});
export const useGetVotesByProposal = buildUseVueQuery({
    builderQueryFn: createGetVotesByProposal,
    queryKeyPrefix: "VotesByProposalQuery"
});
export const useGetVotesByVoter = buildUseVueQuery({
    builderQueryFn: createGetVotesByVoter,
    queryKeyPrefix: "VotesByVoterQuery"
});
export const useGetGroupsByMember = buildUseVueQuery({
    builderQueryFn: createGetGroupsByMember,
    queryKeyPrefix: "GroupsByMemberQuery"
});
export const useGetTallyResult = buildUseVueQuery({
    builderQueryFn: createGetTallyResult,
    queryKeyPrefix: "TallyResultQuery"
});
export const useGetGroups = buildUseVueQuery({
    builderQueryFn: createGetGroups,
    queryKeyPrefix: "GroupsQuery"
});
