Count runs per flow, and page the run list by offset

This commit is contained in:
2026-08-25 11:34:07 +02:00
parent 60757fa7fa
commit 7e422c0047
5 changed files with 139 additions and 3 deletions
+28
View File
@@ -1033,6 +1033,34 @@ export const FlowRollupSchema = {
title: 'FlowRollup'
} as const;
export const FlowRunsRowSchema = {
properties: {
flow: {
type: 'string',
title: 'Flow'
},
runs: {
type: 'integer',
title: 'Runs'
},
running: {
type: 'integer',
title: 'Running'
},
queued: {
type: 'integer',
title: 'Queued'
},
last_created_at: {
title: 'Last Created At'
}
},
type: 'object',
required: ['flow', 'runs', 'running', 'queued'],
title: 'FlowRunsRow',
description: "How much a flow has been run, for the screen's list of flows."
} as const;
export const FlowStatePublicSchema = {
properties: {
values: {