Commit Graph

413 Commits

Author SHA1 Message Date
Alexander Cerutti
e6e90a4960 Changed where new key venueEntranceGate is placed 2024-10-02 01:50:34 +02:00
Alexander Cerutti
b21e29918e Changed schemas to accept preferredStyleSchemes from pass json but not from props 2024-10-01 13:13:56 +02:00
Alexander Cerutti
dff2870eec Moved preferredStyleSchemes schema and properties to root (fixed Apple WWDC video misinformation) 2024-10-01 13:07:13 +02:00
Alexander Cerutti
dd08515251 Added support to preferredStyleSchemes import and reset 2024-06-16 04:04:05 +02:00
Alexander Cerutti
432e380429 Added a new setter and getter for preferredStyleSchemes to throw if type is not an eventTicket and moved PreferredStyleSchemes schemas 2024-06-15 23:48:33 +02:00
Alexander Cerutti
593b64a676 Replaced Joi method append with concat 2024-06-15 23:32:21 +02:00
Alexander Cerutti
9d033bd6d7 Added support to eventTicket.preferredStyleSchemes 2024-06-14 23:12:38 +02:00
Alexander Cerutti
d82e24ea20 Shared URL Regex in schema 2024-06-14 23:04:24 +02:00
Alexander Cerutti
f74e5241f7 Added support to bagPolicyURL, orderFoodURL and parkingInformationURL 2024-06-14 23:02:17 +02:00
Alexander Cerutti
6ac24be17b Added support to Semantics venueGatesOpenDate, venueParkingLotsOpenDate, venueRegionName 2024-06-14 22:58:12 +02:00
Alexander Cerutti
f0813d7291 Added support to admissionLevel 2024-06-14 22:57:48 +02:00
Alexander Cerutti
b54f994eea Added support to Semantics.relevantDates 2024-06-14 22:51:38 +02:00
Alexander Cerutti
f252833bcd Added support to Semantics.Seat[].venueEntranceGate 2024-06-14 22:46:59 +02:00
Hafez
ba3bf6e24a fix: relax validation rules for \major\ in beacons 2023-08-13 16:37:23 +02:00
Alexander Cerutti
f81cae181b Removed dateToW3Cstring function 2023-08-09 19:48:09 +02:00
Jens Spanier
c80615351f Add URL to W3C 2023-08-09 08:20:40 +02:00
Jens Spanier
7fc263878e Remove unused function 2023-08-09 08:19:00 +02:00
Jens Spanier
4764761c89 Use toISOString instead of manual build 2023-08-08 13:18:18 +02:00
Alexander Cerutti
e8763db527 Fixed accessors 2023-04-24 15:20:45 +02:00
Alexander Cerutti
772f359f78 Removed double map 2023-04-20 08:58:08 +02:00
Alexander Cerutti
5a74057a95 Improved model reading flow 2023-04-20 01:14:32 +02:00
Alexander Cerutti
ccb5e72c8c Improved getModelFolderContents error handling readability 2023-04-19 23:51:40 +02:00
Alexander Cerutti
1e22b974d6 Added unknown in catch variables ts 2023-04-19 23:48:52 +02:00
Alexander Cerutti
c7e41358eb Improved fn comments and definitions 2023-04-19 23:27:50 +02:00
Alexander Cerutti
687caf727b Improved signature for setRelevantDate 2023-04-11 23:11:39 +02:00
Alexander Cerutti
b5d6ed0dfb Removed in-code tests ad-hoc code 2023-04-11 23:10:37 +02:00
Alexander Cerutti
46f3c60bf4 Added new Bundle.prototype.files getter 2023-04-11 22:19:20 +02:00
Alexander Cerutti
07eb6f5cce Added a bit of space: let's make the code breathe 2023-04-03 21:18:49 +02:00
Alexander Cerutti
9d6dd8c984 Merge pull request #139 from Songkeys/fix-pass-field-types
fix: complete pass field types for typescript
2023-04-03 21:18:13 +02:00
Songkeys
a43d6e55d0 chore: rename for consistency 2023-04-04 00:00:49 +08:00
Songkeys
1dec7d5a6b fix: complete pass field types for typescript 2023-04-03 23:51:31 +08:00
Songkeys
e986fda63b fix: transitType should be read when type is boardingPass (#137) 2023-04-03 23:38:36 +08:00
Jacob Burenstam
ff44540860 Set Semantic.wifiAccess as array type 2023-03-24 16:46:06 +01:00
Alexander Cerutti
ab70e61f81 Changed auxiliaryFields getter return type 2022-11-11 23:54:50 +01:00
Alexander Cerutti
68c9b1588e Added fieldSchema property to FieldsArray 2022-11-09 19:31:44 +01:00
Alexander Cerutti
e4fc8feda8 Added FieldWithRow interface and Joi Schema 2022-11-09 19:30:04 +01:00
Alexander Cerutti
eeb1978728 Made all the regex to get created only once 2022-03-29 22:36:27 +02:00
Alexander Cerutti
fa8b3e18bc Small optimization to PKPass.pack 2022-03-13 00:44:32 +01:00
Alexander Cerutti
951730fb1d Optimized localize null-translations loop 2022-03-13 00:19:50 +01:00
Alexander Cerutti
1212f4b32b Optimized localizationEntries loop 2022-03-13 00:16:53 +01:00
Alexander Cerutti
153ad08885 Improved PKPass.pack to reduce the amount of iterations that gets done 2022-03-12 19:47:06 +01:00
Alexander Cerutti
0b75b98c4a Improved fields warn expression 2022-02-22 00:07:15 +01:00
Alexander Cerutti
27511806a8 Added falsy fields to be automatically excluded with warn being emitted 2022-02-22 00:04:07 +01:00
Frederick Cai
16177dfa49 Fixed FieldsArray.push to preserve the order of input items 2022-02-22 09:09:36 +13:00
Alexander Cerutti
1f79b0d74f Improved comment and formatting for latest fix 2022-02-07 20:54:58 +01:00
billytrend
c32394b4d0 Check for Joi.binary (#100) 2022-02-07 20:46:03 +01:00
Alexander Cerutti
a15dc29290 Added explicit Buffer import declarations 2022-02-07 01:18:06 +01:00
Alexander Cerutti
d0b0f8537f Added path normalization on Windows, along with some tests 2021-12-28 01:05:14 +01:00
Alexander Cerutti
2923eb4d66 Changed quotes and applied change to PKPass.from (which uses internals-like to read model) 2021-12-27 19:34:00 +01:00
tpot
728748d6d5 Fix invalid path for build on windows 2021-12-27 15:44:17 +01:00