mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 14:25:17 +00:00
Fixed usage of deprecated Field interface
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
9593f7d782
commit
9fe0b5facf
@@ -63,7 +63,7 @@ export interface PassFieldContentWithRow extends PassFieldContent {
|
|||||||
*/
|
*/
|
||||||
export type FieldWithRow = PassFieldContentWithRow;
|
export type FieldWithRow = PassFieldContentWithRow;
|
||||||
|
|
||||||
export const PassFieldContent = Joi.object<Field>().keys({
|
export const PassFieldContent = Joi.object<PassFieldContent>().keys({
|
||||||
attributedValue: Joi.alternatives(
|
attributedValue: Joi.alternatives(
|
||||||
Joi.string().allow(""),
|
Joi.string().allow(""),
|
||||||
Joi.number(),
|
Joi.number(),
|
||||||
|
|||||||
Reference in New Issue
Block a user