- spreadsheet_types.ts · spreadsheet_view_types.ts — 문서 · 칸 · 서식 · 수식 나무 · 값 · 명령 · 계산 엔진 · 화면 문맥 계약 - 머리 주석에 파일 · 주인(A~F) · 예산 줄 수 · 크기 예산(gzip 54 KB) · 규칙(외부 라이브러리 0 · M02 만 늦게 불러옴) - A · B 엔진 · C 격자 · D 진입 · E 도구 공개 함수 머리(빈 몸) - spreadsheet_sample.json — basis/<열 id>.json 한 벌 견본(병합 · 서식 · 다른 시트 참조 · 숨김 · 계산값) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0168FQuoV7vDh5nhnSowW5cp
17 lines
636 B
TypeScript
17 lines
636 B
TypeScript
/* =============================================================================
|
|
* spreadsheet_history.ts (주인 A)
|
|
* 되돌리기 · 다시 — 명령과 되돌림 짝을 쌓음(메모리만 · 캐시에 안 넣음).
|
|
* 0 계약 머리 — 몸은 A 가 채움.
|
|
* ========================================================================== */
|
|
|
|
import type { History } from "./spreadsheet_types";
|
|
|
|
const todo = (): never => {
|
|
throw new Error("spreadsheet_history: 아직 없음(A)");
|
|
};
|
|
|
|
/** `limit` = 쌓을 수(넘으면 오래된 것부터 버림) */
|
|
export function createHistory(_limit?: number): History {
|
|
return todo();
|
|
}
|