Count runs per flow, and page the run list by offset
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user