refactor: 프론트 템플릿 리펙토링

This commit is contained in:
donghyeon-ka
2026-09-18 15:16:58 +09:00
parent c10a709f2c
commit 5cc41467ae
80 changed files with 7227 additions and 4672 deletions
@@ -0,0 +1,23 @@
import type { Result } from "../../contracts/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[]>
>;
}>;