query: {
    capitalProjects: [{
        filter: Variable<"CapitalProjectFilter", "filter">;
        options: Variable<"PaginationInput", "options">;
    }, {
        currentPage: boolean;
        items: {
            _created_at: boolean;
            _id: boolean;
            _updated_at: boolean;
            block_num: boolean;
            blockchain_status: boolean;
            can_convert_to_project: boolean;
            components: {
                _created_at: boolean;
                _id: boolean;
                _updated_at: boolean;
                block_num: boolean;
                blockchain_status: boolean;
                can_convert_to_project: boolean;
                coopname: boolean;
                counts: {
                    total_authors: boolean;
                    total_commits: boolean;
                    total_contributors: boolean;
                    total_coordinators: boolean;
                    total_creators: boolean;
                    total_investors: boolean;
                    total_propertors: boolean;
                    total_unique_participants: boolean;
                };
                created_at: boolean;
                crps: {
                    author_base_cumulative_reward_per_share: boolean;
                    author_bonus_cumulative_reward_per_share: boolean;
                    contributor_cumulative_reward_per_share: boolean;
                    total_capital_contributors_shares: boolean;
                };
                data: boolean;
                description: boolean;
                fact: {
                    accumulated_expense_pool: boolean;
                    authors_base_pool: boolean;
                    authors_bonus_pool: boolean;
                    contributors_bonus_pool: boolean;
                    coordinators_base_pool: boolean;
                    coordinators_investment_pool: boolean;
                    creators_base_pool: boolean;
                    creators_bonus_pool: boolean;
                    creators_hours: boolean;
                    hour_cost: boolean;
                    invest_pool: boolean;
                    program_invest_pool: boolean;
                    property_base_pool: boolean;
                    return_base_percent: boolean;
                    target_expense_pool: boolean;
                    total: boolean;
                    total_contribution: boolean;
                    total_generation_pool: boolean;
                    total_received_investments: boolean;
                    total_returned_investments: boolean;
                    use_invest_percent: boolean;
                    used_expense_pool: boolean;
                };
                id: boolean;
                invite: boolean;
                is_opened: boolean;
                is_planed: boolean;
                issue_counter: boolean;
                master: boolean;
                membership: {
                    available: boolean;
                    converted_funds: boolean;
                    cumulative_reward_per_share: boolean;
                    distributed: boolean;
                    funded: boolean;
                    total_shares: boolean;
                };
                meta: boolean;
                parent_hash: boolean;
                parent_title: boolean;
                permissions: {
                    can_change_project_status: boolean;
                    can_delete_project: boolean;
                    can_edit_project: boolean;
                    can_manage_authors: boolean;
                    can_manage_issues: boolean;
                    can_set_master: boolean;
                    can_set_plan: boolean;
                    has_clearance: boolean;
                    is_guest: boolean;
                    pending_clearance: boolean;
                };
                plan: {
                    authors_base_pool: boolean;
                    authors_bonus_pool: boolean;
                    contributors_bonus_pool: boolean;
                    coordinators_base_pool: boolean;
                    coordinators_investment_pool: boolean;
                    creators_base_pool: boolean;
                    creators_bonus_pool: boolean;
                    creators_hours: boolean;
                    hour_cost: boolean;
                    invest_pool: boolean;
                    program_invest_pool: boolean;
                    return_base_percent: boolean;
                    target_expense_pool: boolean;
                    total: boolean;
                    total_generation_pool: boolean;
                    total_received_investments: boolean;
                    use_invest_percent: boolean;
                };
                prefix: boolean;
                present: boolean;
                project_hash: boolean;
                status: boolean;
                title: boolean;
                voting: {
                    amounts: {
                        active_voting_amount: boolean;
                        authors_bonuses_on_voting: boolean;
                        authors_equal_per_author: boolean;
                        authors_equal_spread: boolean;
                        creators_bonuses_on_voting: boolean;
                        creators_direct_spread: boolean;
                        equal_voting_amount: boolean;
                        total_voting_pool: boolean;
                    };
                    authors_voting_percent: boolean;
                    creators_voting_percent: boolean;
                    total_voters: boolean;
                    votes_received: boolean;
                    voting_deadline: boolean;
                };
            };
            coopname: boolean;
            counts: {
                total_authors: boolean;
                total_commits: boolean;
                total_contributors: boolean;
                total_coordinators: boolean;
                total_creators: boolean;
                total_investors: boolean;
                total_propertors: boolean;
                total_unique_participants: boolean;
            };
            created_at: boolean;
            crps: {
                author_base_cumulative_reward_per_share: boolean;
                author_bonus_cumulative_reward_per_share: boolean;
                contributor_cumulative_reward_per_share: boolean;
                total_capital_contributors_shares: boolean;
            };
            data: boolean;
            description: boolean;
            fact: {
                accumulated_expense_pool: boolean;
                authors_base_pool: boolean;
                authors_bonus_pool: boolean;
                contributors_bonus_pool: boolean;
                coordinators_base_pool: boolean;
                coordinators_investment_pool: boolean;
                creators_base_pool: boolean;
                creators_bonus_pool: boolean;
                creators_hours: boolean;
                hour_cost: boolean;
                invest_pool: boolean;
                program_invest_pool: boolean;
                property_base_pool: boolean;
                return_base_percent: boolean;
                target_expense_pool: boolean;
                total: boolean;
                total_contribution: boolean;
                total_generation_pool: boolean;
                total_received_investments: boolean;
                total_returned_investments: boolean;
                use_invest_percent: boolean;
                used_expense_pool: boolean;
            };
            id: boolean;
            invite: boolean;
            is_opened: boolean;
            is_planed: boolean;
            issue_counter: boolean;
            master: boolean;
            membership: {
                available: boolean;
                converted_funds: boolean;
                cumulative_reward_per_share: boolean;
                distributed: boolean;
                funded: boolean;
                total_shares: boolean;
            };
            meta: boolean;
            parent_hash: boolean;
            parent_title: boolean;
            permissions: {
                can_change_project_status: boolean;
                can_delete_project: boolean;
                can_edit_project: boolean;
                can_manage_authors: boolean;
                can_manage_issues: boolean;
                can_set_master: boolean;
                can_set_plan: boolean;
                has_clearance: boolean;
                is_guest: boolean;
                pending_clearance: boolean;
            };
            plan: {
                authors_base_pool: boolean;
                authors_bonus_pool: boolean;
                contributors_bonus_pool: boolean;
                coordinators_base_pool: boolean;
                coordinators_investment_pool: boolean;
                creators_base_pool: boolean;
                creators_bonus_pool: boolean;
                creators_hours: boolean;
                hour_cost: boolean;
                invest_pool: boolean;
                program_invest_pool: boolean;
                return_base_percent: boolean;
                target_expense_pool: boolean;
                total: boolean;
                total_generation_pool: boolean;
                total_received_investments: boolean;
                use_invest_percent: boolean;
            };
            prefix: boolean;
            present: boolean;
            project_hash: boolean;
            status: boolean;
            title: boolean;
            voting: {
                amounts: {
                    active_voting_amount: boolean;
                    authors_bonuses_on_voting: boolean;
                    authors_equal_per_author: boolean;
                    authors_equal_spread: boolean;
                    creators_bonuses_on_voting: boolean;
                    creators_direct_spread: boolean;
                    equal_voting_amount: boolean;
                    total_voting_pool: boolean;
                };
                authors_voting_percent: boolean;
                creators_voting_percent: boolean;
                total_voters: boolean;
                votes_received: boolean;
                voting_deadline: boolean;
            };
        };
        totalCount: boolean;
        totalPages: boolean;
    }];
} = ...

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

