Makelore 2.0 initial clean snapshot

This commit is contained in:
inman
2026-07-29 17:22:35 +08:00
commit b8ca3f8eea
694 changed files with 139782 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
export const WORKS_SQUARE_TOKEN_USAGE_STALE_EVENT = 'works-square-token-usage:stale';
export function dispatchWorksSquareTokenUsageStale(): void {
if (typeof window === 'undefined' || typeof window.dispatchEvent !== 'function') {
return;
}
if (typeof Event !== 'function') {
return;
}
window.dispatchEvent(new Event(WORKS_SQUARE_TOKEN_USAGE_STALE_EVENT));
}