@karmaniverous/jeeves-scripts-core
    Preparing search index...

    Function briefingVars

    • Validate briefing template values, for dispatchTaskFile's templateVars.

      Parameters

      • input: {
            briefingDir: string;
            delegates: string;
            deliveryChannel: string;
            eodDir?: string;
            marketIntelDir?: string;
            org: string;
            principal: string;
            timeZone: string;
        }
        • briefingDir: string

          The morning briefing's directory.

        • delegates: string

          The people the principal hands work to, e.g. Ana (ops), Bo (finance).

        • deliveryChannel: string

          The delivery (and feedback) channel as the worker sees it, e.g. #ceo-briefing.

        • OptionaleodDir?: string

          The end-of-day list's directory; required to run the end-of-day template.

        • OptionalmarketIntelDir?: string

          The market intel directory; required to run the market-intel template.

        • org: string

          The organisation, e.g. Acme.

        • principal: string

          The executive the briefing serves.

        • timeZone: string

          The principal's IANA time zone (the dispatcher's dateTimeZone too).

      Returns BriefingVars

      Error listing every invalid field.