beancount
    Preparing search index...

    Interface GenericParseResultWithDate

    Generic parse result for directives that include a date field. Extends the base result with date and metadata properties.

    interface GenericParseResultWithDate {
        header: string;
        props: { comment?: string } & { date: string; metadata?: Metadata };
        synthetic?: false;
        type: BeancountDirectiveNodeType;
    }

    Hierarchy (View Summary)

    Index

    Properties

    header: string

    The main header content from the first line of the directive

    props: { comment?: string } & { date: string; metadata?: Metadata }

    Extended properties including date and optional metadata

    Type Declaration

    • Optionalcomment?: string

      Optional comment text following a semicolon

    • date: string

      The date string in YYYY-MM-DD format

    • Optionalmetadata?: Metadata

      Optional metadata key-value pairs

    synthetic?: false

    The type of Beancount directive (e.g., 'open', 'close', 'balance')