@tomei/sso 0.64.0 → 0.64.1
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 +1380 -0
 - package/coverage/coverage-final.json +39 -0
 - package/coverage/lcov-report/base.css +224 -0
 - package/coverage/lcov-report/block-navigation.js +87 -0
 - package/coverage/lcov-report/components/group-object-privilege/group-object-privilege.repository.ts.html +160 -0
 - package/coverage/lcov-report/components/group-object-privilege/group-object-privilege.ts.html +919 -0
 - package/coverage/lcov-report/components/group-object-privilege/index.html +131 -0
 - package/coverage/lcov-report/components/group-privilege/group-privilege.repository.ts.html +172 -0
 - package/coverage/lcov-report/components/group-privilege/group-privilege.ts.html +337 -0
 - package/coverage/lcov-report/components/group-privilege/index.html +131 -0
 - package/coverage/lcov-report/components/group-system-access/group-system-access.repository.ts.html +214 -0
 - package/coverage/lcov-report/components/group-system-access/group-system-access.ts.html +355 -0
 - package/coverage/lcov-report/components/group-system-access/index.html +131 -0
 - package/coverage/lcov-report/components/password-hash/index.html +116 -0
 - package/coverage/lcov-report/components/password-hash/password-hash.service.ts.html +127 -0
 - package/coverage/lcov-report/components/system-privilege/index.html +116 -0
 - package/coverage/lcov-report/components/system-privilege/system-privilege.repository.ts.html +139 -0
 - package/coverage/lcov-report/components/user-group/index.html +131 -0
 - package/coverage/lcov-report/components/user-group/user-group.repository.ts.html +142 -0
 - package/coverage/lcov-report/components/user-group/user-group.ts.html +2377 -0
 - package/coverage/lcov-report/components/user-object-privilege/index.html +131 -0
 - package/coverage/lcov-report/components/user-object-privilege/user-object-privilege.repository.ts.html +118 -0
 - package/coverage/lcov-report/components/user-object-privilege/user-object-privilege.ts.html +322 -0
 - package/coverage/lcov-report/components/user-privilege/index.html +131 -0
 - package/coverage/lcov-report/components/user-privilege/user-privilege.repository.ts.html +160 -0
 - package/coverage/lcov-report/components/user-privilege/user-privilege.ts.html +2071 -0
 - package/coverage/lcov-report/components/user-system-access/index.html +131 -0
 - package/coverage/lcov-report/components/user-system-access/user-system-access.repository.ts.html +208 -0
 - package/coverage/lcov-report/components/user-system-access/user-system-access.ts.html +2236 -0
 - package/coverage/lcov-report/enum/api-key.enum.ts.html +100 -0
 - package/coverage/lcov-report/enum/group-type.enum.ts.html +109 -0
 - package/coverage/lcov-report/enum/index.html +206 -0
 - package/coverage/lcov-report/enum/index.ts.html +103 -0
 - package/coverage/lcov-report/enum/login-status.enum.ts.html +97 -0
 - package/coverage/lcov-report/enum/object-status.enum.ts.html +97 -0
 - package/coverage/lcov-report/enum/user-status.enum.ts.html +106 -0
 - package/coverage/lcov-report/enum/yn.enum.ts.html +97 -0
 - package/coverage/lcov-report/favicon.png +0 -0
 - package/coverage/lcov-report/index.html +296 -0
 - package/coverage/lcov-report/models/group-object-privilege.entity.ts.html +358 -0
 - package/coverage/lcov-report/models/group-privilege.entity.ts.html +319 -0
 - package/coverage/lcov-report/models/group-reporting-user.entity.ts.html +370 -0
 - package/coverage/lcov-report/models/group-system-access.entity.ts.html +328 -0
 - package/coverage/lcov-report/models/group.entity.ts.html +466 -0
 - package/coverage/lcov-report/models/index.html +296 -0
 - package/coverage/lcov-report/models/staff.entity.ts.html +358 -0
 - package/coverage/lcov-report/models/system-privilege.entity.ts.html +355 -0
 - package/coverage/lcov-report/models/system.entity.ts.html +424 -0
 - package/coverage/lcov-report/models/user-group.entity.ts.html +358 -0
 - package/coverage/lcov-report/models/user-object-privilege.entity.ts.html +355 -0
 - package/coverage/lcov-report/models/user-privilege.entity.ts.html +319 -0
 - package/coverage/lcov-report/models/user-system-access.entity.ts.html +346 -0
 - package/coverage/lcov-report/models/user.entity.ts.html +685 -0
 - package/coverage/lcov-report/prettify.css +1 -0
 - package/coverage/lcov-report/prettify.js +2 -0
 - package/coverage/lcov-report/redis-client/index.html +116 -0
 - package/coverage/lcov-report/redis-client/redis.service.ts.html +310 -0
 - package/coverage/lcov-report/session/index.html +116 -0
 - package/coverage/lcov-report/session/session.service.ts.html +373 -0
 - package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
 - package/coverage/lcov-report/sorter.js +210 -0
 - package/coverage/lcov.info +2223 -0
 - package/coverage/test-report.xml +71 -0
 - package/dist/tsconfig.tsbuildinfo +1 -1
 - package/package.json +8 -8
 
| 
         @@ -0,0 +1,71 @@ 
     | 
|
| 
      
 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>
         
     |