mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-12 20:45:20 +02:00
chore: linting
This commit is contained in:
parent
0a012dbc79
commit
ce952d2ad1
127 changed files with 821 additions and 517 deletions
|
|
@ -6,9 +6,7 @@ import { zql } from "../schema/index";
|
|||
// authorizes via `automation_id -> search_space`. No search_space_id on the
|
||||
// table by design.
|
||||
export const automationRunQueries = {
|
||||
byAutomation: defineQuery(
|
||||
z.object({ automationId: z.number() }),
|
||||
({ args: { automationId } }) =>
|
||||
zql.automation_runs.where("automationId", automationId).orderBy("createdAt", "desc")
|
||||
byAutomation: defineQuery(z.object({ automationId: z.number() }), ({ args: { automationId } }) =>
|
||||
zql.automation_runs.where("automationId", automationId).orderBy("createdAt", "desc")
|
||||
),
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue