From 1379d382635c6bc575ce4acf3d3a7b5168487a3d Mon Sep 17 00:00:00 2001 From: akitaSummer Date: Mon, 9 Dec 2024 15:16:18 +0800 Subject: [PATCH] feat: add mgw stream types (#259) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ##### Checklist - [ ] `npm test` passes - [ ] tests and/or benchmarks are included - [ ] documentation is changed or added - [ ] commit message follows commit guidelines ##### Affected core subsystem(s) ##### Description of change ## Summary by CodeRabbit - **New Features** - Introduced a new enum value to enhance the categorization of controller and method 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', }