Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PMM-12545 Remove dbaas ui #700

Merged
merged 12 commits into from
Jan 31, 2024
Merged
  •  
  •  
  •  
91 changes: 91 additions & 0 deletions .betterer.results
Original file line number Diff line number Diff line change
Expand Up @@ -4944,6 +4944,97 @@ exports[`better eslint`] = {
[0, 0, 0, "Unexpected any. Specify a different type.", "4"],
[0, 0, 0, "Unexpected any. Specify a different type.", "5"]
],
"public/app/percona/add-instance/components/AddRemoteInstance/AddRemoteInstance.service.tsx:5381": [
[0, 0, 0, "Do not use any type assertions.", "0"],
[0, 0, 0, "Do not use any type assertions.", "1"],
[0, 0, 0, "Do not use any type assertions.", "2"],
[0, 0, 0, "Do not use any type assertions.", "3"],
[0, 0, 0, "Unexpected any. Specify a different type.", "4"],
[0, 0, 0, "Unexpected any. Specify a different type.", "5"],
[0, 0, 0, "Unexpected any. Specify a different type.", "6"],
[0, 0, 0, "Unexpected any. Specify a different type.", "7"]
],
"public/app/percona/backup/components/BackupInventory/RestoreBackupModal/RestoreBackupModal.service.ts:5381": [
[0, 0, 0, "Do not use any type assertions.", "0"]
],
"public/app/percona/check/components/AllChecksTab/ChangeCheckIntervalModal/ChangeCheckIntervalModal.constants.ts:5381": [
[0, 0, 0, "Do not use any type assertions.", "0"]
],
"public/app/percona/check/components/AllChecksTab/CheckActions/CheckActions.types.ts:5381": [
[0, 0, 0, "Unexpected any. Specify a different type.", "0"],
[0, 0, 0, "Unexpected any. Specify a different type.", "1"]
],
"public/app/percona/inventory/Tabs/Services/ClusterItem.tsx:5381": [
[0, 0, 0, "Do not use any type assertions.", "0"]
],
"public/app/percona/inventory/Tabs/Services/Clusters.tsx:5381": [
[0, 0, 0, "Do not use any type assertions.", "0"]
],
"public/app/percona/inventory/Tabs/Services/Clusters.utils.ts:5381": [
[0, 0, 0, "Do not use any type assertions.", "0"]
],
"public/app/percona/pmm-dump/PMMDump.tsx:5381": [
[0, 0, 0, "Do not use any type assertions.", "0"],
[0, 0, 0, "Do not use any type assertions.", "1"]
],
"public/app/percona/pmm-dump/SendToSupportModal.tsx:5381": [
[0, 0, 0, "Do not use any type assertions.", "0"]
],
"public/app/percona/settings/components/Advanced/Advanced.utils.ts:5381": [
[0, 0, 0, "Unexpected any. Specify a different type.", "0"],
[0, 0, 0, "Unexpected any. Specify a different type.", "1"]
],
"public/app/percona/settings/components/Communication/Email/Email.utils.ts:5381": [
[0, 0, 0, "Do not use any type assertions.", "0"],
[0, 0, 0, "Do not use any type assertions.", "1"]
],
"public/app/percona/shared/components/Elements/ExpandableCell/ExpandableCell.types.ts:5381": [
[0, 0, 0, "Unexpected any. Specify a different type.", "0"],
[0, 0, 0, "Unexpected any. Specify a different type.", "1"]
],
"public/app/percona/shared/components/Form/FieldAdapters/Field.tsx:5381": [
[0, 0, 0, "Do not use any type assertions.", "0"]
],
"public/app/percona/shared/components/Form/FieldAdapters/FieldAdapters.tsx:5381": [
[0, 0, 0, "Unexpected any. Specify a different type.", "0"]
],
"public/app/percona/shared/components/Form/FormElement/FormElement.tsx:5381": [
[0, 0, 0, "Unexpected any. Specify a different type.", "0"]
],
"public/app/percona/shared/components/Form/MultiCheckbox/MultiCheckboxField.types.ts:5381": [
[0, 0, 0, "Unexpected any. Specify a different type.", "0"]
],
"public/app/percona/shared/helpers/cron/cron.ts:5381": [
[0, 0, 0, "Do not use any type assertions.", "0"],
[0, 0, 0, "Unexpected any. Specify a different type.", "1"]
],
"public/app/percona/shared/helpers/promises.test.tsx:5381": [
[0, 0, 0, "Unexpected any. Specify a different type.", "0"]
],
"public/app/percona/shared/helpers/promises.ts:5381": [
[0, 0, 0, "Unexpected any. Specify a different type.", "0"],
[0, 0, 0, "Unexpected any. Specify a different type.", "1"],
[0, 0, 0, "Unexpected any. Specify a different type.", "2"]
],
"public/app/percona/shared/helpers/testUtils.tsx:5381": [
[0, 0, 0, "Do not use any type assertions.", "0"],
[0, 0, 0, "Do not use any type assertions.", "1"],
[0, 0, 0, "Unexpected any. Specify a different type.", "2"],
[0, 0, 0, "Unexpected any. Specify a different type.", "3"]
],
"public/app/percona/shared/helpers/validator.types.ts:5381": [
[0, 0, 0, "Unexpected any. Specify a different type.", "0"],
[0, 0, 0, "Unexpected any. Specify a different type.", "1"],
[0, 0, 0, "Unexpected any. Specify a different type.", "2"]
],
"public/app/percona/shared/helpers/validators.ts:5381": [
[0, 0, 0, "Unexpected any. Specify a different type.", "0"],
[0, 0, 0, "Unexpected any. Specify a different type.", "1"],
[0, 0, 0, "Unexpected any. Specify a different type.", "2"],
[0, 0, 0, "Unexpected any. Specify a different type.", "3"],
[0, 0, 0, "Unexpected any. Specify a different type.", "4"],
[0, 0, 0, "Unexpected any. Specify a different type.", "5"]
],
"public/app/plugins/datasource/alertmanager/DataSource.ts:5381": [
[0, 0, 0, "Unexpected any. Specify a different type.", "0"]
],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import { SelectableValue } from '@grafana/data';

