chore: change export name (#1027)
Reviewed-on: daoyoucloud/tachybase#1027 Reviewed-by: sealday <zhanglin@daoyoucloud.com> Co-authored-by: bai.zixv <bai.zixv@foxmail.com> Co-committed-by: bai.zixv <bai.zixv@foxmail.com>
This commit is contained in:
parent
928f2318a2
commit
d101d5fafb
@ -1,8 +1,8 @@
|
||||
import { Plugin } from '@tachybase/client';
|
||||
import PluginKitApprovalInstruction from './instruction';
|
||||
import PluginKitApprovalTrigger from './trigger';
|
||||
import { PluginKitApprovalTrigger } from './trigger';
|
||||
|
||||
export default class PluginKitApprovalConfiguration extends Plugin {
|
||||
export class PluginKitApprovalConfiguration extends Plugin {
|
||||
async afterAdd() {
|
||||
this.pm.add(PluginKitApprovalTrigger);
|
||||
this.pm.add(PluginKitApprovalInstruction);
|
||||
|
@ -4,7 +4,7 @@ import { ApprovalTrigger } from './node.ApprovalTrigger';
|
||||
import { LauncherActionConfigInitializer } from './launcher-interface/Iz.LauncherActionConfig';
|
||||
import { LauncherAddBlockButtonIntializer } from './launcher-interface/Iz.LauncherAddBlockButton';
|
||||
|
||||
export default class PluginKitApprovalTrigger extends Plugin {
|
||||
export class PluginKitApprovalTrigger extends Plugin {
|
||||
async afterAdd() {}
|
||||
async beforeLoad() {}
|
||||
async load() {
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Plugin } from '@tachybase/client';
|
||||
|
||||
import PluginKitApprovalConfiguration from './configuration';
|
||||
import PluginKitApprovalUsage from './usage';
|
||||
import { PluginKitApprovalConfiguration } from './configuration';
|
||||
import { PluginKitApprovalUsage } from './usage';
|
||||
|
||||
export default class PluginApproval extends Plugin {
|
||||
async afterAdd() {
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Plugin } from '@tachybase/client';
|
||||
import PluginKitApprovalCommon from '../approval-common/plugin';
|
||||
import { PluginKitApprovalCommon } from '../approval-common/plugin';
|
||||
import { tval } from '../../locale';
|
||||
import { ViewActionTodos } from './todos/VC.ViewActionTodos';
|
||||
import { ApprovalBlockComponent } from './VC.ApprovalBlock';
|
||||
@ -8,7 +8,7 @@ import { ViewActionLaunch } from './launch/VC.ViewActionLaunch';
|
||||
import { ApprovalBlockDecorator } from './Dt.ApprovalBlock';
|
||||
import { ApprovalBlockLaunch } from './launch/VC.ApprovalBlockLaunch';
|
||||
|
||||
export default class PluginKitApprovalBlock extends Plugin {
|
||||
export class PluginKitApprovalBlock extends Plugin {
|
||||
async afterAdd() {
|
||||
this.pm.add(PluginKitApprovalCommon);
|
||||
}
|
||||
|
@ -2,7 +2,7 @@ import { Plugin } from '@tachybase/client';
|
||||
import { ApprovalDataProvider } from './ApprovalData.provider';
|
||||
import { ApprovalProcess } from './ApprovalProcess.view';
|
||||
|
||||
export default class PluginKitApprovalCommon extends Plugin {
|
||||
export class PluginKitApprovalCommon extends Plugin {
|
||||
async afterAdd() {}
|
||||
async beforeLoad() {}
|
||||
async load() {
|
||||
|
@ -1,11 +1,11 @@
|
||||
import { Plugin } from '@tachybase/client';
|
||||
import { tval } from '../../locale';
|
||||
import PluginKitApprovalCommon from '../approval-common/plugin';
|
||||
import { PluginKitApprovalCommon } from '../approval-common/plugin';
|
||||
import { RecordApprovalsDecorator } from './RecordApprovals.decorator';
|
||||
import { RecordApprovalsInitializer } from './RecordApprovals.initializer';
|
||||
import { RecordApprovals } from './RecordApprovals.view';
|
||||
|
||||
export default class PluginKitApprovalRecordBlock extends Plugin {
|
||||
export class PluginKitApprovalRecordBlock extends Plugin {
|
||||
async afterAdd() {
|
||||
this.pm.add(PluginKitApprovalCommon);
|
||||
}
|
||||
|
@ -1,8 +1,8 @@
|
||||
import { Plugin } from '@tachybase/client';
|
||||
import PluginKitApprovalRecordBlock from './approval-record-block/plugin';
|
||||
import PluginKitApprovalBlock from './approval-block';
|
||||
import { PluginKitApprovalRecordBlock } from './approval-record-block/plugin';
|
||||
import { PluginKitApprovalBlock } from './approval-block';
|
||||
|
||||
export default class PluginKitApprovalUsage extends Plugin {
|
||||
export class PluginKitApprovalUsage extends Plugin {
|
||||
async afterAdd() {
|
||||
this.pm.add(PluginKitApprovalRecordBlock);
|
||||
this.pm.add(PluginKitApprovalBlock);
|
||||
|
Loading…
Reference in New Issue
Block a user