tango-app-api-trax 3.9.40 → 3.9.42

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.
@@ -126,7 +126,7 @@
126
126
 
127
127
  <div class="cover-summary">
128
128
  <div class="cover-sum-row"><span class="cover-sum-label">No. of questions</span><span class="cover-sum-colon">:</span><span class="cover-sum-val">{{numQuestions}}</span></div>
129
- {{#if hasSopFlag}}
129
+ {{#if showFlags}}
130
130
  <div class="cover-sum-row"><span class="cover-sum-label">Question Flag</span><span class="cover-sum-colon">:</span><span class="cover-sum-val">{{numFlags}}</span></div>
131
131
  {{/if}}
132
132
  {{#if showRunAIFlag}}
@@ -27,7 +27,6 @@ traxRouter
27
27
  .get( '/predefinedChecklist', isAllowedSessionHandler, isAllowedClient, accessVerification( { userType: [ 'tango', 'client' ], access: [ { featureName: 'TangoTrax', name: 'checklist', permissions: [ ] } ] } ), validate( aichecklistValidation ), traxController.preDefinedChecklist )
28
28
  .post( '/selectAssign', validate( selectAssign ), traxController.selectAssign )
29
29
  .post( '/assign', isAllowedSessionHandler, traxController.checklistAssign )
30
- // .post( '/assignUpload', isAllowedSessionHandler, traxController.assignChecklistUser )
31
30
  .post( '/updateAssign', isAllowedSessionHandler, traxController.updateAssign )
32
31
  .post( '/updateAiConfigure', isAllowedSessionHandler, traxController.updateAiConfigure )
33
32
  .get( '/getAiDetails', isAllowedSessionHandler, traxController.getAiDetails )
@@ -39,5 +38,3 @@ traxRouter
39
38
  .post( '/exportQuestions', isAllowedSessionHandler, traxController.downloadQuestionTemplate )
40
39
  .get( '/getTeamList', isAllowedSessionHandler, traxController.getTeamList )
41
40
  ;
42
-
43
- // isAllowedSessionHandler, isAllowedClient, accessVerification( { userType: [ 'tango', 'client' ], access: [ { featureName: 'TangoTrax', name: 'checklist', permissions: [ ] } ] } ),
@@ -4,16 +4,10 @@ export const traxFlagRouter = express.Router();
4
4
 
5
5
  import {
6
6
  checklistFlagsTable,
7
- flagChecklistCards,
8
7
  flagChecklistCardsV1,
9
- flagChecklistComparisonCards,
10
8
  flagChecklistComparisonCardsV1,
11
9
  flagChecklistTableV1,
12
10
  overallFlagMetrics,
13
- flagCards,
14
- flagComparisonCards,
15
- flagTables,
16
- checklistDropdown,
17
11
  flagCardsV1,
18
12
  flagComparisonCardsV1,
19
13
  flagTablesV1,
@@ -33,33 +27,15 @@ traxFlagRouter
33
27
  .post( '/checklist-flags-table', isAllowedSessionHandler,
34
28
  accessVerification( { userType: [ 'tango', 'client' ], access: [ { featureName: 'TangoTrax', name: 'checklist', permissions: [] } ] } ),
35
29
  checklistFlagsTable )
36
- .post( '/flagChecklistCards', isAllowedSessionHandler,
37
- accessVerification( { userType: [ 'tango', 'client' ], access: [ { featureName: 'TangoTrax', name: 'checklist', permissions: [] } ] } ),
38
- flagChecklistCards )
39
30
  .post( '/flagChecklistCardsV1', isAllowedSessionHandler,
40
31
  accessVerification( { userType: [ 'tango', 'client' ], access: [ { featureName: 'TangoTrax', name: 'checklist', permissions: [] } ] } ),
41
32
  flagChecklistCardsV1 )
42
- .post( '/flagChecklistComparisonCards', isAllowedSessionHandler,
43
- accessVerification( { userType: [ 'tango', 'client' ], access: [ { featureName: 'TangoTrax', name: 'checklist', permissions: [] } ] } ),
44
- flagChecklistComparisonCards )
45
33
  .post( '/flagChecklistComparisonCardsV1', isAllowedSessionHandler,
46
34
  accessVerification( { userType: [ 'tango', 'client' ], access: [ { featureName: 'TangoTrax', name: 'checklist', permissions: [] } ] } ),
47
35
  flagChecklistComparisonCardsV1 )
48
36
  .post( '/flagChecklistTableV1', isAllowedSessionHandler,
49
37
  accessVerification( { userType: [ 'tango', 'client' ], access: [ { featureName: 'TangoTrax', name: 'checklist', permissions: [] } ] } ),
50
38
  flagChecklistTableV1 )
51
- .post( '/flagCards', isAllowedSessionHandler,
52
- accessVerification( { userType: [ 'tango', 'client' ], access: [ { featureName: 'TangoTrax', name: 'checklist', permissions: [] } ] } ),
53
- flagCards )
54
- .post( '/flagComparisonCards', isAllowedSessionHandler,
55
- accessVerification( { userType: [ 'tango', 'client' ], access: [ { featureName: 'TangoTrax', name: 'checklist', permissions: [] } ] } ),
56
- flagComparisonCards )
57
- .post( '/flagTables', isAllowedSessionHandler,
58
- accessVerification( { userType: [ 'tango', 'client' ], access: [ { featureName: 'TangoTrax', name: 'checklist', permissions: [] } ] } ),
59
- flagTables )
60
- .post( '/flagChecklistDropDown', isAllowedSessionHandler,
61
- accessVerification( { userType: [ 'tango', 'client' ], access: [ { featureName: 'TangoTrax', name: 'checklist', permissions: [] } ] } ),
62
- checklistDropdown )
63
39
  .post( '/flagChecklistDropDownV1', isAllowedSessionHandler,
64
40
  accessVerification( { userType: [ 'tango', 'client' ], access: [ { featureName: 'TangoTrax', name: 'checklist', permissions: [] } ] } ),
65
41
  checklistDropdownV1 )