docs(ViewModel): Add JSDocs to view to explain proper use (#14214)

This commit is contained in:
Jared Snider 2025-04-18 09:52:12 -04:00 committed by GitHub
parent d6beca569c
commit 9d16435d08
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1 +1,5 @@
// See https://contributing.bitwarden.com/architecture/clients/data-model/#view for proper use.
// View models represent the decrypted state of a corresponding Domain model.
// They typically match the Domain model but contains a decrypted string for any EncString fields.
// Don't use this to represent arbitrary component view data as that isn't what it is for.
export class View {}