@spinnaker/kayenta 2026.3.2 → 2026.4.1
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/index.js +77 -1
- package/dist/index.js.map +1 -1
- package/dist/kayenta/actions/creators.d.ts +0 -30
- package/dist/kayenta/actions/index.d.ts +0 -8
- package/dist/kayenta/canary.d.ts +2 -2
- package/dist/kayenta/canary.help.d.ts +1 -1
- package/dist/kayenta/components/canaryScore.d.ts +1 -1
- package/dist/kayenta/components/canaryScores.d.ts +2 -2
- package/dist/kayenta/domain/ICanaryConfig.d.ts +1 -1
- package/dist/kayenta/domain/IMetricConfigMode.d.ts +9 -0
- package/dist/kayenta/domain/index.d.ts +1 -0
- package/dist/kayenta/edit/changeMetricGroupModal.d.ts +3 -3
- package/dist/kayenta/edit/configDetail.d.ts +2 -2
- package/dist/kayenta/edit/configDetailActionButtons.d.ts +2 -2
- package/dist/kayenta/edit/configDetailHeader.d.ts +3 -3
- package/dist/kayenta/edit/configDetailLoadStates.d.ts +3 -3
- package/dist/kayenta/edit/configDetailLoader.d.ts +8 -3
- package/dist/kayenta/edit/configJsonModal.d.ts +5 -5
- package/dist/kayenta/edit/configList.d.ts +3 -3
- package/dist/kayenta/edit/copyConfigButton.d.ts +3 -3
- package/dist/kayenta/edit/createConfigButton.d.ts +3 -3
- package/dist/kayenta/edit/deleteModal.d.ts +3 -3
- package/dist/kayenta/edit/edit.d.ts +2 -2
- package/dist/kayenta/edit/editMetricEffectSizes.d.ts +3 -5
- package/dist/kayenta/edit/editMetricModal.d.ts +5 -7
- package/dist/kayenta/edit/editMetricModal.stories.d.ts +12 -0
- package/dist/kayenta/edit/editMetricValidation.d.ts +5 -0
- package/dist/kayenta/edit/footer.d.ts +2 -2
- package/dist/kayenta/edit/groupName.d.ts +2 -3
- package/dist/kayenta/edit/groupTabs.d.ts +3 -3
- package/dist/kayenta/edit/groupWeight.d.ts +2 -3
- package/dist/kayenta/edit/groupWeights.d.ts +3 -3
- package/dist/kayenta/edit/judgeSelect.d.ts +3 -3
- package/dist/kayenta/edit/metricConfigModeToggle.d.ts +7 -0
- package/dist/kayenta/edit/metricConfigurerDelegator.d.ts +3 -3
- package/dist/kayenta/edit/metricList.d.ts +3 -3
- package/dist/kayenta/edit/metricQueryTemplateEditor.d.ts +17 -0
- package/dist/kayenta/edit/metricStoreSelector.d.ts +2 -3
- package/dist/kayenta/edit/nameAndDescription.d.ts +2 -3
- package/dist/kayenta/edit/openConfigJsonModalButton.d.ts +3 -3
- package/dist/kayenta/edit/openDeleteModalButton.d.ts +3 -3
- package/dist/kayenta/edit/ownedBy.d.ts +2 -2
- package/dist/kayenta/edit/save.d.ts +2 -2
- package/dist/kayenta/edit/saveConfigButton.d.ts +3 -3
- package/dist/kayenta/edit/saveConfigError.d.ts +3 -3
- package/dist/kayenta/edit/scoring.d.ts +3 -3
- package/dist/kayenta/edit/selectConfig.d.ts +2 -2
- package/dist/kayenta/edit/templateProviderVariables.d.ts +24 -0
- package/dist/kayenta/edit/useMetricConfigMode.d.ts +32 -0
- package/dist/kayenta/edit/validationErrors.d.ts +2 -3
- package/dist/kayenta/layout/addNewButton.d.ts +2 -2
- package/dist/kayenta/layout/centeredDetail.d.ts +2 -2
- package/dist/kayenta/layout/deleteButton.d.ts +2 -2
- package/dist/kayenta/layout/disableable.d.ts +7 -27
- package/dist/kayenta/layout/formList.d.ts +2 -2
- package/dist/kayenta/layout/formRow.d.ts +1 -1
- package/dist/kayenta/layout/formattedDate.d.ts +2 -2
- package/dist/kayenta/layout/keyValueList.d.ts +2 -2
- package/dist/kayenta/layout/list.d.ts +2 -2
- package/dist/kayenta/layout/listDetail.d.ts +2 -2
- package/dist/kayenta/layout/radioChoice.d.ts +3 -2
- package/dist/kayenta/layout/styleguide.d.ts +2 -2
- package/dist/kayenta/layout/table/nativeTable.d.ts +2 -2
- package/dist/kayenta/layout/table/nativeTableHeader.d.ts +2 -2
- package/dist/kayenta/layout/table/table.d.ts +2 -2
- package/dist/kayenta/layout/table/tableHeader.d.ts +2 -2
- package/dist/kayenta/layout/tabs.d.ts +2 -2
- package/dist/kayenta/layout/titledSection.d.ts +2 -2
- package/dist/kayenta/layout/titledSubsection.d.ts +2 -2
- package/dist/kayenta/manualAnalysis/ManualAnalysisModal.d.ts +1 -1
- package/dist/kayenta/metricStore/atlas/atlasMetricConfigurer.d.ts +4 -3
- package/dist/kayenta/metricStore/clickhouse/metricConfigurer.d.ts +4 -6
- package/dist/kayenta/metricStore/datadog/metricConfigurer.d.ts +5 -3
- package/dist/kayenta/metricStore/datadog/metricTypeSelector.d.ts +4 -6
- package/dist/kayenta/metricStore/graphite/metricConfigurer.d.ts +5 -3
- package/dist/kayenta/metricStore/graphite/metricTypeSelector.d.ts +4 -6
- package/dist/kayenta/metricStore/index.d.ts +2 -0
- package/dist/kayenta/metricStore/influxdb/index.d.ts +1 -0
- package/dist/kayenta/metricStore/influxdb/metricConfigurer.d.ts +10 -0
- package/dist/kayenta/metricStore/metricStoreConfig.service.d.ts +1 -1
- package/dist/kayenta/metricStore/newrelic/metricConfigurer.d.ts +5 -3
- package/dist/kayenta/metricStore/prometheus/domain/IPrometheusCanaryMetricSetQueryConfig.d.ts +0 -5
- package/dist/kayenta/metricStore/prometheus/metricConfigurer.d.ts +4 -6
- package/dist/kayenta/metricStore/prometheus/metricTypeSelector.d.ts +2 -4
- package/dist/kayenta/metricStore/signalfx/metricConfigurer.d.ts +8 -3
- package/dist/kayenta/metricStore/stackdriver/metricConfigurer.d.ts +4 -3
- package/dist/kayenta/metricStore/stackdriver/metricTypeSelector.d.ts +3 -5
- package/dist/kayenta/metricStore/wavefront/index.d.ts +1 -0
- package/dist/kayenta/metricStore/wavefront/metricConfigurer.d.ts +10 -0
- package/dist/kayenta/middleware/actionInterceptor.d.ts +2 -1
- package/dist/kayenta/middleware/asyncDispatch.d.ts +2 -1
- package/dist/kayenta/middleware/epics.d.ts +3 -2
- package/dist/kayenta/reducers/selectedConfig.d.ts +0 -2
- package/dist/kayenta/reducers/signalFxMetricConfig.d.ts +1 -1
- package/dist/kayenta/report/detail/allMetricResultsHeader.d.ts +2 -2
- package/dist/kayenta/report/detail/clickableHeader.d.ts +2 -2
- package/dist/kayenta/report/detail/detail.d.ts +3 -3
- package/dist/kayenta/report/detail/detailLoader.d.ts +8 -3
- package/dist/kayenta/report/detail/graph/graph.d.ts +2 -3
- package/dist/kayenta/report/detail/graph/semiotic/boxplot.d.ts +1 -1
- package/dist/kayenta/report/detail/graph/semiotic/chartHeader.d.ts +2 -2
- package/dist/kayenta/report/detail/graph/semiotic/chartLegend.d.ts +2 -2
- package/dist/kayenta/report/detail/graph/semiotic/circleIcon.d.ts +2 -2
- package/dist/kayenta/report/detail/graph/semiotic/customAxisTickLabel.d.ts +2 -2
- package/dist/kayenta/report/detail/graph/semiotic/differenceArea.d.ts +1 -1
- package/dist/kayenta/report/detail/graph/semiotic/histogram.d.ts +1 -1
- package/dist/kayenta/report/detail/graph/semiotic/noValidDataSign.d.ts +2 -2
- package/dist/kayenta/report/detail/graph/semiotic/secondaryTSXAxis.d.ts +1 -1
- package/dist/kayenta/report/detail/graph/semiotic/semioticGraph.d.ts +1 -1
- package/dist/kayenta/report/detail/graph/semiotic/timeSeries.d.ts +1 -1
- package/dist/kayenta/report/detail/graph/semiotic/tooltip.d.ts +1 -1
- package/dist/kayenta/report/detail/graphTypeSelector.d.ts +2 -3
- package/dist/kayenta/report/detail/groupScores.d.ts +2 -3
- package/dist/kayenta/report/detail/header.d.ts +2 -3
- package/dist/kayenta/report/detail/headerArrow.d.ts +2 -2
- package/dist/kayenta/report/detail/loadStates.d.ts +2 -3
- package/dist/kayenta/report/detail/metricResultActions.d.ts +2 -3
- package/dist/kayenta/report/detail/metricResultClassification.d.ts +2 -2
- package/dist/kayenta/report/detail/metricResultDetail.d.ts +2 -2
- package/dist/kayenta/report/detail/metricResultDetailLayout.d.ts +2 -2
- package/dist/kayenta/report/detail/metricResultDeviation.d.ts +2 -2
- package/dist/kayenta/report/detail/metricResultStats.d.ts +2 -3
- package/dist/kayenta/report/detail/metricResults.d.ts +2 -3
- package/dist/kayenta/report/detail/metricResultsClassificationFilters.d.ts +2 -3
- package/dist/kayenta/report/detail/metricResultsList.d.ts +2 -3
- package/dist/kayenta/report/detail/metricSetPairLoadStates.d.ts +5 -6
- package/dist/kayenta/report/detail/multipleResultsTable.d.ts +7 -16
- package/dist/kayenta/report/detail/reportException.d.ts +2 -3
- package/dist/kayenta/report/detail/reportExplanation.d.ts +2 -3
- package/dist/kayenta/report/detail/reportMetadata.d.ts +2 -3
- package/dist/kayenta/report/detail/reportScores.d.ts +2 -3
- package/dist/kayenta/report/detail/score.d.ts +2 -2
- package/dist/kayenta/report/detail/sourceLinks.d.ts +2 -3
- package/dist/kayenta/report/list/configLink.d.ts +3 -5
- package/dist/kayenta/report/list/loadStates.d.ts +2 -3
- package/dist/kayenta/report/list/pipelineLink.d.ts +2 -2
- package/dist/kayenta/report/list/reportLink.d.ts +2 -4
- package/dist/kayenta/report/list/table.d.ts +2 -3
- package/dist/kayenta/report/report.d.ts +2 -2
- package/dist/kayenta/selectors/filterTemplatesSelectors.d.ts +3 -18
- package/dist/kayenta/selectors/index.d.ts +0 -6
- package/dist/kayenta/stages/kayentaStage/AnalysisType.d.ts +4 -4
- package/dist/kayenta/stages/kayentaStage/CanaryExecutionLabel.d.ts +2 -2
- package/dist/kayenta/stages/kayentaStage/ForAnalysisType.d.ts +1 -1
- package/dist/kayenta/stages/kayentaStage/KayentaCanaryStageConfig.d.ts +2 -2
- package/dist/kayenta/stages/kayentaStage/KayentaStageConfigSection.d.ts +1 -1
- package/dist/kayenta/stages/kayentaStage/KayentaStageExecutionDetails.d.ts +3 -3
- package/dist/kayenta/stages/kayentaStage/canaryRunSummaries.d.ts +2 -2
- package/dist/kayenta/stages/kayentaStage/kayentaStage.d.ts +1 -1
- package/dist/lazy-BajpuB6R.js +80 -0
- package/dist/lazy-BajpuB6R.js.map +1 -0
- package/dist/semioticGraph-DZKeA54O.js +25 -0
- package/dist/semioticGraph-DZKeA54O.js.map +1 -0
- package/package.json +13 -13
- package/dist/index-CgBbcrGU.js +0 -4
- package/dist/index-CgBbcrGU.js.map +0 -1
- package/dist/kayenta/edit/filterTemplateSelector.d.ts +0 -32
- package/dist/kayenta/edit/filterTemplatesValidation.d.ts +0 -28
- package/dist/kayenta/edit/inlineTemplateEditor.d.ts +0 -14
- package/dist/kayenta/metricStore/clickhouse/domain/IClickhouseCanaryMetricSetQueryConfig.d.ts +0 -5
- package/dist/kayenta/metricStore/prometheus/queryTypeSelectors.d.ts +0 -9
- package/dist/kayenta/reducers/editingTemplate.d.ts +0 -7
- package/dist/lazy-ChZv0_Cn.js +0 -4
- package/dist/lazy-ChZv0_Cn.js.map +0 -1
- package/dist/semioticGraph-Ch95n-5Z.js +0 -2
- package/dist/semioticGraph-Ch95n-5Z.js.map +0 -1
|
@@ -259,26 +259,6 @@ export declare const loadMetricSetPairFailure: import("redux-actions").ActionFun
|
|
|
259
259
|
}, import("redux-actions").Action<{
|
|
260
260
|
error: Error;
|
|
261
261
|
}>>;
|
|
262
|
-
export declare const addTemplate: import("redux-actions").ActionFunction0<import("redux-actions").Action<void>>;
|
|
263
|
-
export declare const editTemplateBegin: import("redux-actions").ActionFunction1<{
|
|
264
|
-
name: string;
|
|
265
|
-
value: string;
|
|
266
|
-
}, import("redux-actions").Action<{
|
|
267
|
-
name: string;
|
|
268
|
-
value: string;
|
|
269
|
-
}>>;
|
|
270
|
-
export declare const editTemplateConfirm: import("redux-actions").ActionFunction0<import("redux-actions").Action<void>>;
|
|
271
|
-
export declare const editTemplateCancel: import("redux-actions").ActionFunction0<import("redux-actions").Action<void>>;
|
|
272
|
-
export declare const editTemplateName: import("redux-actions").ActionFunction1<{
|
|
273
|
-
name: string;
|
|
274
|
-
}, import("redux-actions").Action<{
|
|
275
|
-
name: string;
|
|
276
|
-
}>>;
|
|
277
|
-
export declare const editTemplateValue: import("redux-actions").ActionFunction1<{
|
|
278
|
-
value: string;
|
|
279
|
-
}, import("redux-actions").Action<{
|
|
280
|
-
value: string;
|
|
281
|
-
}>>;
|
|
282
262
|
export declare const editInlineTemplate: import("redux-actions").ActionFunction1<{
|
|
283
263
|
value: string;
|
|
284
264
|
}, import("redux-actions").Action<{
|
|
@@ -294,16 +274,6 @@ export declare const updatePrometheusMetricQueryField: import("redux-actions").A
|
|
|
294
274
|
value: IPrometheusCanaryMetricSetQueryConfig[keyof IPrometheusCanaryMetricSetQueryConfig];
|
|
295
275
|
}>>;
|
|
296
276
|
export declare const updateStackdriverGroupBy: import("redux-actions").ActionFunction1<IUpdateListPayload, import("redux-actions").Action<IUpdateListPayload>>;
|
|
297
|
-
export declare const deleteTemplate: import("redux-actions").ActionFunction1<{
|
|
298
|
-
name: string;
|
|
299
|
-
}, import("redux-actions").Action<{
|
|
300
|
-
name: string;
|
|
301
|
-
}>>;
|
|
302
|
-
export declare const selectTemplate: import("redux-actions").ActionFunction1<{
|
|
303
|
-
name: string;
|
|
304
|
-
}, import("redux-actions").Action<{
|
|
305
|
-
name: string;
|
|
306
|
-
}>>;
|
|
307
277
|
export declare const changeMetricGroup: import("redux-actions").ActionFunction1<{
|
|
308
278
|
id: string;
|
|
309
279
|
}, import("redux-actions").Action<{
|
|
@@ -68,14 +68,6 @@ export declare const SELECT_REPORT_METRIC = "select_result_metric";
|
|
|
68
68
|
export declare const LOAD_METRIC_SET_PAIR_REQUEST = "load_metric_set_pair_request";
|
|
69
69
|
export declare const LOAD_METRIC_SET_PAIR_SUCCESS = "load_metric_set_pair_success";
|
|
70
70
|
export declare const LOAD_METRIC_SET_PAIR_FAILURE = "load_metric_set_pair_failure";
|
|
71
|
-
export declare const ADD_TEMPLATE = "add_template";
|
|
72
|
-
export declare const EDIT_TEMPLATE_BEGIN = "edit_template_begin";
|
|
73
|
-
export declare const EDIT_TEMPLATE_CANCEL = "edit_template_cancel";
|
|
74
|
-
export declare const EDIT_TEMPLATE_CONFIRM = "edit_template_confirm";
|
|
75
|
-
export declare const EDIT_TEMPLATE_NAME = "edit_template_name";
|
|
76
|
-
export declare const EDIT_TEMPLATE_VALUE = "edit_template_value";
|
|
77
|
-
export declare const DELETE_TEMPLATE = "delete_template";
|
|
78
|
-
export declare const SELECT_TEMPLATE = "select_template";
|
|
79
71
|
export declare const EDIT_INLINE_TEMPLATE = "edit_inline_template";
|
|
80
72
|
export declare const LOAD_METRICS_SERVICE_METADATA_REQUEST = "load_metrics_service_metadata_request";
|
|
81
73
|
export declare const LOAD_METRICS_SERVICE_METADATA_SUCCESS = "load_metrics_service_metadata_success";
|
package/dist/kayenta/canary.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { UIRouter } from '@uirouter/core';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import type { Store } from '
|
|
3
|
+
import type { Store } from 'redux';
|
|
4
4
|
import type { Application } from '@spinnaker/core';
|
|
5
5
|
import type { ICanaryState } from './reducers';
|
|
6
6
|
export interface ICanaryProps {
|
|
@@ -13,5 +13,5 @@ export default class Canary extends React.Component<ICanaryProps> {
|
|
|
13
13
|
constructor(props: ICanaryProps);
|
|
14
14
|
componentWillReceiveProps(nextProps: ICanaryProps): void;
|
|
15
15
|
private initializeAppState;
|
|
16
|
-
render(): JSX.Element;
|
|
16
|
+
render(): React.JSX.Element;
|
|
17
17
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export declare const templateExample: (serviceType: string) => string;
|
|
@@ -18,5 +18,5 @@ export declare class CanaryScore extends React.Component<ICanaryScoreProps, ICan
|
|
|
18
18
|
constructor(props: ICanaryScoreProps);
|
|
19
19
|
private getLabelState;
|
|
20
20
|
componentWillReceiveProps(props: ICanaryScoreProps): void;
|
|
21
|
-
render(): JSX.Element;
|
|
21
|
+
render(): React.JSX.Element;
|
|
22
22
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import './canaryScores.less';
|
|
3
3
|
export interface IScoreConfig {
|
|
4
4
|
successfulScore: string;
|
|
@@ -18,4 +18,4 @@ export interface ICanaryScoresState {
|
|
|
18
18
|
successfulTouched: boolean;
|
|
19
19
|
unhealthyTouched: boolean;
|
|
20
20
|
}
|
|
21
|
-
export declare function CanaryScores(props: ICanaryScoresProps): JSX.Element;
|
|
21
|
+
export declare function CanaryScores(props: ICanaryScoresProps): React.JSX.Element;
|
|
@@ -31,7 +31,7 @@ export interface ICanaryMetricConfig<T extends ICanaryMetricSetQueryConfig = any
|
|
|
31
31
|
export interface ICanaryMetricSetQueryConfig {
|
|
32
32
|
type: string;
|
|
33
33
|
serviceType: string;
|
|
34
|
-
|
|
34
|
+
template?: string;
|
|
35
35
|
customFilterTemplate?: string;
|
|
36
36
|
}
|
|
37
37
|
export interface IGroupWeights {
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Which form is shown for configuring a metric's query: the raw, always-available `Template`
|
|
3
|
+
* editor (bound to `query.template`), or a provider's structured `Guided` form (soft-deprecated,
|
|
4
|
+
* kept fully functional for existing configs).
|
|
5
|
+
*/
|
|
6
|
+
export declare enum MetricConfigMode {
|
|
7
|
+
GUIDED = "GUIDED",
|
|
8
|
+
TEMPLATE = "TEMPLATE"
|
|
9
|
+
}
|
|
@@ -11,5 +11,6 @@ export * from './ICanaryExecutionStatusResult';
|
|
|
11
11
|
export * from './IMetricsServiceMetadata';
|
|
12
12
|
export * from './ICanaryConfigUpdateResponse';
|
|
13
13
|
export * from './IKayentaStageConfig';
|
|
14
|
+
export * from './IMetricConfigMode';
|
|
14
15
|
export * from './MetricClassificationLabel';
|
|
15
16
|
export * from './ScoreClassificationLabel';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { ICanaryMetricConfig } from '../domain/ICanaryConfig';
|
|
2
3
|
interface IChangeMetricGroupModalOwnProps {
|
|
3
4
|
metric: ICanaryMetricConfig;
|
|
@@ -11,7 +12,6 @@ interface IChangeMetricGroupModalDispatchProps {
|
|
|
11
12
|
clear: () => void;
|
|
12
13
|
confirm: () => void;
|
|
13
14
|
}
|
|
14
|
-
declare
|
|
15
|
-
|
|
16
|
-
};
|
|
15
|
+
declare function ChangeMetricGroupModal({ groups, toGroup, confirm, clear, select, }: IChangeMetricGroupModalStateProps & IChangeMetricGroupModalDispatchProps): React.JSX.Element;
|
|
16
|
+
declare const _default: import("react-redux").ConnectedComponent<typeof ChangeMetricGroupModal, import("react-redux").Omit<IChangeMetricGroupModalStateProps & IChangeMetricGroupModalDispatchProps, "select" | "groups" | "toGroup" | "confirm" | "clear"> & IChangeMetricGroupModalOwnProps>;
|
|
17
17
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export default function ConfigDetail(): JSX.Element;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export default function ConfigDetail(): React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export default function ConfigDetailActionButtons(): JSX.Element;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export default function ConfigDetailActionButtons(): React.JSX.Element;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { ICanaryConfig } from '../domain';
|
|
2
3
|
interface IConfigDetailStateProps {
|
|
3
4
|
selectedConfig: ICanaryConfig;
|
|
4
5
|
editingDisabled: boolean;
|
|
5
6
|
disableConfigEdit: boolean;
|
|
6
7
|
}
|
|
7
|
-
declare
|
|
8
|
-
|
|
9
|
-
};
|
|
8
|
+
declare function ConfigDetailHeader({ selectedConfig, editingDisabled, disableConfigEdit }: IConfigDetailStateProps): React.JSX.Element;
|
|
9
|
+
declare const _default: import("react-redux").ConnectedComponent<typeof ConfigDetailHeader, import("react-redux").Omit<IConfigDetailStateProps, "selectedConfig" | "disableConfigEdit" | "editingDisabled">>;
|
|
10
10
|
export default _default;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { AsyncRequestState } from '../reducers/asyncRequest';
|
|
2
3
|
interface IConfigLoadStatesProps {
|
|
3
4
|
configLoadState: AsyncRequestState;
|
|
4
5
|
}
|
|
5
|
-
declare
|
|
6
|
-
|
|
7
|
-
};
|
|
6
|
+
declare function ConfigDetailLoadStates({ configLoadState }: IConfigLoadStatesProps): React.JSX.Element;
|
|
7
|
+
declare const _default: import("react-redux").ConnectedComponent<typeof ConfigDetailLoadStates, import("react-redux").Omit<IConfigLoadStatesProps, "configLoadState">>;
|
|
8
8
|
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { Observable } from 'rxjs';
|
|
2
3
|
interface IConfigLoaderStateParamsProps {
|
|
3
4
|
configNameStream: Observable<IConfigDetailStateParams>;
|
|
@@ -10,7 +11,11 @@ interface IConfigDetailStateParams {
|
|
|
10
11
|
copy: boolean;
|
|
11
12
|
new: boolean;
|
|
12
13
|
}
|
|
13
|
-
declare
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
declare class ConfigDetailLoader extends React.Component<IConfigLoaderDispatchProps & IConfigLoaderStateParamsProps> {
|
|
15
|
+
private subscription;
|
|
16
|
+
constructor(props: IConfigLoaderDispatchProps & IConfigLoaderStateParamsProps);
|
|
17
|
+
componentWillUnmount(): void;
|
|
18
|
+
render(): React.JSX.Element;
|
|
19
|
+
}
|
|
20
|
+
declare const _default: import("react-redux").ConnectedComponent<typeof ConfigDetailLoader, import("react-redux").Omit<React.ClassAttributes<ConfigDetailLoader> & IConfigLoaderDispatchProps & IConfigLoaderStateParamsProps, "loadConfig">>;
|
|
16
21
|
export default _default;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import '
|
|
2
|
-
import '
|
|
1
|
+
import 'ace-builds/src-noconflict/ext-searchbox';
|
|
2
|
+
import 'ace-builds/src-noconflict/mode-json';
|
|
3
|
+
import * as React from 'react';
|
|
3
4
|
import type { IJsonDiff } from '@spinnaker/core';
|
|
4
5
|
import './configJson.less';
|
|
5
6
|
interface IConfigJsonDispatchProps {
|
|
@@ -21,7 +22,6 @@ export declare enum ConfigJsonModalTabState {
|
|
|
21
22
|
Edit = 0,
|
|
22
23
|
Diff = 1
|
|
23
24
|
}
|
|
24
|
-
declare
|
|
25
|
-
|
|
26
|
-
};
|
|
25
|
+
declare function ConfigJsonModal({ show, disabled, configJson, id, deserializationError, closeModal, setConfigJson, updateConfig, setTabState, tabState, diff, }: IConfigJsonDispatchProps & IConfigJsonStateProps): React.JSX.Element;
|
|
26
|
+
declare const _default: import("react-redux").ConnectedComponent<typeof ConfigJsonModal, import("react-redux").Omit<IConfigJsonDispatchProps & IConfigJsonStateProps, "id" | "disabled" | "show" | "configJson" | "deserializationError" | "closeModal" | "setConfigJson" | "updateConfig" | "setTabState" | "tabState" | "diff">>;
|
|
27
27
|
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { ICanaryConfigSummary } from '../domain/ICanaryConfigSummary';
|
|
2
3
|
import './configList.less';
|
|
3
4
|
interface IConfigListStateProps {
|
|
@@ -5,7 +6,6 @@ interface IConfigListStateProps {
|
|
|
5
6
|
selectedConfigId: string;
|
|
6
7
|
application: string;
|
|
7
8
|
}
|
|
8
|
-
declare
|
|
9
|
-
|
|
10
|
-
};
|
|
9
|
+
declare function ConfigList({ configs, selectedConfigId, application }: IConfigListStateProps): React.JSX.Element;
|
|
10
|
+
declare const _default: import("react-redux").ConnectedComponent<typeof ConfigList, import("react-redux").Omit<IConfigListStateProps, "application" | "configs" | "selectedConfigId">>;
|
|
11
11
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
interface ICopyConfigButtonStateProps {
|
|
2
3
|
disabled: boolean;
|
|
3
4
|
}
|
|
4
|
-
declare
|
|
5
|
-
|
|
6
|
-
};
|
|
5
|
+
declare function CopyConfigButton({ disabled }: ICopyConfigButtonStateProps): React.JSX.Element;
|
|
6
|
+
declare const _default: import("react-redux").ConnectedComponent<typeof CopyConfigButton, import("react-redux").Omit<ICopyConfigButtonStateProps, "disabled">>;
|
|
7
7
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
interface ICreateConfigButtonStateProps {
|
|
2
3
|
disabled: boolean;
|
|
3
4
|
}
|
|
4
|
-
declare
|
|
5
|
-
|
|
6
|
-
};
|
|
5
|
+
declare function CreateConfigButton({ disabled }: ICreateConfigButtonStateProps): React.JSX.Element;
|
|
6
|
+
declare const _default: import("react-redux").ConnectedComponent<typeof CreateConfigButton, import("react-redux").Omit<ICreateConfigButtonStateProps, "disabled">>;
|
|
7
7
|
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import { AsyncRequestState } from '../reducers/asyncRequest';
|
|
2
3
|
interface IDeleteModalDispatchProps {
|
|
3
4
|
closeDeleteConfigModal: () => void;
|
|
@@ -9,7 +10,6 @@ interface IDeleteModalStateProps {
|
|
|
9
10
|
deleteConfigState: AsyncRequestState;
|
|
10
11
|
deleteConfigErrorMessage: string;
|
|
11
12
|
}
|
|
12
|
-
declare
|
|
13
|
-
|
|
14
|
-
};
|
|
13
|
+
declare function DeleteConfigModal({ show, selectedConfigName, deleteConfigState, deleteConfigErrorMessage, closeDeleteConfigModal, deleteConfig, }: IDeleteModalDispatchProps & IDeleteModalStateProps): React.JSX.Element;
|
|
14
|
+
declare const _default: import("react-redux").ConnectedComponent<typeof DeleteConfigModal, import("react-redux").Omit<IDeleteModalDispatchProps & IDeleteModalStateProps, "show" | "selectedConfigName" | "deleteConfigState" | "deleteConfigErrorMessage" | "closeDeleteConfigModal" | "deleteConfig">>;
|
|
15
15
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export default function CanaryConfigEdit(): JSX.Element;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export default function CanaryConfigEdit(): React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import type { ICanaryMetricEffectSizeConfig } from '../domain';
|
|
3
3
|
interface IEditMetricEffectSizesProps {
|
|
4
4
|
metricId: string;
|
|
@@ -9,8 +9,6 @@ interface IEditMetricEffectSizesProps {
|
|
|
9
9
|
interface IEditMetricEffectSizesDispatchProps {
|
|
10
10
|
updateEffectSize: (id: string, value: ICanaryMetricEffectSizeConfig) => void;
|
|
11
11
|
}
|
|
12
|
-
export declare function EditMetricEffectSizes({ effectSizes, updateEffectSize, direction, metricId, disabled, }: IEditMetricEffectSizesProps & IEditMetricEffectSizesDispatchProps): JSX.Element;
|
|
13
|
-
declare const _default: import("react-redux").
|
|
14
|
-
WrappedComponent: import("react-redux").Component<IEditMetricEffectSizesProps & IEditMetricEffectSizesDispatchProps>;
|
|
15
|
-
};
|
|
12
|
+
export declare function EditMetricEffectSizes({ effectSizes, updateEffectSize, direction, metricId, disabled, }: IEditMetricEffectSizesProps & IEditMetricEffectSizesDispatchProps): React.JSX.Element;
|
|
13
|
+
declare const _default: import("react-redux").ConnectedComponent<typeof EditMetricEffectSizes, import("react-redux").Omit<IEditMetricEffectSizesProps & IEditMetricEffectSizesDispatchProps, "disabled" | "direction" | "metricId" | "effectSizes" | "updateEffectSize">>;
|
|
16
14
|
export default _default;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { ICanaryMetricConfig } from '../domain';
|
|
2
3
|
import type { ICanaryMetricValidationErrors } from './editMetricValidation';
|
|
3
4
|
import './editMetricModal.less';
|
|
4
|
-
interface IEditMetricModalDispatchProps {
|
|
5
|
+
export interface IEditMetricModalDispatchProps {
|
|
5
6
|
rename: (event: any) => void;
|
|
6
7
|
changeGroup: (event: any) => void;
|
|
7
8
|
updateDirection: (event: any) => void;
|
|
@@ -12,15 +13,12 @@ interface IEditMetricModalDispatchProps {
|
|
|
12
13
|
confirm: () => void;
|
|
13
14
|
cancel: () => void;
|
|
14
15
|
}
|
|
15
|
-
interface IEditMetricModalStateProps {
|
|
16
|
+
export interface IEditMetricModalStateProps {
|
|
16
17
|
metric: ICanaryMetricConfig;
|
|
17
18
|
groups: string[];
|
|
18
|
-
isTemplateValid: boolean;
|
|
19
|
-
useInlineTemplateEditor: boolean;
|
|
20
19
|
disableEdit: boolean;
|
|
21
20
|
validationErrors: ICanaryMetricValidationErrors;
|
|
22
21
|
}
|
|
23
|
-
declare
|
|
24
|
-
|
|
25
|
-
};
|
|
22
|
+
declare function EditMetricModal({ metric, rename, changeGroup, groups, confirm, cancel, updateDirection, updateNanStrategy, updateOutlierStrategy, updateCriticality, updateDataRequired, disableEdit, validationErrors, }: IEditMetricModalDispatchProps & IEditMetricModalStateProps): React.JSX.Element;
|
|
23
|
+
declare const _default: import("react-redux").ConnectedComponent<typeof EditMetricModal, import("react-redux").Omit<IEditMetricModalDispatchProps & IEditMetricModalStateProps, "groups" | "metric" | "validationErrors" | "rename" | "changeGroup" | "confirm" | "cancel" | "updateDirection" | "updateNanStrategy" | "updateOutlierStrategy" | "updateCriticality" | "updateDataRequired" | "disableEdit">>;
|
|
26
24
|
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import '../metricStore';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
component: import("react-redux").ConnectedComponent<({ metric, rename, changeGroup, groups, confirm, cancel, updateDirection, updateNanStrategy, updateOutlierStrategy, updateCriticality, updateDataRequired, disableEdit, validationErrors, }: import("./editMetricModal").IEditMetricModalDispatchProps & import("./editMetricModal").IEditMetricModalStateProps) => React.JSX.Element, import("react-redux").Omit<import("./editMetricModal").IEditMetricModalDispatchProps & import("./editMetricModal").IEditMetricModalStateProps, "groups" | "metric" | "validationErrors" | "rename" | "changeGroup" | "confirm" | "cancel" | "updateDirection" | "updateNanStrategy" | "updateOutlierStrategy" | "updateCriticality" | "updateDataRequired" | "disableEdit">>;
|
|
5
|
+
title: string;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const PrometheusNewMetricDefaultsToTemplate: () => React.JSX.Element;
|
|
9
|
+
export declare const PrometheusExistingGuidedConfig: () => React.JSX.Element;
|
|
10
|
+
export declare const StackdriverTemplateExample: () => React.JSX.Element;
|
|
11
|
+
export declare const InfluxDbTemplateOnlyProvider: () => React.JSX.Element;
|
|
12
|
+
export declare const WavefrontNewMetric: () => React.JSX.Element;
|
|
@@ -7,4 +7,9 @@ export interface ICanaryMetricValidationErrors {
|
|
|
7
7
|
}
|
|
8
8
|
export type MetricValidatorFunction = (errors: ICanaryMetricValidationErrors, editingMetric: ICanaryMetricConfig, metricList?: ICanaryMetricConfig[]) => ICanaryMetricValidationErrors;
|
|
9
9
|
export declare function validateMetricName(errors: ICanaryMetricValidationErrors, editingMetric: ICanaryMetricConfig, metricList: ICanaryMetricConfig[]): ICanaryMetricValidationErrors;
|
|
10
|
+
/**
|
|
11
|
+
* A metric must actually query something: whether it was authored as a template or with the
|
|
12
|
+
* provider's guided fields, its query has to carry more than just the provider type markers.
|
|
13
|
+
*/
|
|
14
|
+
export declare function validateMetricQuery(errors: ICanaryMetricValidationErrors, editingMetric: ICanaryMetricConfig): ICanaryMetricValidationErrors;
|
|
10
15
|
export declare function validateMetric(editingMetric: ICanaryMetricConfig, metricList: ICanaryMetricConfig[]): ICanaryMetricValidationErrors;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import './footer.less';
|
|
3
3
|
export interface IFooterProps {
|
|
4
4
|
children?: JSX.Element;
|
|
5
5
|
}
|
|
6
|
-
export default function Footer({ children }: IFooterProps): JSX.Element;
|
|
6
|
+
export default function Footer({ children }: IFooterProps): React.JSX.Element;
|
|
@@ -14,7 +14,6 @@ export interface IGroupNameOwnProps {
|
|
|
14
14
|
onClick: (event: React.SyntheticEvent<HTMLAnchorElement>) => void;
|
|
15
15
|
defaultGroup: string;
|
|
16
16
|
}
|
|
17
|
-
declare
|
|
18
|
-
|
|
19
|
-
};
|
|
17
|
+
declare function GroupName({ editing, edit, group, onClick, handleUpdate, handleSubmit, defaultGroup, }: IGroupNameStateProps & IGroupNameDispatchProps & IGroupNameOwnProps): React.JSX.Element;
|
|
18
|
+
declare const _default: import("react-redux").ConnectedComponent<typeof GroupName, import("react-redux").Omit<IGroupNameStateProps & IGroupNameDispatchProps & IGroupNameOwnProps, "group" | "onClick" | "editing" | "edit" | "handleUpdate" | "handleSubmit" | "defaultGroup"> & IGroupNameOwnProps>;
|
|
20
19
|
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
export declare const ALL = "all";
|
|
2
3
|
interface IGroupTabsStateProps {
|
|
3
4
|
groupList: string[];
|
|
@@ -10,7 +11,6 @@ interface IGroupTabsDispatchProps {
|
|
|
10
11
|
addGroup: (event: any) => void;
|
|
11
12
|
editGroupBegin: (event: any) => void;
|
|
12
13
|
}
|
|
13
|
-
declare
|
|
14
|
-
|
|
15
|
-
};
|
|
14
|
+
declare function GroupTabs({ groupList, selectedGroup, selectGroup, addGroup, editing, editGroupBegin, disableConfigEdit, }: IGroupTabsStateProps & IGroupTabsDispatchProps): React.JSX.Element;
|
|
15
|
+
declare const _default: import("react-redux").ConnectedComponent<typeof GroupTabs, import("react-redux").Omit<IGroupTabsStateProps & IGroupTabsDispatchProps, "disableConfigEdit" | "editing" | "groupList" | "selectedGroup" | "selectGroup" | "addGroup" | "editGroupBegin">>;
|
|
16
16
|
export default _default;
|
|
@@ -9,7 +9,6 @@ interface IGroupWeightStateProps {
|
|
|
9
9
|
interface IGroupWeightDispatchProps {
|
|
10
10
|
handleInputChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
11
11
|
}
|
|
12
|
-
declare
|
|
13
|
-
|
|
14
|
-
};
|
|
12
|
+
declare function GroupWeight({ group, config, handleInputChange, }: IGroupWeightOwnProps & IGroupWeightStateProps & IGroupWeightDispatchProps): React.JSX.Element;
|
|
13
|
+
declare const _default: import("react-redux").ConnectedComponent<typeof GroupWeight, import("react-redux").Omit<IGroupWeightOwnProps & IGroupWeightStateProps & IGroupWeightDispatchProps, "group" | "config" | "handleInputChange"> & IGroupWeightOwnProps>;
|
|
15
14
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
interface IGroupWeightsStateProps {
|
|
2
3
|
groups: string[];
|
|
3
4
|
}
|
|
4
|
-
declare
|
|
5
|
-
|
|
6
|
-
};
|
|
5
|
+
declare function GroupWeights({ groups }: IGroupWeightsStateProps): React.JSX.Element;
|
|
6
|
+
declare const _default: import("react-redux").ConnectedComponent<typeof GroupWeights, import("react-redux").Omit<IGroupWeightsStateProps, "groups">>;
|
|
7
7
|
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { Option } from 'react-select';
|
|
2
3
|
interface IJudgeSelectStateProps {
|
|
3
4
|
judgeOptions: Option[];
|
|
@@ -12,7 +13,6 @@ export declare enum JudgeSelectRenderState {
|
|
|
12
13
|
Single = 1,
|
|
13
14
|
None = 2
|
|
14
15
|
}
|
|
15
|
-
declare
|
|
16
|
-
|
|
17
|
-
};
|
|
16
|
+
declare function JudgeSelect({ judgeOptions, selectedJudge, handleJudgeSelect, renderState, }: IJudgeSelectStateProps & IJudgeSelectDispatchProps): React.JSX.Element;
|
|
17
|
+
declare const _default: import("react-redux").ConnectedComponent<typeof JudgeSelect, import("react-redux").Omit<IJudgeSelectStateProps & IJudgeSelectDispatchProps, "judgeOptions" | "selectedJudge" | "handleJudgeSelect" | "renderState">>;
|
|
18
18
|
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { MetricConfigMode } from '../domain/IMetricConfigMode';
|
|
3
|
+
export interface IMetricConfigModeToggleProps {
|
|
4
|
+
mode: MetricConfigMode;
|
|
5
|
+
onChange: (mode: MetricConfigMode) => void;
|
|
6
|
+
}
|
|
7
|
+
export default function MetricConfigModeToggle({ mode, onChange }: IMetricConfigModeToggleProps): React.JSX.Element;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { ICanaryMetricConfig } from '../domain/ICanaryConfig';
|
|
2
3
|
interface IMetricConfigurerDelegatorStateProps {
|
|
3
4
|
editingMetric: ICanaryMetricConfig;
|
|
4
5
|
}
|
|
5
|
-
declare
|
|
6
|
-
|
|
7
|
-
};
|
|
6
|
+
declare function MetricConfigurerDelegator({ editingMetric }: IMetricConfigurerDelegatorStateProps): React.JSX.Element;
|
|
7
|
+
declare const _default: import("react-redux").ConnectedComponent<typeof MetricConfigurerDelegator, import("react-redux").Omit<IMetricConfigurerDelegatorStateProps, "editingMetric">>;
|
|
8
8
|
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { ICanaryMetricConfig } from '../domain';
|
|
2
3
|
import './metricList.less';
|
|
3
4
|
interface IMetricListStateProps {
|
|
@@ -16,7 +17,6 @@ interface IMetricListDispatchProps {
|
|
|
16
17
|
removeMetric: (event: any) => void;
|
|
17
18
|
openChangeMetricGroupModal: (event: any) => void;
|
|
18
19
|
}
|
|
19
|
-
declare
|
|
20
|
-
|
|
21
|
-
};
|
|
20
|
+
declare function MetricList({ metrics, groupList, selectedGroup, showGroups, addMetric, editMetric, copyMetric, removeMetric, changingGroupMetric, openChangeMetricGroupModal, metricStore, disableEdit, }: IMetricListStateProps & IMetricListDispatchProps): React.JSX.Element;
|
|
21
|
+
declare const _default: import("react-redux").ConnectedComponent<typeof MetricList, import("react-redux").Omit<IMetricListStateProps & IMetricListDispatchProps, "groupList" | "selectedGroup" | "metrics" | "disableEdit" | "showGroups" | "addMetric" | "editMetric" | "copyMetric" | "removeMetric" | "changingGroupMetric" | "openChangeMetricGroupModal" | "metricStore">>;
|
|
22
22
|
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { ITemplateProviderVariables } from './templateProviderVariables';
|
|
3
|
+
import './metricQueryTemplateEditor.less';
|
|
4
|
+
export interface IMetricQueryTemplateEditorOwnProps {
|
|
5
|
+
providerVariableHints?: ITemplateProviderVariables;
|
|
6
|
+
}
|
|
7
|
+
interface IMetricQueryTemplateEditorStateProps {
|
|
8
|
+
inlineTemplateValue: string;
|
|
9
|
+
transformValueForSave: (value: string) => string;
|
|
10
|
+
}
|
|
11
|
+
interface IMetricQueryTemplateEditorDispatchProps {
|
|
12
|
+
editInlineTemplate: (value: string) => void;
|
|
13
|
+
}
|
|
14
|
+
export type IMetricQueryTemplateEditorProps = IMetricQueryTemplateEditorOwnProps & IMetricQueryTemplateEditorStateProps & IMetricQueryTemplateEditorDispatchProps;
|
|
15
|
+
export declare function MetricQueryTemplateEditor({ providerVariableHints, inlineTemplateValue, transformValueForSave, editInlineTemplate, }: IMetricQueryTemplateEditorProps): React.JSX.Element;
|
|
16
|
+
declare const _default: import("react-redux").ConnectedComponent<typeof MetricQueryTemplateEditor, import("react-redux").Omit<IMetricQueryTemplateEditorOwnProps & IMetricQueryTemplateEditorStateProps & IMetricQueryTemplateEditorDispatchProps, "inlineTemplateValue" | "transformValueForSave" | "editInlineTemplate">>;
|
|
17
|
+
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
interface IMetricStoreSelectorStateProps {
|
|
2
3
|
stores: string[];
|
|
3
4
|
selectedStore: string;
|
|
@@ -5,7 +6,5 @@ interface IMetricStoreSelectorStateProps {
|
|
|
5
6
|
interface IMetricStoreSelectorDispatchProps {
|
|
6
7
|
select: (event: any) => void;
|
|
7
8
|
}
|
|
8
|
-
declare const _default: import("react-redux").
|
|
9
|
-
WrappedComponent: import("react-redux").Component<IMetricStoreSelectorDispatchProps & IMetricStoreSelectorStateProps>;
|
|
10
|
-
};
|
|
9
|
+
declare const _default: import("react-redux").ConnectedComponent<({ stores, selectedStore, select, }: IMetricStoreSelectorDispatchProps & IMetricStoreSelectorStateProps) => React.JSX.Element, import("react-redux").Omit<IMetricStoreSelectorDispatchProps & IMetricStoreSelectorStateProps, "select" | "selectedStore" | "stores">>;
|
|
11
10
|
export default _default;
|
|
@@ -7,7 +7,6 @@ interface INameAndDescriptionStateProps {
|
|
|
7
7
|
name: string;
|
|
8
8
|
description: string;
|
|
9
9
|
}
|
|
10
|
-
declare
|
|
11
|
-
|
|
12
|
-
};
|
|
10
|
+
declare function NameAndDescription({ name, description, changeName, changeDescription, }: INameAndDescriptionDispatchProps & INameAndDescriptionStateProps): React.JSX.Element;
|
|
11
|
+
declare const _default: import("react-redux").ConnectedComponent<typeof NameAndDescription, import("react-redux").Omit<INameAndDescriptionDispatchProps & INameAndDescriptionStateProps, "name" | "description" | "changeName" | "changeDescription">>;
|
|
13
12
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
interface IOpenConfigJsonModalDispatchProps {
|
|
2
3
|
openConfigJsonModal: () => void;
|
|
3
4
|
}
|
|
4
|
-
declare
|
|
5
|
-
|
|
6
|
-
};
|
|
5
|
+
declare function OpenConfigJsonModalButton({ openConfigJsonModal }: IOpenConfigJsonModalDispatchProps): React.JSX.Element;
|
|
6
|
+
declare const _default: import("react-redux").ConnectedComponent<typeof OpenConfigJsonModalButton, import("react-redux").Omit<IOpenConfigJsonModalDispatchProps, "openConfigJsonModal">>;
|
|
7
7
|
export default _default;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
interface IDeleteButtonStateProps {
|
|
2
3
|
disabled: boolean;
|
|
3
4
|
}
|
|
4
5
|
interface IDeleteButtonDispatchProps {
|
|
5
6
|
openDeleteConfigModal: () => void;
|
|
6
7
|
}
|
|
7
|
-
declare
|
|
8
|
-
|
|
9
|
-
};
|
|
8
|
+
declare function DeleteConfigButton({ openDeleteConfigModal, disabled }: IDeleteButtonDispatchProps & IDeleteButtonStateProps): React.JSX.Element;
|
|
9
|
+
declare const _default: import("react-redux").ConnectedComponent<typeof DeleteConfigButton, import("react-redux").Omit<IDeleteButtonDispatchProps & IDeleteButtonStateProps, "disabled" | "openDeleteConfigModal">>;
|
|
10
10
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
interface IOwnedByProps {
|
|
3
3
|
owningApplications: string[];
|
|
4
4
|
currentApplication: string;
|
|
5
5
|
}
|
|
6
|
-
export declare const OwnedBy: ({ owningApplications, currentApplication }: IOwnedByProps) => JSX.Element;
|
|
6
|
+
export declare const OwnedBy: ({ owningApplications, currentApplication }: IOwnedByProps) => React.JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export default function Save(): JSX.Element;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export default function Save(): React.JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import { AsyncRequestState } from '../reducers/asyncRequest';
|
|
2
3
|
interface ISaveButtonStateProps {
|
|
3
4
|
saveConfigState: AsyncRequestState;
|
|
@@ -7,7 +8,6 @@ interface ISaveButtonStateProps {
|
|
|
7
8
|
interface ISaveButtonDispatchProps {
|
|
8
9
|
saveConfig: () => void;
|
|
9
10
|
}
|
|
10
|
-
declare
|
|
11
|
-
|
|
12
|
-
};
|
|
11
|
+
declare function SaveConfigButton({ saveConfigState, inSyncWithServer, saveConfig, disable, }: ISaveButtonStateProps & ISaveButtonDispatchProps): React.JSX.Element;
|
|
12
|
+
declare const _default: import("react-redux").ConnectedComponent<typeof SaveConfigButton, import("react-redux").Omit<ISaveButtonStateProps & ISaveButtonDispatchProps, "saveConfigState" | "inSyncWithServer" | "saveConfig" | "disable">>;
|
|
13
13
|
export default _default;
|