interface IInput {
    data: {
        commit_hours: number;
        coopname: string;
        data?: any;
        description: string;
        meta: string;
        project_hash: string;
        username: string;
    };
}

Properties

Properties

data: {
    commit_hours: number;
    coopname: string;
    data?: any;
    description: string;
    meta: string;
    project_hash: string;
    username: string;
}

Type declaration

  • commit_hours: number

    Количество часов для коммита

  • coopname: string

    Имя аккаунта кооператива

  • Optional data?: any

    Данные коммита для БД (git, contribution_feedback и др.). В блокчейн не передаётся. Взнос без Git: можно пустой data — commit_hash строится off-chain.

  • description: string

    Описание коммита

  • meta: string

    Мета-данные коммита

  • project_hash: string

    Хэш проекта

  • username: string

    Имя пользователя