Skip to content

Commit

Permalink
improve(codemod): Add BackgroundTaskManagerConstants, BackgroundTaskM…
Browse files Browse the repository at this point in the history
…anagerRef, ITaskMgrPreset, ITaskMgrQueue and TaskMgrID for @alipay/ob-ui => @oceanbase/ui
  • Loading branch information
dengfuping committed Oct 19, 2023
1 parent 16855d8 commit 02400c9
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from 'react';
import { Alert, Button, BasicLayout, Login, PageContainer } from '@alipay/ob-ui';
import { Alert, Button, BackgroundTaskManager, BackgroundTaskManagerConstants, BasicLayout, Login, PageContainer } from '@alipay/ob-ui';
import type { BackgroundTaskManagerRef, ITaskMgrPreset, ITaskMgrQueue, TaskMgrID } from '@alipay/ob-ui';
import type { BasicLayoutProps } from '@alipay/ob-ui/es/BasicLayout';
import type { LoginProps } from '@alipay/ob-ui/es/Login';
import type { PageContainerProps } from '@alipay/ob-ui/es/PageContainer';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
import React from 'react';
import { Alert, Button } from '@oceanbase/design';
import { BasicLayout, Login, PageContainer } from '@oceanbase/ui';

import {
BackgroundTaskManager,
BackgroundTaskManagerConstants,
BasicLayout,
Login,
PageContainer,
} from '@oceanbase/ui';

import type { BackgroundTaskManagerRef, ITaskMgrPreset, ITaskMgrQueue, TaskMgrID } from '@oceanbase/ui';
import type { BasicLayoutProps } from '@oceanbase/ui/es/BasicLayout';
import type { LoginProps } from '@oceanbase/ui/es/Login';
import type { PageContainerProps } from '@oceanbase/ui/es/PageContainer';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ module.exports = (file, api, options) => {
'PageContainer',
'Action',
'BackgroundTaskManager',
'BackgroundTaskManagerConstants',
'BasicLayout',
'BatchOperationBar',
'Boundary',
Expand All @@ -27,6 +28,10 @@ module.exports = (file, api, options) => {
'PageContainerProps',
'ActionProps',
'BackgroundTaskManagerProps',
'BackgroundTaskManagerRef',
'ITaskMgrPreset',
'ITaskMgrQueue',
'TaskMgrID',
'BasicLayoutProps',
'BatchOperationBarProps',
'BoundaryProps',
Expand Down

0 comments on commit 02400c9

Please sign in to comment.