We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a92bf42 commit 9ca2a51Copy full SHA for 9ca2a51
src/Shared/constants.tsx
@@ -14,6 +14,9 @@
14
* limitations under the License.
15
*/
16
17
+import { OptionType } from '@Common/Types'
18
+import { CDMaterialSidebarType } from './types'
19
+
20
export const ARTIFACT_STATUS = {
21
PROGRESSING: 'Progressing',
22
DEGRADED: 'Degraded',
@@ -462,3 +465,10 @@ export enum SelectAllGroupedResourceIdentifiers {
462
465
allExistingAndFutureProdEnvironments = '-2',
463
466
allExistingAndFutureEnvironments = '-3',
464
467
}
468
469
+export const CD_MATERIAL_SIDEBAR_TABS: OptionType<CDMaterialSidebarType, CDMaterialSidebarType>[] = Object.values(
470
+ CDMaterialSidebarType,
471
+).map((tabValue) => ({
472
+ value: tabValue,
473
+ label: tabValue,
474
+}))
0 commit comments