@staff0rd/assist 0.310.2 → 0.310.3
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/dist/index.js +6 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { Command } from "commander";
|
|
|
6
6
|
// package.json
|
|
7
7
|
var package_default = {
|
|
8
8
|
name: "@staff0rd/assist",
|
|
9
|
-
version: "0.310.
|
|
9
|
+
version: "0.310.3",
|
|
10
10
|
type: "module",
|
|
11
11
|
main: "dist/index.js",
|
|
12
12
|
bin: {
|
|
@@ -5521,7 +5521,11 @@ async function listNewsItems(_req, res) {
|
|
|
5521
5521
|
// src/shared/db/listUsagePeaks.ts
|
|
5522
5522
|
import { desc } from "drizzle-orm";
|
|
5523
5523
|
async function listUsagePeaks(db) {
|
|
5524
|
-
return db.select().from(usagePeaks).orderBy(
|
|
5524
|
+
return db.select().from(usagePeaks).orderBy(
|
|
5525
|
+
desc(usagePeaks.resetsAt),
|
|
5526
|
+
usagePeaks.window,
|
|
5527
|
+
desc(usagePeaks.segment)
|
|
5528
|
+
);
|
|
5525
5529
|
}
|
|
5526
5530
|
|
|
5527
5531
|
// src/commands/sessions/web/listUsageHistory.ts
|