diff --git a/package.json b/package.json index 6b081be..a03b3dc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mobx-lark", - "version": "1.1.0", + "version": "1.1.1", "license": "LGPL-3.0", "author": "shiy2008@gmail.com", "description": "Unofficial TypeScript SDK for FeiShu/Lark API, which is based on MobX-RESTful.", diff --git a/src/module/Task/index.ts b/src/module/Task/index.ts index a81db0b..39375d4 100644 --- a/src/module/Task/index.ts +++ b/src/module/Task/index.ts @@ -19,6 +19,8 @@ import { TaskSummary } from './type'; +export * from './type'; + export interface BaseTaskFilter { user_id_type?: UserIdType; } @@ -57,7 +59,7 @@ export abstract class TaskModel extends Stream(ListModel) { this.client, `task/v2/tasklists/${resource_id}/tasks`, total => (this.totalCount = total), - rest + { user_id_type, ...rest } ); for await (const { guid } of stream) yield await this.getOne(guid, user_id_type);