query: {
    capitalSegments: [{
        filter: Variable<"CapitalSegmentFilter", "filter">;
        options: Variable<"PaginationInput", "options">;
    }, {
        currentPage: boolean;
        items: {
            _created_at: boolean;
            _id: boolean;
            _updated_at: boolean;
            author_base: boolean;
            author_bonus: boolean;
            available_for_program: boolean;
            available_for_wallet: boolean;
            block_num: boolean;
            capital_contributor_shares: boolean;
            contributor_bonus: boolean;
            coopname: boolean;
            coordinator_base: boolean;
            coordinator_investments: boolean;
            creator_base: boolean;
            creator_bonus: boolean;
            debt_amount: boolean;
            debt_settled: boolean;
            direct_creator_bonus: boolean;
            display_name: boolean;
            equal_author_bonus: boolean;
            has_vote: boolean;
            id: boolean;
            intellectual_cost: boolean;
            investor_amount: boolean;
            investor_base: boolean;
            is_author: boolean;
            is_completed: boolean;
            is_contributor: boolean;
            is_coordinator: boolean;
            is_creator: boolean;
            is_investor: boolean;
            is_propertor: boolean;
            is_votes_calculated: boolean;
            last_author_base_reward_per_share: boolean;
            last_author_bonus_reward_per_share: boolean;
            last_contributor_reward_per_share: boolean;
            last_known_coordinators_investment_pool: boolean;
            last_known_creators_base_pool: boolean;
            last_known_invest_pool: boolean;
            present: boolean;
            project_hash: boolean;
            property_base: boolean;
            provisional_amount: boolean;
            share_percent: boolean;
            status: boolean;
            total_segment_base_cost: boolean;
            total_segment_bonus_cost: boolean;
            total_segment_cost: boolean;
            username: boolean;
            value: boolean;
            voting_bonus: boolean;
        };
        totalCount: boolean;
        totalPages: boolean;
    }];
} = ...

Получение всех сегментов с фильтрацией

Type declaration

  • capitalSegments: [{
        filter: Variable<"CapitalSegmentFilter", "filter">;
        options: Variable<"PaginationInput", "options">;
    }, {
        currentPage: boolean;
        items: {
            _created_at: boolean;
            _id: boolean;
            _updated_at: boolean;
            author_base: boolean;
            author_bonus: boolean;
            available_for_program: boolean;
            available_for_wallet: boolean;
            block_num: boolean;
            capital_contributor_shares: boolean;
            contributor_bonus: boolean;
            coopname: boolean;
            coordinator_base: boolean;
            coordinator_investments: boolean;
            creator_base: boolean;
            creator_bonus: boolean;
            debt_amount: boolean;
            debt_settled: boolean;
            direct_creator_bonus: boolean;
            display_name: boolean;
            equal_author_bonus: boolean;
            has_vote: boolean;
            id: boolean;
            intellectual_cost: boolean;
            investor_amount: boolean;
            investor_base: boolean;
            is_author: boolean;
            is_completed: boolean;
            is_contributor: boolean;
            is_coordinator: boolean;
            is_creator: boolean;
            is_investor: boolean;
            is_propertor: boolean;
            is_votes_calculated: boolean;
            last_author_base_reward_per_share: boolean;
            last_author_bonus_reward_per_share: boolean;
            last_contributor_reward_per_share: boolean;
            last_known_coordinators_investment_pool: boolean;
            last_known_creators_base_pool: boolean;
            last_known_invest_pool: boolean;
            present: boolean;
            project_hash: boolean;
            property_base: boolean;
            provisional_amount: boolean;
            share_percent: boolean;
            status: boolean;
            total_segment_base_cost: boolean;
            total_segment_bonus_cost: boolean;
            total_segment_cost: boolean;
            username: boolean;
            value: boolean;
            voting_bonus: boolean;
        };
        totalCount: boolean;
        totalPages: boolean;
    }]