From 36eaf754b53aa7c0dc023dfabc4e2c2618ec7341 Mon Sep 17 00:00:00 2001 From: akitaSummer Date: Mon, 9 Dec 2024 14:51:38 +0800 Subject: [PATCH] feat: add mgw stream types --- core/types/controller-decorator/model/types.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/types/controller-decorator/model/types.ts b/core/types/controller-decorator/model/types.ts index a7abe61a..f27c9511 100644 --- a/core/types/controller-decorator/model/types.ts +++ b/core/types/controller-decorator/model/types.ts @@ -10,6 +10,7 @@ export enum ControllerType { SOFA_RPC = 'SOFA_RPC', SOFA_RPC_STREAM = 'SOFA_RPC_STREAM', MGW_RPC = 'MGW_RPC', + MGW_RPC_STREAM = 'MGW_RPC_STREAM', MESSAGE = 'MESSAGE', SCHEDULE = 'SCHEDULE', HEADERS = 'HEADERS', @@ -24,6 +25,7 @@ export enum MethodType { SOFA_RPC = 'SOFA_RPC', SOFA_RPC_STREAM = 'SOFA_RPC_STREAM', MGW_RPC = 'MGW_RPC', + MGW_RPC_STREAM = 'MGW_RPC_STREAM', MESSAGE = 'MESSAGE', SCHEDULE = 'SCHEDULE', }