@meith/db 0.29.1 → 0.30.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.
- package/package.json +30 -30
- package/src/subscription-repo.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meith/db",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.30.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -22,35 +22,35 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"drizzle-orm": "^0.45.2",
|
|
24
24
|
"postgres": "^3.4.7",
|
|
25
|
-
"@meith/accounts": "0.
|
|
26
|
-
"@meith/admin": "0.
|
|
27
|
-
"@meith/antispam": "0.
|
|
28
|
-
"@meith/api": "0.
|
|
29
|
-
"@meith/attachments": "0.
|
|
30
|
-
"@meith/authorization": "0.
|
|
31
|
-
"@meith/avatars": "0.
|
|
32
|
-
"@meith/core": "0.
|
|
33
|
-
"@meith/drafts": "0.
|
|
34
|
-
"@meith/events": "0.
|
|
35
|
-
"@meith/forums": "0.
|
|
36
|
-
"@meith/groups": "0.
|
|
37
|
-
"@meith/i18n": "0.
|
|
38
|
-
"@meith/markdown": "0.
|
|
39
|
-
"@meith/marketplace": "0.
|
|
40
|
-
"@meith/messages": "0.
|
|
41
|
-
"@meith/moderation": "0.
|
|
42
|
-
"@meith/notifications": "0.
|
|
43
|
-
"@meith/plugin-kit": "0.
|
|
44
|
-
"@meith/polls": "0.
|
|
45
|
-
"@meith/profile-fields": "0.
|
|
46
|
-
"@meith/relations": "0.
|
|
47
|
-
"@meith/reputation": "0.
|
|
48
|
-
"@meith/search": "0.
|
|
49
|
-
"@meith/settings": "0.
|
|
50
|
-
"@meith/signatures": "0.
|
|
51
|
-
"@meith/subscriptions": "0.
|
|
52
|
-
"@meith/
|
|
53
|
-
"@meith/
|
|
25
|
+
"@meith/accounts": "0.30.0",
|
|
26
|
+
"@meith/admin": "0.30.0",
|
|
27
|
+
"@meith/antispam": "0.30.0",
|
|
28
|
+
"@meith/api": "0.30.0",
|
|
29
|
+
"@meith/attachments": "0.30.0",
|
|
30
|
+
"@meith/authorization": "0.30.0",
|
|
31
|
+
"@meith/avatars": "0.30.0",
|
|
32
|
+
"@meith/core": "0.30.0",
|
|
33
|
+
"@meith/drafts": "0.30.0",
|
|
34
|
+
"@meith/events": "0.30.0",
|
|
35
|
+
"@meith/forums": "0.30.0",
|
|
36
|
+
"@meith/groups": "0.30.0",
|
|
37
|
+
"@meith/i18n": "0.30.0",
|
|
38
|
+
"@meith/markdown": "0.30.0",
|
|
39
|
+
"@meith/marketplace": "0.30.0",
|
|
40
|
+
"@meith/messages": "0.30.0",
|
|
41
|
+
"@meith/moderation": "0.30.0",
|
|
42
|
+
"@meith/notifications": "0.30.0",
|
|
43
|
+
"@meith/plugin-kit": "0.30.0",
|
|
44
|
+
"@meith/polls": "0.30.0",
|
|
45
|
+
"@meith/profile-fields": "0.30.0",
|
|
46
|
+
"@meith/relations": "0.30.0",
|
|
47
|
+
"@meith/reputation": "0.30.0",
|
|
48
|
+
"@meith/search": "0.30.0",
|
|
49
|
+
"@meith/settings": "0.30.0",
|
|
50
|
+
"@meith/signatures": "0.30.0",
|
|
51
|
+
"@meith/subscriptions": "0.30.0",
|
|
52
|
+
"@meith/threads": "0.30.0",
|
|
53
|
+
"@meith/tasks": "0.30.0"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"drizzle-kit": "^0.31.6",
|
package/src/subscription-repo.ts
CHANGED
|
@@ -275,7 +275,7 @@ export class PostgresSubscriptionRepository implements SubscriptionRepository {
|
|
|
275
275
|
const rows = resultRows(
|
|
276
276
|
await this.db.execute(sql`
|
|
277
277
|
select * from (${pendingPosts(input.userId, input.mode, input.visibleForumIds)}) p
|
|
278
|
-
order by p.
|
|
278
|
+
order by p.post_id
|
|
279
279
|
limit ${input.limit}
|
|
280
280
|
`),
|
|
281
281
|
) as RawPending[]
|