feat(mcp): подготовить сервер и доступ к приёмке

This commit is contained in:
Denozordec committed 2026-11-03 03:12:03 +07:00
commit bf3d50e1ff
3835 files changed
+537122

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
const STORAGE_PREFIX = "routerlists:release-modal:"
export function getReleaseModalStorageKey(tag: string): string {
return `${STORAGE_PREFIX}${tag}`
}
export function hasSeenReleaseModal(tag: string): boolean {
if (typeof window === "undefined") return true
return window.localStorage.getItem(getReleaseModalStorageKey(tag)) === "1"
}
export function markReleaseModalSeen(tag: string): void {
window.localStorage.setItem(getReleaseModalStorageKey(tag), "1")
}