mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 23:25:26 +00:00
Fixed typos on field's property names - Closes #76
This commit is contained in:
@@ -371,14 +371,14 @@ const barcode = Joi.object().keys({
|
|||||||
export interface Field {
|
export interface Field {
|
||||||
attributedValue?: string | number | Date;
|
attributedValue?: string | number | Date;
|
||||||
changeMessage?: string;
|
changeMessage?: string;
|
||||||
dataDetectorType?: string[];
|
dataDetectorTypes?: string[];
|
||||||
label?: string;
|
label?: string;
|
||||||
textAlignment?: string;
|
textAlignment?: string;
|
||||||
key: string;
|
key: string;
|
||||||
value: string | number | Date;
|
value: string | number | Date;
|
||||||
semantics?: Semantics;
|
semantics?: Semantics;
|
||||||
dateStyle?: string;
|
dateStyle?: string;
|
||||||
ignoreTimeZone?: boolean;
|
ignoresTimeZone?: boolean;
|
||||||
isRelative?: boolean;
|
isRelative?: boolean;
|
||||||
timeStyle?: string;
|
timeStyle?: string;
|
||||||
currencyCode?: string;
|
currencyCode?: string;
|
||||||
@@ -392,7 +392,7 @@ const field = Joi.object().keys({
|
|||||||
Joi.date().iso(),
|
Joi.date().iso(),
|
||||||
),
|
),
|
||||||
changeMessage: Joi.string(),
|
changeMessage: Joi.string(),
|
||||||
dataDetectorType: Joi.array().items(
|
dataDetectorTypes: Joi.array().items(
|
||||||
Joi.string().regex(
|
Joi.string().regex(
|
||||||
/(PKDataDetectorTypePhoneNumber|PKDataDetectorTypeLink|PKDataDetectorTypeAddress|PKDataDetectorTypeCalendarEvent)/,
|
/(PKDataDetectorTypePhoneNumber|PKDataDetectorTypeLink|PKDataDetectorTypeAddress|PKDataDetectorTypeCalendarEvent)/,
|
||||||
"dataDetectorType",
|
"dataDetectorType",
|
||||||
@@ -415,7 +415,7 @@ const field = Joi.object().keys({
|
|||||||
/(PKDateStyleNone|PKDateStyleShort|PKDateStyleMedium|PKDateStyleLong|PKDateStyleFull)/,
|
/(PKDateStyleNone|PKDateStyleShort|PKDateStyleMedium|PKDateStyleLong|PKDateStyleFull)/,
|
||||||
"date style",
|
"date style",
|
||||||
),
|
),
|
||||||
ignoreTimeZone: Joi.boolean(),
|
ignoresTimeZone: Joi.boolean(),
|
||||||
isRelative: Joi.boolean(),
|
isRelative: Joi.boolean(),
|
||||||
timeStyle: Joi.string().regex(
|
timeStyle: Joi.string().regex(
|
||||||
/(PKDateStyleNone|PKDateStyleShort|PKDateStyleMedium|PKDateStyleLong|PKDateStyleFull)/,
|
/(PKDateStyleNone|PKDateStyleShort|PKDateStyleMedium|PKDateStyleLong|PKDateStyleFull)/,
|
||||||
|
|||||||
Reference in New Issue
Block a user