musora-content-services 2.155.6 → 2.155.7

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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [2.155.7](https://github.com/railroadmedia/musora-content-services/compare/v2.155.6...v2.155.7) (2026-04-23)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * remove timestamp filtering of practice records in offline mode ([#938](https://github.com/railroadmedia/musora-content-services/issues/938)) ([1a8ac03](https://github.com/railroadmedia/musora-content-services/commit/1a8ac03bfa1b9b3670c45049adb9b833263ef871))
11
+
5
12
  ### [2.155.6](https://github.com/railroadmedia/musora-content-services/compare/v2.155.5...v2.155.6) (2026-04-23)
6
13
 
7
14
  ### [2.155.5](https://github.com/railroadmedia/musora-content-services/compare/v2.155.4...v2.155.5) (2026-04-23)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "musora-content-services",
3
- "version": "2.155.6",
3
+ "version": "2.155.7",
4
4
  "description": "A package for Musoras content services ",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -20,7 +20,7 @@ interface Activity {
20
20
  * @returns `{ currentPage, totalPages, data }` where `data` is a page of `Activity` records
21
21
  */
22
22
  export async function getRecentActivityOffline(
23
- offlineTimestamp: number,
23
+ _offlineTimestamp: number,
24
24
  {
25
25
  page = 1,
26
26
  limit = 5,
@@ -34,7 +34,7 @@ export async function getRecentActivityOffline(
34
34
  // because setting up watermelon user activities table is extremely complicated.
35
35
  // Note: this implementation does not persist "activities" beyond when the corresponding record is deleted. That's ok right now.
36
36
 
37
- const clauses = getClauses(offlineTimestamp, tabName)
37
+ const clauses = getClauses(tabName)
38
38
 
39
39
  const query = await db.contentProgress.queryAll(...clauses)
40
40
  const progress = query.data
@@ -54,9 +54,8 @@ export async function getRecentActivityOffline(
54
54
  }
55
55
  }
56
56
 
57
- function getClauses(offlineTimestamp: number, tabName: string|null) {
57
+ function getClauses(tabName: string|null) {
58
58
  let clauses: Q.Clause[] = [
59
- Q.where('updated_at', Q.gte(offlineTimestamp)),
60
59
  Q.sortBy('created_at', 'desc'),
61
60
  ]
62
61
 
@@ -15,7 +15,6 @@ export async function getPracticeSessionsOffline(
15
15
  ) {
16
16
 
17
17
  const query = await db.practices.queryAll(
18
- Q.where('updated_at', Q.gte(offlineTimestamp)),
19
18
  Q.where('date', day),
20
19
  Q.sortBy('created_at', 'asc'))
21
20
  const practices = query.data
@@ -1,10 +0,0 @@
1
- {
2
- "permissions": {
3
- "allow": [
4
- "Bash(rg:*)",
5
- "Bash(npm run lint:*)",
6
- "Bash(ls:*)"
7
- ],
8
- "deny": []
9
- }
10
- }