@argantom/argantom
    Preparing search index...

    Interface Record

    An accounting record.

    interface Record {
        date: StrDate;
        durationSecs?: number;
        expense?: Val;
        income?: Val;
        metadata?: any;
        recordId: string;
    }
    Index

    Properties

    date: StrDate

    The date for this record.

    durationSecs?: number

    An f64 representation of time spent performing an activity.

    This value is in seconds, but generally a UI should clamp this to a larger value, such as quarter hours.

    A UI can choose to record this as a part of an income or expense record, or as a separate record, leaving income and expense undefined.

    expense?: Val

    Any expenses associated with this record.

    income?: Val

    Any income associated with this record.

    metadata?: any

    Any free-form metadata associated with this record.

    recordId: string

    The identifier for this record. Set this to empty string ("") when creating a new record.