Commit Graph

153 Commits

Author SHA1 Message Date
Alexander Cerutti
522b2fca62 Added comments 2019-08-14 15:51:04 +02:00
Alexander Cerutti
80b874077f Moved row field in schema from Field to PassFields.auxiliaryFields;
Added optional row on typings
2019-07-31 23:21:58 +02:00
Alexander Cerutti
0175a2858e Removed a TODO left 2019-07-27 00:53:37 +02:00
Alexander Cerutti
9aa151ebb3 Removed @ from personalizationLogo search 2019-07-27 00:51:25 +02:00
Alexander Cerutti
eecfdb048f Added support for personalization / Rewards Enrollment passes 2019-07-27 00:41:48 +02:00
Alexander Cerutti
2444d52cb2 Added personalization messages and schemas 2019-07-27 00:40:54 +02:00
Alexander Cerutti
d650dbb31f Added more utils functions 2019-07-27 00:40:28 +02:00
Alexander Cerutti
b44d8d764f Added createPass support to AbstractModel 2019-07-25 23:09:18 +02:00
Alexander Cerutti
9321ccc4ba Improved types, messages and exported objects 2019-07-25 23:09:18 +02:00
Alexander Cerutti
040e4a891f Added implementation of abstract models 2019-07-25 23:09:17 +02:00
Alexander Cerutti
693694a9eb Improved modelPath composition 2019-07-25 23:09:16 +02:00
Alexander Cerutti
492f5239df Small improvements and fixes 2019-07-25 21:41:16 +02:00
Alexander Cerutti
4ec86415bf Fixed problem with localization files path/fileNames 2019-07-11 23:31:48 +02:00
Alexander Cerutti
6ce2b9ab22 Optimized Buffer model content splitting through splitBufferBundle 2019-07-11 23:30:43 +02:00
Alexander Cerutti
92a48eccbe Renamed splitBundle to splitBufferBundle and edited it to return splitted l10n/rootBundle object 2019-07-11 23:29:23 +02:00
Alexander Cerutti
ef4ce53dd6 Fixed problem with buffer models 2019-07-11 23:27:20 +02:00
Alexander Cerutti
29a90d7dc2 Improved CP_INIT_ERROR 2019-07-10 00:25:07 +02:00
Alexander Cerutti
f4dabb42b0 Moved splitBundle to utils and set optional to additionalBuffers 2019-07-10 00:24:53 +02:00
Alexander Cerutti
6d39139dc7 Removed left console.log 2019-07-09 23:55:21 +02:00
Alexander Cerutti
6252f4d6a4 Added support for additional buffers 2019-07-09 23:44:36 +02:00
Alexander Cerutti
f9c7686a5e Added schema-validation for props in pass.json before importing;
Added to props also the other props of pass.json
2019-07-07 15:11:06 +02:00
Alexander Cerutti
e0be1e7527 Moved factory methods to new parser file 2019-07-02 22:05:14 +02:00
Alexander Cerutti
5a96f5004a Updated declarations 2019-07-01 23:56:16 +02:00
Alexander Cerutti
60f9e8320b Improved passFile props assignment 2019-07-01 23:50:50 +02:00
Alexander Cerutti
8b6f1ba948 Cleanup 2019-07-01 23:50:49 +02:00
Alexander Cerutti
35789a3d34 Added NFC_INVALID message 2019-07-01 23:50:49 +02:00
Alexander Cerutti
1226bb21c7 Removed forgotter useless parameters and fixed nfc method to accept null;
Added null to more signatures;
2019-07-01 23:50:49 +02:00
Alexander Cerutti
4546774916 Improved how pass props are loaded from overrides and pass.json 2019-07-01 23:50:48 +02:00
Alexander Cerutti
c61921721e Added BRC_NO_POOL error 2019-07-01 23:50:48 +02:00
Alexander Cerutti
a5ac1e13a4 Added props getter to get a copy of current props 2019-07-01 23:50:48 +02:00
Alexander Cerutti
dba3a7a02a Renamed _props to a symbol-property 2019-07-01 23:50:47 +02:00
Alexander Cerutti
e4c39d837a Removed barcodes autocompletion 2019-07-01 23:50:47 +02:00
Alexander Cerutti
c5a8de4964 Renamed barcode to barcodes and backward for barcodes to barcode 2019-07-01 23:50:47 +02:00
Alexander Cerutti
5babdf6854 Removed assignLength;
Removed passing of undefined to get the current value;
2019-07-01 23:50:46 +02:00
Alexander Cerutti
003b584221 Set back beacons and locations to overwrite the current properties;
Merged beacons and locations relevancy logic
2019-07-01 23:50:46 +02:00
Alexander Cerutti
b410a435df Unified date processing of expiration and relevantDate 2019-07-01 23:50:45 +02:00
Alexander Cerutti
a981571c42 Fixed beacons and locations content getting 2019-07-01 23:50:45 +02:00
Alexander Cerutti
75b22daf73 Removed selected patching based on type for a direct replacement of the properties 2019-07-01 23:50:45 +02:00
Alexander Cerutti
05193aa32a Added support to fetching current values of non-overrides props 2019-07-01 23:50:44 +02:00
Alexander Cerutti
9f924bbdcd Added support for pass.json properties to be inserted in _props 2019-07-01 23:50:44 +02:00
Alexander Cerutti
701e020116 Added Pass as exported type 2019-07-01 23:50:42 +02:00
Alexander Cerutti
91c6ff1b94 Small Improvements to comments and code 2019-07-01 23:50:41 +02:00
Alexander Cerutti
f2383fee99 Improved schema 2019-07-01 23:50:40 +02:00
Alexander Cerutti
894266de28 Improved security checks;
Added back the formatted messages and added new ones;
2019-07-01 23:35:08 +02:00
Alexander Cerutti
c733a4ea58 Added optimization for creation of FieldsArray 2019-07-01 23:35:06 +02:00
Alexander Cerutti
816f315fca Small improvements 2019-07-01 23:35:06 +02:00
Alexander Cerutti
96c9dfa912 Changed BeaconDict.minor Joi signature 2019-06-18 00:02:30 +02:00
Alexander Cerutti
8a6b473f84 Replaced Archiver with yazl;
Changed generate interface to return directly the stream;
2019-06-17 23:38:36 +02:00
Alexander Cerutti
7befe2ab98 Improved types 2019-06-16 11:47:51 +02:00
Alexander Cerutti
f5cb43827e Fixed schema names 2019-06-15 23:57:18 +02:00