Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

More state

Manav Rathi44d66da742c5
diff --git a/web/packages/new/photos/services/ml/index.ts b/web/packages/new/photos/services/ml/index.ts
index 673803a6dd..e0842fa24d 100644
--- a/web/packages/new/photos/services/ml/index.ts
+++ b/web/packages/new/photos/services/ml/index.ts
@@ -59,19 +59,31 @@ class MLState {
comlinkWorker: Promise<ComlinkWorker<typeof MLWorker>> | undefined;
/**
- * Subscriptions to {@link MLStatus}.
+ * Subscriptions to {@link MLStatus} updates.
*
* See {@link mlStatusSubscribe}.
*/
mlStatusListeners: (() => void)[] = [];
/**
- * Snapshot of {@link MLStatus}.
- *
- * See {@link mlStatusSnapshot}.
+ * Snapshot of the {@link MLStatus} returned by the {@link mlStatusSnapshot}
+ * function.
*/
mlStatusSnapshot: MLStatus | undefined;
+ /**
+ * Subscriptions to updates to the list of {@link Person}s we know about.
+ *
+ * See {@link peopleSubscribe}.
+ */
+ peopleListeners: (() => void)[] = [];
+
+ /**
+ * Snapshot of the {@link Person}s returned by the {@link peopleSnapshot}
+ * function.
+ */
+ peopleSnapshot: Person[] | undefined;
+
/**
* In flight face crop regeneration promises indexed by the IDs of the files
* whose faces we are regenerating.