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
|
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
|
a15dc29290
|
Added explicit Buffer import declarations
|
2022-02-07 01:18:06 +01:00 |
|
Alexander Cerutti
|
cf8a467266
|
Applied changes to solve several issues about typescript strict mode
|
2021-12-23 19:46:29 +01:00 |
|
Alexander Cerutti
|
a723c152be
|
Made PKPass.from Template to accept optional certificates
|
2021-11-14 00:51:07 +01:00 |
|
Alexander Cerutti
|
eabee97d89
|
Removed unused validation function isValid
|
2021-10-25 01:14:32 +02:00 |
|
Alexander Cerutti
|
3c706ddbb6
|
Changed messages format export from default to non-default
|
2021-10-23 19:09:38 +02:00 |
|
Alexander Cerutti
|
1735a3824a
|
Changed logic for formatVersion parsing and defaulting
|
2021-10-20 00:08:38 +02:00 |
|
Alexander Cerutti
|
3290cb1d3f
|
Added formatVersion to pass.json schemas to keep it
|
2021-10-18 23:54:48 +02:00 |
|
Alexander Cerutti
|
c432b45b00
|
Renamed schema files and removed few TODOs
|
2021-10-16 14:02:03 +02:00 |
|
Alexander Cerutti
|
2a7f5f818c
|
Unified props passing to PKPass.from between template and PKPass
|
2021-10-16 12:44:01 +02:00 |
|
Alexander Cerutti
|
907bb07912
|
Refactored all error messages, throws and tests. Added more throwing points and fixed others
|
2021-10-15 01:02:17 +02:00 |
|
Alexander Cerutti
|
3f4589141b
|
Changed how colors validation happens: now they will make validation throw if they have an incorrect value
|
2021-10-13 00:43:18 +02:00 |
|
Alexander Cerutti
|
928081ecfc
|
Fixed tests, added tests, fixed ducked up things
|
2021-10-11 23:04:09 +02:00 |
|
Alexander Cerutti
|
bbecdeed79
|
Improved schemas validation and added new function assertValidity
|
2021-10-08 22:33:32 +02:00 |
|
Alexander Cerutti
|
e0d2db9fc4
|
Added certificates saving in constructor and parsing them when signature is being created; changed Manifest to be exported as a Buffer
|
2021-10-03 18:14:10 +02:00 |
|
Alexander Cerutti
|
37b52d37c9
|
Improved Template schema and interface; Renamed Template.overrides to Template.props
|
2021-09-30 23:53:54 +02:00 |
|
Alexander Cerutti
|
64179d1f12
|
Added forgotten FileBuffers (not commited yet)
|
2021-09-30 23:53:15 +02:00 |
|
Alexander Cerutti
|
38fe473f07
|
Removed Schemas.Manifest
|
2021-09-30 22:44:20 +02:00 |
|
Alexander Cerutti
|
1fe4355c26
|
Added merging of pass.json props in this[propsSymbol] with an overwrite warning
|
2021-09-29 23:55:46 +02:00 |
|
Alexander Cerutti
|
b0b0a9555f
|
Added new couple of setter/getter for pass type, that resets the current fields to prevent old data to remain
|
2021-09-29 23:45:12 +02:00 |
|
Alexander Cerutti
|
770a5e780b
|
Updated Schemas
|
2021-09-28 00:47:50 +02:00 |
|
Alexander Cerutti
|
ac1c994b75
|
Moved Template type to Schemas
|
2021-09-27 00:32:58 +02:00 |
|
Alexander Cerutti
|
461caaaed7
|
Changed filterValid to use getValidated instead of isValid and to reduce the valid values
|
2021-09-21 22:24:37 +02:00 |
|
Alexander Cerutti
|
8a814e46f0
|
Added implementation for setBeacons along with some tests
|
2021-09-19 19:52:08 +02:00 |
|
Alexander Cerutti
|
0c5b4e130f
|
Renamed Schem< Personalization file to Personalize
|
2021-08-25 23:12:01 +02:00 |
|
Alexander Cerutti
|
7c2e8db1fb
|
Added Semantics as supported overrideable
|
2021-08-25 23:07:31 +02:00 |
|
Alexander Cerutti
|
1f41ce7602
|
Renamed schemas files to conform to Apple official names. Todos have been added for next major
|
2021-08-25 22:56:44 +02:00 |
|
Alexander Cerutti
|
17de1c7d79
|
Refactored all the schemas;
Splitted them in a folder and renamed them to have the same name of typescript type;
Added more SemanticKeys;
Removed Schema resolution via string;
|
2021-06-17 23:34:22 +02:00 |
|