@tomei/sso 0.64.1 → 0.66.0

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.
Files changed (76) hide show
  1. package/dist/src/components/login-user/login-user.js +63 -64
  2. package/dist/src/components/login-user/login-user.js.map +1 -1
  3. package/dist/src/components/login-user/user.js +1 -1
  4. package/dist/src/components/login-user/user.js.map +1 -1
  5. package/dist/src/index.d.ts +1 -0
  6. package/dist/src/index.js +1 -0
  7. package/dist/src/index.js.map +1 -1
  8. package/dist/tsconfig.tsbuildinfo +1 -1
  9. package/package.json +5 -2
  10. package/src/components/login-user/login-user.ts +90 -89
  11. package/src/components/login-user/user.ts +1 -1
  12. package/src/index.ts +1 -0
  13. package/coverage/clover.xml +0 -1380
  14. package/coverage/coverage-final.json +0 -39
  15. package/coverage/lcov-report/base.css +0 -224
  16. package/coverage/lcov-report/block-navigation.js +0 -87
  17. package/coverage/lcov-report/components/group-object-privilege/group-object-privilege.repository.ts.html +0 -160
  18. package/coverage/lcov-report/components/group-object-privilege/group-object-privilege.ts.html +0 -919
  19. package/coverage/lcov-report/components/group-object-privilege/index.html +0 -131
  20. package/coverage/lcov-report/components/group-privilege/group-privilege.repository.ts.html +0 -172
  21. package/coverage/lcov-report/components/group-privilege/group-privilege.ts.html +0 -337
  22. package/coverage/lcov-report/components/group-privilege/index.html +0 -131
  23. package/coverage/lcov-report/components/group-system-access/group-system-access.repository.ts.html +0 -214
  24. package/coverage/lcov-report/components/group-system-access/group-system-access.ts.html +0 -355
  25. package/coverage/lcov-report/components/group-system-access/index.html +0 -131
  26. package/coverage/lcov-report/components/password-hash/index.html +0 -116
  27. package/coverage/lcov-report/components/password-hash/password-hash.service.ts.html +0 -127
  28. package/coverage/lcov-report/components/system-privilege/index.html +0 -116
  29. package/coverage/lcov-report/components/system-privilege/system-privilege.repository.ts.html +0 -139
  30. package/coverage/lcov-report/components/user-group/index.html +0 -131
  31. package/coverage/lcov-report/components/user-group/user-group.repository.ts.html +0 -142
  32. package/coverage/lcov-report/components/user-group/user-group.ts.html +0 -2377
  33. package/coverage/lcov-report/components/user-object-privilege/index.html +0 -131
  34. package/coverage/lcov-report/components/user-object-privilege/user-object-privilege.repository.ts.html +0 -118
  35. package/coverage/lcov-report/components/user-object-privilege/user-object-privilege.ts.html +0 -322
  36. package/coverage/lcov-report/components/user-privilege/index.html +0 -131
  37. package/coverage/lcov-report/components/user-privilege/user-privilege.repository.ts.html +0 -160
  38. package/coverage/lcov-report/components/user-privilege/user-privilege.ts.html +0 -2071
  39. package/coverage/lcov-report/components/user-system-access/index.html +0 -131
  40. package/coverage/lcov-report/components/user-system-access/user-system-access.repository.ts.html +0 -208
  41. package/coverage/lcov-report/components/user-system-access/user-system-access.ts.html +0 -2236
  42. package/coverage/lcov-report/enum/api-key.enum.ts.html +0 -100
  43. package/coverage/lcov-report/enum/group-type.enum.ts.html +0 -109
  44. package/coverage/lcov-report/enum/index.html +0 -206
  45. package/coverage/lcov-report/enum/index.ts.html +0 -103
  46. package/coverage/lcov-report/enum/login-status.enum.ts.html +0 -97
  47. package/coverage/lcov-report/enum/object-status.enum.ts.html +0 -97
  48. package/coverage/lcov-report/enum/user-status.enum.ts.html +0 -106
  49. package/coverage/lcov-report/enum/yn.enum.ts.html +0 -97
  50. package/coverage/lcov-report/favicon.png +0 -0
  51. package/coverage/lcov-report/index.html +0 -296
  52. package/coverage/lcov-report/models/group-object-privilege.entity.ts.html +0 -358
  53. package/coverage/lcov-report/models/group-privilege.entity.ts.html +0 -319
  54. package/coverage/lcov-report/models/group-reporting-user.entity.ts.html +0 -370
  55. package/coverage/lcov-report/models/group-system-access.entity.ts.html +0 -328
  56. package/coverage/lcov-report/models/group.entity.ts.html +0 -466
  57. package/coverage/lcov-report/models/index.html +0 -296
  58. package/coverage/lcov-report/models/staff.entity.ts.html +0 -358
  59. package/coverage/lcov-report/models/system-privilege.entity.ts.html +0 -355
  60. package/coverage/lcov-report/models/system.entity.ts.html +0 -424
  61. package/coverage/lcov-report/models/user-group.entity.ts.html +0 -358
  62. package/coverage/lcov-report/models/user-object-privilege.entity.ts.html +0 -355
  63. package/coverage/lcov-report/models/user-privilege.entity.ts.html +0 -319
  64. package/coverage/lcov-report/models/user-system-access.entity.ts.html +0 -346
  65. package/coverage/lcov-report/models/user.entity.ts.html +0 -685
  66. package/coverage/lcov-report/prettify.css +0 -1
  67. package/coverage/lcov-report/prettify.js +0 -2
  68. package/coverage/lcov-report/redis-client/index.html +0 -116
  69. package/coverage/lcov-report/redis-client/redis.service.ts.html +0 -310
  70. package/coverage/lcov-report/session/index.html +0 -116
  71. package/coverage/lcov-report/session/session.service.ts.html +0 -373
  72. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  73. package/coverage/lcov-report/sorter.js +0 -210
  74. package/coverage/lcov.info +0 -2223
  75. package/coverage/test-report.xml +0 -71
  76. package/sonar-project.properties +0 -23
