mirror of
https://github.com/bitwarden/browser
synced 2026-02-10 13:40:06 +00:00
* Inject service instead of passing as param * [PM-25206] Move locking logic to LockService (#16802) * Move locking logic to lock service * Fix tests * Fix CLI * Fix test * FIx safari build * Update call to lock service * Remove locked callback * Clean up lock service logic * Add tests * Fix cli build * Add extension lock service * Fix cli build * Fix build * Undo ac changes * Undo ac changes * Run prettier * Fix build * Remove duplicate call * [PM-25206] Remove VaultTimeoutService lock logic (#16804) * Move consumers off of vaulttimeoutsettingsservice lock * Fix build * Fix build * Fix build * Fix firefox build * Fix test * Fix ts strict errors * Fix ts strict error * Undo AC changes * Cleanup * Fix * Fix missing service
11 lines
406 B
TypeScript
11 lines
406 B
TypeScript
import { SystemService } from "@bitwarden/common/platform/abstractions/system.service";
|
|
|
|
/**
|
|
* CLI implementation of SystemService.
|
|
* The implementation is NOOP since these functions are meant for GUI clients.
|
|
*/
|
|
export class CliSystemService extends SystemService {
|
|
async clearClipboard(clipboardValue: string, timeoutMs?: number): Promise<void> {}
|
|
async clearPendingClipboard(): Promise<any> {}
|
|
}
|