DataFeedGranularity type

Granularity type of a data feed.

type DataFeedGranularity =
  | {
      granularityType:
        | "Yearly"
        | "Monthly"
        | "Weekly"
        | "Daily"
        | "Hourly"
        | "PerMinute"
    }
  | { customGranularityValue: number; granularityType: "Custom" }