chore: initialize from frontend template 4dc033c

This commit is contained in:
DongHyeonka
2026-08-13 18:23:26 +09:00
commit 40107eec84
897 changed files with 234824 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
import type { Result } from "../application/result.ts";
export type CursorPage<Value> = Readonly<{
items: readonly Value[];
nextCursor: string | null;
hasMore: boolean;
snapshotToken: string | null;
}>;
export type CursorPaginationProfile = Readonly<{
profileId: string;
maxPages: number;
maxTotalItems: number;
maxEstimatedBytes: number;
maxCursorBytes: number;
allowSparsePage: boolean;
}>;
export type CursorPaginationRuntime<Value> = Readonly<{
loadAll(context: Readonly<{ signal?: AbortSignal }>): Promise<
Result<readonly Value[]>
>;
}>;