@digital-ai/dot-components 3.20.2 → 3.20.3

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/index.esm.js CHANGED
@@ -9029,7 +9029,7 @@ class DashboardsService {
9029
9029
  * @param isOotbDashboard Boolean match on Dashboard OOTB status.
9030
9030
  * @param lifecycleState String match on Dashboard lifecycle state - 'DRAFT' or 'PUBLISHED'.
9031
9031
  * @param name String match on Dashboard name.
9032
- * @param targetApp String match on the Dashboard target application - 'AGILITY', 'CONTINUOUSTEST', 'DEPLOY' or 'RELEASE'.
9032
+ * @param targetApp String match on the Dashboard target application - 'AGILITY', 'CONTINUOUSTEST', 'DEPLOY', 'RELEASE', 'TEAMFORGE', 'CHANGERISKPREDICTION', or APPLICATIONSECURITY.
9033
9033
  * @returns DashboardViewPagedResponse OK
9034
9034
  * @returns Error Default error response
9035
9035
  * @throws ApiError
@@ -9264,7 +9264,7 @@ class DashboardsService {
9264
9264
  * * **Filterable field names**: author_fullname, bi_type, categories, created_dt, description, is_ootb_dashboard, lifecycle_state, name, updated_by_fullname, updated_dt
9265
9265
  * * **Searchable field names**: author_fullname, categories, description, name
9266
9266
  *
9267
- * @param targetApp String match on the Dashboard target application - 'AGILITY', 'CONTINUOUSTEST', 'DEPLOY', 'RELEASE' or 'TEAMFORGE'.
9267
+ * @param targetApp String match on the Dashboard target application - 'AGILITY', 'CONTINUOUSTEST', 'DEPLOY', 'RELEASE', 'TEAMFORGE', 'CHANGERISKPREDICTION', or 'APPLICATIONSECURITY'.
9268
9268
  * @param biType String match on Dashboard bi type - 'MICROSTRATEGY'.
9269
9269
  * @param isOotbDashboard Boolean match on Dashboard OOTB status.
9270
9270
  * @param lifecycleState String match on Dashboard lifecycle state - 'DRAFT' or 'PUBLISHED'.
@@ -9567,7 +9567,8 @@ const getCategoriesMock = {
9567
9567
  DEPLOY: [],
9568
9568
  RELEASE: ['DevOps COE', 'Engineering Manager', 'Release Manager', 'Platform Engineer', 'Platform Product Manager'],
9569
9569
  TEAMFORGE: ['Scrum Master'],
9570
- CHANGERISKPREDICTION: []
9570
+ CHANGERISKPREDICTION: [],
9571
+ APPLICATIONSECURITY: []
9571
9572
  }
9572
9573
  };
9573
9574
  const getAuthorsMock = [{
@@ -10666,6 +10667,9 @@ const DashboardAppTypeOptions = [
10666
10667
  }, {
10667
10668
  option: 'Change Risk Prediction',
10668
10669
  value: 'CHANGERISKPREDICTION'
10670
+ }, {
10671
+ option: 'Application Security',
10672
+ value: 'APPLICATIONSECURITY'
10669
10673
  }];
10670
10674
  const initialFormState = {
10671
10675
  categories: [],
@@ -11369,7 +11373,7 @@ function DotDashboardPublishConfirm({
11369
11373
  setPublished(false);
11370
11374
  } else {
11371
11375
  setPublishCategories(dashboardToPublish.categories || []);
11372
- setRequiresApplication(!(dashboardToPublish.target_apps.includes('CHANGERISKPREDICTION') && dashboardToPublish.target_apps.length === 1));
11376
+ setRequiresApplication(dashboardToPublish.target_apps.includes('AGILITY') || dashboardToPublish.target_apps.includes('RELEASE') || dashboardToPublish.target_apps.includes('CONTINUOUSTEST') || dashboardToPublish.target_apps.includes('TEAMFORGE') || dashboardToPublish.target_apps.includes('DEPLOY'));
11373
11377
  setRequiresCategories(dashboardToPublish.target_apps.includes('AGILITY') || dashboardToPublish.target_apps.includes('RELEASE') || dashboardToPublish.target_apps.includes('CONTINUOUSTEST') || dashboardToPublish.target_apps.includes('TEAMFORGE'));
11374
11378
  }
11375
11379
  }, [dashboardToPublish]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital-ai/dot-components",
3
- "version": "3.20.2",
3
+ "version": "3.20.3",
4
4
  "private": false,
5
5
  "license": "SEE LICENSE IN <LICENSE.md>",
6
6
  "contributors": [
@@ -6,7 +6,7 @@ export type DashboardCreateBody = {
6
6
  /**
7
7
  * App types that can be targeted by the dashboard.
8
8
  */
9
- target_apps: Array<'AGILITY' | 'RELEASE' | 'DEPLOY' | 'CONTINUOUSTEST' | 'TEAMFORGE' | 'CHANGERISKPREDICTION'>;
9
+ target_apps: Array<'AGILITY' | 'RELEASE' | 'DEPLOY' | 'CONTINUOUSTEST' | 'TEAMFORGE' | 'CHANGERISKPREDICTION' | 'APPLICATIONSECURITY'>;
10
10
  /**
11
11
  * Description of the dashboard.
12
12
  */
@@ -22,7 +22,7 @@ export type DashboardPatchBody = {
22
22
  /**
23
23
  * App types that can be targeted by the dashboard.
24
24
  */
25
- target_apps?: Array<'AGILITY' | 'RELEASE' | 'DEPLOY' | 'CONTINUOUSTEST' | 'TEAMFORGE' | 'CHANGERISKPREDICTION'> | null;
25
+ target_apps?: Array<'AGILITY' | 'RELEASE' | 'DEPLOY' | 'CONTINUOUSTEST' | 'TEAMFORGE' | 'CHANGERISKPREDICTION' | 'APPLICATIONSECURITY'> | null;
26
26
  /**
27
27
  * (Internal) BI type of the dashboard.
28
28
  */
@@ -22,7 +22,7 @@ export type DashboardPutBody = {
22
22
  /**
23
23
  * App types that can be targeted by the dashboard.
24
24
  */
25
- target_apps: Array<'AGILITY' | 'RELEASE' | 'DEPLOY' | 'CONTINUOUSTEST' | 'TEAMFORGE'>;
25
+ target_apps: Array<'AGILITY' | 'RELEASE' | 'DEPLOY' | 'CONTINUOUSTEST' | 'TEAMFORGE' | 'CHANGERISKPREDICTION' | 'APPLICATIONSECURITY'>;
26
26
  /**
27
27
  * (Internal) BI type of the dashboard.
28
28
  */
@@ -18,7 +18,7 @@ export type DashboardView = {
18
18
  /**
19
19
  * App types that can be targeted by the dashboard.
20
20
  */
21
- target_apps: Array<'AGILITY' | 'RELEASE' | 'DEPLOY' | 'CONTINUOUSTEST' | 'TEAMFORGE' | 'CHANGERISKPREDICTION'>;
21
+ target_apps: Array<'AGILITY' | 'RELEASE' | 'DEPLOY' | 'CONTINUOUSTEST' | 'TEAMFORGE' | 'CHANGERISKPREDICTION' | 'APPLICATIONSECURITY'>;
22
22
  /**
23
23
  * Description of the dashboard.
24
24
  */
@@ -28,7 +28,7 @@ export declare class DashboardsService {
28
28
  * @param isOotbDashboard Boolean match on Dashboard OOTB status.
29
29
  * @param lifecycleState String match on Dashboard lifecycle state - 'DRAFT' or 'PUBLISHED'.
30
30
  * @param name String match on Dashboard name.
31
- * @param targetApp String match on the Dashboard target application - 'AGILITY', 'CONTINUOUSTEST', 'DEPLOY' or 'RELEASE'.
31
+ * @param targetApp String match on the Dashboard target application - 'AGILITY', 'CONTINUOUSTEST', 'DEPLOY', 'RELEASE', 'TEAMFORGE', 'CHANGERISKPREDICTION', or APPLICATIONSECURITY.
32
32
  * @returns DashboardViewPagedResponse OK
33
33
  * @returns Error Default error response
34
34
  * @throws ApiError
@@ -118,7 +118,7 @@ export declare class DashboardsService {
118
118
  * * **Filterable field names**: author_fullname, bi_type, categories, created_dt, description, is_ootb_dashboard, lifecycle_state, name, updated_by_fullname, updated_dt
119
119
  * * **Searchable field names**: author_fullname, categories, description, name
120
120
  *
121
- * @param targetApp String match on the Dashboard target application - 'AGILITY', 'CONTINUOUSTEST', 'DEPLOY', 'RELEASE' or 'TEAMFORGE'.
121
+ * @param targetApp String match on the Dashboard target application - 'AGILITY', 'CONTINUOUSTEST', 'DEPLOY', 'RELEASE', 'TEAMFORGE', 'CHANGERISKPREDICTION', or 'APPLICATIONSECURITY'.
122
122
  * @param biType String match on Dashboard bi type - 'MICROSTRATEGY'.
123
123
  * @param isOotbDashboard Boolean match on Dashboard OOTB status.
124
124
  * @param lifecycleState String match on Dashboard lifecycle state - 'DRAFT' or 'PUBLISHED'.