Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

IndexInfo

import type { IndexInfo } from "https://googleapis.deno.dev/v1/pollen:v1.ts";

This object contains data representing specific pollen index value, category and description.

interface IndexInfo {
category?: string;
code?: "INDEX_UNSPECIFIED" | "UPI";
color?: Color;
displayName?: string;
indexDescription?: string;
value?: number;
}

§Properties

§
category?: string
[src]

Text classification of index numerical score interpretation. The index consists of six categories: * 0: "None" * 1: "Very low" * 2: "Low" * 3: "Moderate" * 4: "High" * 5: "Very high

§
code?: "INDEX_UNSPECIFIED" | "UPI"
[src]

The index's code. This field represents the index for programming purposes by using snake cases instead of spaces. Example: "UPI".

§
color?: Color
[src]

The color used to represent the Pollen Index numeric score.

§
displayName?: string
[src]

A human readable representation of the index name. Example: "Universal Pollen Index".

§
indexDescription?: string
[src]

Textual explanation of current index level.

§
value?: number
[src]

The index's numeric score. Numeric range is between 0 and 5.