@devtron-labs/devtron-fe-common-lib 0.1.16-beta-1 → 0.1.16-beta-4

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 (28) hide show
  1. package/dist/Pages/CDPipeline/index.d.ts +1 -0
  2. package/dist/Pages/CDPipeline/types.d.ts +93 -0
  3. package/dist/Pages/index.d.ts +1 -0
  4. package/dist/Shared/Components/CICDHistory/types.d.ts +1 -1
  5. package/dist/Shared/Components/GitCommitInfoGeneric/GitMaterialInfoHeader.d.ts +0 -1
  6. package/dist/Shared/Components/MaterialHistory/MaterialHistory.component.d.ts +1 -1
  7. package/dist/Shared/Components/MaterialHistory/types.d.ts +0 -1
  8. package/dist/assets/index.css +1 -1
  9. package/dist/{cssMode-6b5749e9.js → cssMode-cbfd9843.js} +1 -1
  10. package/dist/{freemarker2-e0fb10ce.js → freemarker2-596cc0dd.js} +1 -1
  11. package/dist/{handlebars-62af9221.js → handlebars-3016aee7.js} +1 -1
  12. package/dist/{html-b0e3e379.js → html-c3effcc9.js} +1 -1
  13. package/dist/{htmlMode-379fcbe4.js → htmlMode-c249dd9b.js} +1 -1
  14. package/dist/{index-3748b21f.js → index-65bc1312.js} +15097 -15169
  15. package/dist/index.d.ts +1 -0
  16. package/dist/index.js +247 -246
  17. package/dist/{javascript-b6335dbb.js → javascript-9ad056d5.js} +1 -1
  18. package/dist/{jsonMode-6f501f0a.js → jsonMode-22ff5c0c.js} +1 -1
  19. package/dist/{liquid-d84af754.js → liquid-5aa8a906.js} +1 -1
  20. package/dist/{mdx-4a5fb899.js → mdx-d31b2fbc.js} +1 -1
  21. package/dist/{python-6c4bd907.js → python-2ae0c267.js} +1 -1
  22. package/dist/{razor-4ae36407.js → razor-d297fb12.js} +1 -1
  23. package/dist/{tsMode-12c1ae2a.js → tsMode-d0870e7f.js} +1 -1
  24. package/dist/{typescript-5f19ff23.js → typescript-8dd8a9fc.js} +1 -1
  25. package/dist/{xml-dc68f4b6.js → xml-3c437f8f.js} +1 -1
  26. package/dist/{yaml-094132f3.js → yaml-141d3bd7.js} +1 -1
  27. package/package.json +1 -1
  28. package/dist/Shared/Components/GitCommitInfoGeneric/constants.d.ts +0 -4
