mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 17:25:21 +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 {
|
||||
serialNumber?: string,
|
||||
description?: string,
|
||||
userInfo?: Object | any[],
|
||||
webServiceURL?: string,
|
||||
authenticationToken?: string,
|
||||
|
||||
@@ -17,6 +17,7 @@ let instance = Joi.object().keys({
|
||||
|
||||
let supportedOptions = Joi.object().keys({
|
||||
serialNumber: Joi.string(),
|
||||
description: Joi.string(),
|
||||
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
|
||||
webServiceURL: Joi.string().regex(/https?:\/\/(?:(?:[a-z0-9]+\.?)+(?::\d)?(?:\/[\S]+)*)*/),
|
||||
|
||||
Reference in New Issue
Block a user