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

GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceDisplayHints

import type { GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceDisplayHints } from "https://googleapis.deno.dev/v1/drivelabels:v2.ts";

UI display hints for rendering an option.

interface GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceDisplayHints {
badgePriority?: bigint;
disabled?: boolean;
hiddenInSearch?: boolean;
shownInApply?: boolean;
}

§Properties

§

The colors to use for the badge. Changed to Google Material colors based on the chosen properties.badge_config.color.

§
badgePriority?: bigint
[src]

The priority of this badge. Used to compare and sort between multiple badges. A lower number means the badge should be shown first. When a badging configuration is not present, this will be 0. Otherwise, this will be set to BadgeConfig.priority_override or the default heuristic which prefers creation date of the label, and field and option priority.

§

The dark-mode color to use for the badge. Changed to Google Material colors based on the chosen properties.badge_config.color.

§
disabled?: boolean
[src]

Whether the option should be shown in the UI as disabled.

§
hiddenInSearch?: boolean
[src]

This option should be hidden in the search menu when searching for Drive items.

§
shownInApply?: boolean
[src]

This option should be shown in the apply menu when applying values to a Drive item.