@@ -1,71 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testExecutions version="1">
3
- <file path="C:\Work\sso\__tests__\unit\redis-client\redis.service.spec.ts">
4
- <testCase name="redis.service should return redis service when instansiated" duration="5"/>
5
- <testCase name="redis.service should able to write and read redis" duration="2"/>
6
- </file>
7
- <file path="C:\Work\sso\__tests__\unit\components\user-system-access\user-system-access.spec.ts">
8
- <testCase name="UserSystemAccess constructor should create a new UserSystemAccess instance" duration="3"/>
9
- <testCase name="UserSystemAccess init should initialize UserSystemAccess with valid UserSystemAccessId" duration="4"/>
10
- <testCase name="UserSystemAccess init should throw ClassError when UserSystemAccessId is not found" duration="1"/>
11
- </file>
12
- <file path="C:\Work\sso\__tests__\unit\components\user-privilege\user-privilege.spec.ts">
13
- <testCase name="UserPrivilege constructor should create a new UserPrivilege instance" duration="3"/>
14
- <testCase name="UserPrivilege init should initialize UserPrivilege with valid UserPrivilegeId" duration="4"/>
15
- <testCase name="UserPrivilege init should throw ClassError when UserPrivilegeId is not found" duration="10"/>
16
- </file>
17
- <file path="C:\Work\sso\__tests__\unit\components\group-object-privilege\group-object-privilege.spec.ts">
18
- <testCase name="GroupObjectPrivilege should create an instance of GroupObjectPrivilege" duration="2"/>
19
- <testCase name="GroupObjectPrivilege should have the correct TableName" duration="1"/>
20
- <testCase name="GroupObjectPrivilege should have the correct properties" duration="1"/>
21
- <testCase name="GroupObjectPrivilege init should return an instance of GroupObjectPrivilege when GroupObjectPrivilegeId is provided" duration="2"/>
22
- <testCase name="GroupObjectPrivilege init should throw an error when GroupObjectPrivilegeId is provided but no GroupObjectPrivilege is found" duration="7"/>
23
- <testCase name="GroupObjectPrivilege init should return a new instance of GroupObjectPrivilege when GroupObjectPrivilegeId is not provided" duration="1"/>
24
- </file>
25
- <file path="C:\Work\sso\__tests__\unit\components\user-group\user-group.spec.ts">
26
- <testCase name="UserGroup constructor should create a new UserGroup instance" duration="3"/>
27
- <testCase name="UserGroup init should initialize UserGroup with valid UserGroupId" duration="3"/>
28
- <testCase name="UserGroup init should throw ClassError when UserGroupId is not found" duration="13"/>
29
- </file>
30
- <file path="C:\Work\sso\__tests__\unit\components\group-system-access\group-system-access.spec.ts">
31
- <testCase name="GroupSystemAccess should create a new GroupSystemAccess instance" duration="3"/>
32
- <testCase name="GroupSystemAccess init should initialize GroupSystemAccess without GroupSystemAccessId" duration="2"/>
33
- <testCase name="GroupSystemAccess init should initialize GroupSystemAccess with GroupSystemAccessId" duration="2"/>
34
- <testCase name="GroupSystemAccess init should throw an error if GroupSystemAccessId is not found" duration="4"/>
35
- </file>
36
- <file path="C:\Work\sso\__tests__\unit\components\user-object-privilege\user-object-privilege.spec.ts">
37
- <testCase name="UserObjectPrivilege constructor should create a new UserObjectPrivilege instance" duration="2"/>
38
- <testCase name="UserObjectPrivilege init should initialize UserObjectPrivilege with valid ObjectPrivilegeId" duration="2"/>
39
- <testCase name="UserObjectPrivilege init should throw ClassError when ObjectPrivilegeId is not found" duration="4"/>
40
- </file>
41
- <file path="C:\Work\sso\__tests__\unit\components\group-privilege\group-privilege.spec.ts">
42
- <testCase name="GroupPrivilege should initialize with GroupPrivilegeAttr" duration="3"/>
43
- <testCase name="GroupPrivilege should throw ClassError when GroupPrivilegeAttr is not found" duration="4"/>
44
- <testCase name="GroupPrivilege should initialize with default values" duration="1"/>
45
- </file>
46
- <file path="C:\Work\sso\__tests__\unit\session\session.service.spec.ts">
47
- <testCase name="session.service should return session service when instansiated" duration="2"/>
48
- <testCase name="session.service should able to write session data" duration="4"/>
49
- <testCase name="session.service should able to refresh session data" duration="2"/>
50
- </file>
51
- <file path="C:\Work\sso\__tests__\unit\components\password-hash\password-hash.service.spec.ts">
52
- <testCase name="password-hash.service should return hash password" duration="2"/>
53
- <testCase name="password-hash.service should return true when verify password" duration="1"/>
54
- </file>
55
- <file path="C:\Work\sso\__tests__\unit\components\login-user\l.spec.ts">
56
- <testCase name="SystemPrivilege should be true" duration="1"/>
57
- </file>
58
- <file path="C:\Work\sso\__tests__\unit\system-privilege\system-privilage.spec.ts">
59
- <testCase name="SystemPrivilege should be true" duration="2"/>
60
- </file>
61
- <file path="C:\Work\sso\__tests__\unit\components\system-privilege\system-privilege.spec.ts">
62
- </file>
63
- <file path="C:\Work\sso\__tests__\unit\components\system\system.spec.ts">
64
- </file>
65
- <file path="C:\Work\sso\__tests__\unit\components\login-user\login.spec.ts">
66
- </file>
67
- <file path="C:\Work\sso\__tests__\unit\components\group-reporting-user\group-reporting-user.spec.ts">
68
- </file>
69
- <file path="C:\Work\sso\__tests__\unit\components\group\group.spec.ts">
70
- </file>
71
- </testExecutions>
@@ -1,23 +0,0 @@
1
- sonar.projectKey=all-tomei-projects_sso
2
- sonar.organization=all-tomei-projects
3
- sonar.exclusions=**/*.js,test-data,dist,coverage, node_modules, __tests__, **/*.spec.ts, __mocks__
4
- sonar.scm.provider=git
5
-
6
- sonar.sources=src
7
- sonar.test=__tests__
8
- sonar.test.inclusions=src/**/*.spec.ts
9
-
10
- sonar.javascript.lcov.reportPaths=./coverage/lcov.info
11
- sonar.testExecutionReportPaths=coverage/test-report.xml
12
- sonar.sourceEnconding=UTF-8
13
-
14
- # This is the name and version displayed in the SonarCloud UI.
15
- #sonar.projectName=sso
16
- #sonar.projectVersion=1.0
17
-
18
-
19
- # Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
20
- #sonar.sources=.
21
-
22
- # Encoding of the source code. Default is default system encoding
23
- #sonar.sourceEncoding=UTF-8