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

FieldReference

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

Reference definition to use with field overrides.

interface FieldReference {
dateFormat?:
| "DATE_FORMAT_UNSPECIFIED"
| "DATE_TIME"
| "dateTime"
| "DATE_ONLY"
| "dateOnly"
| "TIME_ONLY"
| "timeOnly"
| "DATE_TIME_YEAR"
| "dateTimeYear"
| "DATE_YEAR"
| "dateYear"
| "YEAR_MONTH"
| "YEAR_MONTH_DAY";
fieldPath?: string;
}

§Properties

§
dateFormat?: "DATE_FORMAT_UNSPECIFIED" | "DATE_TIME" | "dateTime" | "DATE_ONLY" | "dateOnly" | "TIME_ONLY" | "timeOnly" | "DATE_TIME_YEAR" | "dateTimeYear" | "DATE_YEAR" | "dateYear" | "YEAR_MONTH" | "YEAR_MONTH_DAY"
[src]

Only valid if the fieldPath references a date field. Chooses how the date field will be formatted and displayed in the UI.

§
fieldPath?: string
[src]

Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".