add contact viewmodels

This commit is contained in:
marlon-erler
2026-09-27 02:31:21 +02:00
parent 248cd65e79
commit 66a88ac1b1
2 changed files with 44 additions and 3 deletions
@@ -1,6 +1,6 @@
import StorageModel, {StorageModelSubPaths} from "./storageModel";
export default class ContactsModel {
export default class ContactListModel {
private getContactPath = (contactId: string): string[] => {
return [StorageModelSubPaths.ContactsModel, contactId];
}
@@ -16,6 +16,5 @@ export default class ContactsModel {
this.storageModel.write(path, name)
}
constructor(public storageModel: StorageModel) {
}
constructor(public storageModel: StorageModel) {}
}