IOutput: {
    capitalCommits: {
        currentPage: number;
        items: {
            _created_at: unknown;
            _id: string;
            _updated_at: unknown;
            amounts?: {
                authors_base_pool?: null | string;
                authors_bonus_pool?: null | string;
                contributors_bonus_pool?: null | string;
                creators_base_pool?: null | string;
                creators_bonus_pool?: null | string;
                creators_hours?: null | string;
                hour_cost?: null | string;
                total_contribution?: null | string;
                total_generation_pool?: null | string;
            };
            block_num?: null | number;
            blockchain_status?: null | string;
            commit_hash: string;
            coopname?: null | string;
            created_at?: null | string;
            description: string;
            display_name?: null | string;
            id?: null | number;
            meta: string;
            present: boolean;
            project?: {
                _created_at: unknown;
                _id: string;
                _updated_at: unknown;
                block_num?: null | number;
                blockchain_status: string;
                can_convert_to_project: boolean;
                coopname: string;
                counts: {
                    total_authors: number;
                    total_commits: number;
                    total_contributors: number;
                    total_coordinators: number;
                    total_creators: number;
                    total_investors: number;
                    total_propertors: number;
                    total_unique_participants: number;
                };
                created_at: string;
                crps: {
                    author_base_cumulative_reward_per_share: number;
                    author_bonus_cumulative_reward_per_share: number;
                    contributor_cumulative_reward_per_share: number;
                    total_capital_contributors_shares: string;
                };
                data: string;
                description: string;
                fact: {
                    accumulated_expense_pool: string;
                    authors_base_pool: string;
                    authors_bonus_pool: string;
                    contributors_bonus_pool: string;
                    coordinators_base_pool: string;
                    coordinators_investment_pool: string;
                    creators_base_pool: string;
                    creators_bonus_pool: string;
                    creators_hours: number;
                    hour_cost: string;
                    invest_pool: string;
                    program_invest_pool: string;
                    property_base_pool: string;
                    return_base_percent: number;
                    target_expense_pool: string;
                    total: string;
                    total_contribution: string;
                    total_generation_pool: string;
                    total_received_investments: string;
                    total_returned_investments: string;
                    use_invest_percent: number;
                    used_expense_pool: string;
                };
                id: number;
                invite: string;
                is_opened: boolean;
                is_planed: boolean;
                issue_counter: number;
                master: string;
                membership: {
                    available: string;
                    converted_funds: string;
                    cumulative_reward_per_share: number;
                    distributed: string;
                    funded: string;
                    total_shares: string;
                };
                meta: string;
                parent_hash: string;
                parent_title?: null | string;
                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: string;
                    authors_bonus_pool: string;
                    contributors_bonus_pool: string;
                    coordinators_base_pool: string;
                    coordinators_investment_pool: string;
                    creators_base_pool: string;
                    creators_bonus_pool: string;
                    creators_hours: number;
                    hour_cost: string;
                    invest_pool: string;
                    program_invest_pool: string;
                    return_base_percent: number;
                    target_expense_pool: string;
                    total: string;
                    total_generation_pool: string;
                    total_received_investments: string;
                    use_invest_percent: number;
                };
                prefix: string;
                present: boolean;
                project_hash: string;
                status: ProjectStatus;
                title: string;
                voting: {
                    amounts: {
                        active_voting_amount: string;
                        authors_bonuses_on_voting: string;
                        authors_equal_per_author: string;
                        authors_equal_spread: string;
                        creators_bonuses_on_voting: string;
                        creators_direct_spread: string;
                        equal_voting_amount: string;
                        total_voting_pool: string;
                    };
                    authors_voting_percent: number;
                    creators_voting_percent: number;
                    total_voters: number;
                    votes_received: number;
                    voting_deadline: string;
                };
            };
            project_hash?: null | string;
            status: CommitStatus;
            username?: null | string;
        }[];
        totalCount: number;
        totalPages: number;
    };
}

