Skip to content

Commit

Permalink
feat: Add ControllerType = SCHEDULE (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
popomore authored Nov 16, 2023
1 parent 7186cf1 commit 2c22e7d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/controller-decorator/src/model/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export enum ControllerType {
SOFA_RPC = 'SOFA_RPC',
MGW_RPC = 'MGW_RPC',
MESSAGE = 'MESSAGE',
SCHEDULE = 'SCHEDULE',
}

export type HostType = string | string [];
Expand All @@ -20,6 +21,7 @@ export enum MethodType {
SOFA_RPC = 'SOFA_RPC',
MGW_RPC = 'MGW_RPC',
MESSAGE = 'MESSAGE',
SCHEDULE = 'SCHEDULE',
}

export type MethodTypeLike = ControllerType | string;
Expand Down

0 comments on commit 2c22e7d

Please sign in to comment.