update lại thư mục cấu trúc mới của server nodejs và python
This commit is contained in:
+21
@@ -0,0 +1,21 @@
|
||||
import type { NoteDetail, PinnedMessageDetail, PollDetail } from "../models/index.js";
|
||||
import { BoardType } from "../models/index.js";
|
||||
export type ListBoardOptions = {
|
||||
/**
|
||||
* Page number (default: 1)
|
||||
*/
|
||||
page?: number;
|
||||
/**
|
||||
* Number of items to retrieve (default: 20)
|
||||
*/
|
||||
count?: number;
|
||||
};
|
||||
export type BoardItem = {
|
||||
boardType: BoardType;
|
||||
data: PollDetail | NoteDetail | PinnedMessageDetail;
|
||||
};
|
||||
export type GetListBoardResponse = {
|
||||
items: BoardItem[];
|
||||
count: number;
|
||||
};
|
||||
export declare const getListBoardFactory: (ctx: import("../context.js").ContextBase, api: import("../apis.js").API) => (options: ListBoardOptions, groupId: string) => Promise<GetListBoardResponse>;
|
||||
Reference in New Issue
Block a user