Flow inputs carry an origin hint, run or panel
The Inputs editor and the canvas label show it, and the run forms leave panel inputs out.
This commit is contained in:
@@ -1355,6 +1355,13 @@ export const FlowInput_InputSchema = {
|
||||
}
|
||||
],
|
||||
title: 'Initial'
|
||||
},
|
||||
origin: {
|
||||
type: 'string',
|
||||
enum: ['run', 'panel'],
|
||||
title: 'Origin',
|
||||
description: 'What writes it. A run input is a parameter a run passes in, a panel input is written by a dashboard or panel control. A hint only: run forms leave panel inputs out, the engine treats both the same.',
|
||||
default: 'run'
|
||||
}
|
||||
},
|
||||
type: 'object',
|
||||
@@ -1376,6 +1383,13 @@ export const FlowInput_OutputSchema = {
|
||||
}
|
||||
],
|
||||
title: 'Initial'
|
||||
},
|
||||
origin: {
|
||||
type: 'string',
|
||||
enum: ['run', 'panel'],
|
||||
title: 'Origin',
|
||||
description: 'What writes it. A run input is a parameter a run passes in, a panel input is written by a dashboard or panel control. A hint only: run forms leave panel inputs out, the engine treats both the same.',
|
||||
default: 'run'
|
||||
}
|
||||
},
|
||||
type: 'object',
|
||||
|
||||
@@ -391,14 +391,27 @@ export type FlowDetail = {
|
||||
export type FlowInput_Input = {
|
||||
spec: MessageSpec;
|
||||
initial?: (unknown | null);
|
||||
/**
|
||||
* What writes it. A run input is a parameter a run passes in, a panel input is written by a dashboard or panel control. A hint only: run forms leave panel inputs out, the engine treats both the same.
|
||||
*/
|
||||
origin?: 'run' | 'panel';
|
||||
};
|
||||
|
||||
/**
|
||||
* What writes it. A run input is a parameter a run passes in, a panel input is written by a dashboard or panel control. A hint only: run forms leave panel inputs out, the engine treats both the same.
|
||||
*/
|
||||
export type origin = 'run' | 'panel';
|
||||
|
||||
/**
|
||||
* A message the flow starts with rather than computes.
|
||||
*/
|
||||
export type FlowInput_Output = {
|
||||
spec: MessageSpec;
|
||||
initial?: (unknown | null);
|
||||
/**
|
||||
* What writes it. A run input is a parameter a run passes in, a panel input is written by a dashboard or panel control. A hint only: run forms leave panel inputs out, the engine treats both the same.
|
||||
*/
|
||||
origin?: 'run' | 'panel';
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user