@devtron-labs/devtron-fe-common-lib 0.5.2-beta-7 → 0.5.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/dist/Common/Constants.d.ts +0 -3
- package/dist/Common/Hooks/UseRegisterShortcut/UseRegisterShortcutContext.d.ts +1 -1
- package/dist/Common/Hooks/UseRegisterShortcut/UseRegisterShortcutProvider.d.ts +1 -1
- package/dist/Common/Hooks/UseRegisterShortcut/types.d.ts +53 -3
- package/dist/Common/Hooks/UseRegisterShortcut/utils.d.ts +6 -0
- package/dist/Common/Tooltip/index.d.ts +0 -1
- package/dist/Common/Tooltip/types.d.ts +1 -7
- package/dist/Common/Types.d.ts +6 -2
- package/dist/Pages/App/AppConfigurations/index.d.ts +1 -0
- package/dist/Pages/App/AppConfigurations/utils.d.ts +2 -0
- package/dist/Pages/{Applications/DevtronApps/Details → App}/index.d.ts +0 -1
- package/dist/Pages/{Applications/DevtronApps/Details/CDPipeline → CDPipeline}/types.d.ts +4 -4
- package/dist/Pages/index.d.ts +2 -1
- package/dist/Shared/Components/Button/Button.component.d.ts +1 -1
- package/dist/Shared/Components/Button/types.d.ts +0 -6
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/DeploymentHistoryConfigDiff.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/DeploymentHistoryConfigDiffCompare.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/helpers.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/types.d.ts +3 -2
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/utils.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/History.components.d.ts +1 -54
- package/dist/Shared/Components/CICDHistory/LogsRenderer.d.ts +2 -55
- package/dist/Shared/Components/CICDHistory/types.d.ts +2 -1
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.component.d.ts +1 -1
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.types.d.ts +2 -4
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffNavigation.d.ts +1 -1
- package/dist/Shared/Components/SelectPicker/type.d.ts +2 -2
- package/dist/Shared/Components/TabGroup/TabGroup.types.d.ts +1 -9
- package/dist/Shared/Components/index.d.ts +0 -1
- package/dist/Shared/Hooks/useForm/useForm.d.ts +26 -29
- package/dist/Shared/Hooks/useForm/useForm.types.d.ts +8 -15
- package/dist/Shared/Hooks/useForm/useForm.utils.d.ts +1 -1
- package/dist/Shared/Services/app.types.d.ts +22 -35
- package/dist/Shared/constants.d.ts +1 -3
- package/dist/Shared/types.d.ts +0 -12
- package/dist/assets/index.css +1 -1
- package/dist/{cssMode-BzAJNNfO.js → cssMode-9W1buTsV.js} +1 -1
- package/dist/{freemarker2-C5v7rdGk.js → freemarker2-BWe5eRwB.js} +1 -1
- package/dist/{handlebars-Cl_Athu7.js → handlebars-CTfz5kSz.js} +1 -1
- package/dist/{html-BhmbKvsl.js → html-Dvb80ALs.js} +1 -1
- package/dist/{htmlMode-Eh-qZm_q.js → htmlMode-CAsy-Umk.js} +1 -1
- package/dist/{index-B3Nto1wx.js → index-Bb2FTEAc.js} +25214 -25342
- package/dist/index.js +521 -541
- package/dist/{javascript-C9CMizZO.js → javascript-C4IBasJO.js} +1 -1
- package/dist/{jsonMode-CrNdCxMf.js → jsonMode-CQ6vLXYS.js} +1 -1
- package/dist/{liquid-OSTTmxyA.js → liquid-BMWGnzGZ.js} +1 -1
- package/dist/{mdx-Bl4Q7X-Y.js → mdx-B84VbCvk.js} +1 -1
- package/dist/{python-BRbo-lxI.js → python-CkTKI3LV.js} +1 -1
- package/dist/{razor-CH6gsgck.js → razor-C1nzEZOE.js} +1 -1
- package/dist/{tsMode-CD1RkTWx.js → tsMode-VncCnYcl.js} +1 -1
- package/dist/{typescript-CiU-skWG.js → typescript-DCrQdLtl.js} +1 -1
- package/dist/{xml-BKlUFTP7.js → xml-C4BcGdfI.js} +1 -1
- package/dist/{yaml-B98Fk6S4.js → yaml-BKASVM86.js} +1 -1
- package/package.json +1 -2
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/DTApplicationMetricsFormField.d.ts +0 -3
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/constants.d.ts +0 -2
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/index.d.ts +0 -4
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/service.d.ts +0 -4
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/types.d.ts +0 -171
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/OverrideStrategyTippyContent.d.ts +0 -2
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/constants.d.ts +0 -5
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/index.d.ts +0 -5
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/types.d.ts +0 -27
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/utils.d.ts +0 -2
- package/dist/Pages/Applications/DevtronApps/index.d.ts +0 -1
- package/dist/Pages/Applications/index.d.ts +0 -1
- package/dist/Shared/Components/InvalidYAMLTippy/InvalidYAMLTippyWrapper.d.ts +0 -3
- package/dist/Shared/Components/InvalidYAMLTippy/constants.d.ts +0 -1
- package/dist/Shared/Components/InvalidYAMLTippy/index.d.ts +0 -2
- package/dist/Shared/Components/InvalidYAMLTippy/types.d.ts +0 -6
- package/dist/Shared/Components/InvalidYAMLTippy/utils.d.ts +0 -2
- package/dist/Shared/Components/SelectPicker/constants.d.ts +0 -5
- /package/dist/Pages/{Applications/DevtronApps/Details/CDPipeline → CDPipeline}/index.d.ts +0 -0
|
@@ -99,23 +99,12 @@ export declare enum AppEnvDeploymentConfigType {
|
|
|
99
99
|
PREVIOUS_DEPLOYMENTS = "PreviousDeployments",
|
|
100
100
|
DEFAULT_VERSION = "DefaultVersion"
|
|
101
101
|
}
|
|
102
|
-
export declare enum DraftState {
|
|
103
|
-
Init = 1,
|
|
104
|
-
Discarded = 2,
|
|
105
|
-
Published = 3,
|
|
106
|
-
AwaitApproval = 4
|
|
107
|
-
}
|
|
108
|
-
export declare enum DraftAction {
|
|
109
|
-
Add = 1,
|
|
110
|
-
Update = 2,
|
|
111
|
-
Delete = 3
|
|
112
|
-
}
|
|
113
102
|
export interface DraftMetadataDTO {
|
|
114
103
|
appId: number;
|
|
115
104
|
envId: number;
|
|
116
105
|
resource: number;
|
|
117
106
|
resourceName: string;
|
|
118
|
-
action:
|
|
107
|
+
action: number;
|
|
119
108
|
data: string;
|
|
120
109
|
userComment: string;
|
|
121
110
|
changeProposed: boolean;
|
|
@@ -124,7 +113,7 @@ export interface DraftMetadataDTO {
|
|
|
124
113
|
};
|
|
125
114
|
draftId: number;
|
|
126
115
|
draftVersionId: number;
|
|
127
|
-
draftState:
|
|
116
|
+
draftState: number;
|
|
128
117
|
draftResolvedValue: string;
|
|
129
118
|
approvers: string[];
|
|
130
119
|
canApprove: boolean;
|
|
@@ -132,37 +121,24 @@ export interface DraftMetadataDTO {
|
|
|
132
121
|
dataEncrypted: boolean;
|
|
133
122
|
isAppAdmin: boolean;
|
|
134
123
|
}
|
|
135
|
-
export declare enum CMSecretExternalType {
|
|
136
|
-
Internal = "",
|
|
137
|
-
KubernetesConfigMap = "KubernetesConfigMap",
|
|
138
|
-
KubernetesSecret = "KubernetesSecret",
|
|
139
|
-
AWSSecretsManager = "AWSSecretsManager",
|
|
140
|
-
AWSSystemManager = "AWSSystemManager",
|
|
141
|
-
HashiCorpVault = "HashiCorpVault",
|
|
142
|
-
ESO_GoogleSecretsManager = "ESO_GoogleSecretsManager",
|
|
143
|
-
ESO_AWSSecretsManager = "ESO_AWSSecretsManager",
|
|
144
|
-
ESO_AzureSecretsManager = "ESO_AzureSecretsManager",
|
|
145
|
-
ESO_HashiCorpVault = "ESO_HashiCorpVault"
|
|
146
|
-
}
|
|
147
124
|
export interface ConfigDatum {
|
|
148
125
|
name: string;
|
|
149
126
|
type: string;
|
|
150
127
|
external: boolean;
|
|
151
|
-
data: Record<string,
|
|
152
|
-
defaultData: Record<string,
|
|
128
|
+
data: Record<string, string>;
|
|
129
|
+
defaultData: Record<string, string>;
|
|
153
130
|
global: boolean;
|
|
154
|
-
externalType:
|
|
155
|
-
esoSecretData:
|
|
156
|
-
defaultESOSecretData:
|
|
157
|
-
secretData: Record<string,
|
|
158
|
-
defaultSecretData: Record<string,
|
|
131
|
+
externalType: string;
|
|
132
|
+
esoSecretData: {};
|
|
133
|
+
defaultESOSecretData: {};
|
|
134
|
+
secretData: Record<string, string>;
|
|
135
|
+
defaultSecretData: Record<string, string>;
|
|
159
136
|
roleARN: string;
|
|
160
137
|
subPath: boolean;
|
|
161
138
|
filePermission: string;
|
|
162
139
|
overridden: boolean;
|
|
163
|
-
mountPath
|
|
164
|
-
defaultMountPath
|
|
165
|
-
esoSubPath: string[];
|
|
140
|
+
mountPath?: string;
|
|
141
|
+
defaultMountPath?: string;
|
|
166
142
|
}
|
|
167
143
|
export interface ConfigMapSecretDataConfigDatumDTO extends ConfigDatum {
|
|
168
144
|
draftMetadata: DraftMetadataDTO;
|
|
@@ -244,6 +220,17 @@ export interface TemplateListDTO {
|
|
|
244
220
|
pipelineId?: number;
|
|
245
221
|
wfrId?: number;
|
|
246
222
|
}
|
|
223
|
+
export interface ManifestTemplateDTO {
|
|
224
|
+
data: string;
|
|
225
|
+
resolvedData: string;
|
|
226
|
+
variableSnapshot: null;
|
|
227
|
+
}
|
|
228
|
+
export declare enum DraftState {
|
|
229
|
+
Init = 1,
|
|
230
|
+
Discarded = 2,
|
|
231
|
+
Published = 3,
|
|
232
|
+
AwaitApproval = 4
|
|
233
|
+
}
|
|
247
234
|
export declare enum EnvResourceType {
|
|
248
235
|
ConfigMap = "configmap",
|
|
249
236
|
Secret = "secrets",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OptionType } from '../Common/Types';
|
|
2
|
-
import { CDMaterialSidebarType
|
|
2
|
+
import { CDMaterialSidebarType } from './types';
|
|
3
3
|
export declare const ARTIFACT_STATUS: {
|
|
4
4
|
PROGRESSING: string;
|
|
5
5
|
DEGRADED: string;
|
|
@@ -411,5 +411,3 @@ export declare enum SelectAllGroupedResourceIdentifiers {
|
|
|
411
411
|
}
|
|
412
412
|
export declare const CD_MATERIAL_SIDEBAR_TABS: OptionType<CDMaterialSidebarType, CDMaterialSidebarType>[];
|
|
413
413
|
export declare const TRIGGER_STATUS_PROGRESSING: string[];
|
|
414
|
-
export declare const CONFIGURATION_TYPE_VALUES: ConfigurationType[];
|
|
415
|
-
export declare const DEFAULT_LOCKED_KEYS_CONFIG: Readonly<ConfigKeysWithLockType>;
|
package/dist/Shared/types.d.ts
CHANGED
|
@@ -572,18 +572,6 @@ export type BaseFilterQueryParams<T> = {
|
|
|
572
572
|
*/
|
|
573
573
|
showAll?: boolean;
|
|
574
574
|
} & SortingParams<T>;
|
|
575
|
-
export declare enum ConfigurationType {
|
|
576
|
-
GUI = "GUI",
|
|
577
|
-
YAML = "YAML"
|
|
578
|
-
}
|
|
579
|
-
export interface BaseURLParams {
|
|
580
|
-
appId: string;
|
|
581
|
-
envId: string;
|
|
582
|
-
}
|
|
583
|
-
export interface ConfigKeysWithLockType {
|
|
584
|
-
config: string[];
|
|
585
|
-
allowed: boolean;
|
|
586
|
-
}
|
|
587
575
|
export type DataAttributes = Record<`data-${string}`, unknown>;
|
|
588
576
|
export interface RuntimeParamsListItemType extends KeyValueListType {
|
|
589
577
|
id: number;
|