@justair/justair-library 6.13.0-alpha.ef692bc → 6.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"monitorEpisodes.d.ts","sourceRoot":"","sources":["../../src/models/monitorEpisodes.js"],"names":[],"mappings":"AA8BA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoBE;
|
|
1
|
+
{"version":3,"file":"monitorEpisodes.d.ts","sourceRoot":"","sources":["../../src/models/monitorEpisodes.js"],"names":[],"mappings":"AA8BA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoBE;AA0BF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAA+E;qBA5E1D,UAAU"}
|
package/package.json
CHANGED
|
@@ -59,10 +59,9 @@ monitorEpisodesSchema.index(
|
|
|
59
59
|
);
|
|
60
60
|
|
|
61
61
|
// JA-2691 read: all open episodes for one user — query { user, open: true }.
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
);
|
|
62
|
+
// Served by the unique { user: 1, monitor: 1 } open-only index above via its
|
|
63
|
+
// `user` prefix (same partialFilterExpression), so no dedicated { user: 1 }
|
|
64
|
+
// index is needed — a standalone one would be pure write overhead.
|
|
66
65
|
|
|
67
66
|
// JA-2958 lifecycle sweep: fetch/inspect all open episodes without scanning
|
|
68
67
|
// 24 months of closed docs — query includes { open: true }.
|