Type declaration

  • capitalProjects: [{
        filter: Variable<"CapitalProjectFilter", "filter">;
        options: Variable<"PaginationInput", "options">;
    }, {
        currentPage: boolean;
        items: {
            _created_at: boolean;
            _id: boolean;
            _updated_at: boolean;
            block_num: boolean;
            blockchain_status: boolean;
            can_convert_to_project: boolean;
            components: {
                _created_at: boolean;
                _id: boolean;
                _updated_at: boolean;
                block_num: boolean;
                blockchain_status: boolean;
                can_convert_to_project: boolean;
                coopname: boolean;
                counts: {
                    total_authors: boolean;
                    total_commits: boolean;
                    total_contributors: boolean;
                    total_coordinators: boolean;
                    total_creators: boolean;
                    total_investors: boolean;
                    total_propertors: boolean;
                    total_unique_participants: boolean;
                };
                created_at: boolean;
                crps: {
                    author_base_cumulative_reward_per_share: boolean;
                    author_bonus_cumulative_reward_per_share: boolean;
                    contributor_cumulative_reward_per_share: boolean;
                    total_capital_contributors_shares: boolean;
                };
                data: boolean;
                description: boolean;
                fact: {
                    accumulated_expense_pool: boolean;
                    authors_base_pool: boolean;
                    authors_bonus_pool: boolean;
                    contributors_bonus_pool: boolean;
                    coordinators_base_pool: boolean;
                    coordinators_investment_pool: boolean;
                    creators_base_pool: boolean;
                    creators_bonus_pool: boolean;
                    creators_hours: boolean;
                    hour_cost: boolean;
                    invest_pool: boolean;
                    program_invest_pool: boolean;
                    property_base_pool: boolean;
                    return_base_percent: boolean;
                    target_expense_pool: boolean;
                    total: boolean;
                    total_contribution: boolean;
                    total_generation_pool: boolean;
                    total_received_investments: boolean;
                    total_returned_investments: boolean;
                    use_invest_percent: boolean;
                    used_expense_pool: boolean;
                };
                id: boolean;
                invite: boolean;
                is_opened: boolean;
                is_planed: boolean;
                issue_counter: boolean;
                master: boolean;
                membership: {
                    available: boolean;
                    converted_funds: boolean;
                    cumulative_reward_per_share: boolean;
                    distributed: boolean;
                    funded: boolean;
                    total_shares: boolean;
                };
                meta: boolean;
                parent_hash: boolean;
                parent_title: boolean;
                permissions: {
                    can_change_project_status: boolean;
                    can_delete_project: boolean;
                    can_edit_project: boolean;
                    can_manage_authors: boolean;
                    can_manage_issues: boolean;
                    can_set_master: boolean;
                    can_set_plan: boolean;
                    has_clearance: boolean;
                    is_guest: boolean;
                    pending_clearance: boolean;
                };
                plan: {
                    authors_base_pool: boolean;
                    authors_bonus_pool: boolean;
                    contributors_bonus_pool: boolean;
                    coordinators_base_pool: boolean;
                    coordinators_investment_pool: boolean;
                    creators_base_pool: boolean;
                    creators_bonus_pool: boolean;
                    creators_hours: boolean;
                    hour_cost: boolean;
                    invest_pool: boolean;
                    program_invest_pool: boolean;
                    return_base_percent: boolean;
                    target_expense_pool: boolean;
                    total: boolean;
                    total_generation_pool: boolean;
                    total_received_investments: boolean;
                    use_invest_percent: boolean;
                };
                prefix: boolean;
                present: boolean;
                project_hash: boolean;
                status: boolean;
                title: boolean;
                voting: {
                    amounts: {
                        active_voting_amount: boolean;
                        authors_bonuses_on_voting: boolean;
                        authors_equal_per_author: boolean;
                        authors_equal_spread: boolean;
                        creators_bonuses_on_voting: boolean;
                        creators_direct_spread: boolean;
                        equal_voting_amount: boolean;
                        total_voting_pool: boolean;
                    };
                    authors_voting_percent: boolean;
                    creators_voting_percent: boolean;
                    total_voters: boolean;
                    votes_received: boolean;
                    voting_deadline: boolean;
                };
            };
            coopname: boolean;
            counts: {
                total_authors: boolean;
                total_commits: boolean;
                total_contributors: boolean;
                total_coordinators: boolean;
                total_creators: boolean;
                total_investors: boolean;
                total_propertors: boolean;
                total_unique_participants: boolean;
            };
            created_at: boolean;
            crps: {
                author_base_cumulative_reward_per_share: boolean;
                author_bonus_cumulative_reward_per_share: boolean;
                contributor_cumulative_reward_per_share: boolean;
                total_capital_contributors_shares: boolean;
            };
            data: boolean;
            description: boolean;
            fact: {
                accumulated_expense_pool: boolean;
                authors_base_pool: boolean;
                authors_bonus_pool: boolean;
                contributors_bonus_pool: boolean;
                coordinators_base_pool: boolean;
                coordinators_investment_pool: boolean;
                creators_base_pool: boolean;
                creators_bonus_pool: boolean;
                creators_hours: boolean;
                hour_cost: boolean;
                invest_pool: boolean;
                program_invest_pool: boolean;
                property_base_pool: boolean;
                return_base_percent: boolean;
                target_expense_pool: boolean;
                total: boolean;
                total_contribution: boolean;
                total_generation_pool: boolean;
                total_received_investments: boolean;
                total_returned_investments: boolean;
                use_invest_percent: boolean;
                used_expense_pool: boolean;
            };
            id: boolean;
            invite: boolean;
            is_opened: boolean;
            is_planed: boolean;
            issue_counter: boolean;
            master: boolean;
            membership: {
                available: boolean;
                converted_funds: boolean;
                cumulative_reward_per_share: boolean;
                distributed: boolean;
                funded: boolean;
                total_shares: boolean;
            };
            meta: boolean;
            parent_hash: boolean;
            parent_title: boolean;
            permissions: {
                can_change_project_status: boolean;
                can_delete_project: boolean;
                can_edit_project: boolean;
                can_manage_authors: boolean;
                can_manage_issues: boolean;
                can_set_master: boolean;
                can_set_plan: boolean;
                has_clearance: boolean;
                is_guest: boolean;
                pending_clearance: boolean;
            };
            plan: {
                authors_base_pool: boolean;
                authors_bonus_pool: boolean;
                contributors_bonus_pool: boolean;
                coordinators_base_pool: boolean;
                coordinators_investment_pool: boolean;
                creators_base_pool: boolean;
                creators_bonus_pool: boolean;
                creators_hours: boolean;
                hour_cost: boolean;
                invest_pool: boolean;
                program_invest_pool: boolean;
                return_base_percent: boolean;
                target_expense_pool: boolean;
                total: boolean;
                total_generation_pool: boolean;
                total_received_investments: boolean;
                use_invest_percent: boolean;
            };
            prefix: boolean;
            present: boolean;
            project_hash: boolean;
            status: boolean;
            title: boolean;
            voting: {
                amounts: {
                    active_voting_amount: boolean;
                    authors_bonuses_on_voting: boolean;
                    authors_equal_per_author: boolean;
                    authors_equal_spread: boolean;
                    creators_bonuses_on_voting: boolean;
                    creators_direct_spread: boolean;
                    equal_voting_amount: boolean;
                    total_voting_pool: boolean;
                };
                authors_voting_percent: boolean;
                creators_voting_percent: boolean;
                total_voters: boolean;
                votes_received: boolean;
                voting_deadline: boolean;
            };
        };
        totalCount: boolean;
        totalPages: boolean;
    }]