Lesss gooo claude
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import type { LockState } from './types';
|
||||
|
||||
/** browser.storage.local key backing the lock state seam in the background script. */
|
||||
export const LOCK_STATE_STORAGE_KEY = 'nexa:lockState';
|
||||
|
||||
/**
|
||||
* Typed message contracts between background <-> content scripts <-> popup.
|
||||
* All lock-state reads/writes go through these so no module reaches into
|
||||
* storage directly (see src/background/lock-state.ts).
|
||||
*/
|
||||
export type NexaMessage =
|
||||
| { type: 'nexa:get-lock-state' }
|
||||
| { type: 'nexa:set-lock-state'; state: LockState }
|
||||
| { type: 'nexa:lock-state-changed'; state: LockState }
|
||||
| { type: 'nexa:open-popup' };
|
||||
Reference in New Issue
Block a user