IOutput: { capitalProject?: undefined | { _created_at: unknown; _id: string; _updated_at: unknown; block_num?: null | number; blockchain_status: string; can_convert_to_project: boolean; components: { _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; }; }[]; 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; }; }; } Type declaration
Optional capitalProject?: undefined | {
_created_at: unknown;
_id: string;
_updated_at: unknown;
block_num?: null | number;
blockchain_status: string;
can_convert_to_project: boolean;
components: {
_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;
};
}[];
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;
};
}
Получение проекта по хешу с компонентами