mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 18:25:24 +00:00
Added Semantics as supported overrideable
This commit is contained in:
@@ -17,6 +17,7 @@ import { NFC } from "./NFC";
|
|||||||
import { Field } from "./PassFieldContent";
|
import { Field } from "./PassFieldContent";
|
||||||
import { PassFields, TransitType } from "./PassFields";
|
import { PassFields, TransitType } from "./PassFields";
|
||||||
import { Personalization } from "./personalization";
|
import { Personalization } from "./personalization";
|
||||||
|
import { Semantics } from "./SemanticTags";
|
||||||
|
|
||||||
const schemaDebug = debug("Schema");
|
const schemaDebug = debug("Schema");
|
||||||
|
|
||||||
@@ -108,6 +109,7 @@ export interface OverridesSupportedOptions {
|
|||||||
suppressStripShine?: boolean;
|
suppressStripShine?: boolean;
|
||||||
logoText?: string;
|
logoText?: string;
|
||||||
maxDistance?: number;
|
maxDistance?: number;
|
||||||
|
semantics?: Semantics;
|
||||||
}
|
}
|
||||||
|
|
||||||
export const OverridesSupportedOptions = Joi.object<OverridesSupportedOptions>()
|
export const OverridesSupportedOptions = Joi.object<OverridesSupportedOptions>()
|
||||||
@@ -133,6 +135,7 @@ export const OverridesSupportedOptions = Joi.object<OverridesSupportedOptions>()
|
|||||||
suppressStripShine: Joi.boolean(),
|
suppressStripShine: Joi.boolean(),
|
||||||
logoText: Joi.string(),
|
logoText: Joi.string(),
|
||||||
maxDistance: Joi.number().positive(),
|
maxDistance: Joi.number().positive(),
|
||||||
|
semantics: Semantics,
|
||||||
})
|
})
|
||||||
.with("webServiceURL", "authenticationToken");
|
.with("webServiceURL", "authenticationToken");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user