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.