Circle V2 API Docs
    Preparing search index...

    Variable DATE_RANGE_PRESETSConst

    DATE_RANGE_PRESETS: {
        last30Days: {
            getValue: () => { from: string; to: string };
            label: "Last 30 days";
        };
        last7Days: {
            getValue: () => { from: string; to: string };
            label: "Last 7 days";
        };
        today: { getValue: () => { from: string; to: string }; label: "Today" };
    } = ...

    Built-in MultiFilterMenu date range presets, keyed by id so consumers can pick and compose them (e.g. [DATE_RANGE_PRESETS.today, myPreset]).

    Type Declaration

    • Readonlylast30Days: { getValue: () => { from: string; to: string }; label: "Last 30 days" }
    • Readonlylast7Days: { getValue: () => { from: string; to: string }; label: "Last 7 days" }
    • Readonlytoday: { getValue: () => { from: string; to: string }; label: "Today" }