mirror of
https://github.com/docmost/docmost.git
synced 2026-05-20 00:14:10 +08:00
Base WIP
This commit is contained in:
@@ -18,7 +18,8 @@ import {
|
||||
UpdateViewInput,
|
||||
DeleteViewInput,
|
||||
UpdatePropertyResult,
|
||||
ViewFilterConfig,
|
||||
FilterNode,
|
||||
SearchSpec,
|
||||
ViewSortConfig,
|
||||
} from "@/features/base/types/base.types";
|
||||
import { IPagination } from "@/lib/types";
|
||||
@@ -111,8 +112,9 @@ export async function listRows(
|
||||
viewId?: string;
|
||||
cursor?: string;
|
||||
limit?: number;
|
||||
filters?: ViewFilterConfig[];
|
||||
filter?: FilterNode;
|
||||
sorts?: ViewSortConfig[];
|
||||
search?: SearchSpec;
|
||||
},
|
||||
): Promise<IPagination<IBaseRow>> {
|
||||
const req = await api.post("/bases/rows/list", { baseId, ...params });
|
||||
|
||||
Reference in New Issue
Block a user