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 { Plugin } from '@tachybase/client';
|
||||||
import PluginKitApprovalInstruction from './instruction';
|
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() {
|
async afterAdd() {
|
||||||
this.pm.add(PluginKitApprovalTrigger);
|
this.pm.add(PluginKitApprovalTrigger);
|
||||||
this.pm.add(PluginKitApprovalInstruction);
|
this.pm.add(PluginKitApprovalInstruction);
|
||||||
|
@ -4,7 +4,7 @@ import { ApprovalTrigger } from './node.ApprovalTrigger';
|
|||||||
import { LauncherActionConfigInitializer } from './launcher-interface/Iz.LauncherActionConfig';
|
import { LauncherActionConfigInitializer } from './launcher-interface/Iz.LauncherActionConfig';
|
||||||
import { LauncherAddBlockButtonIntializer } from './launcher-interface/Iz.LauncherAddBlockButton';
|
import { LauncherAddBlockButtonIntializer } from './launcher-interface/Iz.LauncherAddBlockButton';
|
||||||
|
|
||||||
export default class PluginKitApprovalTrigger extends Plugin {
|
export class PluginKitApprovalTrigger extends Plugin {
|
||||||
async afterAdd() {}
|
async afterAdd() {}
|
||||||
async beforeLoad() {}
|
async beforeLoad() {}
|
||||||
async load() {
|
async load() {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import { Plugin } from '@tachybase/client';
|
import { Plugin } from '@tachybase/client';
|
||||||
|
|
||||||
import PluginKitApprovalConfiguration from './configuration';
|
import { PluginKitApprovalConfiguration } from './configuration';
|
||||||
import PluginKitApprovalUsage from './usage';
|
import { PluginKitApprovalUsage } from './usage';
|
||||||
|
|
||||||
export default class PluginApproval extends Plugin {
|
export default class PluginApproval extends Plugin {
|
||||||
async afterAdd() {
|
async afterAdd() {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { Plugin } from '@tachybase/client';
|
import { Plugin } from '@tachybase/client';
|
||||||
import PluginKitApprovalCommon from '../approval-common/plugin';
|
import { PluginKitApprovalCommon } from '../approval-common/plugin';
|
||||||
import { tval } from '../../locale';
|
import { tval } from '../../locale';
|
||||||
import { ViewActionTodos } from './todos/VC.ViewActionTodos';
|
import { ViewActionTodos } from './todos/VC.ViewActionTodos';
|
||||||
import { ApprovalBlockComponent } from './VC.ApprovalBlock';
|
import { ApprovalBlockComponent } from './VC.ApprovalBlock';
|
||||||
@ -8,7 +8,7 @@ import { ViewActionLaunch } from './launch/VC.ViewActionLaunch';
|
|||||||
import { ApprovalBlockDecorator } from './Dt.ApprovalBlock';
|
import { ApprovalBlockDecorator } from './Dt.ApprovalBlock';
|
||||||
import { ApprovalBlockLaunch } from './launch/VC.ApprovalBlockLaunch';
|
import { ApprovalBlockLaunch } from './launch/VC.ApprovalBlockLaunch';
|
||||||
|
|
||||||
export default class PluginKitApprovalBlock extends Plugin {
|
export class PluginKitApprovalBlock extends Plugin {
|
||||||
async afterAdd() {
|
async afterAdd() {
|
||||||
this.pm.add(PluginKitApprovalCommon);
|
this.pm.add(PluginKitApprovalCommon);
|
||||||
}
|
}
|
||||||
|
@ -2,7 +2,7 @@ import { Plugin } from '@tachybase/client';
|
|||||||
import { ApprovalDataProvider } from './ApprovalData.provider';
|
import { ApprovalDataProvider } from './ApprovalData.provider';
|
||||||
import { ApprovalProcess } from './ApprovalProcess.view';
|
import { ApprovalProcess } from './ApprovalProcess.view';
|
||||||
|
|
||||||
export default class PluginKitApprovalCommon extends Plugin {
|
export class PluginKitApprovalCommon extends Plugin {
|
||||||
async afterAdd() {}
|
async afterAdd() {}
|
||||||
async beforeLoad() {}
|
async beforeLoad() {}
|
||||||
async load() {
|
async load() {
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
import { Plugin } from '@tachybase/client';
|
import { Plugin } from '@tachybase/client';
|
||||||
import { tval } from '../../locale';
|
import { tval } from '../../locale';
|
||||||
import PluginKitApprovalCommon from '../approval-common/plugin';
|
import { PluginKitApprovalCommon } from '../approval-common/plugin';
|
||||||
import { RecordApprovalsDecorator } from './RecordApprovals.decorator';
|
import { RecordApprovalsDecorator } from './RecordApprovals.decorator';
|
||||||
import { RecordApprovalsInitializer } from './RecordApprovals.initializer';
|
import { RecordApprovalsInitializer } from './RecordApprovals.initializer';
|
||||||
import { RecordApprovals } from './RecordApprovals.view';
|
import { RecordApprovals } from './RecordApprovals.view';
|
||||||
|
|
||||||
export default class PluginKitApprovalRecordBlock extends Plugin {
|
export class PluginKitApprovalRecordBlock extends Plugin {
|
||||||
async afterAdd() {
|
async afterAdd() {
|
||||||
this.pm.add(PluginKitApprovalCommon);
|
this.pm.add(PluginKitApprovalCommon);
|
||||||
}
|
}
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
import { Plugin } from '@tachybase/client';
|
import { Plugin } from '@tachybase/client';
|
||||||
import PluginKitApprovalRecordBlock from './approval-record-block/plugin';
|
import { PluginKitApprovalRecordBlock } from './approval-record-block/plugin';
|
||||||
import PluginKitApprovalBlock from './approval-block';
|
import { PluginKitApprovalBlock } from './approval-block';
|
||||||
|
|
||||||
export default class PluginKitApprovalUsage extends Plugin {
|
export class PluginKitApprovalUsage extends Plugin {
|
||||||
async afterAdd() {
|
async afterAdd() {
|
||||||
this.pm.add(PluginKitApprovalRecordBlock);
|
this.pm.add(PluginKitApprovalRecordBlock);
|
||||||
this.pm.add(PluginKitApprovalBlock);
|
this.pm.add(PluginKitApprovalBlock);
|
||||||
|
Loading…
Reference in New Issue
Block a user