Type declaration

  • capitalCommits: {
        currentPage: number;
        items: {
            _created_at: unknown;
            _id: string;
            _updated_at: unknown;
            amounts?: {
                authors_base_pool?: null | string;
                authors_bonus_pool?: null | string;
                contributors_bonus_pool?: null | string;
                creators_base_pool?: null | string;
                creators_bonus_pool?: null | string;
                creators_hours?: null | string;
                hour_cost?: null | string;
                total_contribution?: null | string;
                total_generation_pool?: null | string;
            };
            block_num?: null | number;
            blockchain_status?: null | string;
            commit_hash: string;
            coopname?: null | string;
            created_at?: null | string;
            description: string;
            display_name?: null | string;
            id?: null | number;
            meta: string;
            present: boolean;
            project?: {
                _created_at: unknown;
                _id: string;
                _updated_at: unknown;
                block_num?: null | number;
                blockchain_status: string;
                can_convert_to_project: boolean;
                coopname: string;
                counts: {
                    total_authors: number;
                    total_commits: number;
                    total_contributors: number;
                    total_coordinators: number;
                    total_creators: number;
                    total_investors: number;
                    total_propertors: number;
                    total_unique_participants: number;
                };
                created_at: string;
                crps: {
                    author_base_cumulative_reward_per_share: number;
                    author_bonus_cumulative_reward_per_share: number;
                    contributor_cumulative_reward_per_share: number;
                    total_capital_contributors_shares: string;
                };
                data: string;
                description: string;
                fact: {
                    accumulated_expense_pool: string;
                    authors_base_pool: string;
                    authors_bonus_pool: string;
                    contributors_bonus_pool: string;
                    coordinators_base_pool: string;
                    coordinators_investment_pool: string;
                    creators_base_pool: string;
                    creators_bonus_pool: string;
                    creators_hours: number;
                    hour_cost: string;
                    invest_pool: string;
                    program_invest_pool: string;
                    property_base_pool: string;
                    return_base_percent: number;
                    target_expense_pool: string;
                    total: string;
                    total_contribution: string;
                    total_generation_pool: string;
                    total_received_investments: string;
                    total_returned_investments: string;
                    use_invest_percent: number;
                    used_expense_pool: string;
                };
                id: number;
                invite: string;
                is_opened: boolean;
                is_planed: boolean;
                issue_counter: number;
                master: string;
                membership: {
                    available: string;
                    converted_funds: string;
                    cumulative_reward_per_share: number;
                    distributed: string;
                    funded: string;
                    total_shares: string;
                };
                meta: string;
                parent_hash: string;
                parent_title?: null | string;
                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: string;
                    authors_bonus_pool: string;
                    contributors_bonus_pool: string;
                    coordinators_base_pool: string;
                    coordinators_investment_pool: string;
                    creators_base_pool: string;
                    creators_bonus_pool: string;
                    creators_hours: number;
                    hour_cost: string;
                    invest_pool: string;
                    program_invest_pool: string;
                    return_base_percent: number;
                    target_expense_pool: string;
                    total: string;
                    total_generation_pool: string;
                    total_received_investments: string;
                    use_invest_percent: number;
                };
                prefix: string;
                present: boolean;
                project_hash: string;
                status: ProjectStatus;
                title: string;
                voting: {
                    amounts: {
                        active_voting_amount: string;
                        authors_bonuses_on_voting: string;
                        authors_equal_per_author: string;
                        authors_equal_spread: string;
                        creators_bonuses_on_voting: string;
                        creators_direct_spread: string;
                        equal_voting_amount: string;
                        total_voting_pool: string;
                    };
                    authors_voting_percent: number;
                    creators_voting_percent: number;
                    total_voters: number;
                    votes_received: number;
                    voting_deadline: string;
                };
            };
            project_hash?: null | string;
            status: CommitStatus;
            username?: null | string;
        }[];
        totalCount: number;
        totalPages: number;
    }

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

    • currentPage: number

      Текущая страница

    • items: {
          _created_at: unknown;
          _id: string;
          _updated_at: unknown;
          amounts?: {
              authors_base_pool?: null | string;
              authors_bonus_pool?: null | string;
              contributors_bonus_pool?: null | string;
              creators_base_pool?: null | string;
              creators_bonus_pool?: null | string;
              creators_hours?: null | string;
              hour_cost?: null | string;
              total_contribution?: null | string;
              total_generation_pool?: null | string;
          };
          block_num?: null | number;
          blockchain_status?: null | string;
          commit_hash: string;
          coopname?: null | string;
          created_at?: null | string;
          description: string;
          display_name?: null | string;
          id?: null | number;
          meta: string;
          present: boolean;
          project?: {
              _created_at: unknown;
              _id: string;
              _updated_at: unknown;
              block_num?: null | number;
              blockchain_status: string;
              can_convert_to_project: boolean;
              coopname: string;
              counts: {
                  total_authors: number;
                  total_commits: number;
                  total_contributors: number;
                  total_coordinators: number;
                  total_creators: number;
                  total_investors: number;
                  total_propertors: number;
                  total_unique_participants: number;
              };
              created_at: string;
              crps: {
                  author_base_cumulative_reward_per_share: number;
                  author_bonus_cumulative_reward_per_share: number;
                  contributor_cumulative_reward_per_share: number;
                  total_capital_contributors_shares: string;
              };
              data: string;
              description: string;
              fact: {
                  accumulated_expense_pool: string;
                  authors_base_pool: string;
                  authors_bonus_pool: string;
                  contributors_bonus_pool: string;
                  coordinators_base_pool: string;
                  coordinators_investment_pool: string;
                  creators_base_pool: string;
                  creators_bonus_pool: string;
                  creators_hours: number;
                  hour_cost: string;
                  invest_pool: string;
                  program_invest_pool: string;
                  property_base_pool: string;
                  return_base_percent: number;
                  target_expense_pool: string;
                  total: string;
                  total_contribution: string;
                  total_generation_pool: string;
                  total_received_investments: string;
                  total_returned_investments: string;
                  use_invest_percent: number;
                  used_expense_pool: string;
              };
              id: number;
              invite: string;
              is_opened: boolean;
              is_planed: boolean;
              issue_counter: number;
              master: string;
              membership: {
                  available: string;
                  converted_funds: string;
                  cumulative_reward_per_share: number;
                  distributed: string;
                  funded: string;
                  total_shares: string;
              };
              meta: string;
              parent_hash: string;
              parent_title?: null | string;
              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: string;
                  authors_bonus_pool: string;
                  contributors_bonus_pool: string;
                  coordinators_base_pool: string;
                  coordinators_investment_pool: string;
                  creators_base_pool: string;
                  creators_bonus_pool: string;
                  creators_hours: number;
                  hour_cost: string;
                  invest_pool: string;
                  program_invest_pool: string;
                  return_base_percent: number;
                  target_expense_pool: string;
                  total: string;
                  total_generation_pool: string;
                  total_received_investments: string;
                  use_invest_percent: number;
              };
              prefix: string;
              present: boolean;
              project_hash: string;
              status: ProjectStatus;
              title: string;
              voting: {
                  amounts: {
                      active_voting_amount: string;
                      authors_bonuses_on_voting: string;
                      authors_equal_per_author: string;
                      authors_equal_spread: string;
                      creators_bonuses_on_voting: string;
                      creators_direct_spread: string;
                      equal_voting_amount: string;
                      total_voting_pool: string;
                  };
                  authors_voting_percent: number;
                  creators_voting_percent: number;
                  total_voters: number;
                  votes_received: number;
                  voting_deadline: string;
              };
          };
          project_hash?: null | string;
          status: CommitStatus;
          username?: null | string;
      }[]

      Элементы текущей страницы

    • totalCount: number

      Общее количество элементов

    • totalPages: number

      Общее количество страниц