import { AddDBClusterFormValues } from '../../../../../dbaas/components/DBCluster/EditDBClusterPage/EditDBClusterPage.types';
import { PeriodType } from '../../../../../shared/helpers/cron/types';
import { AddBackupFormProps } from '../../AddBackupPage.types';

export interface ScheduleSectionFieldsProps {
values: AddBackupFormProps | AddDBClusterFormValues;
values: AddBackupFormProps;
}

export enum ScheduleSectionFields {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import React, { FC } from 'react';

import { Tooltip, useStyles2 } from '@grafana/ui';
import { BackupStatus } from 'app/percona/backup/Backup.types';
import { Action, MultipleActions } from 'app/percona/dbaas/components/MultipleActions';
import { ExpandableRowButton } from 'app/percona/shared/components/Elements/ExpandableRowButton/ExpandableRowButton';
import { Action, MultipleActions } from 'app/percona/shared/components/Elements/MultipleActions';

import { DBIcon } from '../../DBIcon';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import React, { FC } from 'react';

import { Icon, Spinner, Switch, Tooltip, useStyles2 } from '@grafana/ui';
import { MultipleActions } from 'app/percona/dbaas/components/MultipleActions';
import { ExpandableRowButton } from 'app/percona/shared/components/Elements/ExpandableRowButton/ExpandableRowButton';
import { MultipleActions } from 'app/percona/shared/components/Elements/MultipleActions';

import { Messages } from './ScheduledBackupsActions.messages';
import { getStyles } from './ScheduledBackupsActions.styles';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import React, { FC } from 'react';

import { Tooltip, useStyles2 } from '@grafana/ui';
import { Action, MultipleActions } from 'app/percona/dbaas/components/MultipleActions';
import { ExpandableRowButton } from 'app/percona/shared/components/Elements/ExpandableRowButton/ExpandableRowButton';
import { Action, MultipleActions } from 'app/percona/shared/components/Elements/MultipleActions';

import { DBIcon } from '../../DBIcon';

Expand Down
1 change: 0 additions & 1 deletion public/app/percona/dbaas/DBaaS.constants.ts

This file was deleted.

130 changes: 0 additions & 130 deletions public/app/percona/dbaas/DBaaS.messages.tsx

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading
Loading