@creator.co/wapi 1.7.1-alpha1 → 1.7.1-alpha3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/coverage/clover.xml +1088 -0
- package/coverage/coverage/coverage.txt +40 -0
- package/coverage/coverage-final.json +37 -0
- package/coverage/coverage-summary.json +38 -0
- package/coverage/coverage.txt +59 -0
- package/coverage/lcov-report/base.css +224 -0
- package/coverage/lcov-report/block-navigation.js +87 -0
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +371 -0
- package/coverage/lcov-report/prettify.css +1 -0
- package/coverage/lcov-report/prettify.js +2 -0
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +196 -0
- package/coverage/lcov-report/src/API/Request.ts.html +727 -0
- package/coverage/lcov-report/src/API/Response.ts.html +1189 -0
- package/coverage/lcov-report/src/API/Utils.ts.html +313 -0
- package/coverage/lcov-report/src/API/index.html +131 -0
- package/coverage/lcov-report/src/BaseEvent/EventProcessor.ts.html +496 -0
- package/coverage/lcov-report/src/BaseEvent/Process.ts.html +346 -0
- package/coverage/lcov-report/src/BaseEvent/Transaction.ts.html +1015 -0
- package/coverage/lcov-report/src/BaseEvent/index.html +146 -0
- package/coverage/lcov-report/src/Cache/Redis.ts.html +367 -0
- package/coverage/lcov-report/src/Cache/index.html +116 -0
- package/coverage/lcov-report/src/Config/Configuration.ts.html +700 -0
- package/coverage/lcov-report/src/Config/EnvironmentVar.ts.html +526 -0
- package/coverage/lcov-report/src/Config/index.html +131 -0
- package/coverage/lcov-report/src/Crypto/Crypto.ts.html +352 -0
- package/coverage/lcov-report/src/Crypto/JWT.ts.html +337 -0
- package/coverage/lcov-report/src/Crypto/index.html +131 -0
- package/coverage/lcov-report/src/Database/Database.ts.html +151 -0
- package/coverage/lcov-report/src/Database/DatabaseManager.ts.html +289 -0
- package/coverage/lcov-report/src/Database/DatabaseTransaction.ts.html +595 -0
- package/coverage/lcov-report/src/Database/index.html +161 -0
- package/coverage/lcov-report/src/Database/index.ts.html +169 -0
- package/coverage/lcov-report/src/Database/integrations/knex/KnexDatabase.ts.html +283 -0
- package/coverage/lcov-report/src/Database/integrations/knex/KnexTransaction.ts.html +337 -0
- package/coverage/lcov-report/src/Database/integrations/knex/index.html +131 -0
- package/coverage/lcov-report/src/Database/integrations/kysely/KyselyDatabase.ts.html +376 -0
- package/coverage/lcov-report/src/Database/integrations/kysely/KyselyTransaction.ts.html +601 -0
- package/coverage/lcov-report/src/Database/integrations/kysely/index.html +131 -0
- package/coverage/lcov-report/src/Database/integrations/pgsql/PostgresDatabase.ts.html +250 -0
- package/coverage/lcov-report/src/Database/integrations/pgsql/PostgresTransaction.ts.html +346 -0
- package/coverage/lcov-report/src/Database/integrations/pgsql/index.html +131 -0
- package/coverage/lcov-report/src/Database/types.d.ts.html +232 -0
- package/coverage/lcov-report/src/Globals.ts.html +394 -0
- package/coverage/lcov-report/src/Logger/Logger.ts.html +1138 -0
- package/coverage/lcov-report/src/Logger/index.html +116 -0
- package/coverage/lcov-report/src/Mailer/Mailer.ts.html +754 -0
- package/coverage/lcov-report/src/Mailer/index.html +116 -0
- package/coverage/lcov-report/src/Publisher/Publisher.ts.html +460 -0
- package/coverage/lcov-report/src/Publisher/index.html +116 -0
- package/coverage/lcov-report/src/Server/RouteResolver.ts.html +442 -0
- package/coverage/lcov-report/src/Server/Router.ts.html +616 -0
- package/coverage/lcov-report/src/Server/index.html +131 -0
- package/coverage/lcov-report/src/Server/lib/ContainerServer.ts.html +280 -0
- package/coverage/lcov-report/src/Server/lib/Server.ts.html +403 -0
- package/coverage/lcov-report/src/Server/lib/container/GenericHandler.ts.html +331 -0
- package/coverage/lcov-report/src/Server/lib/container/GenericHandlerEvent.ts.html +547 -0
- package/coverage/lcov-report/src/Server/lib/container/HealthHandler.ts.html +118 -0
- package/coverage/lcov-report/src/Server/lib/container/Proxy.ts.html +619 -0
- package/coverage/lcov-report/src/Server/lib/container/Utils.ts.html +184 -0
- package/coverage/lcov-report/src/Server/lib/container/index.html +176 -0
- package/coverage/lcov-report/src/Server/lib/index.html +131 -0
- package/coverage/lcov-report/src/Util/AsyncSingleton.ts.html +343 -0
- package/coverage/lcov-report/src/Util/Utils.ts.html +313 -0
- package/coverage/lcov-report/src/Util/index.html +131 -0
- package/coverage/lcov-report/src/Validation/Validator.ts.html +217 -0
- package/coverage/lcov-report/src/Validation/index.html +116 -0
- package/coverage/lcov-report/src/index.html +116 -0
- package/coverage/lcov.info +2326 -0
- package/dist/package-lock.json +2 -2
- package/dist/package.json +1 -1
- package/package.json +1 -1
- package/.eslintignore +0 -3
- package/.eslintrc.cjs +0 -60
- package/.github/workflows/npmpublish.yml +0 -11
- package/.github/workflows/prs.yml +0 -13
- package/jest.config.ts +0 -33
- package/jest.smoke.config.ts +0 -35
- package/tests/API/Request.test.ts +0 -273
- package/tests/API/Response.test.ts +0 -367
- package/tests/API/Utils.test.ts +0 -167
- package/tests/BaseEvent/EventProcessor.test.ts +0 -261
- package/tests/BaseEvent/Process.test.ts +0 -49
- package/tests/BaseEvent/Transaction.test.ts +0 -408
- package/tests/Cache/Redis-client.test.ts +0 -90
- package/tests/Cache/Redis-cluster.test.ts +0 -100
- package/tests/Config/Config.test.ts +0 -205
- package/tests/Config/EnvironmentVar.test.ts +0 -250
- package/tests/Crypto/Crypto.test.ts +0 -88
- package/tests/Crypto/JWT.test.ts +0 -92
- package/tests/Database/DatabaseManager.test.ts +0 -71
- package/tests/Database/integrations/knex/KnexDatabase.test.ts +0 -76
- package/tests/Database/integrations/knex/KnexTransaction.test.ts +0 -149
- package/tests/Database/integrations/kysely/KyselyDatabase.test.ts +0 -113
- package/tests/Database/integrations/kysely/KyselyTransaction.test.ts +0 -119
- package/tests/Database/integrations/pg/PostgresDatabase.test.ts +0 -76
- package/tests/Database/integrations/pg/PostgresTransaction.test.ts +0 -118
- package/tests/Logger/Logger.test.ts +0 -219
- package/tests/Mailer/Mailer.test.ts +0 -59
- package/tests/Publisher/Publisher.test.ts +0 -94
- package/tests/Server/RouteResolver.test.ts +0 -102
- package/tests/Server/Router.test.ts +0 -39
- package/tests/Server/lib/ContainerServer.test.ts +0 -531
- package/tests/Server/lib/Server.test.ts +0 -12
- package/tests/Server/lib/container/GenericHandler.test.ts +0 -131
- package/tests/Server/lib/container/GenericHandlerEvent.test.ts +0 -103
- package/tests/Server/lib/container/HealthHandler.test.ts +0 -30
- package/tests/Server/lib/container/Proxy.test.ts +0 -268
- package/tests/Server/lib/container/Utils.test.ts +0 -47
- package/tests/Test.utils.ts +0 -74
- package/tests/Validation/Validator.test.ts +0 -76
- package/tsconfig.json +0 -26
- package/tsconfig.smoke.json +0 -26
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
--------------------------|---------|----------|---------|---------|---------------------------------
|
|
2
|
+
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
|
|
3
|
+
--------------------------|---------|----------|---------|---------|---------------------------------
|
|
4
|
+
All files | 93.45 | 89.43 | 93.19 | 96.53 |
|
|
5
|
+
src | 100 | 100 | 100 | 100 |
|
|
6
|
+
Globals.ts | 100 | 100 | 100 | 100 |
|
|
7
|
+
src/API | 99.38 | 97.75 | 100 | 99.32 |
|
|
8
|
+
Request.ts | 100 | 100 | 100 | 100 |
|
|
9
|
+
Response.ts | 100 | 98.14 | 100 | 100 | 21
|
|
10
|
+
Utils.ts | 96.66 | 93.33 | 100 | 96.29 | 73
|
|
11
|
+
src/BaseEvent | 99.18 | 94.73 | 100 | 99.07 |
|
|
12
|
+
EventProcessor.ts | 97.43 | 89.18 | 100 | 97.05 | 106
|
|
13
|
+
Process.ts | 100 | 100 | 100 | 100 |
|
|
14
|
+
Transaction.ts | 100 | 100 | 100 | 100 |
|
|
15
|
+
src/Config | 100 | 100 | 100 | 100 |
|
|
16
|
+
Configuration.ts | 100 | 100 | 100 | 100 |
|
|
17
|
+
EnvironmentVar.ts | 100 | 100 | 100 | 100 |
|
|
18
|
+
src/Crypto | 100 | 100 | 100 | 100 |
|
|
19
|
+
Crypto.ts | 100 | 100 | 100 | 100 |
|
|
20
|
+
JWT.ts | 100 | 100 | 100 | 100 |
|
|
21
|
+
src/Logger | 98.26 | 79.51 | 100 | 98.83 |
|
|
22
|
+
Logger.ts | 98.26 | 79.51 | 100 | 98.83 | 271
|
|
23
|
+
src/Mailer | 37.68 | 33.33 | 25 | 51.16 |
|
|
24
|
+
Mailer.ts | 37.68 | 33.33 | 25 | 51.16 | 142-163,181-190,207-215,233-246
|
|
25
|
+
src/Publisher | 100 | 100 | 100 | 100 |
|
|
26
|
+
Publisher.ts | 100 | 100 | 100 | 100 |
|
|
27
|
+
src/Server | 100 | 100 | 100 | 100 |
|
|
28
|
+
Router.ts | 100 | 100 | 100 | 100 |
|
|
29
|
+
src/Server/lib | 100 | 100 | 92.85 | 100 |
|
|
30
|
+
ContainerServer.ts | 100 | 100 | 85.71 | 100 |
|
|
31
|
+
Server.ts | 100 | 100 | 100 | 100 |
|
|
32
|
+
src/Server/lib/container | 94.28 | 98.63 | 91.66 | 100 |
|
|
33
|
+
GenericHandler.ts | 100 | 100 | 100 | 100 |
|
|
34
|
+
GenericHandlerEvent.ts | 100 | 100 | 100 | 100 |
|
|
35
|
+
HealthHandler.ts | 100 | 100 | 100 | 100 |
|
|
36
|
+
Proxy.ts | 87.69 | 96.15 | 81.25 | 100 | 159
|
|
37
|
+
Utils.ts | 100 | 100 | 100 | 100 |
|
|
38
|
+
src/Validation | 92.85 | 83.33 | 100 | 92.3 |
|
|
39
|
+
Validator.ts | 92.85 | 83.33 | 100 | 92.3 | 33
|
|
40
|
+
--------------------------|---------|----------|---------|---------|---------------------------------
|