mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 19:25:23 +00:00
Added description to be available for override
This commit is contained in:
committed by
Alexander Cerutti
parent
e945a74f3e
commit
a9f71f113d
1
index.d.ts
vendored
1
index.d.ts
vendored
@@ -108,6 +108,7 @@ declare namespace Schema {
|
|||||||
|
|
||||||
interface SupportedOptions {
|
interface SupportedOptions {
|
||||||
serialNumber?: string,
|
serialNumber?: string,
|
||||||
|
description?: string,
|
||||||
userInfo?: Object | any[],
|
userInfo?: Object | any[],
|
||||||
webServiceURL?: string,
|
webServiceURL?: string,
|
||||||
authenticationToken?: string,
|
authenticationToken?: string,
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ let instance = Joi.object().keys({
|
|||||||
|
|
||||||
let supportedOptions = Joi.object().keys({
|
let supportedOptions = Joi.object().keys({
|
||||||
serialNumber: Joi.string(),
|
serialNumber: Joi.string(),
|
||||||
|
description: Joi.string(),
|
||||||
userInfo: Joi.alternatives(Joi.object().unknown(), Joi.array()),
|
userInfo: Joi.alternatives(Joi.object().unknown(), Joi.array()),
|
||||||
// parsing url as set of words and nums followed by dots, optional port and any possible path after
|
// parsing url as set of words and nums followed by dots, optional port and any possible path after
|
||||||
webServiceURL: Joi.string().regex(/https?:\/\/(?:(?:[a-z0-9]+\.?)+(?::\d)?(?:\/[\S]+)*)*/),
|
webServiceURL: Joi.string().regex(/https?:\/\/(?:(?:[a-z0-9]+\.?)+(?::\d)?(?:\/[\S]+)*)*/),
|
||||||
|
|||||||
Reference in New Issue
Block a user