ic-query 0.54.1

Internet Computer query library for CloudEngine, NNS, SNS, ICRC, system canisters, and public network metadata
Documentation
//! Module: nns::proposals
//!
//! Responsibility: expose NNS governance proposal request and report APIs.
//! Does not own: SNS proposal queries, registry inventory, or topology reports.
//! Boundary: groups reusable proposal models, builders, caches, sources, and renderers.

mod report;

#[cfg(feature = "nns-host")]
pub use report::{
    DEFAULT_NNS_PROPOSAL_REFRESH_LOCK_STALE_SECONDS, NnsProposalCacheListReport,
    NnsProposalCacheStatusReport, NnsProposalCacheSummary, NnsProposalHostError,
    NnsProposalRefreshReport, advance_nns_proposal_collection,
    build_nns_proposal_activity_report_from_cache, build_nns_proposal_cache_list_report,
    build_nns_proposal_cache_status_report, build_nns_proposal_list_report,
    build_nns_proposal_list_report_from_cache, build_nns_proposal_report,
    build_nns_proposal_report_from_cache, nns_proposal_cache_list_report_text,
    nns_proposal_cache_path, nns_proposal_cache_root, nns_proposal_cache_status_report_text,
    nns_proposal_refresh_attempt_path, nns_proposal_refresh_lock_path,
    nns_proposal_refresh_report_text, refresh_nns_proposal_cache,
    refresh_nns_proposal_cache_with_progress, refresh_nns_proposal_cache_with_source,
};
pub use report::{
    DEFAULT_NNS_PROPOSAL_SOURCE_ENDPOINT, NNS_PROPOSAL_ACTIVITY_REPORT_SCHEMA_VERSION,
    NNS_PROPOSAL_COLLECTION_STATE_SCHEMA_VERSION, NNS_PROPOSAL_MAX_PAGE_SIZE,
    NnsProposalActivityError, NnsProposalActivityReport, NnsProposalActivityRequest,
    NnsProposalActivityValidationError, NnsProposalBallotRow, NnsProposalCollectionState,
    NnsProposalCollectionStep, NnsProposalDayCount, NnsProposalError, NnsProposalListReport,
    NnsProposalListRequest, NnsProposalListSort, NnsProposalReport, NnsProposalRequest,
    NnsProposalRewardStatus, NnsProposalRewardStatusCount, NnsProposalRewardStatusFilter,
    NnsProposalRow, NnsProposalSortDirection, NnsProposalSource, NnsProposalSourceFuture,
    NnsProposalStatus, NnsProposalStatusCount, NnsProposalStatusFilter, NnsProposalTally,
    NnsProposalTopic, NnsProposalTopicCount, NnsProposalTopicFilter, NnsProposalVote,
    advance_nns_proposal_collection_with_source, build_nns_proposal_activity_report,
    build_nns_proposal_list_report_with_source, build_nns_proposal_report_with_source,
    nns_proposal_activity_report_text, nns_proposal_list_report_text, nns_proposal_report_text,
    validate_nns_proposal_activity_report,
};