UNPKG

bit-bin

Version:

<a href="https://opensource.org/licenses/Apache-2.0"><img alt="apache" src="https://img.shields.io/badge/License-Apache%202.0-blue.svg"></a> <a href="https://github.com/teambit/bit/blob/master/CONTRIBUTING.md"><img alt="prs" src="https://img.shields.io/b

18 lines (17 loc) 551 B
import Component from './component'; import State from './state'; export declare type Hash = string; export declare type Author = { name: string; email: string; }; export default class Snap { readonly timestamp: Date; readonly parents: Snap[]; readonly author: Author; readonly message: string; readonly state: State; constructor(timestamp: Date, parents: Snap[], author: Author, message: string, state: State); get hash(): string; static create(component: Component, author: Author, message?: string): Snap; }