@@ -0,0 +1 @@
1
+ export * from './types';
@@ -0,0 +1,93 @@
1
+ import { FormType, StepType } from '../../Common/CIPipeline.Types';
2
+ import { DeploymentAppTypes } from '../../Common/Types';
3
+ import { DeploymentStrategy } from '../../Shared/Components';
4
+
5
+ interface ConfigSecretType {
6
+ label: string;
7
+ value: string;
8
+ type: string;
9
+ }
10
+ export interface Environment {
11
+ description?: string;
12
+ id: number;
13
+ name: string;
14
+ namespace: string;
15
+ active: boolean;
16
+ clusterName: string;
17
+ clusterId: string;
18
+ isClusterCdActive: boolean;
19
+ isVirtualEnvironment?: boolean;
20
+ allowedDeploymentTypes?: DeploymentAppTypes[];
21
+ isDigestEnforcedForEnv?: boolean;
22
+ }
23
+ export interface PipelineBuildStageType {
24
+ id: number;
25
+ triggerType?: string;
26
+ steps: StepType[];
27
+ }
28
+ export interface SavedDeploymentStrategy extends DeploymentStrategy {
29
+ isCollapsed?: boolean;
30
+ defaultConfig?: any;
31
+ yamlStr?: any;
32
+ jsonStr?: any;
33
+ }
34
+ export interface CustomTagType {
35
+ tagPattern: string;
36
+ counterX: string;
37
+ }
38
+ export declare enum ReleaseMode {
39
+ CREATE = "create",
40
+ LINK = "link"
41
+ }
42
+ export interface CDFormType {
43
+ name: string;
44
+ ciPipelineId: number;
45
+ environmentId: number;
46
+ environmentName: string;
47
+ namespace: string;
48
+ environments: Environment[];
49
+ deploymentAppType: string;
50
+ deploymentAppName?: string;
51
+ releaseMode: ReleaseMode;
52
+ triggerType: string;
53
+ preBuildStage?: PipelineBuildStageType;
54
+ postBuildStage?: PipelineBuildStageType;
55
+ strategies: DeploymentStrategy[];
56
+ savedStrategies: SavedDeploymentStrategy[];
57
+ preStageConfigMapSecretNames: {
58
+ configMaps: ConfigSecretType[];
59
+ secrets: ConfigSecretType[];
60
+ };
61
+ postStageConfigMapSecretNames: {
62
+ configMaps: ConfigSecretType[];
63
+ secrets: ConfigSecretType[];
64
+ };
65
+ requiredApprovals: string;
66
+ userApprovalConfig?: {
67
+ requiredCount: number;
68
+ };
69
+ isClusterCdActive: boolean;
70
+ deploymentAppCreated: boolean;
71
+ clusterId: string;
72
+ clusterName: string;
73
+ runPreStageInEnv: boolean;
74
+ runPostStageInEnv: boolean;
75
+ allowedDeploymentTypes: DeploymentAppTypes[];
76
+ containerRegistryName: string;
77
+ repoName: string;
78
+ selectedRegistry: any;
79
+ generatedHelmPushAction: string;
80
+ }
81
+ export interface PipelineFormType extends Partial<FormType>, Partial<CDFormType> {
82
+ name: string;
83
+ triggerType: string;
84
+ preBuildStage?: PipelineBuildStageType;
85
+ postBuildStage?: PipelineBuildStageType;
86
+ defaultTag?: string[];
87
+ customTag?: CustomTagType;
88
+ enableCustomTag?: boolean;
89
+ customTagStage?: string;
90
+ isDigestEnforcedForPipeline?: boolean;
91
+ isDigestEnforcedForEnv?: boolean;
92
+ }
93
+ export {};
@@ -1,2 +1,3 @@
1
1
  export * from './GlobalConfigurations';
2
2
  export * from './ResourceBrowser';
3
+ export * from './CDPipeline';
@@ -522,7 +522,7 @@ export interface DeploymentHistory {
522
522
  runSource?: RunSourceType;
523
523
  }
524
524
  type DeploymentStrategyType = 'CANARY' | 'ROLLING' | 'RECREATE' | 'BLUE_GREEN';
525
- interface DeploymentStrategy {
525
+ export interface DeploymentStrategy {
526
526
  deploymentTemplate: DeploymentStrategyType;
527
527
  config: any;
528
528
  default: boolean;
@@ -1,4 +1,3 @@
1
-
2
1
  declare const GitMaterialInfoHeader: ({ index, repoUrl, materialType, materialValue, style, ...props }: {
3
2
  [x: string]: any;
4
3
  index: any;
@@ -1,4 +1,4 @@
1
1
  import { MaterialHistoryProps } from './types';
2
2
 
3
- declare const MaterialHistory: ({ material, pipelineName, ciPipelineId, selectCommit, isCommitInfoModal, }: MaterialHistoryProps) => JSX.Element;
3
+ declare const MaterialHistory: ({ material, pipelineName, ciPipelineId, selectCommit }: MaterialHistoryProps) => JSX.Element;
4
4
  export default MaterialHistory;
@@ -5,5 +5,4 @@ export interface MaterialHistoryProps {
5
5
  pipelineName: string;
6
6
  ciPipelineId?: string;
7
7
  selectCommit?: (materialId: string, commit: string, ciPipelineId?: string) => void;
8
- isCommitInfoModal?: boolean;
9
8
  }