refactor: 프론트엔드 리펙토링

This commit is contained in:
donghyeon-ka
2026-09-18 22:05:42 +09:00
parent 5cc41467ae
commit ec7f20e2ee
100 changed files with 6005 additions and 2867 deletions
@@ -21,9 +21,23 @@ export type IndexedDbSynchronizationState =
| "CONFIRMED";
export type IndexedDbConnectionStatus =
| Readonly<{ kind: "CLOSED"; reason: "NOT_OPENED" | "VERSION_CHANGE" | "FORCED" }>
| Readonly<{
kind: "CLOSED";
/**
* NOT_OPENED means the current open attempt has settled without a live
* connection. A blocked upgrade may therefore be observed as BLOCKED
* while it is waiting, then transition to CLOSED/NOT_OPENED when its
* blocked deadline fails closed.
*/
reason: "NOT_OPENED" | "VERSION_CHANGE" | "FORCED";
}>
| Readonly<{ kind: "OPENING"; targetVersion: number }>
| Readonly<{
/**
* A live open/upgrade attempt is currently waiting for another
* IndexedDB context. BLOCKED is transient and is not the settled state
* after the blocked deadline has expired.
*/
kind: "BLOCKED";
currentVersion: number;
targetVersion: number;