1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 15:23:33 +00:00

[PM-5957] CLI - List items long runtime (#9589)

* Initial checking of collect many

* should update to better handle parameters

* cleaning up event collection params

* Adding documentation

* Removing commented out code saved for testing

* Adding pr changes and using the account service for event collection user id

* browser main.background event collection service needed the account service
This commit is contained in:
Tom
2024-06-27 08:44:43 -04:00
committed by GitHub
parent 0fc489cfa0
commit 98c6cc4a7e
6 changed files with 80 additions and 26 deletions

View File

@@ -1,6 +1,12 @@
import { EventType } from "../../enums";
import { CipherView } from "../../vault/models/view/cipher.view";
export abstract class EventCollectionService {
collectMany: (
eventType: EventType,
ciphers: CipherView[],
uploadImmediately?: boolean,
) => Promise<any>;
collect: (
eventType: EventType,
cipherId?: string,