Commit Graph

115 Commits

Author SHA1 Message Date
Alexander Cerutti
0a18c5200d Fixed Serverless examples: they were not returning 400 if model name was not provided 2022-01-15 23:56:40 +01:00
Alexander Cerutti
ecdfca9696 Updated examples dependencies 2022-01-15 17:12:09 +01:00
Alexander Cerutti
003bcbec28 Fixed un-highlighted endpoint name for self-hosted 2022-01-15 17:01:04 +01:00
Alexander Cerutti
8c39928f0c Added check on boardingPass in examples to not make crash the request if we are creating a boarding pass 2021-12-30 13:31:22 +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
Alexander Cerutti
ef20bc5a44 Disabled useUnknownInCatchVariables for self-hosted example 2021-12-23 18:39:01 +01:00
Alexander Cerutti
fc4a0c377b Improved example getCertificates for strict mode 2021-12-23 18:36:30 +01:00
Alexander Cerutti
4b9d7e099b Updated serialnumber generation in pkpasses of serverless example 2021-12-18 19:07:28 +01:00
Alexander Cerutti
a62c9c18ca Updated serverless example dependencies 2021-12-18 19:04:25 +01:00
Alexander Cerutti
043358f866 Updated example for PKPasses to avoid broken passes view when adding several passes with the same serial number 2021-12-18 18:54:04 +01:00
Alexander Cerutti
1d4b170ea1 Added additional explanation steps for examples 2021-12-11 16:27:32 +01:00
Alexander Cerutti
41f21b1e08 Removed examples main Readme to leave one in each example 2021-10-31 21:13:00 +01:00
Alexander Cerutti
a0cdc218dd Added languages getter 2021-10-31 20:54:31 +01:00
Alexander Cerutti
64ccacdc13 Completely refactored examples to run only once and have multiple endpoints 2021-10-31 20:37:06 +01:00
Alexander Cerutti
8552f217ee Added first version of serverless-based implementation example 2021-10-31 19:37:29 +01:00
Alexander Cerutti
7b8d81bf4b Updated example models to remove barcode and changed passTypeIdentifier 2021-10-20 00:29:23 +02:00
Alexander Cerutti
2c1c60e393 Updated examples typescript config 2021-10-20 00:29:02 +02:00
Alexander Cerutti
158ee4221a Updated examples 2021-10-20 00:28:49 +02:00
Alexander Cerutti
95d762f6cc Changed examples commands 2021-10-18 22:20:02 +02:00
Alexander Cerutti
00f05ae5d4 Added PKPasses generation example 2021-10-17 13:54:16 +02:00
Alexander Cerutti
1f8cce9ef6 Examples: Rolled-back express types to prevent types issues (https://github.com/DefinitelyTyped/DefinitelyTyped/issues/49595) 2021-10-17 13:36:23 +02:00
Alexander Cerutti
0a6b3f7528 Added icon reading and setting in scratch example 2021-10-16 23:41:47 +02:00
Alexander Cerutti
408416ab9c Added from scratch example 2021-10-16 22:18:29 +02:00
Alexander Cerutti
eb5ff92f4a Fixed example webserver 2021-10-16 22:16:58 +02:00
Alexander Cerutti
868818b855 Removed node-fetch types from examples subrepo 2021-10-16 15:16:48 +02:00
Alexander Cerutti
8924268c23 Updated examples props passing 2021-10-16 12:49:40 +02:00
Alexander Cerutti
4a02c03c62 Updated examples tsconfig.json 2021-10-16 01:26:51 +02:00
Alexander Cerutti
2be4494f67 Added PKPass.from a PKPass example 2021-10-16 01:26:41 +02:00
Alexander Cerutti
639779c663 Renamed example files with the methods names 2021-10-16 01:10:45 +02:00
Alexander Cerutti
fa4f2df5ce Updated existing examples 2021-10-16 01:06:41 +02:00
Alexander Cerutti
7133772945 Removed abstractModel and additionalBuffer 2021-10-16 00:46:19 +02:00
Alexander Cerutti
8254aa9bb3 Examples: updated dependencies 2021-10-16 00:45:45 +02:00
Alexander Cerutti
8d1a6277fb (auto) Converted format of package-lock.json of examples sub-package 2021-09-18 18:32:41 +02:00
Alexander Cerutti
ece352bf6b Fixed building with pg linking in examples and added example:debug script 2021-02-09 20:16:47 +01:00
Alexander Cerutti
86ef7450e6 Setted examples package to be private (to avoid mistakes) 2021-02-09 14:17:22 +01:00
Alexander Cerutti
9de5b3a0c4 Added path resolution in examples 2021-02-09 14:14:52 +01:00
Alexander Cerutti
d5a487a609 Added prettier to project 2021-02-08 00:03:28 +01:00
Alexander Cerutti
b51b7591bf Indent me 2021-02-05 08:13:22 +01:00
Alexander Cerutti
c9dc00050e Added tslib as dependency to not duplicate typescript helper code 2021-02-05 08:11:06 +01:00
Alexander Cerutti
e7eb8c0e08 Examples dependencies update 2021-02-05 08:09:46 +01:00
Alexander Cerutti
3290b697b4 Changed build scripts for examples and main project 2021-02-05 08:08:13 +01:00
Alexander Cerutti
2288d018f2 Removed deprecated version of @hapi/joi and replaced it with new Sideway's joi 2020-09-05 22:14:05 +02:00
Alexander Cerutti
410e712b49 Added additionalBuffers example 2019-09-08 16:17:48 +02:00
Alexander Cerutti
7d1cb785bc Updated examples Readme with building 2019-07-25 23:58:52 +02:00
Alexander Cerutti
040e4a891f Added implementation of abstract models 2019-07-25 23:09:17 +02:00
Alexander Cerutti
8bd7978e0b Examples improvements 2019-07-25 23:09:17 +02:00
Alexander Cerutti
1036b553c8 Added german language folder to examplePass 2019-07-13 00:04:47 +02:00
Alexander Cerutti
8b6f1ba948 Cleanup 2019-07-01 23:50:49 +02:00
Alexander Cerutti
25aa60ba99 Updated tests and barcode example to latest changes 2019-07-01 23:50:48 +02:00
Alexander Cerutti
53441a9b2f Updated examples and tests 2019-07-01 23:50:44 +02:00