mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 12:24:30 +01:00
fix: apply CodeRabbit auto-fixes
This commit is contained in:
1 parent
d99fcc268e
commit
df9200880e
15 files changed
+87
-89
No files matched your search
@@ -37,10 +37,6 @@ export type OpenCodeLocationInfo = Awaited<ReturnType<OpenCodeApi['location']['g
|
||||
|
||||
export type OpenCodeProject = Awaited<ReturnType<OpenCodeApi['project']['list']>>[number]
|
||||
|
||||
/**
|
||||
* The timestamp a project list sorts and labels on: the server's last-activity time, falling back
|
||||
* to the record's update time for a project that has never recorded activity.
|
||||
*/
|
||||
export function projectActivityTimestamp(project: OpenCodeProject): number {
|
||||
return project.time.active || project.time.updated
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user