A run keeps the inputs its flow declared at submit
Run.declared (migration 2e7ca7d10044) snapshots the declarations on submit and import. The run detail's Inputs panel reads them, and a run from before falls back to the flow's current declarations.
This commit is contained in:
@@ -3498,6 +3498,18 @@ export const RunDetailSchema = {
|
||||
title: 'Flow Version',
|
||||
default: 1
|
||||
},
|
||||
declared: {
|
||||
anyOf: [
|
||||
{
|
||||
additionalProperties: true,
|
||||
type: 'object'
|
||||
},
|
||||
{
|
||||
type: 'null'
|
||||
}
|
||||
],
|
||||
title: 'Declared'
|
||||
},
|
||||
nodes: {
|
||||
items: {
|
||||
'$ref': '#/components/schemas/RunNodeRow'
|
||||
|
||||
@@ -1189,6 +1189,9 @@ export type RunDetail = {
|
||||
[key: string]: unknown;
|
||||
};
|
||||
flow_version?: number;
|
||||
declared?: ({
|
||||
[key: string]: unknown;
|
||||
} | null);
|
||||
nodes?: Array<RunNodeRow>;
|
||||
artifacts?: Array<ArtifactRow>;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user