Commit Graph

18 Commits

Author SHA1 Message Date
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
4470da11ca Added support to requiresAuthentication for NFC schema and interface, along with developer reference link 2021-08-25 22:44:59 +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